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 Connector object.

Parameters
  • N (int) – Number of units the self similar energy system consists of.

  • timeframe (pandas.DatetimeIndex) –

    Datetime index representing the evaluated timeframe. Explicitly stating:

    For example:

    idx = pd.DatetimeIndex(
        data=pd.date_range(
            '2016-01-01 00:00:00', periods=11, freq='H'))
    

  • unit (str) –

    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 Source objects:

    • 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 Sink objects:

    • 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 Bus objects:

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

    • Fully parameterized transformer emulating a coal power plant with an installed capacity between 50 and 100 units.

  • 1 Storage object:

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

    For example:

    idx = pd.DatetimeIndex(
        data=pd.date_range(
            '2016-01-01 00:00:00', periods=11, freq='H'))