def test_case9241pegase(): net = pn.case9241pegase() pp.runpp(net) assert len(net.bus) == 9241 assert len(net.line) + len(net.trafo) == 16049 assert len(net.ext_grid) + len(net.gen) + len(net.sgen) == 1879 assert net.converged
def test_case9241pegase(): net = pn.case9241pegase() assert net.converged pp.runpp(net, trafo_model='pi') assert len(net.bus) == 9241 assert len(net.line) + len(net.trafo) == 16049 assert len(net.ext_grid) + len(net.gen) + len(net.sgen) == 1879 assert len(net.polynomial_cost) == 1445 assert net.converged
def test_case9241pegase(): net = pn.case9241pegase() assert net.converged _ppc_element_test(net, 9241, 16049, 1879, 1445)