Dear Shri,
I am running an ACOPF not a simple power flow. When I set in the mpc.gen matrix 
thatPg=  Pmax=Pmin and Qg=Qman=Qmin (ie the corresponding columns having the 
same value)and then runopf ('caseExample') then , matpower ignores this 
constraint, ie that pmax=pmin=pg.Are you sure it works for you?
 IS there a way for this Dr Zimmerman?
Thank you
Subject: Re: Constraining matpower
From: [email protected]
Date: Mon, 20 May 2013 08:47:09 -0500
To: [email protected]

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
                                          
                                          

Reply via email to