Matpower Error in running OPF

7 次查看(过去 30 天)
Ayman Esmat
Ayman Esmat 2015-2-11
Hello Everybody,
I have a problem with Matpower. When I try to run a normal power flow (pf) on a simple case from the preinstalled cases from the Matpower like case 30 for example it runs properly. But when i try to run the optimal power flow (opf) for the same case it gives me the following errors.
MATPOWER Version 5.0, 17-Dec-2014 -- AC Optimal Power Flow Error using have_fcn>vstr2num Too many input arguments.
Error in have_fcn (line 185) if vstr2num(v.Version) >= 6.005
Error in opf_execute (line 80) if have_fcn('pdipmopf')
Error in opf (line 225) [results, success, raw] = opf_execute(om, mpopt);
Error in runopf (line 96) [r, success] = opf(casedata, mpopt);
I did not change any input data or any variable from the case.. And I installed the Matpower file as it should be, I unzipped it in the Matlab document files.
The strange thing is that it runs pf but not opf.
So any suggestions..?
Thanks in advance

回答(1 个)

SAKHR Alhendi
SAKHR Alhendi 2021-4-10
does any one can answer this q ? please

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by