It sounds to me like you want to use dispatchable loads (see section 6.4.2 in 
the User’s Manual 
<http://www.pserc.cornell.edu/matpower/docs/MATPOWER-manual-5.1.pdf> as well as 
the load2disp() 
<http://www.pserc.cornell.edu/matpower/docs/ref/matpower5.1/load2disp.html> 
function). A dispatchable load automatically includes a constant power factor 
constraint, so that any curtailment in P and Q happens proportionally.

    Ray



> On Apr 5, 2016, at 5:40 PM, Miguel Zé <[email protected]> wrote:
> 
> Hello!
> 
> I'm modifying the matpower case30.m in order to evaluate the load curtailment 
> in each PQ bus. So, I added a "fictional generator" to those buses, with a 
> real power output limited by 0 and the real power demand. For example, for 
> bus number i:
> 
> 0 <= Pgi <= Pdi
> 
> I did the same for the reactive power. The problem is that, after running the 
> opf, some of those fictional generatores have a positive reactive power 
> output, even when the real power output is zero.
> 
> My goal is that when there isn't load curtailment in one bus (Pgi = 0), the 
> reactive power output would be also null, i.e., I don't want to manipulate 
> the real and reactive power separately, but as the apparent power.
> 
> Any suggestions ?
> 
> Cheers,
> José Miguel C. Costa 

Reply via email to