Hello Khaled,
I am working on 24- bus system and when I want to execute any program of it
I use the syntax with
runpf('*name of your saved file*').
Hopefully, till now no such error occurred. You may try with runpf('')
syntax.
Regards
Surbhi Aggarwal
On Mon, Sep 7, 2020 at 9:22 PM Ray Daniel Zimmerman <[email protected]>
wrote:
> I agree this is confusing. It turns out that runcpf() really should
> *always* require two input arguments, the base case and the target case.
> And it should always throw an error (with a clear error message) if the
> latter is not provided. Instead, currently, it provides 'case9target' as
> a default value for the target case. This means it works for when using
> 'case9' as the base case, but throws the error you encountered if you
> provide any other base case without providing the target.
>
> Simply provide a consistent pair of both base and target cases and it
> should work just fine with other systems.
>
> And I’ll fix this so it requires that the user provide both cases on
> input, with a clear error message if the 2nd is missing.
>
> Ray
>
>
>
> On Sep 5, 2020, at 12:04 PM, Kaled Zareer <[email protected]> wrote:
>
> Hi all,
>
> The command runcpf('case9') works well. However when I change the system
> (i.e case 39, case 118), I obtain the following error:
>
> ''Matrix dimensions must agree.
>
> Error in runcpf (line 316)
> if any(mpcb.bus(:, BUS_TYPE) ~= mpct.bus(:, BUS_TYPE))''
>
> Your help is highly appreciated.
>
> Thank you
>
> Khaled
>
>
>