Skip to content

Loadflow does not converge for "1-EHVHV-mixed-all-1-no_sw" #63

@KS-HTK

Description

@KS-HTK

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_step

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions