In order to modify the pdipmopf MEX file you would need the C language
sources, which we have not make publicly available. The first question
you need to answer is, how are the FACTS devices to be modeled? And
how does that affect the overall problem formulation? Does it involve
additional linear constraints? Modification of the existing non-linear
constraints?
If it's the former you can simply use the generalized formulation to
add the constraints as described in the manual and the existing
algorithms should be able to solve it without modification. If it is
the latter, you will need to actually modify the problem formulation
manually. In this case, I would suggest modifying the fmincon-based
solver, since it is pure-Matlab. The fmincon algorithm is not suitable
for large systems, but we have a pure-Matlab version of the PDIPM
solver in the works that uses the same cost and constraint evaluation
functions and it is able to handle large systems. The only difference
is that it requires 2nd derivative information for all of the costs
and constraints.
Hope this helps,
--
Ray Zimmerman
Senior Research Associate
428-B Phillips Hall, Cornell University, Ithaca, NY 14853
phone: (607) 255-9645
On Apr 12, 2009, at 3:27 AM, bahrami wrote:
Dear professor Zimmerman
i want to modify opf for modeling of FACTS devices
i want to begin with "pdipmopf" algoritm
1- is it posible to modify this algoritm,thogh it's a mex file
2- is there any alternative algoritm to select for modify?
3-i think "pdipmopf" algoritm is the best algoritm for this,is'nt it?
pleas help me to start this project
thanks