You mean you want it to be documented too?  :-)  The main reason 4.0b1 is 
labeled as a beta release is because the manual is not finished. But, enough 
excuses.

The following should run an example for you ...

  mpc = loadcase('t_case30_userfcns');
  mpc = toggle_iflims(mpc, 'on');
  results = rundcopf(mpc);

See 'help toggle_iflims' for more details and have a look at the mpc.if.map and 
mpc.if.lims fields in t/t_case30_userfcns.m for examples of the data. Also, 
t/t_opf_userfcns.m has some tests for this functionality.

This is a new, and therefore not heavily tested, feature so feedback is 
appreciated.

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



On Jan 5, 2010, at 11:51 AM, Ghazi, Belgacem wrote:

> Dear Zimmerman
> I've just updated matpower. how can we add interface limits in resolving OPF 
> using the recent version of Matpower
> thank you in advance
> 
> From: [email protected] 
> [mailto:[email protected]] On Behalf Of Ray Zimmerman
> Sent: Thursday, November 05, 2009 12:08 PM
> To: MATPOWER discussion forum
> Subject: Re: transmission interface limite
> 
> MATPOWER 4 will have this feature, where the interface limits are based on 
> flows from a DC model.
> 
> -- 
> Ray Zimmerman
> Senior Research Associate
> 211 Warren Hall, Cornell University, Ithaca, NY 14853
> phone: (607) 255-9645
> 
> 
> 
> On Nov 5, 2009, at 11:42 AM, Ghazi, Belgacem wrote:
> 
>> Dear Zimmerman
>> is there a way to add interface limits in resolving OPF
>> thanks
>> 
>> 
>>  
>>> 
>>> 
>> 
> 



Reply via email to