On Sep 30, 2012, at 3:06 PM, Evangelos Galinas <[email protected]> wrote:

> 1st: Is there a way to tell to the opf function to disregard the power limits 
> of Generators (min/max) or the branch flow limits? Or I have to change the 
> limits myself accrdingly in the system struct before I run a new OPF?

You have to change the limits in the case data before running. Btw, setting 
RATE_A for a line to zero removes the branch flow limit.

> 2nd: I realised that the suc value get zero only if the algortihm does not 
> converge. What I need to know for my implementation though, is at any point 
> to know if even one contraint (generator or branch) was violated. Is there a 
> way to quickly access a flag or something for that, or I'll have to do checks 
> myself between the 2 colums (e.g. Pg and Pmax) after every run? 
> Alternatively, maybe you have a more efficient way to do that?

If the OPF converges successfully all constraints will be satisfied. If it does 
not converge successfully, the values returned are not necessarily meaningful 
at all. Specifically, I don't know of any of the solvers that will return a 
solution with all constraints satisfied except a few that are conflicting.

In general, determining the minimal number of changes required to make an 
infeasible problem become feasible is a difficult problem.


-- 
Ray Zimmerman
Senior Research Associate
419A Warren Hall, Cornell University, Ithaca, NY 14853
phone: (607) 255-9645

Reply via email to