Ok, thanks … so, as I guessed, your first message did not contain the actual
error message, which is …
Subscript indices must either be real positive integers or logicals.
It is always a good idea when working with a problematic case file to run it
through case_info()
<http://www.pserc.cornell.edu//matpower/docs/ref/matpower5.1/case_info.html>.
In this case, it clearly identifies the issue for you …
>> case_info('case95')
Unknown branch "from" buses: 1
branch(67, F_BUS) = 65
Unknown branch "to" buses: 1
branch(66, T_BUS) = 65
Checking connectivity ... 2 connected groups, 0 isolated buses
...
Bus 65 is missing from the bus matrix, but there are branches claiming to
connect to it.
Best,
Ray
> On Apr 28, 2015, at 10:50 AM, Hiranya Seneviratne
> <[email protected]> wrote:
>
> Hi,
>
> Yes that is the error i got on the command window when I tried to run a power
> flow on a 95 bus system.
> This is the result on the command window.
> I have attached the data for the 95 bus system that I am trying to run the
> power flow on. If you can please let me know how I can resolve this error.
> Thank you
> <case95.m>
>
> loadcase('case95')
>
> ans =
>
> version: '2'
> baseMVA: 100
> bus: [94x13 double]
> gen: [2x10 double]
> branch: [94x11 double]
>
> >> runpf('case95')
> Subscript indices must either be real positive integers or
> logicals.
>
> Error in ext2int (line 168)
> brs = ( mpc.branch(:, BR_STATUS) & ... %% branch
> status
>
> Error in runpf (line 130)
> mpc = ext2int(mpc);
>
>
>
>
> On 28 Apr 2015, at 15:10, Ray Zimmerman <[email protected]
> <mailto:[email protected]>> wrote:
>
>> Is that the complete error message? I don’t see where it says what the error
>> was, only where it happened. Is there a simple way I could recreate the
>> error?
>>
>> Ray
>>
>>> On Apr 26, 2015, at 4:44 PM, Hiranya Seneviratne
>>> <[email protected] <mailto:[email protected]>>
>>> wrote:
>>>
>>>
>>> Hi,
>>> Can you please let me know what this error means.
>>>
>>> Error in ext2int (line 168)
>>> brs = ( mpc.branch(:, BR_STATUS) & ... %% branch
>>> status
>>>
>>> Error in runpf (line 130)
>>> mpc = ext2int(mpc);
>>>
>>>
>>> Thank you
>>>
>>>
>>
>>
>>
>