Hi all,
I was trying work out with MATPOWER 5.0.
An error is observed while implementing dcline.
>> mpc = loadcase(t_case9_dcline);
>> mpc = toggle_dcline(mpc,'on');
>> results = runopf(mpc);
??? Undefined function or variable 'bus'.
Error in ==> toggle_dcline>userfcn_dcline_printpf at 428
if size(bus, 1) > 500
Error in ==> run_userfcn at 62
rv = feval(userfcn.(stage)(k).fcn, rv, varargin{2},
varargin{3}, args);
Error in ==> printpf at 767
run_userfcn(results.userfcn, 'printpf', results, fd, mpopt);
Error in ==> runopf at 112
printpf(r, 1, mpopt);
Kindly, provide the solution with this.
P.S. many thanks for MATPOWER, it's a very useful package and one
which I have used alot throughout my research.
--
Deep Kiran