Ray,
Yes, Cf and Ct are calculated in makeYbus.m. I noticed that Cf and Ct have
the same dimensions after disabling
some lines and assumed that something was wrong. It turns out that the
rows corresponding to disabled lines were
set to all zeros with the same effect as taking them out. Not
I assume you are referring to DC OPF or MOST problems that can be solved by an
LP solver. MATPOWER itself does not write out the models in LP or MPS formats,
but some solvers can. Gurobi in particular can, and there may be others. So the
trick is to set a debugger breakpoint in the MATPOWER
A few things to keep in mind …
1. Every case needs a reference bus. For the OPF it serves only as the voltage
angle reference. (For the power flow it serves as voltage angle reference and
slack bus).
2. Unlike regular generators, dispatchable loads assume a constant power
factor. Without a
Hello everyone,
Are MATPOWER instances available in LP/MPS format somewhere? If not, would it
be possible to generate those?
Best regards,
Jaromił Najman