L12 EconomicDispatch
L12 EconomicDispatch
Anupama Kowli
2 / 16
Constrained Optimization
KKT conditions:
∂L ∂L ∂L
=0 =0 ≤0
∂x ∗ ∂λ ∗ ∂µ ∗
µ∗j hj (x∗ ) = 0 and µ∗j ≥ 0 ∀j
3 / 16
Equal Lambda Criterion
Consider a system having M generators: Ci (PGi ) represents the
cost of the ith generator for producing PGi units of power
7 / 16
Dispatch With Generator Limits
Ci (PGi ) represents the cost of the ith generator for producing PGi
units of power (assume Ci (·) monotonically non-decreasing
function)
8 / 16
KKT Conditions For Constrained Dispatch
Using dual variables λ, µ− +
i and µi for the equality constraint, lower
bounds and upper bounds on generation, the associated Lagrangian
function is !
− +
X X
L PGi , λ, µi , µi = Ci (PGi ) + λ PL − PGi
i i
X X
µ− min
µ+ max
+ i PGi − PGi + i (PGi − PGi )
i i
∗ )
∂Ci (PGi
∇PGi L = 0 : = λ∗ + µ−∗ +∗
i − µi
∂PGi
X
∗
∇λ L = 0 : PGi = PL
i
∗ min
∇µ− L ≤ 0 : PGi ≥ PGi
i
∗ max
∇µ+ L ≤ 0 : PGi ≤ PGi
i
µ−∗ +∗ −∗ min ∗
= 0 , µ+∗ ∗ max
i , µi ≥ 0, µi PGi − PGi i (PGi − PGi ) = 0
9 / 16
Generator At Limits
∗ > P min , then complementarity slackness
Please note that if PGi Gi
−∗ ∗ < P max =⇒ µ+∗ = 0
forces µi = 0; likewise, PGi Gi i
12 / 16
Example: Two Generator Case
14 / 16
Example: Dispatch with Linear Costs
https://towardsdatascience.com/
optimization-stories-kkt-conditions-f86aea4fb6c2
https://ocw.mit.edu/courses/mechanical-engineering/
2-854-introduction-to-manufacturing-systems-fall-2016/
lecture-notes/MIT2_854F16_KktExample.pdf
16 / 16