You can see in line 106 in opt_execute.m that it calls mipsopf_solver() which 
in turn calls mips() at line 145. While there isn't a flow chart, the MIPS 
algorithm is described in detail in Section A.3 in the User's Manual.

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




On Feb 6, 2013, at 5:27 AM, dian anggun trisnadi <[email protected]> 
wrote:

> thaks for the answer Mr. Ray
> 
> i had more question here
> in point 5 - call the selected solver (each has it's own algorithm)
> can you describe which m file that called for default solver (primal
> dual pure matlab)?
> do you have flow chart for that solver?
> 
> regards, Dian
> 
> 2013/1/31, Ray Zimmerman <[email protected]>:
>> I don't really have a flow-chart, but flow is pretty linear. Here are the
>> basic steps that are performed when calling runopf …
>> 
>> - load data into mpc data struct
>> - convert data to internal numbering, remove out-of-service equipment
>> - construct matrices and vectors needed to formulate OPF problem (Ybus,
>> variable bounds, costs, etc.)
>> - build OPF model object, with all variable and constraint indexing info
>> - call the selected solver (each has it's own algorithm)
>> - package results in the results struct
>> - convert results back to external numbering, add back out-of-service
>> equipment
>> - optionally print and/or save results
>> 
>> Hope this helps,
>> 
>> --
>> Ray Zimmerman
>> Senior Research Associate
>> 419A Warren Hall, Cornell University, Ithaca, NY 14853
>> phone: (607) 255-9645
>> 
>> 
>> 
>> 
>> On Jan 30, 2013, at 9:37 AM, dian anggun trisnadi <[email protected]>
>> wrote:
>> 
>>> i trying to understand how runopf on Matpower work, then i searching for
>>> flow chart on internet, but i don't get any
>>> can anyone give me the flow chart?
>>> 
>>> regards, Dian
>> 
>> 
> 
> 
> 

Reply via email to