MTRESS (Model Template for Renewable Energy Supply Systems) facilitates the creation of energy system optimisation models for individual residential and commercial buildings as well as for neighbourhoods and entire industrial properties.

582 commits | Last commit 2 months ago

Cite this software

What MTRESS can do for you

With the MTRESS optimisation model, the Institute of Networked Energy Systems has developed a tool that can be used to optimise energy supply systems for new and existing projects at any location. The model facilitates the optimisation of energy systems for individual residential and commercial buildings as well as for neighbourhoods and entire industrial properties. It enables users to include a wide range of influencing factors and energy options in the simulation and minimises the planning effort.

This generic energy system model enables planning agencies, local authorities, energy suppliers or research institutions to analyse heat requirements in buildings and neighbourhoods in order to derive options for action for an optimised future energy supply on the basis of this data. The integration of ground-mounted PV or hydrogen infrastructures is also possible.

MTRESS requires appropriately prepared initial data on the boundary conditions of the respective project. A wide range of data sources can be used for this purpose. These include historical energy consumption data for the project, but also higher-level data on the location, for example from climate models or the solar cadastre. Assumptions about the development of costs and the CO2 impact of the future energy mix can also be incorporated into the modelling.

As an open source model, MTRESS is available to users in a wide range of areas. It can be used for research purposes or integrated for use for commercial purposes. Planning agencies can work with it, it can be used to create municipal heating plans or be part of the offering of home automation developers.

Programming language
  • Python 100%
  • MIT
</>Source code

Participating organisations

German Aerospace Center (DLR)

Reference papers


Patrik Schönfeldt
Deutsches Zentrum für Luft- und Raumfahrt
Sunke Schlüters
Deutsches Zentrum für Luft- und Raumfahrt

Related software



oemof.solph is a model generator for energy system modelling and optimisation. It facilitates the formulation of (mixed-integer) linear programs from a generic graph-based structure, allowing to create multi-sector models on different levels of detail with user-defined time-resolution.

Updated 1 week ago
52 29