hestia_earth.calculation.abstract_engine.Engine¶
-
class
hestia_earth.calculation.abstract_engine.Engine[source]¶ Bases:
objectEngine class. This is the engine abstract class for that orchestrates calculations for Hestia.
Methods
calculate_assessmentsMethod that orchestrates the execution of hierarchies of the engine.
Method that orchestrates the execution of transformation hierarchies of the engine.
Method that imports a jsonld file into the representation required to perform the Hestia calculations.
Method that exports the Engine representation into the Hestia Schema.
export_dataMethod that imports a jsonld file into the representation required to perform the Hestia calculations.
Method that imports a jsonld file into the representation required to perform the Hestia calculations.
import_datarun-
calculate_emissions()[source]¶ Method that orchestrates the execution of hierarchies of the engine. :param None:
Returns nothing.
-
calculate_transformation_emissions()[source]¶ Method that orchestrates the execution of transformation hierarchies of the engine. :param None:
Returns nothing.
-
export_assessments()[source]¶ Method that imports a jsonld file into the representation required to perform the Hestia calculations. :param file: A jsonld file
Returns nothing.
-
export_cycle()[source]¶ Method that exports the Engine representation into the Hestia Schema. :param None:
Returns a dict representing the recalculated cycle.
-