By default, the “flow” constraint in the AC OPF is on apparent power (in the DC 
OPF, it’s active power), not on current, which probably explains what you are 
seeing. See the 'opf.flow_lim' option to change the default.

   Ray

> On Mar 25, 2015, at 4:55 AM, Gamze Dogan <[email protected]> wrote:
> 
> Dear all,
> 
> 
> I have a question regarding the power flow limits in the OPF. The flow is 
> limited by the branch value rateA. 
> 
> 
> I wanted to calculated the pourcentage of flow in my lines after the OPF 
> succeeded. I did it this way:
> 
> 
> V(d,1) = results.bus(d, 8) * exp(1j * results.bus(d, 9)*pi/180);
> 
> 
> [Ybus, Yf, Yt] = makeYbus(mpz);
> 
> 
> Ifrom= Yf*V;
> 
> 
> pourcentage_line(d) = ( abs(Ifrom) (d) * results.baseMVA) / 
> results.branch(d,6) *100;
> 
> 
> First, could you tell me if this is correct? 
> 
> Secondly, I have trouble interpreting the results as at the end of my OPF I 
> get pourcentage of flows higher than 100%, for me as the flow has been 
> limited to the rate A value, I sould not get flows higher than 100%.
> 
> Thank you for any help on the subject,
> 
> Regards,
> 
> 
> Gamze                                           
> 

Reply via email to