-
Notifications
You must be signed in to change notification settings - Fork 33
Open
Description
From #1430 I noticed that even the basic case running runpp gives a loadflow not converged error.
import pandapower as pp
from pandapower.timeseries.run_time_series import run_timeseries
import simbench as sb
what_to_test = "runpp" # "runpp", "ts", "both"
grid_code = "1-EHVHV-mixed-all-1-no_sw"
net = sb.get_simbench_net(grid_code)
profiles_non_working = sb.get_absolute_values(
net, profiles_instead_of_study_cases=True)
sb.apply_const_controllers(net, profiles_non_working)
assert not sb.profiles_are_missing(net)
timesteps = range(2)
if what_to_test == "runpp":
pp.runpp(net)
# no error
elif what_to_test == "ts":
run_timeseries(net, timesteps)
# error at 2nd time_step
elif what_to_test == "both":
pp.runpp(net)
run_timeseries(net, timesteps)
# error at 1st time_stepMetadata
Metadata
Assignees
Labels
No labels