Welcome to eELib’s documentation!

The eELib (elenia Energy Library) is the software tool for simulations concerning future power systems for prosumers. The library with its functionalities and models can be used for various simulative investigations regarding research or current challenges in the field of a distributed electrical power system.

The goal of the eELib is creating a model library that is suitable for solving energy-related questions around prosumers (consumers that are now also producing energy). This includes, among other things, the …

  • … creation and consideration of different energy supply scenarios (on building, district and grid level, among others with different penetration levels of distributed facilities like PV).

  • … comparison of different operating strategies for energy management systems, including e.g. variable tariffs, multi-use concepts, operator models or schedule-based flexibility.

  • … investigation of the impacts and interactions of prosumer households (e.g., sector coupling and electrification) with the power grid to identify violations of grid limits.

  • … calculating the economic values of different use cases and strategies for components and systems.

  • … investigation of innovative marketing strategies of market players in the spot and balancing power markets.

Getting Started for Using the eELib

The eELib will soon be made available to install via PyPI - the Python Package Index. Until then, you need to use the installation via its Gitlab Page. The procedure for this is explained in the following subsection.

Getting Started for Contributing to the eELib

When working with the eELib, you should consider this documentation pages and the Gitlab Repository. The documentation gives a short overview of what the eELib is, how it is set up and how it can be used. The short introduction is provided by this start page and the About eELib section. Afterwards you should have a look at the Wiki part of the documentation. It provides info about how to

Additionally, the section API reference provides an overview of the setup of the eELib and its models and gives explanations to the classes and their methods, which are provided by the docstrings in the source code.

One major thing to know for working with and using the eELib is that we are using a co-simulation tool (mosaik) to run simulations, as the eELib itself just provides the implementation of models and no configuration to run a simulation. The sense of this is further explained in the About eELib section on Coupling With mosaik. Additionally, there is a short mosaik introduction and the linking of tutorials using mosaik given in the Wiki.

For contributing to the eELib, it is useful to follow these steps:

  1. Create a local copy of the Git repository on your computer. Afterwards, make sure the eELib folder exists on your local hardware and the test scenarios can be executed without any error.

  2. Get familiar on how you can use Git for version control.

  3. Read the About eELib section to get a sense of the structure of the eELib and how simulations are carried out.

  4. Familiarize with the test scenarios (for one single building and a small 8-bus low-voltage grid):

    • For running a simulation, we need four files: A scenario script and the scenario data, which is divided into a model data file, the model connections and a grid file. Additionally, corresponding input data like files for the input of pv generation or a household baseload need to be provided. The setup of these files and their combination is more deeply explained in the Wiki page on Running a simulation.

  5. You should additionally have a look at a simulator and model for an exemplary model type. The idea of using simulators and models separately is explained in the Coupling With mosaik and Architecture of a Simulation*`` part of the About eELib section. You can find further information on Simulators and Models and how they are set up in the Wiki pages. This should give you the relevant information to implement your own or advance existing models.

  6. If you are interested in setting up (implementing) a new operating strategy for energy management systems (EMS), you should have a look at the explanations on Implementing a new EMS strategy. Following the steps mentioned there you should be able to set up your operating strategy and integrate it into your simulation.

Indices and tables