I can not run optimal power flow and this error message appears during execting
test_mapower file:
>> test_matpower
t_loadcase..........ok
t_ext2int2ext.......ok
t_jacobian..........ok
t_hessian...........ok
t_totcost...........ok
t_modcost...........ok
t_hasPQcap..........ok
t_mips..............ok
t_qps_matpower......ok (180 of 288 skipped)
t_pf................ok
t_opf_fmincon.......??? Error using ==> class
The CLASS function must be called from a class constructor.
Error in ==> opf_model at 216
om = class(om, 'opf_model');
Error in ==> opf_model at 220
om = opf_model;
Error in ==> opf_setup at 218
om = opf_model(mpc);
Error in ==> opf at 219
om = opf_setup(mpc, mpopt);
Error in ==> runopf at 96
[r, success] = opf(casedata, mpopt);
Error in ==> t_opf_fmincon at 82
[baseMVA, bus, gen, gencost, branch, f, success, et] = runopf(casefile,
mpopt);
Error in ==> t_run_tests at 79
feval( test_names{k}, ~verbose );
Error in ==> test_matpower at 135
t_run_tests( tests, verbose );
which file is needed as a class constructor??
Regards,
Amal Elramly