Mismatch between length of bus0 and bus1 while adding SMR and other technologies in prepare_sector_network.py
#1148
Labels
bug
Something isn't working
Checklist
main
branch or the latest release. Please indicate.pypsa-earth
environment. Update viaconda env update -f envs/environment.yaml
.Describe the Bug
Good day. The issue is related to addition of SMR into the network in
prepare_sector_network.py
script inh2_hc_conversions
function. When adding SMR of SMR CC, the error of mismatch between bus1 and bus0. In particular,nodes
are used for bus1 andspatial.gas.nodes
are used for bus0. It causes error, asnodes
consider only AC nodes, whilespatial.gas.nodes
considers both AC and DC nodes. So error is related to this piece of code:Error Message
The fix will be presented in this PR
@hazemakhalek
The text was updated successfully, but these errors were encountered: