aviation demand is infinity for sum countries
lisazeyen opened this issue · 2 comments
lisazeyen commented
Checklist
- I am using the current
master
branch or the latest release. Please indicate. - I am running on an up-to-date
pypsa-eur
environment. Update viaconda env update -f envs/environment.yaml
.
Describe the Bug
pop_weighted_energy_totals
are infinity for some countries for total domestic aviation
which leads to infeasibilities.
op_weighted_energy_totals.loc[nodes, all_aviation]
Out[50]:
total international aviation total domestic aviation
name
AL1 0 0.251265 0.000000
AT1 0 11.292949 0.251420
BA1 0 0.110441 0.000000
BE1 0 19.343353 0.431841
BG1 0 2.887472 0.038929
CH1 0 21.759418 0.806935
CZ1 0 5.387764 0.110091
DE1 0 111.065034 10.536742
DK1 0 7.850887 0.437656
DK2 0 4.190560 0.233607
EE6 0 0.389796 0.002459
ES1 0 54.362131 27.073893
ES4 0 0.772546 0.384750
FI2 0 8.625936 1.755484
FR1 0 61.895048 24.170939
GB0 0 136.657052 11.100326
GB5 0 3.874208 0.314693
GR1 0 13.219911 2.570031
HR1 0 2.321278 0.122257
HU1 0 3.202923 inf
IE5 0 12.949782 0.062496
IT1 0 40.889581 14.514756
IT3 0 1.141715 0.405280
LT6 0 1.424624 inf
LU1 0 6.802723 0.145399
LV6 0 1.814527 inf
ME1 0 0.293566 0.000000
MK1 0 0.325638 0.000000
NL1 0 46.314002 0.378830
NO2 0 6.398657 4.099780
PL1 0 11.731241 1.278340
PT1 0 15.886011 2.989081
RO1 0 1.885899 0.418873
RS1 0 1.659891 0.000000
SE2 0 9.607698 1.803904
SI1 0 0.330744 0.001101
SK1 0 0.520955 0.000000
koen-vg commented
This seems exceedingly similar the problem I fixed here: #973
Are you running with that fix?
lisazeyen commented
Yes, it is solved by that!