pommesdispatch

A bottom-up fundamental power market model for the German electricity sector

https://github.com/pommes-public/pommesdispatch

Science Score: 54.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
    2 of 4 committers (50.0%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (12.6%) to scientific vocabulary

Keywords

market modeling oemof opensource optimization power python

Keywords from Contributors

raw-data transparent
Last synced: 4 months ago · JSON representation ·

Repository

A bottom-up fundamental power market model for the German electricity sector

Basic Info
  • Host: GitHub
  • Owner: pommes-public
  • License: other
  • Language: Python
  • Default Branch: dev
  • Homepage:
  • Size: 603 KB
Statistics
  • Stars: 8
  • Watchers: 1
  • Forks: 1
  • Open Issues: 3
  • Releases: 3
Topics
market modeling oemof opensource optimization power python
Created over 4 years ago · Last pushed over 1 year ago
Metadata Files
Readme License Citation

README.md

PyPI PyPI - Python Version Documentation Status PyPI - License

pommesdispatch

A bottom-up fundamental power market model for the German electricity sector

This is the dispatch variant of the fundamental power market model POMMES (POwer Market Model of Energy and reSources). Please navigate to the section of interest to find out more.

Contents

Introduction

POMMES itself is a cosmos consisting of a dispatch model (stored in this repository and described here), a data preparation routine and an investment model for the German wholesale power market. The model was originally developed by a group of researchers and students at the chair of Energy and Resources Management of TU Berlin and is now maintained by a group of alumni and open for other contributions.

If you are interested in the data preparation routines used or investment modeling, please find more information here: - pommesdata: A full-featured transparent data preparation routine from raw data to POMMES model inputs - pommesinvest: A multi-period integrated investment and dispatch model for the German power sector (upcoming).

Purpose and model characterization

The dispatch variant of the power market model POMMES pommesdispatch enables the user to simulate the dispatch of backup power plants, storages as well as demand response units for the Federal Republic of Germany for an arbitrary year or timeframe between 2017 and 2030. The dispatch of renewable power plants is exogeneously determined by normalized infeed time series and capacity values. The models' overall goal is to minimize power system costs occuring from wholesale markets whereby no network constraints are considered except for the existing bidding zone configuration used for modeling electricity exchange. Thus, the model purpose is to simulate dispatch decisions and the resulting day-ahed market prices. A brief categorization of the model is given in the following table. An extensive categorization can be found in the model documentation.

| criterion | manifestation | | ---- | ---- | | Purpose | - simulation of power plant dispatch and day-ahead prices for DE (scenario analysis) | | Spatial coverage | - Germany (DE-LU) + electrical neighbours (NTC approach) | | Time horizon | - usually 1 year in hourly resolution | | Technologies | - conventional power plants, storages, demand response (optimized)
- renewable generators (fixed)
- demand: exogenous time series | | Data sources | - input data not shipped out, but can be obtained from pommesdata; OPSD, BNetzA, ENTSO-E, others | | Implementation | - graph representation & linear optimization: oemof.solph / pyomo
- data management: python / .csv |

Mathematical and technical implementation

The models' underlying mathematical method is a linear programming approach, seeking to minimize overall power system costs under constraints such as satisfying power demand at all times and not violating power generation capacity or storage limits. Thus, binary variables such as units' status, startups and shutdowns are not accounted for.

The model builds on the framework oemof.solph which allows modeling energy systems in a graph-based representation with the underlying mathematical constraints and objective function terms implemented in pyomo. Some of the required oemof.solph featuresm - such as demand response modeling - have been provided by the POMMES main developers which are also active in the oemof community. Users not familiar with oemof.solph may find further information in the oemof.solph documentation.

Documentation

An extensive documentation of pommesdispatch can be found on readthedocs. It contains a user's guide, a model categorization, some energy economic and technical background information, a complete model formulation as well as documentation of the model functions and classes.

Installation

To set up pommesdispatch, set up a virtual environment (e.g. using conda) or add the required packages to your python installation. Additionally, you have to install a solver in order to solve the mathematical optimization problem.

Setting up pommesdispatch

pommesdispatch is hosted on PyPI. To install it, please use the following command pip install pommesdispatch

If you want to contribute as a developer, you fist have to fork it and then clone the repository, in order to copy the files locally by typing git clone https://github.com/your-github-username/pommesdispatch.git After cloning the repository, you have to install the required dependencies. Make sure you have conda installed as a package manager. If not, you can download it here. Open a command shell and navigate to the folder where you copied the environment to.

Use the following command to install dependencies conda env create -f environment.yml Activate your environment by typing conda activate pommes_dispatch

Installing a solver

In order to solve a pommesdispatch model instance, you need a solver installed. Please see oemof.solph's information on solvers. As a default, gurobi is used for pommesdispatch models. It is a commercial solver, but provides academic licenses, though, if this applies to you. Elsewhise, we recommend to use CBC as the solver oemof recommends. To test your solver and oemof.solph installation, again see information from oemof.solph.

Contributing

Every kind of contribution or feedback is warmly welcome.
We use the GitHub issue management as well as pull requests for collaboration. We try to stick to the PEP8 coding standards.

Authors

  • Authors of pommesinvest are Johannes Kochems and Yannick Werner. It is maintained by Johannes Kochems.
  • All people mentioned below contributed to early-stage versions or predecessors of POMMES or ideally supported it.

List of contributors to POMMES

The following people have contributed to POMMES. Most of these contributions belong to early-stage versions and are not part of the actual source code. Nonetheless, all contributions shall be acknowledged and the full list is provided for transparency reasons.

The main contributors are stated on top, the remainder is listed in alphabetical order.

| Name | Contribution | |--------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | Johannes Kochems | major development & conceptualization
conceptualization, development of all investment-related parts; development of main data preparation routines (esp. future projection for all components, RES tender data and LCOE estimates, documentation), architecture, publishing process, maintenance | | Yannick Werner | major development & conceptualization
conceptualization, development of main data preparation routines (status quo data for all components, detailed RES, interconnector and hydro data), architecture | | Benjamin Grosse | data collection for conventional power plants in early development stage, ideal support and conceptionel counseling | | Carla Spiller | data collection for conventional power plants in early stage development as an input to pommesdata; co-development of rolling horizon dispatch modelling in predecessor of pommesdispatch | | Christian Fraatz | data collection for conventional power plants in early stage development as an input to pommesdata | | Conrad Nicklisch | data collection for RES in early stage development as an input to pommesdata | | Daniel Peschel | data collection on CHP power plants as an input to pommesdata | | Dr. Johannes Giehl | conceptionel support and research of data licensing; conceptionel support for investment modelling in pommesinvest | | Dr. Paul Verwiebe | development of small test models as a predecessor of POMMES | | Fabian Büllesbach | development of a predecessor of the rolling horizon modeling approach in pommesdispatch | | Flora von Mikulicz-Radecki | extensive code and functionality testing in an early development stage for predecessors of pommesdispatch and pommesinvest | | Florian Maurer | support with / fix for python dependencies | | Hannes Kachel | development and analysis of approaches for complexity reduction in a predecessor of pommesinvest | | Julian Endres | data collection for costs and conventional power plants in early stage development | | Julien Faist | data collection for original coal power plant shutdown and planned installation of new power plants for pommesdata; co-development of a predecessor of pommesinvest | | Leticia Encinas Rosa | ata collection for conventional power plants in early stage development as an input to pommesdata | | Prof. Dr.-Ing. Joachim Müller-Kirchenbauer | funding, enabling and conceptual support | | Robin Claus | data collection for RES in early stage development as an input to pommesdata | | Sophie Westphal | data collection for costs and conventional power plants in early stage development as an input for pommesdata | | Timona Ghosh | data collection for interconnector data as an input to pommesdata |

Citing

A publication using and introducing pommesdispatch is currently in preparation.

If you are using pommesdispatch for your own analyses, we recommend citing as:
Kochems, J. and Werner, Y. (2024): pommesdispatch. A bottom-up fundamental power market model for the German electricity sector. https://github.com/pommes-public/pommesdispatch, accessed YYYY-MM-DD.

We furthermore recommend naming the version tag or the commit hash used for the sake of transparency and reproducibility.

Also see the CITATION.cff file for citation information.

License

This software is licensed under MIT License.

Copyright 2024 pommes developer group

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Owner

  • Name: pommes-public
  • Login: pommes-public
  • Kind: organization
  • Location: Germany

POMMES - a cosmos for bottom-up linear fundamental power market modeling

Citation (CITATION.cff)

abstract: "pommesdispatch. A bottom-up fundamental power market model for the German electricity sector. https://github.com/pommes-public/pommesdispatch, accessed YYYY-MM-DD."
authors: 
  - family-names: Kochems
    given-names: Johannes
    orcid: "https://orcid.org/0000-0002-3461-3679"
  - family-names: Werner
    given-names: Yannick
    orcid: "https://orcid.org/0000-0002-6674-805X"
cff-version: "1.2.0"
date-released: 2024-04-13
doi: https://doi.org/
keywords: 
  - "power market"
  - "fundamental model"
  - "dispatch"
  - "power price"
  - "oemof.solph"
license: "MIT license"
message: "If you use this software, please cite as follows."
title: pommesdispatch
version: "0.1.0"

GitHub Events

Total
  • Watch event: 1
Last Year
  • Watch event: 1

Committers

Last synced: 5 months ago

All Time
  • Total Commits: 248
  • Total Committers: 4
  • Avg Commits per committer: 62.0
  • Development Distribution Score (DDS): 0.202
Past Year
  • Commits: 12
  • Committers: 1
  • Avg Commits per committer: 12.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Johannes Kochems j****s@w****e 198
Johannes Kochems j****s@d****e 46
Yannick Werner y****r@g****t 3
kochems k****s@t****e 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 4 months ago

All Time
  • Total issues: 29
  • Total pull requests: 41
  • Average time to close issues: 2 months
  • Average time to close pull requests: 16 days
  • Total issue authors: 3
  • Total pull request authors: 2
  • Average comments per issue: 0.76
  • Average comments per pull request: 0.76
  • Merged pull requests: 40
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • jokochems (26)
  • yannickwerner (1)
  • maurerle (1)
Pull Request Authors
  • jokochems (42)
  • yannickwerner (1)
Top Labels
Issue Labels
enhancement (10) bug (4) pommesdata (2) solph-update (2) help wanted (1) data-update (1)
Pull Request Labels
enhancement (5) bug (1) solph-update (1) pommesdata (1) data-update (1)

Packages

  • Total packages: 2
  • Total downloads:
    • pypi 11 last-month
  • Total dependent packages: 0
    (may contain duplicates)
  • Total dependent repositories: 1
    (may contain duplicates)
  • Total versions: 4
  • Total maintainers: 1
proxy.golang.org: github.com/pommes-public/pommesdispatch
  • Versions: 3
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent packages count: 5.4%
Average: 5.6%
Dependent repos count: 5.8%
Last synced: 4 months ago
pypi.org: pommesdispatch

A bottom-up fundamental power market model for the German electricity sector

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 1
  • Downloads: 11 Last month
Rankings
Dependent packages count: 7.3%
Stargazers count: 21.6%
Dependent repos count: 22.1%
Forks count: 22.8%
Average: 29.3%
Downloads: 73.0%
Maintainers (1)
Last synced: 4 months ago

Dependencies

docs/requirements.txt pypi
  • readthedocs-sphinx-search ==0.1.0
  • sphinx ==3.4.3
  • sphinx_copybutton ==0.4.0
  • sphinx_rtd_theme ==0.5.2
pyproject.toml pypi
  • numpy *
  • oemof.solph 0.4.4
  • pandas *
  • python ^3.8
  • pyyaml *
setup.py pypi
  • numpy *
  • oemof.solph *
  • pandas *
  • pyyaml *
.github/workflows/lint.yml actions
  • actions/checkout v2 composite
  • actions/setup-python v1 composite
  • samuelmeuli/lint-action v1 composite
.github/workflows/packaging_pytests.yml actions
  • abatilo/actions-poetry v2.0.0 composite
  • actions/checkout v2 composite
  • actions/setup-python v2 composite
environment.yml conda
  • numpy
  • pandas
  • pip
  • python 3.8.*