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
I am using the current main branch or the latest release. Please indicate.
I am running on an up-to-date pypsa-earth environment. Update via conda env update -f envs/environment.yaml.
Describe the Bug
Lines are currently added as s_nom. If lines are oversized in a network and can reduce for the optimal case s_nom_opt. 1) deconstructing lines makes no sense (yet) and 2) this can lead to negative objective values.
As a revision, in the mentioned code, it is ok to define it as s_nom, but it is better to specify s_nom_min in prepare_network.
Actually, we have a section of code that should be doing that but it seems not to be working for some reason.
The code is in the set_transmission_limit function here:
Checklist
main
branch or the latest release. Please indicate.pypsa-earth
environment. Update viaconda env update -f envs/environment.yaml
.Describe the Bug
Lines are currently added as
s_nom
. If lines are oversized in a network and can reduce for the optimal cases_nom_opt
. 1) deconstructing lines makes no sense (yet) and 2) this can lead to negative objective values.pypsa-earth/scripts/base_network.py
Lines 353 to 359 in e011735
We should probably add lines as
s_nom_min
The text was updated successfully, but these errors were encountered: