Update Clustering authored by Christine Nowak's avatar Christine Nowak
...@@ -23,7 +23,7 @@ This chapter was written and tested for the commit cfb979a0d0f037a24b9d916b72680 ...@@ -23,7 +23,7 @@ This chapter was written and tested for the commit cfb979a0d0f037a24b9d916b72680
It was an [issue](https://github.com/PyPSA/pypsa-eur/issues/124) there. The functionality has been last checked on 12.02.2021 on the PyPSA-eur master branch (commit df2425d4a04648e948d8291421cab7d2ca36529f, 14.01.2021). It was an [issue](https://github.com/PyPSA/pypsa-eur/issues/124) there. The functionality has been last checked on 12.02.2021 on the PyPSA-eur master branch (commit df2425d4a04648e948d8291421cab7d2ca36529f, 14.01.2021).
**The goal*** **The goal***
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), also see explanation of [nuts](https://de.wikipedia.org/wiki/NUTS:DE)) 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 goal was to define a model with higher resolution for Germany ([NUTS 2](https://ec.europa.eu/eurostat/de/web/gisco/geodata/reference-data/administrative-units-statistical-units/nuts), also see explanation of [NUTS](https://de.wikipedia.org/wiki/NUTS) and [NUTS:DE](https://de.wikipedia.org/wiki/NUTS:DE)) 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** **The way**
- Create a PyPSA-eur-network with desired config-settings (clustering.custom_busmap in the PyPSA-eur config file must be set to `false` at this step). - Create a PyPSA-eur-network with desired config-settings (clustering.custom_busmap in the PyPSA-eur config file must be set to `false` at this step).
...@@ -37,8 +37,8 @@ The goal was to define a model with higher resolution for Germany ([nuts2](https ...@@ -37,8 +37,8 @@ The goal was to define a model with higher resolution for Germany ([nuts2](https
Clustering as described above yields the following map. Note that colours only serve the purpose of visually separating clusters. Clustering as described above yields the following map. Note that colours only serve the purpose of visually separating clusters.
| explanation | figure | | explanation | figure |
| ------ | ------ | | ------ | ------ |
| Germany (nuts2 level) with neighbours (nuts0)| ![sample_clustering](uploads/d150155028c473c35c34c613c6671453/sample_clustering.png)| | Germany (NUTS 2 level) with neighbours (NUTS 0)| ![sample_clustering](uploads/d150155028c473c35c34c613c6671453/sample_clustering.png)|
| DE (nuts2 level), AT (nuts0) & IT (nuts0) with buses | ![custom_cluster_de_at_it](uploads/36175c205aac99db03c8b5aabb5e6cf3/custom_cluster_de_at_it.png)| | DE (NUTS 2 level), AT (NUTS 0) & IT (NUTS 0) with buses | ![custom_cluster_de_at_it](uploads/36175c205aac99db03c8b5aabb5e6cf3/custom_cluster_de_at_it.png)|
... ...
......