I suspect this means that all PV buses have been converted to PQ (i.e. all generators have binding reactive limits). Just curious, are you using MATPOWER 7.0b1? I’m pretty sure it handles that case more gracefully than MATPOWER 6 did.
Ray > On Mar 6, 2019, at 12:41 PM, Jubeyer Rahman <[email protected]> wrote: > > Hi, > > While running power flow, for ensuring zero reactive power violation, I have > set the enforce_q_lim to 0. But I am getting this error: > > Index exceeds array bounds. > Error in bustypes (line 43) > ref = pv(1); %% use the first PV bus > > Does anyone know any solution to this problem? > > Regards, > Jubeyer
