Self Similar Energy System Model Example
Tessif minimum working example energy system model.
- tessif_examples.specialized.self_similar_system_model.create_self_similar_system_model(n=1, timeframe=None, unit='minimal', **kwargs)[source]
Create a self similar system model.
Created by Mathias Ammon, Frederik Emmel and Andreas Jessen.
This energy system is obtained by repeating its unit N times. The singular units are connected to each other through their central bus. Meaning the central bus of energy system N is connected to the central bus of energy system N-1 via a
Connectorobject.- Parameters
N¶ (int) – Number of units the self similar energy system consists of.
timeframe¶ (pandas.DatetimeIndex) –
Datetime index representing the evaluated timeframe. Explicitly stating:
initial datatime (0th element of the
pandas.DatetimeIndex)number of time steps (length of
pandas.DatetimeIndex)temporal resolution (
pandas.DatetimeIndex.freq)
For example:
idx = pd.DatetimeIndex( data=pd.date_range( '2016-01-01 00:00:00', periods=11, freq='H'))
Specify which of tessif’s hardcoded examples should be used as unit of the self similar energy system.
Currently available are:
- ’minimal’:
Uses _create_minimal_es_unit() which is the smallest unit available.
- ’component’:
Uses _create_component_es_unit() which is based on create_component_es().
- ’grid’:
Uses _create_grid_es_unit() which is based on create_transcne_es().
- ’hamburg’:
Uses _create_hhes_unit() which is based on create_hhes_unit().
kwargs¶ – Are passed to the _create_[…]_unit() function.
- tessif_examples.specialized.self_similar_system_model.create_minimal_es_unit(n, timeframe=None, seed=None)[source]
Create a minimal self simular energy system unit.
Is used by create_self_similar_energy_system().
Created by Mathias Ammon and Andreas Jessen.
The self similar energy system unit consists of:
3
Sourceobjects:One having a randomized output, emulating renewable sources. With an installed power between 10 and 200 units.
One slack source providing energy to balance the system if needed. (This could be interpreted as an import node, for meeting load demands)
One commodity source feeding the transformer
2
Sinkobjects:One having a fixed input with a net demand between 50 and 100 units.
One slack sink taking energy in to balance the system if needed. (This could be interpreted as an export node, for handling excess loads.)
2
Busobjects:One central bus connecting the storage and transformer, as well as the sinks and sources and up to 2 additional self similar energy system units.
An auxiliary bus connecting the transformer and the central bus
1
Transformerobject:Fully parameterized transformer emulating a coal power plant with an installed capacity between 50 and 100 units.
1
Storageobject:no constraints to in and outflow. Efficiency, losses, expansion investment etc. oriented at grid level batteries (e.g. tesla)
- Parameters
n¶ (int) – Number of the es unit. This ist needed to be able to give each component in the complete self similar es a unique name.
timeframe¶ (pandas.DatetimeIndex) –
Datetime index representing the evaluated timeframe. Explicitly stating:
initial datatime (0th element of the
pandas.DatetimeIndex)number of time steps (length of
pandas.DatetimeIndex)temporal resolution (
pandas.DatetimeIndex.freq)
For example:
idx = pd.DatetimeIndex( data=pd.date_range( '2016-01-01 00:00:00', periods=11, freq='H'))