MATPOWER does not explicitly model a generation REDISPATCH problem, where your 
optimization variables are positive and negative deviations from a previous 
dispatch. However, you can still accomplish what you want by setting up the 
costs correctly and adding a constraint.

For the costs, simply define piece-wise linear costs that are zero at the 
initial dispatch point and positive for both negative and positive deviations 
from that point (slopes of -1 and 1) are fine. You also want to set PMIN = PMAX 
= generator dispatch for any generators whose dispatch you want to remain 
fixed. The equality constraint you specify must be re-written in terms of Pg2 
and Pg4, not the delta variables. See chapter 7 (probably section 7.1) of the 
manual for details on how to add this.

   Ray



> On Jan 29, 2015, at 1:34 AM, lavanya arubolu <[email protected]> wrote:
> 
> Dear all,
>             My self Lavanya i want to mitigate congestion using generation 
> rescheduling technique using MATPOWER for that i considered 5bus system and 
> run power flow this solution gives me line 1-2 is overloaded this leads to 
> congestion so,i want to reschedule  generation to mitigate congestion for 
> that i add user functions to the existing opf program for case5.m the user 
> functions are
> subjected to<image.png><image.png>
> <image.png>
> where 0.47 is overload on line1-2 can any one please help me how to add the 
> above user functions so that the solution gives Pg1, Pg2 and Pg3.



  • Doubt lavanya arubolu
    • Re: Doubt Ray Zimmerman

Reply via email to