GridMod / RTS-GMLC

Reliability Test System - Grid Modernization Lab Consortium
154 stars 82 forks source link

Reverse Pmin and Pmax in DC line data in MATPOWER file #75

Closed rdzman closed 6 years ago

rdzman commented 6 years ago

In the dcline data in the MATPOWER file RTS.m, it seems that the Pmax and Pmin values were reversed, resulting in an infeasible problem where the flow in the line was constrained to be > 100 and < -100.

This PR fixes that in both RTS.m and the corresponding script.py. It also adds a missing semicolon at the end of the last line to silence unwanted output.