Unfortunately, as the manual states, the user-defined constraints included by 
MATPOWER are only linear. If you want to include additional non-linear 
constraints, you will need to get into the details of the OPF implementation 
and modify the files that compute the constraints and their derivatives. It is 
a non-trivial task. At a minimum, you will need to do the following ...

1. add a new set of nonlinear constraints in opf_setup.m around line 243.
2. add the implementation of the constraints and corresponding gradients to 
opf_consfcn.m
3. modify the hessian accordingly in opf_hessfcn.m

If you do end up doing this, I'd love to see the result. It would be nice to 
make this process as easy as possible so your experience would be helpful.

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




On Feb 16, 2012, at 2:09 AM, 델카스틸로 wrote:

> Prof. Ray Zimmerman
> Senior Research Associate
> 419A Warren Hall, Cornell University, Ithaca, NY 14853
> Dear Prof. Zimmerman:
> 
> My name is Manuelito Y. Del Castillo, Jr., a master's degree student in Seoul 
> National University of Science and Technology. I am currently working in my 
> reseacch for optimal power flow considering fault current constraints. 
> 
> I am aware that MATPOWER is the best tool I can use for my research. I am 
> currently studying on how to use MATPOWER through reading the user's manual 
> and your related published papers. Base on my reading, my research will be 
> specifically utilizing the extended OPF formulation. Thus, I will include the 
> fault current constraints under the option "user-defined constraints" which 
> is equation number 5.25 at page 31 of the MATPOWER 4.1 User's Manual. As per 
> section 5.3.2 of the manual, it states that "The user-defined constraints 
> (5.25) are general linear restrictions.." My concern now is that the fault 
> current constraints I am hoping to add to the OPF are non-linear equations.
> 
> I am requesting your guide and help sir on how to deal with this matter. I 
> look forward for your favorable response. Thank you very much for your time. 
> It would be an utmost honor and pleasure to have a discussion with you sir.
> 
> 
> Respectfully Yours,
> 
> Manuelito Y. Del Castillo, Jr.
> Seoul National University of Science and Technology
> 

Reply via email to