Re: wrong Cf and Ct

2022-03-18 Thread Jovan Ilic
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

Re: LP/MPS format of MATPOWER instances

2022-03-18 Thread Ray Daniel Zimmerman
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

Re: Islanded network with no generation and full dispatchable loads

2022-03-18 Thread Ray Daniel Zimmerman
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

LP/MPS format of MATPOWER instances

2022-03-18 Thread Najman, Jaromil
Hello everyone, Are MATPOWER instances available in LP/MPS format somewhere? If not, would it be possible to generate those? Best regards, Jaromił Najman