The fmincopf_solver() function is not a top-level user function. It is called
indirectly by runopf() when you have the opf.ac.solver option set to 'FMINCON'.
>> mpopt = mpoption('opf.ac.solver', 'FMINCON');
>> results = runopf(mpc, mpopt);
Best,
Ray
On Sep 28, 2022, at 8:18 AM, naime ahmadi
<[email protected]<mailto:[email protected]>> wrote:
Hello,
How can I use fmincopf_solver in MATPOWER for IEEE 30 bus system?
case_test = '30';
mpc = loadcase(['case',case_test]);
I do not understand how to get 'om'
[results, success, raw] = fmincopf_solver(om, mpopt)
Thank you in advance,
Naime