https://github.com/lukasfrankenq/district-control
Aims to provide model predictive control for models with PyPSA backend.
https://github.com/lukasfrankenq/district-control
control energy grid optimisation optimization pypsa python
Last synced: 2 months ago
JSON representation
Aims to provide model predictive control for models with PyPSA backend.
- Host: GitHub
- URL: https://github.com/lukasfrankenq/district-control
- Owner: LukasFrankenQ
- License: mit
- Created: 2021-09-10T21:34:00.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-01-16T22:56:21.000Z (over 3 years ago)
- Last Synced: 2025-01-17T04:32:42.815Z (4 months ago)
- Topics: control, energy, grid, optimisation, optimization, pypsa, python
- Language: Python
- Homepage:
- Size: 1.56 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Welcome to Model Predictive Control for PyPSA
This repository implements model predictive control using the PyPSA's power flow as the optimization backend in each iteration of the rolling horizon.
This is a work in progress and only contains essential features.
### How it works
Control is based on the interplay of three main components: the __pypsa.Network__, containing the system configuration, multiple objects of the __Prophet__-type, responsible for returning time series to the pypsa components and the __Controller__, rolling snapshots forward in time while storing optimization outcomes.
### Installation
The repository has minimal requirements and its intended to stay this way. To install the dependencies run
```shell
conda env create -f environment.yaml
```Additionally, a linear solver is needed. For this, please refer to the [PyPSA installation guide](https://pypsa.readthedocs.io/en/latest/installation.html).
### Examples
A minimal but illustrative example is presented in our [readthedocs](https://district-control.readthedocs.io/en/latest/). Feel free to take a look!
##### Contact
I am always happy about feedback and for people to contribute, feel free to reach out at