Closed AnkurArohi closed 11 months ago
Hallo Ankur, vielen Dank für dein Feedback. Du schreibst: "net.gen.loc[[30]].slack Out[4]: 30 True Name: slack, dtype: bool
But there is an exception raised that reference is not set, this is because ppc array for gen is empty although there are gens in net" Kannst du mal bitte prüfen, ob der "gen" ggf. nicht in_service ist? In unserem Test funktioniert der pandapower Lastfluss wenn es kein "ext_grid" aber einen "gen" mit "slack=True" und "in_service=True" gibt. Gib uns bitte den Output von "net.gen.loc[[30]].in_service".
gen is in service I checked that already
Hallo Ankur, vielen Dank für dein Feedback. Du schreibst: "net.gen.loc[[30]].slack Out[4]: 30 True Name: slack, dtype: bool
But there is an exception raised that reference is not set, this is because ppc array for gen is empty although there are gens in net" Kannst du mal bitte prüfen, ob der "gen" ggf. nicht in_service ist? In unserem Test funktioniert der pandapower Lastfluss wenn es kein "ext_grid" aber einen "gen" mit "slack=True" und "in_service=True" gibt. Gib uns bitte den Output von "net.gen.loc[[30]].in_service".
Please write in english
Hey Ankur,
can you provide us the network or any further information to reproduce the error? Currently we can't reproduce the exception...
Thanks for you help, yes I can provide you with further details in a teams call but not the network.
Hello, we were able to run the power flow without encountering this error after synchronising and updating numpy, scipy and pandas. It seems to me that there is some incompatibility/was between these 4 modules(pp,numpy,scipy and pandas) which had led to this issue.
Bug report checklis
[X] Searched the issues page for similar reports
[X] Read the relevant sections of the documentation
[X] Browse the tutorials and tests for usefull code snippets and examples of use
[X] Reproduced the issue after updating with
pip install --upgrade pandapower
(orgit pull
)[X] Tried basic troubleshooting (if a bug/error) like restarting the interpreter and checking the pythonpath
Reproducible Example
Issue Description and Traceback
net.gen.loc[[30]].slack Out[4]: 30 True Name: slack, dtype: bool
But there is an exception raised that reference is not set, this is because ppc array for gen is empty although there are gens in net
Expected Behavior
power flow run
Installed Versions
os fedora
Label