No, MATPOWER does not have such capabilities. Depending on the details of what you are trying to do, it may be possible to re-cast the problem in a way that does not require if-then statements. For an example, piece-wise linear costs (which you might think of in terms of if-then-else) are handled by adding a variable and a set of constraints.

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


On Nov 8, 2008, at 7:07 AM, kanwardeep singh wrote:

Dear Dr. Ray,
Is it possible to have objective function and constraints which are dynamic. I mean to say that can we include if then else statements for specifying objective functions and constraints in OPF with SQP method.

Regards,
KDS



Reply via email to