Exemplo n.º 1
0
 def testDcOpf(self):
     """ Test solving the auction case using DC OPF.
     """
     solver = OPF(self.case, True, opt={"verbose": False})
     solution = solver.solve()
     self.assertTrue(solution["converged"])
     self.assertAlmostEqual(solution["f"], -517.81, 2)