Skip to main content

DIETERpy GAMS-Python framework of a power system model DIETER

Project description

DIETERpy Status Badge DIETERpy Python Versions DIETERpy license

DIETERpy is electricity market model developed by the research group Transformation of the Energy Economy at DIW Berlin (German Institute of Economic Research).

The open-source power sector optimization model “Dispatch and Investment Evaluation Tool with Endogenous Renewables” (DIETER) has been developed to investigate the role of electricity storage and sector coupling options in future scenarios with high shares of renewable energy sources.

DIETERpy is a Python-based tool that enables an easy pre- and post-processing of the model data, sophisticated scenario analysis, and visualization of results. The optimization routine of DIETERpy is based on the General Algebraic Modeling System (GAMS) of DIETER, which is now maintained separately as a GAMS-only version called DIETERgms.


DIETERpy is distributed on PyPI and can installed with pip:

$ pip install dieterpy

Read the documentation to learn how to properly install DIETERpy.

Configuration and running the model

Please consult our full documentation on how to configure and run DIETERpy.


The developers are Carlos Gaete-Morales (lead), Alexander Roth and Martin Kittel, and Wolf-Peter Schill, in collaboration with Alexander Zerrahn.


DIETER has been used for numerous publications, both by DIW and external researchers. Please have a look at our Applications section of our documentation for a full list of DIW as well as external papers and projects. There, we provide detailed descriptions and the DIETER version used in the respective projects.


DIETERpy is an open source tool which code may be freely used and modified by anyone. The code is licensed under the MIT License and available

DIETER is an open source model which may be freely used and modified by anyone. The code is licensed under the MIT License. Input data is licensed under the Creative Commons Attribution-ShareAlike 4.0 International Public License and available under

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dieterpy-1.6.2.tar.gz (23.2 MB view hashes)

Uploaded source

Built Distribution

dieterpy-1.6.2-py2.py3-none-any.whl (23.2 MB view hashes)

Uploaded py2 py3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page