Existing resistive heating capacities on wrong buses if distribution
tgi-climact opened this issue · 2 comments
Checklist
- I am using the current
master
branch. - I am running on an up-to-date
pypsa-eur
environment. Update viaconda env update -f envs/environment.yaml
.
Describe the Bug
When electricity_distribution_grid
is activated, some links are moved from the transmission network to the distribution network (incl. resistive heaters) in prepare_sector_network
. But existing capacities of resistive heaters are added afterward in add_existing_baseyear
.
This means that some of the resistive capacities could be in distribution network, while others could be in transmission network.
See attached example for Belgium in 2030.
resistive_heater_bug_be_2030.csv
I have no suggestion on how to fix this. Any idea ?
Expected impact
- Wrong sizing of the distribution grid
- Wrong investments in individual storage and solar rooftop
@tgi-climact interesting, shouldn't this line prevent that
pypsa-eur/scripts/add_existing_baseyear.py
Lines 430 to 431 in ce1e531
@lisazeyen That's definitely true... Wrong version control on my end! Thank you