Update Clustering authored by Christine Nowak's avatar Christine Nowak
......@@ -48,9 +48,9 @@ Several errors were encountered, when developing/using this tool. The following
| description| what caused it/what to do|
| ------ | ------ |
| 'some number does not match expected number' | One of the mentioned number is twice the amount of buses in your `networks/elec_s.nc". Somewhere along the way some buses were lost and are missing in the output.|
| some error in a clustering routine yielding a list of country codes | Although you might not see it, the list contains different country codes but it shouldn't. Make sure that you don't create clusters that span across borders, as this causes issues. Use `n.buses` to see which bus should go into which country and check your result for differences.
| some error in a clustering routine yielding a list of country codes | Although you might not see it, the list contains different country codes but it shouldn't. Make sure that you don't create clusters that span across borders, as this causes issues. Use `n.buses` to see which bus should go into which country and check your result for differences.*|
E.g. the thrown error can look like this:
E.g. the thrown error can look like this:
```
File "C:\ProgramData\Miniconda3\envs\pypsa-eur\lib\site-packages\pypsa\networkclustering.py", line 60, in consense
assert ((x == v).all() or x.isnull().all()), (
......@@ -89,7 +89,7 @@ def _make_consense(component, attr):
return consense
```
Alter the differing country in the corresponding bus in your custom_busmap_elec_s_NUMBERNODES.csv and restart your snakemake command.|
Alter the differing country for the corresponding bus in your custom_busmap_elec_s_NUMBERNODES.csv and restart your snakemake command.
......
......