omegalpes.energy package
Subpackages
- omegalpes.energy.buildings package
- Submodules
- omegalpes.energy.buildings.thermal module
- Module contents
- omegalpes.energy.io package
- omegalpes.energy.units package
- Submodules
- omegalpes.energy.units.consumption_units module
- omegalpes.energy.units.conversion_units module
- omegalpes.energy.units.energy_units module
AssemblyUnitEnergyUnitEnergyUnit.add_energy_limits_on_time_period()EnergyUnit.add_operating_time_range()EnergyUnit.minimize_co2_emissions()EnergyUnit.minimize_costs()EnergyUnit.minimize_energy()EnergyUnit.minimize_exergy()EnergyUnit.minimize_exergy_destruction()EnergyUnit.minimize_operating_cost()EnergyUnit.minimize_starting_cost()EnergyUnit.minimize_time_of_use()EnergyUnit.set_operating_time_range()
FixedEnergyUnitSawtoothEnergyUnitSeveralEnergyUnitShiftableEnergyUnitSquareEnergyUnitTriangleEnergyUnitVariableEnergyUnit
- omegalpes.energy.units.production_units module
- omegalpes.energy.units.reversible_units module
- omegalpes.energy.units.storage_units module
- Module contents
Submodules
omegalpes.energy.energy_nodes module
This module defines the energy nodes that will allow energy transmission between the various energy units and conversion units
The energy_node module includes the EnergyNode class for energy transmission between production, consumption, conversion and storage. Defining several energy nodes and exporting/importing energy between them can also allow for a better demarcation of the energy system.
- class omegalpes.energy.energy_nodes.EnergyNode(time, name, energy_type=None, operator=None)[source]
Bases:
OptObjectThis class defines an energy node.
- connect_units(*units)[source]
Connecting all EnergyUnit to the EnergyNode
- Parameters:
units (EnergyUnit) – EnergyUnits connected to the EnergyNode
- create_export(node, export_min, export_max)[source]
Create the export from the EnergyNode (self) to the EnergyNode (node)
- Parameters:
node – EnergyNode to whom power can be exported
export_min – Minimal value of exported power when there is export
export_max – Maximal value of exported power when there is export
- Returns:
Quantity that defines the power exported
- export_to_node(node, export_min=0, export_max=100000.0)[source]
Add an export of power from the node to another node
- Parameters:
node – EnergyNode to whom power can be exported
export_min – Minimal value of exported power when there is export
export_max – Maximal value of exported power when there is export
- property get_connected_energy_units
Return the list of connected EnergyUnits in the EnergyNode
- property get_exports
Return the list of exports to the EnergyNode
- property get_flows
Get all the power flows of the energy node :rtype: list :return: list of power flows
- property get_imports
Return the list of imports to the EnergyNode
- property get_input_poles
- property get_output_poles
- property get_poles
Return the list of energy poles in the EnergyNode
omegalpes.energy.energy_types module
This module gathers the types of energy : elec, gas and heat
In order to simplify their use in the definition of the energy units
omegalpes.energy.exergy module
This module contains the exergy assessment routines of OMEGALPES. This module:
Determines inlet, outlet or contained exergy of, respectively, any ConsumptionUnit, ProductionUnit or StorageUnit.
Determines exergy destruction within any EnergyUnit.
Recognizes Electrical and Thermal energy.
Can calculate exergy for a single unit or for a list of units.
Can proceed with only one temperature value or with a list of temperatures.
5.1. Formulates exergy for one single EnergyUnit and temperature.
5.2. Formulates timely exergy if one single EnergyUnit and a list of temperatures is provided.
5.3. Formulates exergy for each unit within a list of EnergyUnits if only one temperature is provided.
5.4. Formulates timely exergy for each unit within a list of EnergyUnits if a list of temperatures is provided.
The exergy-related classes defined in this module are not physical units. They are virtual units attached to their energetic counterparts. Consequently, the exergy and exergy destruction calculated in this module are attached to the EnergyUnit as a Quantity at the moment of calculating it.
- class omegalpes.energy.exergy.ElectricalExergy(energy_unit: EnergyUnit)[source]
Bases:
OptObject
- class omegalpes.energy.exergy.ExergyDestruction(energy_unit=None, exergy_eff=1, temp_ref=20, temp_heat=None)[source]
Bases:
OptObject
- class omegalpes.energy.exergy.ThermalExergy(energy_unit: EnergyUnit, temp_heat: int, temp_ref=20)[source]
Bases:
OptObject