Documente Academic
Documente Profesional
Documente Cultură
Initially we'll
ignore generator
limits and the
losses
12
Unconstrained Minimization
This is a minimization problem with a
single inequality constraint
For an unconstrained minimization a
necessary (but not sufficient) condition for
a minimum is the gradient of the function
must be zero,
The gradient generalizes the first
derivative for multi-variable problems:
1 2
( ) ( ) ( )
( ) , , ,
n
x x x
( c c c
V
(
c c c
f x f x f x
f x
( ) V = f x 0
13
Minimization with Equality Constraint
When the minimization is constrained with an
equality constraint we can solve the problem using
the method of Lagrange Multipliers
Key idea is to modify a constrained minimization
problem to be an unconstrained problem
That is, for the general problem
minimize ( ) s.t. ( )
We define the Lagrangian L( , ) ( ) ( )
Then a necessary condition for a minimum is the
L ( , ) 0 and L ( , ) 0
T
=
= +
V = V =
x
f x g x 0
x f x g x
x x
14
Economic Dispatch Lagrangian
G
1 1
G
For the economic dispatch we have a minimization
constrained with a single equality constraint
L( , ) ( ) ( ) (no losses)
The necessary conditions for a minimum are
L( , )
m m
i Gi D Gi
i i
Gi
C P P P
dC
P
= =
= +
c
=
c
P
P
1
( )
0 (for i 1 to m)
0
i Gi
Gi
m
D Gi
i
P
dP
P P
=
= =
=
15
Economic Dispatch Example
D 1 2
2
1 1 1 1
2
2 2 2 2
1 1
1
What is economic dispatch for a two generator
system P 500 MW and
( ) 1000 20 0.01 $/
( ) 400 15 0.03 $/
Using the Largrange multiplier method we know
( )
20 0
G G
G G G
G G G
G
G
P P
C P P P hr
C P P P hr
dC P
dP
= + =
= + +
= + +
= +
1
2 2
2
2
1 2
.02 0
( )
15 0.06 0
500 0
G
G
G
G
G G
P
dC P
P
dP
P P
=
= + =
=
16
Economic Dispatch Example, contd
1
2
1 2
1
2
1
2
We therefore need to solve three linear equations
20 0.02 0
15 0.06 0
500 0
0.02 0 1 20
0 0.06 1 15
1 1 0 500
312.5 MW
187.5 MW
26.2 $/MW
G
G
G G
G
G
G
G
P
P
P P
P
P
P
P
+ =
+ =
=
( ( (
( ( (
=
( ( (
( ( (
(
(
=
(
(
h
(
(
(
(
17
Constrained Optimization &
Linear Programming
18
Linear Programming Definition
Optimization is used to find the best
value
Best defined by us, the analysts and
designers
Constrained opt Linear programming
Linear constraints
Complicates the problem
Some binding, some non-binding
Visualize via a feasible region
19
Formulating the Problem
Objective function
Constraints
Decision variables
Variable bounds
Standard form
min cx
s.t. Ax = b
x
min
<= x <= x
max
20
Formulating the Problem
For power systems:
min C
T
= C
i
(P
Gi
)
s.t. (P
Gi
) = P
L
P
Gi min
<= P
Gi
<= P
Gi max
21
Constrained Optimization
& Economic Dispatch
The Lagrangean
22
Formulating the Lagrangean
Rewrite the constrained optimization
problem as an unconstrained optimization
problem !
Then we can use the simple derivative
(unconstrained optimization) to solve
The task is to interpret the results correctly
23
We are minimizing gradients of both
multivariate equations
C
T
& P
Gi
= P
L
For both equations to be at a minimum
these gradients must be linearly dependent
vectors
VCT Vw = 0
with w P
G
P
L
= 0
The Lagrangean multiplier
is defined to be the scaling variable that
brings VC
T
and Vw into linear alignment
Formulating the Lagrangean
24
max g(x) = 5x
1
2
x
2
s.t. h(x) = x
1
+ x
2
= 6 or x
1
+ x
2
6 = 0
Formulate L =
L = g(x) h(x)
Find ?
dL/dx
1
, dL/dx
2
, dL/d
x
1
= 4, x
2
= 2, = 80
Lagrangean Example
25
min C
T
= C
i
(P
Gi
)
s.t. (P
Gi
) = P
L
P
Gi min
<= P
Gi
<= P
Gi max
Then L = ?
Economic Dispatch & the Lagrangean
( )
L Gi T
P P C L E =
26
Economic Dispatch Example
D 1 2
2
1 1 1 1
2
2 2 2 2
1 1
1
What is economic dispatch for a two generator
system P 500 MW and
( ) 1000 20 0.01 $/
( ) 400 15 0.03 $/
Using the Largrange multiplier method we know
( )
20 0
G G
G G G
G G G
G
G
P P
C P P P hr
C P P P hr
dC P
dP
= + =
= + +
= + +
= +
1
2 2
2
2
1 2
.02 0
( )
15 0.06 0
500 0
G
G
G
G
G G
P
dC P
P
dP
P P
=
= + =
=
What is the economic dispatch for the two
generator problem with
P
G1
+ P
G2
= P
D
= 500MW
27
Economic Dispatch Example
D 1 2
2
1 1 1 1
2
2 2 2 2
1 1
1
What is economic dispatch for a two generator
system P 500 MW and
( ) 1000 20 0.01 $/
( ) 400 15 0.03 $/
Using the Largrange multiplier method we know
( )
20 0
G G
G G G
G G G
G
G
P P
C P P P hr
C P P P hr
dC P
dP
= + =
= + +
= + +
= +
1
2 2
2
2
1 2
.02 0
( )
15 0.06 0
500 0
G
G
G
G
G G
P
dC P
P
dP
P P
=
= + =
=
Formulate the Lagrangean
Take derivatives
Solve
28
Economic Dispatch Example, contd
1
2
1 2
1
2
1
2
We therefore need to solve three linear equations
20 0.02 0
15 0.06 0
500 0
0.02 0 1 20
0 0.06 1 15
1 1 0 500
312.5 MW
187.5 MW
26.2 $/MW
G
G
G G
G
G
G
G
P
P
P P
P
P
P
P
+ =
+ =
=
( ( (
( ( (
=
( ( (
( ( (
(
(
=
(
(
h
(
(
(
(
29
Economic Dispatch: Formulation
We find that
P
G1
= 312.5MW;
P
G2
= 187.5MW
= $26.2/MWh
30
Discussion
Key results for Economic Dispatch?
Incremental cost of all generating units is
equal
This incremental cost is the Lagrangean
multiplier,
is called the System and is the system-
wide cost of generating electricity
This is the price charged to customers
31
Power System Control Center
32
Power System Control Center
33
New England Power Grid Operator
34
Regional Prices and Constraints
35
The Hong Kong Trade Development Council
36
37
Summary
Economic dispatch is used to determine
the least cost means of using existing
generating plants to meet electric demand
To calculate the economic dispatch for a
power system, the techniques of linear
programming + the Lagrangean are used
Now to a review of the production cost
homework results...