energia.modeling.parameters.conversions#
Different Pre-Set Conversions
Classes
|
Operation Construction Conversion |
|
Processes convert one Commodity to another Commodity Conversion provides the conversion of resources |
|
Process Production |
|
Transport Conversion |
- class Production(operation: Operation | Storage | None = None, resource: Commodity | None = None, balance: dict[Commodity, float | list[float]] | None = None, hold: int | float | None = None, symbol: str = 'η', use_max_time: bool = False)[source]#
Bases:
ConversionProcess Production
- balancer()#
Checks if there is a list in the conversion If yes, tries to make everything consistent
- classmethod from_balance(balance: dict[Commodity, float | list[float]], by: str = '', add: str = '', sub: str = '', operation: Operation | None = None, basis: Commodity | None = None) Self#
Creates Conversion from balance dict
- get(k[, d]) D[k] if k in D, else d. d defaults to None.#
- items()#
Items of the conversion balance
- keys()#
Keys of the conversion balance
- property name: str#
Name
- property program: Prg | None#
gana Program
- time_checker(commodity: Commodity, space: Location | Linkage, time: Periods)#
This checks if it is actually necessary to write conversion at denser temporal scales
- values()#
Values of the conversion balance
- class Construction(operation: Operation | Storage | None = None, aspect: str = 'capacity', resource: Commodity | None = None, balance: dict[Commodity, float | list[float]] | None = None, hold: int | float | None = None, symbol: str = 'γ', use_max_time: bool = True)[source]#
Bases:
ConversionOperation Construction Conversion
- balancer()#
Checks if there is a list in the conversion If yes, tries to make everything consistent
- classmethod from_balance(balance: dict[Commodity, float | list[float]], by: str = '', add: str = '', sub: str = '', operation: Operation | None = None, basis: Commodity | None = None) Self#
Creates Conversion from balance dict
- get(k[, d]) D[k] if k in D, else d. d defaults to None.#
- items()#
Items of the conversion balance
- keys()#
Keys of the conversion balance
- property name: str#
Name
- property program: Prg | None#
gana Program
- time_checker(commodity: Commodity, space: Location | Linkage, time: Periods)#
This checks if it is actually necessary to write conversion at denser temporal scales
- values()#
Values of the conversion balance
- class Transportation(operation: Operation | Storage | None = None, resource: Commodity | None = None, balance: dict[Commodity, float | list[float]] | None = None, hold: int | float | None = None, symbol: str = 'τ', use_max_time: bool = False)[source]#
Bases:
ConversionTransport Conversion
- write(space: Linkage, time: Periods | Lag, modes: Modes | None = None)[source]#
Writes equations for conversion balance
- balancer()#
Checks if there is a list in the conversion If yes, tries to make everything consistent
- classmethod from_balance(balance: dict[Commodity, float | list[float]], by: str = '', add: str = '', sub: str = '', operation: Operation | None = None, basis: Commodity | None = None) Self#
Creates Conversion from balance dict
- get(k[, d]) D[k] if k in D, else d. d defaults to None.#
- items()#
Items of the conversion balance
- keys()#
Keys of the conversion balance
- property name: str#
Name
- property program: Prg | None#
gana Program
- time_checker(commodity: Commodity, space: Location | Linkage, time: Periods)#
This checks if it is actually necessary to write conversion at denser temporal scales
- values()#
Values of the conversion balance