noads.core.models.energy.energy#
Energy module.
- class noads.core.models.energy.energy.Energy(name)[source]#
Bases:
StreamA primary energy flow, consumed but not produced within the system.
Primary resources (oil, biomass, electricity) are the leaves of the energy production graph: their consumption is aggregated from the pathways that use them, and their carbon intensity (
<name>.CO2_index) is a scenario input (constant, or time-dependent like the grid emission factor). Energies produced by pathways are modeled withProducedEnergyinstead.- Parameters:
name (str)
- class noads.core.models.energy.energy.EnergyCarrier(name, density, specific_energy)[source]#
Bases:
Energy,MaterialStreamAn energy carrier embarked in aircraft, with its material properties.
Carriers (Jet-A, liquid hydrogen, batteries) carry a density and a specific energy so that aircraft design can convert between energy, mass, and volume when sizing tanks and computing take-off weight.
- mass_to_volume(mass)#
Convert mass to volume.
- volume_to_mass(volume)#
Convert volume to mass.
- class noads.core.models.energy.energy.ProducedEnergy(name, pathways)[source]#
Bases:
EnergyAn energy flow produced by one or several production pathways.
When several pathways compete (e.g. HEFA, ATJ, and FT for biofuel), the share of each pathway is a time-dependent control used as optimization variable, and the energy’s impact index is the share-weighted mean of the pathway indices. The class provides the production, consumption, and impact-index models described in the energy-mix formulation of the extended paper (intensive impacts computed primary-to-final, extensive production computed final-to-primary).
- Parameters:
pathways (Sequence[ProductionPathway])
- add_output_stream(output_stream)[source]#
Add a stream that consume this energy type.
- Parameters:
output_stream (Stream)
- set_output_streams(output_streams)[source]#
Set streams that consume this energy type.
- Parameters:
output_streams (Sequence[Stream])
- name#
- pathways: list[ProductionPathway]#
Set of production pathways for this energy.
- unit = 'MJ'#
- class noads.core.models.energy.energy.ProducedEnergyCarrier(name, pathways, density, specific_energy)[source]#
Bases:
ProducedEnergy,EnergyCarrierA final energy carrier produced by pathways and embarked in aircraft.
Combines
ProducedEnergy(production, consumption, and impact models) withEnergyCarrier(density and specific energy for aircraft design). Its direct consumption is the sum over the aircraft that embark it.- Parameters:
pathways (Sequence[ProductionPathway])
- add_output_stream(output_stream)#
Add a stream that consume this energy type.
- Parameters:
output_stream (Stream)
- energy_to_mass(energy)#
Convert energy to mass.
- energy_to_volume(energy)#
Convert energy to volume.
- impact_index_model()#
Impact index model.
- mass_to_energy(mass)#
Convert mass to energy.
- mass_to_volume(mass)#
Convert mass to volume.
- production_model()#
Energy production model.
- set_output_streams(output_streams)#
Set streams that consume this energy type.
- Parameters:
output_streams (Sequence[Stream])
- volume_to_energy(volume)#
Convert volume to energy.
- volume_to_mass(volume)#
Convert volume to mass.
- density#
- impacts#
Set of all impacts accounted.
- input_streams#
Set of input streams that are directly consumed for production.
- name#
- output_streams#
Set of output streams that consume this energy to be produced.
- pathways#
Set of production pathways for this energy.
- specific_energy#
- unit = 'MJ'#
Classes
|
A primary energy flow, consumed but not produced within the system. |
|
An energy carrier embarked in aircraft, with its material properties. |
|
An energy flow produced by one or several production pathways. |
|
A final energy carrier produced by pathways and embarked in aircraft. |