Skip to content
/ eTraGo Public

Optimization of flexibility options for transmission grids based on PyPSA

License

Notifications You must be signed in to change notification settings

openego/eTraGo

Repository files navigation

Continuous Integration Workflow Status Documentation Status

eTraGo

Optimization of flexibility options for transmission grids based on PyPSA

A speciality in this context is that transmission grids are described by the 380, 220 and 110 kV in Germany. Conventionally, the 110kV grid is part of the distribution grid. The integration of the transmission and 'upper' distribution grid is part of eTraGo.

The focus of optimization are flexibility options with a special focus on energy storages. Grid expansion measures are not part of this tool and will be instead part of 'eGo' https://github.com/openego/eGo

eTraGo is documented on readthedocs.

Input data

The grid model data for eTraGo was created with the open source tool eGon-data. The resulting data will be pubished on the OpenEnergyPlatform. As long as the data is not published there, a local database is needed. We published a backup of the required tables and instruction on how to use it on zenodo:

Installation

eTraGo is designed as a Python package therefore it is mandatory to have Python 3 installed. If you have a working Python3 environment, use pypi to install the latest eTraGo version. We highly recommend you to use a virtual environment. Use following pip command in order to install eTraGo..

$ pip3 install eTraGo

Installation for Developers

Clone the source code from github:

$ git clone https://github.com/openego/eTraGo

You can checkout to the dev branch and create new feature branches. For the correct work-flow, please mind the Dreissen Branching Model

Use the pip -e to install eTraGo directly from the cloned repository:

$ pip3 install -e /path/to/eTraGo/

When you want to draw geographical features in the background of network plots, please install cartopy:

$ pip3 install cartopy

If you run into problems when using cartopy, try to install shapely without binaries:

$ pip3 install shapely --no-binary shapely

Using a virtual environment

Before installing eTraGo, you create a virtual environment (where you like it) and activate it:

$ virtualenv venv --clear -p python3.10
$ source venv/bin/activate
$ cd venv

Inside your activated virtual environment you can install eTraGo with the pip command, as previously explained.

Copyleft

Code licensed under "GNU Affero General Public License Version 3 (AGPL-3.0)" It is a collaborative work with several copyright owners: Cite as "eTraGo" © Flensburg University of Applied Sciences, Centre for Sustainable Energy Systems © Europa-Universität Flensburg, Centre for Sustainable Energy Systems © DLR Institute for Networked Energy Systems"