>From the error message, it looks like you might be using an mpopt that is not
>actually a valid MATPOWER options struct as returned by mpoption(). Try it
>with the default mpopt.
Ray
On Jan 14, 2020, at 3:50 PM, Jubeyer Rahman
<[email protected]<mailto:[email protected]>> wrote:
Hi,
Has anyone ever tried to run the Texas-2000 bus test system in MATPOWER to find
its power flow and optimal power flow solution. I am getting the message like
the following while trying to run it,
For Power-flow:
Struct contents reference from a non-struct array object.
Error in newtonpf (line 34)
tol = mpopt.pf.tol;
Error in runpf (line 220)
[V, success, iterations] = newtonpf(Ybus, Sbus, V0, ref, pv, pq,
mpopt);
And for optimal power flow:
Struct contents reference from a non-struct array object.
Error in opf_setup (line 20)
dc = strcmp(upper(mpopt.model), 'DC');
Error in opf (line 198)
om = opf_setup(mpc, mpopt);
Error in runopf (line 75)
[r, success] = opf(casedata, mpopt);
Though to me it looks like the MPC like other cases. I have loaded the case
file : case_ACTIVSg2000.m
from Texas A&M university's repository.
Regards,
Jubeyer