noads.core.models.energy.energy_mix#
Assembly of Energy types and Production pathways into an EnergyMix.
- class noads.core.models.energy.energy_mix.EnergyMix(energies, extra_impacts=None, inputs_to_constrain=None, plot_coupling_graph=False)[source]#
Bases:
objectThe assembled energy production system.
Collects all energies and their pathways, and generates the models linking them: impact indices from primary to final energies, production and input consumption from final to primary energies, aggregate impact production, and the fair-share consumption constraints on the resources listed in
inputs_to_constrain(requiring the<resource>.fair_shareand<resource>.global_productionscenario inputs). Because intensive and extensive computations are separated, the resulting model chain is coupling-free and evaluated in one pass.- Parameters:
energies (Sequence[ProducedEnergy])
extra_impacts (Sequence[Impact] | None)
inputs_to_constrain (Sequence[Stream] | None)
- constraint_model()[source]#
Constraints on consumption of input streams and non-negative production.
- final_energies: list[ProducedEnergyCarrier]#
List of final energy carriers (consumed by a direct.consumption).
- produced_energies: list[ProducedEnergy]#
List of all energy types with explicit production from Pathways.
- secondary_energies: list[ProducedEnergy]#
List of secondary energy (needed for producing other energies).
Classes
|
The assembled energy production system. |