def test_case89pegase(): net = pn.case89pegase() assert net.converged pp.runpp(net, trafo_model='pi') assert len(net.bus) == 89 assert len(net.line) + len(net.trafo) == 210 assert len(net.ext_grid) + len(net.gen) + len(net.sgen) == 18 assert net.converged
def test_case89pegase(): net = pn.case89pegase() assert net.converged pp.runpp(net, trafo_model='pi') assert len(net.bus) == 89 assert len(net.line) + len(net.trafo) == 210 n_gen = 12 assert len(net.ext_grid) + len(net.gen) == n_gen assert len(net.polynomial_cost) == n_gen assert net.converged
def test_case89pegase(): net = pn.case89pegase() assert net.converged _ppc_element_test(net, 89, 210, 12 + 6, 12)