Professional Documents
Culture Documents
Power System Analysis: Economic Dispatch
Power System Analysis: Economic Dispatch
Power System Analysis: Economic Dispatch
1
Announcements
Read Chapters 6 (section 6.12) and 7
(sections 7.1 to 7.3).
Homework 12 is 6.62, 6.63, 6.67 (calculate
economic dispatch for values of load from
55 MW to 350 MW); due Tuesday, 11/29.
Class review and course evaluation on
Tuesday, 11/29.
Midterm III on Thursday, 12/1, including
material through Homework 12.
2
Economic Dispatch: Formulation
The goal of economic dispatch is to determine the
generation dispatch that minimizes the instantaneous
operating cost, subject to the constraint that total
generation = total load + losses
m
Minimize CT Ci ( PGi )
i 1
Initially we'll
Such that ignore generator
m limits and the
PGi PD PLosses losses
i 1 3
Unconstrained Minimization
This is a minimization problem with a single
equality 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
f ( x ) 0
multi-variable problems:
9
Economic dispatch example, cont’d
• Another way to solve the equations is to:
– Rearrange the first two equations to solve for PG1 and PG2
in terms of λ,
– Plug into third equation and solve for λ,
– Use the solved value of λ to evaluate PG1 and PG2.
• This works even when relationship between
generation levels and λ is more complicated:
– Equations are more complicated than linear when there
are maximum and minimum generation limits or we
consider losses.
10
Lambda-Iteration Solution Method
• Discussion on previous page leads to “lambda-
iteration” method:
– this method requires a unique mapping from a value of
lambda (marginal cost) to each generator’s MW output:
– for any choice
PGi ( ).of lambda (common marginal cost), the
generators collectively produce a total MW output,
– the method then starts with values of lambda below
and above the optimal value (corresponding to too little
and too much total output), and then iteratively
brackets the optimal value.
• 11
Lambda-Iteration Algorithm
Pick L and H such that
m m
Gi ) PD 0
P ( L
Gi ) PD 0
P ( H
i 1 i 1
While H L Do
M ( H L ) / 2
m
If Gi
P ( M
) PD 0 Then H
M
i 1
Else L M
End While 12
Lambda-Iteration: Graphical View
In the graph shown below for each value of lambda
there is a unique PGi for each generator. This
relationship is the PGi() function.
13
Lambda-Iteration Example
Consider a three generator system with
IC1 ( PG1 ) 15 0.02 PG1 $/MWh
IC2 ( PG 2 ) 20 0.01PG 2 $/MWh
IC3 ( PG 3 ) 18 0.025 PG 3 $/MWh
and with constraint PG1 PG 2 PG 3 1000MW
Rewriting generation as a function of , PGi ( ),
we have
15 20
PG1 ( ) PG2 ( )
0.02 0.01
18
PG3 ( ) 14
0.025
Lambda-Iteration Example, cont’d
m
Pick L so Gi ) 1000 0 and
P ( L
i=1
m
Gi ) 1000 0
P ( H
i=1
m
Try L
20 then PGi (20) 1000
i 1
15 20 18
1000 670 MW
0.02 0.01 0.025
m
Try H 30 then PGi (30) 1000 1230 MW
i 1
15
Lambda-Iteration Example, cont’d
Pick convergence tolerance 0.05 $/MWh
Then iterate since H L 0.05
M ( H L ) / 2 25
m
Then since Gi
P (25) 1000 280 we set H
25
i 1
Since 25 20 0.05
M (25 20) / 2 22.5
m
Gi
P (22.5) 1000 195 we set L
22.5
i 1 16
Lambda-Iteration Example, cont’d
Continue iterating until H L 0.05
*
The solution value of , , is 23.53 $/MWh
Once * is known we can calculate the PGi
23.53 15
PG1 (23.5) 426 MW
0.02
23.53 20
PG 2 (23.5) 353 MW
0.01
23.53 18
PG 3 (23.5) 221 MW
0.025
17
Thirty Bus ED Example
Case is economically dispatched (without considering
the incremental impact of the system losses).
18
Generator MW Limits
Generators have limits on the minimum and
maximum amount of power they can
produce
Typically the minimum limit is not zero.
Because of varying system economics usually
many generators in a system are operated at
their maximum MW limits:
Baseload generators are at their maximum limits
except during the off-peak.
19
Lambda-Iteration with Gen Limits
20
Lambda-Iteration Gen Limit Example
In the previous three generator example assume
the same cost characteristics but also with limits
0 PG1 300 MW 100 PG2 500 MW
200 PG3 600 MW
With limits we get:
m
PGi (20) 1000 PG1 (20) PG 2 (20) PG 3 (20) 1000
i 1
250 100 200 1000
450 MW (compared to 670MW)
m
PGi (30) 1000 300 500 480 1000 280 MW
i 1 21
Lambda-Iteration Limit Example,cont’d
Again we continue iterating until the convergence
condition is satisfied.
With limits the final solution of , is 24.43 $/MWh
(compared to 23.53 $/MWh without limits).
Maximum limits will always cause to either increase
or remain the same.
Final solution is:
PG1 (24.43) 300 MW (at maximum limit)
PG 2 (24.43) 443 MW
PG 3 (24.43) 257 MW
22
Back of Envelope Values
$/MWhr = fuelcost * heatrate + variable O&M
Typical incremental costs can be roughly approximated:
– Typical heatrate for a coal plant is 10, modern combustion
turbine is 10, combined cycle plant is 6 to 8, older combustion
turbine 15.
– Fuel costs ($/MBtu) are quite variable, with current values
around 2 for coal, 3 to 5 for natural gas, 0.5 for nuclear,
probably 10 for fuel oil.
– Hydro costs tend to be quite low, but are fuel (water)
constrained
– Wind and solar costs are zero.
23
Inclusion of Transmission Losses
The losses on the transmission system are a
function of the generation dispatch.
In general, using generators closer to the load
results in lower losses
This impact on losses should be included when
doing the economic dispatch
Losses can be included by slightly rewriting the
Lagrangian to include losses PL:
m m
L(PG , ) Ci ( PGi ) PD PL ( PG ) PGi
i 1 i 1 24
Impact of Transmission Losses
The inclusion of losses then impacts the necessary
conditions for an optimal economic dispatch:
m m
L(PG , ) Ci ( PGi ) PD PL ( PG ) PGi .
i 1 i 1
The necessary conditions for a minimum are now:
L(PG , ) dCi ( PGi ) PL ( PG )
1 0
PGi dPGi PGi
m
PD PL ( PG ) PGi 0
i 1
25
Impact of Transmission Losses
dCi ( PGi ) PL ( PG )
Solving for , we get: 1 0
dPGi PGi
1 dCi ( PGi )
PL ( PG ) dPGi
1 P
Gi
th
Define the penalty factor Li for the i generator
(don't confuse with Lagrangian L!!!)
1 The penalty factor
Li
PL ( PG ) at the slack bus is
1 P always unity!
Gi 26
Impact of Transmission Losses
The condition for optimal dispatch with losses is then
L1 IC1 ( PG1 ) L2 IC2 ( PG 2 ) Lm ICm ( PGm )
1
Li . So, if increasing PGi increases
PL ( PG )
1 P
Gi
PL ( PG )
the losses then 0 Li 1.0
PGi
This makes generator i appear to be more expensive
(i.e., it is penalized). Likewise Li 1.0 makes a generator
appear less expensive.
27
Calculation of Penalty Factors
Unfortunately, the analytic calculation of Li is
somewhat involved. The problem is a small change
in the generation at PGi impacts the flows and hence
the losses throughout the entire system. However,
using a power flow you can approximate this function
by making a small change to PGi and then seeing how
the losses change:
PL ( PG ) PL ( PG ) 1
Li
PGi PGi PL ( PG )
1
PGi 28
Two Bus Penalty Factor Example
30
Area Supply Curve
The area supply curve shows the cost to produce the
next MW of electricity, assuming area is economically
dispatched 10.00
7.50
Supply
curve for
5.00
thirty bus
system
2.50
0.00
0 100 200 300 400
Total Area Generation (MW)
31
Economic Dispatch - Summary
Economic dispatch determines the best way to
minimize the current generator operating costs.
The lambda-iteration method is a good approach for
solving the economic dispatch problem:
– generator limits are easily handled,
– penalty factors are used to consider the impact of losses.
Economic dispatch is not concerned with determining
which units to turn on/off (this is the unit commitment
problem).
Basic form of economic dispatch ignores the
transmission system limitations.
32
Security Constrained ED
or Optimal Power Flow
Transmission constraints often limit ability to
use lower cost power.
Such limits require deviations from what would
otherwise be minimum cost dispatch in order to
maintain system “security.”
Need to solve or approximate power flow in
order to consider transmission constraints.
33
Security Constrained ED
or Optimal Power Flow
The goal of a security constrained ED or optimal
power flow (OPF) is to determine the “best” way
to instantaneously operate a power system,
considering transmission limits.
Usually “best” = minimizing operating cost, while
keeping flows on transmission below limits.
In three bus case the generation at bus 3 must
be limited to avoid overloading the line from bus
3 to bus 2.
34
Security Constrained Dispatch
-22 MW 22 MW
Bus 2 4 MVR -4 MVR Bus 1
1.00 PU
357 MW
179 MVR
1.00 PU
0 MW
100% 37 MVR
-122 MW
194 MW OFF AGC -142 MW
49 MVR 41 MVR 100 MW
232 MVR AVR ON
145 MW 100% 124 MW
-37 MVR -33 MVR
Bus 3 1.00 PU
Home Area
179 MW
Scheduled Transactions 89 MVR
100.0 MW 448 MW AGC ON
19 MVR AVR ON
has one
Right area has one
bus
bus 37
Seven Bus Case: Area View
Area Losses
Top 7.09 MW
Actual
40.1 MW
flow
-40.1 MW
0.0 MW
0.0 MW between
System has areas
40 MW of
Scheduled
“Loop Flow”
Left Right flow
Area Losses 40.1 MW Area Losses
0.33 MW 0.0 MW 0.65 MW
Note that
4.8 MW
0.0 MW
-4.8 MW Top’s
0.0 MW
Losses have
increased
from
7.09MW to
Left Right
9.44 MW
Area Losses 104.8 MW Area Losses
-0.00 MW 100.0 MW 4.34 MW