def test_case6470rte(): net = pn.case6470rte() assert net.converged pp.runpp(net, trafo_model='pi') assert len(net.bus) == 6470 assert len(net.line) + len(net.trafo) == 9005 assert len(net.ext_grid) + len(net.gen) + len(net.sgen) == 1578 assert net.converged
def test_case6470rte(): net = pn.case6470rte() assert net.converged _ppc_element_test(net, 6470, 9005, 1578, 1330)
# TODO make it work # case = pn.case300() # self._aux_test(case) # def test_case9241pegase(self): # TODO make it work # case = pn.case9241pegase() # self._aux_test(case) def test_case2848rte(self): case = pn.case2848rte() self.tol = 0.1 # yeah this one is a bit tough... # TODO self._aux_test(case) def test_case6470rte(self): case = pn.case6470rte() self.tol = 1e-2 self._aux_test(case) def test_case6495rte(self): case = pn.case6495rte() self.tol = 1e-2 self._aux_test(case) def test_case6515rte(self): case = pn.case6515rte() self.tol = 1e-2 self._aux_test(case) def test_case_illinois200(self): case = pn.case_illinois200()