Académique Documents
Professionnel Documents
Culture Documents
on Electricity Markets
1
Introduction
No longer assume that all generators and loads are
connected to the same bus
Need to consider:
Congestion, constraints on flows
Losses
Two forms of trading
Bilateral or decentralized trading
Pool or centralized trading
G1 L1
G2 L2
G3
G1 sold 300 MW to L1
G2 sold 200 MW to L2
Prices are a private matter
Quantities must be reported to system operator so it can check
security
G1 L1
G2 L2
G3
G1 sold 300 MW to L1
G2 sold 200 MW to L2
If capacity of corridor 500 MW No problem
If capacity of corridor < 500 MW some of these transactions
may have to be curtailed
G1 L1
G2 L2
G3
G1 sold 300 MW to L1 at 30 $/MWh
G2 sold 200 MW to L2 at 32 $/MWh
G3 selling energy at 35 $/MWh
L2 should not pay more than 3 $/MWh for transmission rights
L1 should not pay more than 5 $/MWh for transmission rights
Parallel paths
Market power
xA
P 1
FA 2 P
FB
xB
xB B
xA
F
A
= P F = P
xA + xB xA + xB
B
Branch Reactance Capacity
Z
[p.u.] [MW]
1 2
1-2 0.2 126
1-3 0.2 250
3
2-3 0.1 130
Y
D
B
I
Z 1 II 2
3
Y
D
Z
1-3 0.2 250
1 II 2
2-3 0.1 130
3
Y
D 400 MW transaction between B and Y
I 0.2 II 0.3
F = 400 = 160 MW F = 400 = 240 MW
0.2 + 0.3 0.2 + 0.3
B
200 MW transaction
III
between D and Z
Z 1 IV 2
III 0.2
F = 200 = 80 MW
0.2 + 0.3
3
Y
D IV 0.3
F = 200 = 120 MW
0.2 + 0.3
Z
1-3 0.2 250
1 2
2-3 0.1 130
3
Y I III
D F12 = F23 = F - F = 160 - 80 = 80 MW
II IV
F13 = F -F = 240 - 120 = 120 MW
G1 L1
G2 L2
G3
G3 only generator at bus B
G3 purchases transmission rights from A to B
G3 does not use or resell these rights
Effectively reduces capacity from A to B
Allows G3 to increase price at B
Use them or loose them provision for transmission rights:
difficult to enforce in a timely manner
2011 D. Kirschen and the University of Washington 16
Centralized or Pool Trading
Producers and consumers submit bids and offers
to a central market
Independent system operator selects the winning
bids and offers in a way that:
Optimally clears the market
Respects security constraints imposed by the network
No congestion and no losses: uniform price
Congestion or losses: price depend on location
where generator or load is connected
15 13
10
500 1500 MW
MW
p =pB =p S
PB + PS = D B + D S = 500 + 1500 = 2000MW
p B = MC B = 10 + 0.01PB [$ / MWh] p S = MC S = 13 + 0.02 P S [$ / MWh]
p = p B = p S = 24.30$ / MWh
PB = 1433MW
PS = 567MW
2011 D. Kirschen and the University of Washington 22
Flow at the market equilibrium
Borduria Syldavia
PB = 1433MW
PS = 567MW
FBS = PB - D B = DS - PS = 933MW
FBS= 933 MW
D B = 500 MW D S = 1500 MW
D B + D S = 2000 MW
p B = MC B p S = MC S
35 $/MWh
16 $/MWh
FBS= 400 MW
D B= 500 MW D S = 1500 MW
D B + D S = 2000 MW
B 285 MW
F12
1 2
F13 F 23
50 MW 60 MW
3
0 MW
D
300 MW
2011 D. Kirschen and the University of Washington 33
Superposition
360 MW 60 MW
1 2
3
300 MW
300 MW
1 2
3
300 MW
60 MW 60 MW
1 2
B 285 MW
156 MW
1 2
204 MW 96 MW
50 MW 60 MW
3
0 MW
D
300 MW
2011 D. Kirschen and the University of Washington 35
Overload!
A 125 MW C
0 MW
FMAX = 126 MW
B 285 MW
156 MW
1 2
204 MW 96 MW
50 MW 60 MW
3
0 MW
D
300 MW
2011 D. Kirschen and the University of Washington 36
Correcting the economic dispatch
Additional generation at bus 2
0.6 MW
1 MW 1 MW
1 2
0.4 MW
204 MW 96 MW
3
300 MW
50 MW 50 MW
30 MW
1 2
20MW
3 1 2
310 MW 10 MW
126 MW
184 MW 116 MW
3
300 MW
2011 D. Kirschen and the University of Washington 38
Correcting the economic dispatch
Additional generation at bus 3
1 MW
0.4 MW
1 2
0.6 MW
1 MW
204 MW 96 MW
3
300 MW
75 MW
30 MW
1 45 MW 2
1 2
3
285 MW 60 MW
75 MW 126 MW
159 MW 66 MW
3
225 MW
2011 D. Kirschen and the University of Washington 40
Cost of the dispatches
B 285 MW
126 MW
1 2
159 MW 66 MW
50 MW 60 MW
3
75 MW
D
300 MW
2011 D. Kirschen and the University of Washington 42
Nodal prices
B 285 MW
126
MW
1 159 MW 2
66 MW
50 MW 60 MW
3
Node 1:
75 MW
D
A is cheapest
300 MW generator
p 1 = MC A = 7.50 $ / MWh
2011 D. Kirschen and the University of Washington 44
Nodal prices
A 50 MW C
0 MW
B 285 MW
126
MW
1 159 MW 2 60 MW
66 MW
50 MW
Node 3
A is cheaper than D
3
Increasing A would overload
75 MW
D
line 1-2
300 MW D is cheaper than C
Increase D by 1 MW
2011 D. Kirschen and the University of Washington
p 3 = MC D = 10 $ / MWh 45
Nodal prices
A 50 MW C
0 MW
B 285 MW
126
MW
1 159 MW 2
66 MW
50 MW 60 MW
Node 2
3 C is very expensive
75 MW Increasing A or D would
D overload line 1-2
300 MW
?
1 0.4 MW
2
1 MW
0.2 MW
1 0.8 MW 2
3
1
MW
DP1 DP2 = 1 MW
1 2
DP3
2011 D. Kirschen and the University of Washington 48
Nodal price using superposition
0.6 MW
DP1 + DP 3 = DP2 = 1 MW
1 MW 1 MW
0.4 MW
0.6 DP1 + 0.2 DP3 = DF12 = 0 MW
1 2
3
DP1 = -0.5 MW
DP3 = 1.5 MW
1 MW
0.2 MW
1 0.8 MW 2
B 285 MW
126 MW 2=11.25 $/MWh
1 2
159 MW 66 MW
50 MW 60 MW
variable S 2
P2 +Q2 R
=I R R= R P = K P
2 2 2
L
V V 2
V 2
G( D) = D + L = D + K D
2
DG = G( D + DD) - G( D) = DD + 2 DD DK = (1+ 2 D K ) DD
DC = c (1 + 2D K ) DD
p1 = c
DC
DD
= c (1 + 2D K ) p 2 = p 1 (1 + 2 DK )
2011 D. Kirschen and the University of Washington 54
Losses between Borduria & Syldavia
37000
36500
Generation Cost [$/h]
36000
35500
35000
34500
34000
00
20
40
60
80
0
0
70
72
74
76
78
80
82
84
86
88
90
92
94
96
98
10
10
10
10
10
Power Transfer [MW]
56
Introduction
Optimality conditions:
dB
-p = 0
D dD dB dC
dC = =p
- +p = 0 dD dP
P dP
P-D=0
p
Consumption and production increase
up to the point where marginal value =
marginal cost = price
2011 D. Kirschen and the University of Washington 59
Network of infinite capacity with losses
n
W = Wk (I k ) : Global welfare
k=1
n n
min ( -W ) = min [ -Wk (I k )] = min Ck (I k )
Ik Ik
k=1 I k k=1
Assumes that:
Demands are insensitive to prices
Loads are constant
Hence consumers benefits are constant
Equivalent to Optimal Power Flow problem
2011 D. Kirschen and the University of Washington 61
Network of infinite capacity with losses
n
min Ck (I k )
Ik
k=1
Constraints:
No constraints on network flows because infinite capacity
Total generation = total load + losses
or
Net injection = total losses in the branches of the network
I k = L(I1 , I 2 , .. I n-1 )
k=1
n
L ( I1 , I 2 , .. , I n-1 ) - I k = 0
p k=1
2011 D. Kirschen and the University of Washington 63
Network of infinite capacity with losses
dCk dCn L L
= 1- = p 1- k = 1, .. n -1
dI k dI n I k I k
Nodal price at bus k is related to the nodal price at the slack bus
L dCk dCn
>0 <
I k dI k dI n
If the injection at a bus increases the losses, the price at that node
will be less than the price at the slack bus
Penalizes the generators at that bus
Encourages consumers at that bus
n
n
= Ck (I k ) + p L ( I1 , I 2 , .. , I n-1 ) - I k
k=1 k=1
m
+ ml Fl max
- Fl ( I1 , I 2 , .. , I n-1 )
l=1
Line flows: (
Fij = yij q i - q j ) i, j = 1, .. n
Lagrangian function
n
n n
n n
= Ci (I i ) + p i yij (q i - q j ) - I i + mij Fijmax - yij (q i - q j )
i=1 i=1 j=1 i=1 j=1
2011 D. Kirschen and the University of Washington 68
Network of finite capacity: DC model
n
n n
n n
= Ci (I i ) + p i yij (q i - q j ) - I i + mij Fij - yij (q i - q j )
max
( )
yij p i - p j + mij - m ji = 0 i = 1, .. n -1 (Slack at bus n)
q i j=1
n
(
yij q i - q j - I i = 0 i = 1, .. n
p i j=1
)
Fijmax - yij (q i - q j ) 0 i, j = 1, .. n
mij
mij Fijmax - yij (q i - q j ) = 0 ; mij 0 i, j = 1, .. n
2011 D. Kirschen and the University of Washington 69
Implementation
(
yij p i - p j + mij - m ji = 0
q i j=1
) i = 1, .. n -1 (Slack at bus n)
y (p ij i - p j + mij - m ji = 0 ) i = 1, .. n -1
j=1
n
- yijp j + yij ( mij - m ji ) = -Yiip i + yijp j i K; i slack bus
jU j=1 jK
1 2
3
dC A
p1 = = 7.5$/MWh
D
dPA
Marginal generators at buses 1 & 3
dC D
p3 = = 10.0 $/MWh
Price at bus 2 is unknown dPD
m12 is also unknown K = {1, 3}
U = {2}
2011 D. Kirschen and the University of Washington 72
Example
Choose bus 3 as the slack bus
n
Yiip i - yijp j + yij ( mij - m ji ) = yijp j i U; i slack bus
jU j=1 jK
K = {1, 3}
i = 2 : Y22p 2 - y12 m12 = y21p 1 + y23p 3
U = {2}
n
- yijp j + yij ( mij - m ji ) = -Yiip i + yijp j i K; i slack bus
jU j=1 jK
B
[p.u.] [MW]
1-2 0.2 126
1 2 1-3 0.2 250
2-3 0.1 130
3
D
-10 5 5
Y = 5 -15 10
5 10 -15
5p 2 - 5 m12 = 25
-15p 2 + 5 m12 = -137.5
p 2 = 11.25 $/MWh
m12 = 6.25 $/MWh
76
Managing transmission risks
Centralized market
Producers must sell at their nodal price
Consumers must buy at their nodal price
Producers and consumers are allowed to enter
into bilateral financial contracts
Contracts for difference
Borduria Syldavia
Syldavia
Steel
400 MW
Borduria 400 MW
Power
Syldavia
Steel
400 MW
Borduria 400 MW
Power
Borduria Syldavia
Syldavia
Steel
400 MW
Borduria 400 MW
Power
B = 19 $/MWh S = 35 $/MWh
Syldavia
Steel
400 MW
Borduria 400 MW
Power
Syldavia
Steel
400 MW
Borduria 400 MW 400 MW
Power
B = 19 $/MWh S = 35 $/MWh