The issue is that you are defining your case in the version 1 format for 
MATPOWER case files, but you are adding columns (ANGMIN and ANGMAX) that are 
only available in the version 2 format, so they are not being read, but are 
being set to the default (unconstrained) values.

Simply convert your case file to version 2 format and it should work.

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




On Apr 23, 2013, at 12:55 PM, Cédric Josz <[email protected]> wrote:

> Ray, thank you for getting back to me so quickly.
> You shouldn't have to do anything besides specify the angle limits. Are you 
> saying that you have specified ANGMIN and ANGMAX (in degrees) and the OPF 
> converges successfully, but the angles violate the specified limits? And you 
> didn't set the OPF_IGNORE_ANG_LIM option?
>  
> Yes that is what I am saying. 
>  
> 
> If so, can you send me the case off-list so I can confirm. It could be a bug.
>  
> Ok I'll send it to you.
>  
> Thanks for your time.
>  
> Cédric
>  
> 
> --Ray
> 
> 
> On Apr 23, 2013, at 10:24 AM, Cédric Josz <[email protected]> wrote:
> 
>> Hi,
>> 
>> I would like to run an OPF with branch angle difference limits, which is 
>> possible according to Matpower's 2011 manual (section 5.4.4 : Optimal power 
>> flow / standard extensions / branch angle difference limits ).
>> 
>> However, the program "runopf" doesn't take them into account when I run it 
>> on a data file on which I've specified "angmin" and "angmax" in the branch 
>> matrix.
>> 
>> How must one proceed to specify such constraints ?
>> 
>> Thanks in advance for your help.
>> 
>> Cédric Josz
>> PhD student at Paris 6 University 
> 

Reply via email to