This Gitlab instance will be briefly unavailable today from 19:15 CET onwards for maintenance reasons.
Diese Gitlab-Instanz wird heute ab 19:15 Uhr kurzzeitig nicht verfügbar sein aufgrund von Wartungsarbeiten.
@@ -26,10 +26,10 @@ It currently is still an [issue](https://github.com/PyPSA/pypsa-eur/issues/124)
The goal was to define a model with higher resolution for Germany ([nuts2](https://ec.europa.eu/eurostat/de/web/gisco/geodata/reference-data/administrative-units-statistical-units/nuts)) and limit modelling of neighbouring countries to a minimum. While the current solution is specific to Germany, it can easily be adapted to other countries.
**The way**
- enable clustering.custom_busmap in the PyPSA config file by setting it to `True`.
- enable clustering.custom_busmap in the PyPSA-eur config file by setting it to `True`.
- create an PyPSA-eur-network which is not clustered, yet.
- modify `custom_clustering.py.ipynb` such that it meets your needs.
- execute it. It will create a `custom_busmap_elec_s_{clusters}.csv` file where `clusters` is analogous to its use in the PyPSA snakefile.
- execute it. It will create a `custom_busmap_elec_s_{clusters}.csv` file where `clusters` is analogous to its use in the PyPSA-eur snakefile.
- copy the resulting file into your pypsa-eur\data directory. (might be automated in the future)