Hi Irina,
I believe this should work. I can’t think of anything that should prevent it
from working. Let’s see if we can sort this out off-list.
Can you point me to the index of a specific generator whose constraint is
violated in the solution?
Ray
> On Jan 23, 2015, at 4:57 AM, Irina Boiarchuk <[email protected]> wrote:
>
> Dear Matpower community,
>
> I have a question regarding capability curves of generators. It was mentioned
> here and in the Manual that capability curve has a trapezoidal shape. In my
> case I'd like to modify the curve to be triangular. Therefore, the six points
> I've specified in mpc.gen are:
>
> mpc.gen(:,11) = 0; % pc1
> mpc.gen(:,12) = mpc.gen(:,9)*cos(0.85); % pc2
>
> mpc.gen(:,13) = 0; % min q at pc1
> mpc.gen(:,14) = 0; % max q at pc1
>
> mpc.gen(:,15) = mpc.gen(:,5); % min q at pc2
> mpc.gen(:,16) = mpc.gen(:,4); % max q at pc2
>
> But when I check results of OPF I see that reactive power output of some
> generators is outside of these limits of capability curves.
>
> Could you tell me if such 'triangular' formulation of capability curve is
> handled correctly by OPF? Or only trapezoidal shapes are allowed?
> Unfortunately, I cannot understand why OPF converges with such constraints
> violation....
>
> My system has additional gen buses which play a role of unlimited
> compensators, so in case of violation of generator's capability curve limits,
> reactive power should be supplied from compensators (I suppose). Costs of
> reactive power for generators and compensators are equal.
> The mpc file is attached.
>
> I'm looking forward to your reply and would appreciate any help!
>
> Best regards,
> Irina Boiarchuk
> <mpc123.mat>