You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This bus_9 is used to fetch both conventional generators and generate time-series of renewable generation. At the same time, bus_9 column is dropped from the demand dataframe:
So, generation and loads are attached to different buses which leads to not meaningful simulation results.
I can miss something, but currently it looks like some fix may be needed here. Would be happy to contribute, but need verify that my understanding is correct. @davide-f could you please give some hints on that?
The text was updated successfully, but these errors were encountered:
Checklist
main
branch or the latest release. Please indicate.pypsa-earth
environment. Update viaconda env update -f pypsa-earth/envs/environment.yaml
.Describe the Bug
It looks like there may be some mild discrepancy in defining a central bus for each grid.
Currently, such a bus is hardcoded as
bus_9
:pypsa-distribution/scripts/build_shapes.py
Lines 76 to 79 in 94db427
This
bus_9
is used to fetch both conventional generators and generate time-series of renewable generation. At the same time,bus_9
column is dropped from the demand dataframe:pypsa-distribution/scripts/build_demand.py
Lines 226 to 227 in 94db427
Which means that load is attached to all the buses, except
bus_9
:pypsa-distribution/scripts/add_electricity.py
Line 357 in 94db427
So, generation and loads are attached to different buses which leads to not meaningful simulation results.
I can miss something, but currently it looks like some fix may be needed here. Would be happy to contribute, but need verify that my understanding is correct. @davide-f could you please give some hints on that?
The text was updated successfully, but these errors were encountered: