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: object

The 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_share and <resource>.global_production scenario inputs). Because intensive and extensive computations are separated, the resulting model chain is coupling-free and evaluated in one pass.

Parameters:
constraint_model()[source]#

Constraints on consumption of input streams and non-negative production.

input_streams_model()[source]#

Aggregate consumption of input streams model.

plot_pretty_couplings()[source]#

Plot and save coupling graphs of the EnergyMix.

total_impacts_model()[source]#

Aggregate production of impacts model.

constrained_inputs: list[Stream]#

List of input streams with limited consumption.

final_energies: list[ProducedEnergyCarrier]#

List of final energy carriers (consumed by a direct.consumption).

impacts: list[Impact]#

List of all impacts accounted.

input_streams: list[Stream]#

List of input streams that are not produced by any Pathway.

property models: list[Model]#

List of all EnergyMix models.

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

EnergyMix(energies[, extra_impacts, ...])

The assembled energy production system.