Hi Vikram,
The network reduction code in MATPOWER was contributed by Yujia Zhu and Dan
Tylavsky at ASU. I’m not familiar with the internals of the code, so I’ve
passed this question along to them (off-list).
Ray
> On Mar 20, 2018, at 1:25 PM, vikram reddy <[email protected]> wrote:
>
> Hello,
>
> I have 20000 bus system and I am trying to reduce the network with MATPOWER.
> I want to eliminate about 15000 buses and therefore the "ExBusOrig" is a
> 15000*1 vector. When I run this case, I am getting a memory error which I
> posted below. Is there any workaround this?
>
> Thanks,
> Vikram.
>
> MATLAB output
>
> "Eliminate 0 isolated buses
> Eliminate 0 branches
> Eliminate 0 generators
> Eliminate 1 dc lines
> Preprocessing complete
> Convert input data model
> Creating Y matrix of input full model
> Do first round reduction eliminating all external busesRequested 1004214785x1
> (7.5GB) array exceeds maximum array size preference. Creation of arrays
> greater than this limit may take a
> long time and cause MATLAB to become unresponsive. See array size limit or
> preference panel for more information.
>
> Error in SelfLink (line 51)
> LinkPos(Counter)=SelfRef;
>
> Error in PartialSymLU (line 97)
> [LinkPos,LinkArray,Counter] = SelfLink(Link,RowIndex);
>
> Error in DoReduction (line 42)
> [ERPU,CIndxU,ERPEQ,CIndxEQ] =
> PartialSymLU(CIndx,ERP,dim,length(ExBus),BoundBus);
>
> Error in MPReduction (line 67)
> [mpcreduced,BCIRCr,ExBusr] =
> DoReduction(DataB,ERP,CIndx,ExBus,NUMB,dim,BCIRC,newbusnum,oldbusnum,mpc); %
> ExBusr with original
> numbering"
>