A Dispatch and Investment Evaluation Tool with Endogenous Renewables "DIETER"

The Dispatch and Investment Evaluation Tool with Endogenous Renewables (DIETER) has been developed in the research project StoRES to study the role of power storage and other flexibility options in a greenfield setting with high shares of renewables. The model determines cost-minimizing combinations of power generation, demand-side management, and storage capacities and their respective dispatch. DIETER thus captures multiple system values of power storage related to arbitrage, firm capacity, and reserves.

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. To view a copy of these licenses, visit and Whenever you use this model, please refer to We are happy to receive your feedback.

The model is implemented in the General Algebraic Modeling System (GAMS). Running the model thus requires a GAMS system, an LP solver, and respective licenses. We use the commercial solver CPLEX, but other LP solvers work, as well.

Below you find an overview of available DIETER versions and respective academic papers that include descriptions and documentations. The ZIP files include the GAMS code, an Excel file with all necessary input parameters, and partly also a short documentation of model equations and changes compared to earlier versions.

DIETER Version 1.0.0 (formerly 1.0) | ZIP, 8.09 MB

Version 1.0.0 is used and documented in Zerrahn, A., Schill, W.-P. (2015): A greenfield model to evaluate long-run power storage requirements for high shares of renewables. DIW Discussion Paper 1457 | PDF, 0.73 MB .

DIETER Version 1.0.2


Version 1.0.2 introduces a few minor modifications. These include nomenclature adjustments, changes with respect to the modeling of primary reserves, and some corrections regarding reserve provision by storage technologies. The ZIP file includes an updated model description compared to the one included in DIW Discussion Paper 1457.

"This model version has been documented in an article published in the Journal Renewable and Sustainable Energy Reviews. See In a companion article, this model version has been applied to the analysis of long-run power storage requirements in a greenfield setting that is loosely calibrated to the German power system. See

DIETER Version 1.1.0

Dieter | ZIP, 9.19 MB

Version 1.1.0 introduces power system interactions of electric vehicles. In contrast to earlier versions, input data is not calibrated to the year 2050, but to 2035.

This model version has been used to study the provision of reserves by electric vehicles in Germany. See Schill, W.-P., Niemeyer, M., Zerrahn, A., Diekmann, J. (2016): Bereitstellung von Regelleistung durch Elektrofahrzeuge: Modellrechnungen für Deutschland im Jahr 2035. Zeitschrift für Energiewirtschaft 40(2), 73-67

DIETER Version 1.2.0

DIETER Version 1.2.0 | ZIP, 10 MB

Version 1.2.0 introduces a stylized representation of prosumage, i.e. self-consumption of PV in combination with decentral battery storage. As in version 1.1.0, input data is again calibrated to the year 2035.

This model version has been used to study the system effect of prosumage in Germany. See Schill, W.-P., Zerrahn, A., Kunz, F. (2017): Prosumage of solar electricity: pros, cons, and the system perspective. Economics of Energy & Environmental Policy, 6(1). A slightly more detailed version of this article, including a description of the augmented model, is available as DIW Discussion Paper 1637 | PDF, 1.36 MB

Future Versions of DIETER will also be made available on this homepage.