Dear Ray,

Thank you for the impromptu reply!!

-
with warm regards!!!
Deep

On 22 December 2014 at 20:06, Ray Zimmerman <r...@cornell.edu> wrote:

> Argh … stupid copy-paste bug. Line 428 should have results.bus instead of
> just bus. I’ve attached a fixed version, to be included in a bug-fix
> release soon.
>
> Thanks for bringing this to my attention.
>
>     Ray
>
>
>
>
> On Dec 21, 2014, at 12:44 PM, Deep Kiran <dkir...@gmail.com> wrote:
>
>
> 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
>
>
>
>


-- 

Deep Kiran

Reply via email to