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.
@@ -30,12 +30,13 @@ This chapter was written and tested for the commit cfb979a0d0f037a24b9d916b72680
...
@@ -30,12 +30,13 @@ This chapter was written and tested for the commit cfb979a0d0f037a24b9d916b72680
- 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).
- Modify `custom_clustering.py.ipynb` (in backbone_tools) such that it meets your needs.
- Modify `custom_clustering.py.ipynb` (in backbone_tools) 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-eur snakefile. It will be written to the PyPSA-eur-folder "data".
- 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. It will be written to the PyPSA-eur-folder "data".
- Delete all files in the PyPSA-eur-folder "network", "results" and "resources".
- Delete all files in the PyPSA-eur-folder "network", "results" and "resources".
- Enable clustering.custom_busmap in the PyPSA-eur config file by setting it to `true`.
- Enable clustering.custom_busmap in the PyPSA-eur config file by setting it to `true`.
- Create the final PyPSA-eur-network with desired settings (remember to match the wildcard `{clusters}` to `custom_busmap_elec_s_{clusters}.csv`).
- Create the final PyPSA-eur-network with desired settings (remember to match the wildcard `{clusters}` to `custom_busmap_elec_s\_{clusters}.csv`).
## The result
## The result
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 |
|-------------|--------|
|-------------|--------|
...
@@ -43,6 +44,7 @@ Clustering as described above yields the following map. Note that colours only s
...
@@ -43,6 +44,7 @@ Clustering as described above yields the following map. Note that colours only s
| DE (NUTS 2 level), AT (NUTS 0) & IT (NUTS 0) with buses |  |
| DE (NUTS 2 level), AT (NUTS 0) & IT (NUTS 0) with buses |  |
## The errors
## The errors
Several errors were encountered, when developing/using this tool. The following list serves as a short quick-fix guide reconstructed from the top of my head:
Several errors were encountered, when developing/using this tool. The following list serves as a short quick-fix guide reconstructed from the top of my head: