>>Error in ==> ext2int at 291
>>               mpc = ext2int(mpc, >>'gencost', ordering);

Looks like you have not specified the gencost data correctly or you have 
incorrect bus numbers in the gen data.

Shri
On Mar 26, 2014, at 12:55 AM, "Jaimini Gohel" 
<[email protected]<mailto:[email protected]>> wrote:

Hello,
I am trying to run a 75 bus system in matpower. But every time I try to do it 
this error occurs, I tried to rectify it but instead its becoming more 
complicated..can some one please help me on this? Here's the error I am getting 
when i try to run it..please help me asap on this..one of my other programs is 
also getting terminated by a similar king of indexing error.

runpf('case75')
??? Error using ==> subsref
Index exceeds matrix dimensions.

Error in ==> get_reorder at 50
B = subsref(A, s);

Error in ==> ext2int at 350
                    v = get_reorder(val, b+(1:n), dim);

Error in ==> ext2int at 325
                mpc.(field) = ext2int(mpc, mpc.(field), ordering, dim);

Error in ==> ext2int at 291
                mpc = ext2int(mpc, 'gencost', ordering);

Error in ==> runpf at 131
mpc = ext2int(mpc);


Thank you


On Tue, Mar 18, 2014 at 5:00 PM, Rapa Tachos 
<[email protected]<mailto:[email protected]>> wrote:
Indeed. That was my mistake. It should be mpc.bus (bus_number,BUS_TYPE) = 2;
This way, everything works correctly.

Thank you!


Em Segunda-feira, 17, Março 2014 0:04:57, "Abhyankar, Shrirang G." 
<[email protected]<mailto:[email protected]>> escreveu:
In your code
>> mpc.bus (ng,BUS_TYPE) = 2; is incorrect.

Shri


> On Mar 14, 2014, at 7:01 PM, "Rapa Tachos" 
> <[email protected]<mailto:[email protected]>> wrote:
>
> mpc.bus (ng,BUS_TYPE) = 2;




Reply via email to