Skip to main content

Energy System Model Template

Project description

Model Template for Renewable Energy Supply Systems (MTRESS)

Introduction

The DLR Institute of Networked Energy Systems has developed the MTRESS tool that can be used to optimise energy supply systems for new and existing projects at any location. MTRESS facilitates the creation of energy system optimisation models 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 is a generic model for community-based open source oemof.solph tool. MTRESS offers a variety of possible technology combinations for energy supply systems. It includes pre-built technologies that are commonly considered in energy systems, such as:

  • Photovoltaic or wind power (as generic RenewableEnergySource)
  • Grid Connection (Electricity, Heat and Gas)
  • Heat Pumps
  • Heat Exchangers
  • Electrolysers (PEM, Alkaline, AEM)
  • Fuel Cells (PEM, Alkaline, AEM)
  • Compressors
  • Combined Heat and Power (CHP) with various gas types and gas-mixtures (e.g., H2 + Natural Gas) as input fuels
  • Storages (Battery, Heat Storage, Gas Storage (Hydrogen))
  • Resistive Heater and Gas Boiler

It covers different sectors including Electricity, Heat and Gas (e.g., H2, Natural Gas, Biogas, etc.). It is tailored for optimising control strategies fulfilling fixed demand time series for electricity, heat, gas (including hydrogen), and domestic hot water using any selected combination of the implemented supply technologies.

MTRESS requires appropriately prepared initial data on the boundary conditions of the respective project. A wide range of data sources can be used, including historical energy consumption data for the project, but also higher-level data on the location, for example from climate models or the solar cadastre. Moreover, the forecasted demands and renewable generations could also be used for scheduling optimized operation for next days. It could be used for long-term planning and the 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 utilized for both research and commercial purposes. Researchers, utility owners, and policymakers can all benefit from this tool for energy system planning and operation. Applications are not just limited to municipal heating plans, home automation offerings, hydrogen infrastructure planning, and optimized operation of sector-coupled energy systems, but extend to any scenario requiring comprehensive energy optimization and management.

Installation

MTRESS depends on solph, which is automatically installed using pip

pip install mtress

However, pip will not install a solver, to perform the actual optimisation. Please refer to the documentation of solph to learn how to install a solver.

Documentation

The auto-generated documentation can be found on the GitLab pages.
The coverage report can be found on the GitLab pages as well.

Usage and Tutorials

Please refer to the examples folder in this repository to get acquainted with building and optimizing energy systems in MTRESS. These examples will help you understand the basics and guide you through the process before you start creating your own energy system.

Please feel free to contact us if you have any questions or need further assistance. Contact information can be found below.

Acknowledgements

The development of Version 2 was funded by the Federal Ministry for Economic Affairs and Energy (BMWi) and the Federal Ministry of Education and Research (BMBF) of Germany in the project ENaQ (project number 03SBE111). The development of the heat sector formulations in Version 3 was funded by the Federal Ministry of Education and Research (BMBF) of Germany in the project Wärmewende Nordwest (project number 03SF0624). The development of the gas sector formulations in Version 3 was funded by the Federal Ministry of Education and Research (BMBF) of Germany in the project H2Giga-Systogen100 (project number 03HY115E).

Contributing

You are welcome to contribute to MTRESS. We use Black code style with 79 characters a line, and put our code under MIT license. When contributing, you need to do the same. For smaller changes, you can just open a merge request. If you plan something bigger, please open an issue first, so that we can discuss beforehand and avoid double work. Also, please report bugs by opening an issue.

Citation

If you use MTRESS Software for your research, please consider citation as follows using the Zenodo record, doi:10.5281/zenodo.6395909.

Reference

[1] Schönfeldt, Patrik and Schlüters, Sunke and Oltmanns, Keno,"MTRESS 3.0--Modell Template for Residential Energy Supply Systems", arXiv preprint, 2022, arXiv:2211.14080.

Contact

The software development is administrated by Patrik Schönfeldt, for general questions please contact him. Individual authors may leave their contact information in the citation.cff.

Project details


Download files

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

Source Distribution

mtress-26.1.26.tar.gz (17.2 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mtress-26.1.26-py3-none-any.whl (84.4 kB view details)

Uploaded Python 3

File details

Details for the file mtress-26.1.26.tar.gz.

File metadata

  • Download URL: mtress-26.1.26.tar.gz
  • Upload date:
  • Size: 17.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for mtress-26.1.26.tar.gz
Algorithm Hash digest
SHA256 e898165d487730234db7bbaa73b5afb7b647bd34402958ef966d9d2c80b36369
MD5 4e8ffc6ec8310fd15c5b78128488868b
BLAKE2b-256 54a2d233aef0caad6d12130b1f0b1ed4193747046b6af131a74bf8fa475166f1

See more details on using hashes here.

File details

Details for the file mtress-26.1.26-py3-none-any.whl.

File metadata

  • Download URL: mtress-26.1.26-py3-none-any.whl
  • Upload date:
  • Size: 84.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for mtress-26.1.26-py3-none-any.whl
Algorithm Hash digest
SHA256 764bc42752869f06568c039d655e5c6f7eff2baf3d8a774174e505302d269d4b
MD5 9102c3e82ec5b0343217f9bcd02f0f79
BLAKE2b-256 7c0cf7fd61f34f3ffc5364b23a8bd3b5a1498190ad738ec0374d3c8ad997ca65

See more details on using hashes here.

Supported by

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