Setting Pgmax=Pgmin=Pg (similarly for Qg) should constrain the generator output to a fixed value.
Shri On May 20, 2013, at 8:01 AM, spyros gian <[email protected]> wrote: > Dear Dr Zimmerman, > > I have solved an ACOPF in an optimisation tool. > I would like to get the solutions from this tool, and plug them to the > matpower. > In particular, I want to get the solutions for the Pgeneration and > Qgeneration for each generator that the optimisation tool gave me, > and plug them into matpower. > > This will allow me to see whether the matpower gives the same values for > voltage magnitudes that I got. > > Should I program some code in matlab so that i constrain matpower's mpc.gen > matrix to have these values? > > I guess that if i put these values to the columns Pg,Qg of the matpower > mpc.gen matrix, this will not constrain matpower. > > > Thank you for your insight > > Syros Giannakos >
