Professional Documents
Culture Documents
IEE Proc.-Gener. Transm. Distrib., Vol. 151, No. 1, January 2004 119
coefficients Pi0 and ai, ia1). For each particular assumption even enables the choice of one of them as the equilibrium
on these coefficients, there is a residual demand curve, [12].
! On the other hand, realistic aI can be estimated from the
X X X slopes of the historical offer curves in the neighbourhood of
0 0
P1 ¼ D Pi ¼ D Pi l ai ð4Þ
i
the clearing point. In any case, the system behaviour from
i6¼1 i6¼1
perfect competition (aI ¼ N) to Cournot competition
So long as no contracts are considered, the power cleared in (aI ¼ 0, usually considered to be the worst kind of
the market Pi is equal to the physical generated power Pi. oligopolistic competition) can be studied systematically.
Therefore, this curve relates the generated power P1 and the The proposed model can be generalised to include
clearing price l. It can be written as l ¼ l(P1). Given this contracts signed by the utilities. Two kinds of contracts
curve, the utility 1 offer must maximise its profit, which is are considered in this paper:
assumed to be
1. Physical contracts. In these contracts the utility agrees to
B1 ¼ lðP1 ÞP1 C1 ðP1 Þ ð5Þ generate a certain power Gki at price lGk
I (i denotes the utility
The first term represents the market income, and the second and k identifies the contract).
one the production cost. By differentiating and zeroing, 2. Contracts for differences. In these financial instruments,
@C1 1 the utility contracts a power Hil and it is paid by the
l P P1 ¼ 0 ð6Þ difference between the clearing price l and an agreed price
@P1 ai
i6¼1 lHl
I (i denotes the utility and l identifies the contract).
@Ci k
l ¼0 ð9Þ X
@Pi þ ðlHl
i lÞHil ð13Þ
l
These equations correspond to the case of having a perfect
market. Assuming that the demand behaves according to (2), the
It must be fulfilled that 0rairN in order to have system of equations (6), (2), (3) is modified to read:
increasing bidding curves. On the other hand, it is possible !
to find a solution of the equation system formed by (6), (2) @Bi @Ci 1 X X
l k
¼l P Pi Hi Gi
and (3) for any set of ai. Given this solution, the coefficient @Pi @Pi aj l k
Pi0 can be computed in such a way that the offer curve j6¼i
includes the clearing point. In other words, the proposed ¼0 ð14Þ
procedure for the computation of the market equilibrium is:
1. Assume a set of ai. D ¼ D0 a0 l ð15Þ
2. Solve the system formed by equations (2), (3) and (6), X X X
obtaining a solution P1,y, Pn, l. D¼ Pi ¼ Pi Gki ð16Þ
i i ik
3. Compute Pi0 ¼ Pi ai l.
Note that the demand D is the market demand (total
demand is market demand plus physical contracts demand).
The computed offer curves are a Nash equilibrium. Second order conditions do not change with respect to the
Furthermore, if any utility changes its offer curve (for previous ones.
instance, by sending a nonlinear offer curve), it does not
obtain an increase of its profit. 3 Equilibrium computation by optimisation
In this paper, supply function competition is being
considered. In a deterministic setting, there is a continuum Equations (14)–(16) can be obtained from the solution of
of Nash equilibria. The proposed procedure parameterises the minimisation problem:
this continuum by aI (every set of nonlinear bidding curves X
which clears at the price computed by solving (2), (3), (6), min Ci ðPi Þ U ðDÞ
Pi ;D
i
and has slopes aI at the clearing point, is a Nash X X ð17Þ
equilibrium). Short-term uncertainty can reduce the set of s:t: Pi ¼ D þ Gki
admissible equilibria and, in certain highly idealised cases, i ik
120 IEE Proc.-Gener. Transm. Distrib., Vol. 151, No. 1, January 2004
The effective cost functions Ci ðPi Þ are defined as 4.2 Decision variables
The power system consists of a group of thermal and hydro
Ci ðPi Þ ¼ Ci ðPi Þ units owned by different utilities:
" !#2
1 X X tjpsb power generation of thermal unit j in level b of
þ P Pi Hil þ Gki ð18Þ subperiod s and period p
2 aj l k
j6¼i hmpsb power generation of hydro unit m in level b of
So, effective cost is real cost plus a penalty term related to subperiod s and period p
the excess (or defect) real generation with respect to the bmpsb power consumption of pumped-hydro unit m in
contracted generation. level b of subperiod s and period p
The utility function U(D) is defined as rmp energy reservoir level of hydro unit m at the end of
ZD period p
1 0 D2 smp energy spillage of hydro unit m in period p
U ðDÞ ¼ lðDÞdD ¼ DD ð19Þ
a0 2 Dpsb demand in level b of subperiod s and period p
0
The clearing price l is the Lagrange multiplier of D0psb auxiliary variable equal to Dpsb
2
the constraint. These facts are proved in the Appendix Pipsb generated power (pumping consumption excluded)
(Section 8). of utility i in level b of subperiod s and period p
In the limit case of having an inelastic demand (D ¼ D0, Pip0 sb auxiliary variable equal to Pipsb
2
or a0 ¼ 0), the utility function is not well defined. However,
in this case, the equilibrium equations result from the
solution of Generated power, as will be shown later, is computed as
X a linear combination of decision variables.
min Ci ðPi Þ
Pi
i
X X ð20Þ
s:t: Pi ¼ D0 þ Gki 4.3 Parameters
i ik
(a) Thermal units are supposed to have constant heat
As before, the market clearing price is the constraint rate:
multiplier. tj maximum power generation of thermal unit j
4 Power system model dj heat rate of thermal unit j
qj EFOR of thermal unit j.
Previous results allow computing market equilibrium in a oj owner utility of thermal unit j.
real power system, including its technical characteristics. It
is necessary to generalise them to a multiple period case, to (b) Hydro units are represented as a single group with
define cost functions for each utility and to include technical pumping capability. Every hydro unit has an associated
constraints. reservoir and may have pumping capability. The maximum
As shown, it is possible to use any convex cost functions hydro power of each unit depends linearly on the reservoir
and technical constraint. The power system model presented energy storage. Run-off-the-river production is considered
uses only linear constraints with the objective of finding the separately for each utility:
solution by using linear programming (LP). So, the bm maximum pumping power consumption of hydro
quadratic penalty term is approximated by a linear unit m
piecewise approximation. rmp maximum energy reservoir storage of hydro unit m at
System characteristics that require the use of integer the end of period p
variables, such as minimum power generation of thermal
units, or start-up and shutdown costs, have not been rmp minimum energy reservoir storage of hydro unit m at
included. The reason is that, if included, the cost the end of period p
function is nonconvex and, therefore, it is not possible to fipsb run-off-the-river hydro energy for utility i in level b of
guarantee that the minimum is a market equilibrium subperiod s and period p
point. However, it would be possible to include this Imp hydro inflows (except run-off-the-river) of hydro unit
kind of characteristic and to consider the solution of the m in period p
problem with integer decision variables as an equilibrium
approximation. rm0 initial energy reservoir level of hydro unit m
More complex modelling, especially regarding the hydro rm performance of pumping for hydro unit m
subsystem, is possible (for instance, including a detailed om owner utility of hydro unit m
topological reservoir representation). However, the follow- um, vm constant and linear term of relationship between
ing model is adequate to represent the medium-term reservoir storage and maximum power for hydro unit m
behaviour of real-size systems, such as the Spanish one. (run-off-the-river hydro energy is not included)
4.1 Time representation (c) Demand has a linear relationship with the price for
The model scope is divided into periods (weeks or months), each level, subperiod and period:
denoted as p. Each period is divided into subperiods, Dpsb
0 inelastic demand in level b of subperiod s and period
denoted as s. A subperiod consists of several load levels, p
denoted as b. Each level of a subperiod and a period is a0psb demand slope in level b of subperiod s and period p
characterised by its duration:
(d) offer also has a linear relationship with price for each
lpsb duration of load level b of subperiod s and period p. level, subperiod and period:
IEE Proc.-Gener. Transm. Distrib., Vol. 151, No. 1, January 2004 121
aipsb bidding slope for utility i in level b of subperiod s and (e) Piecewise approximation of quadratic values for
period p demand. There is a constraint for each segment, period,
(e) contracts are supposed to be different for each load subperiod and level,
level, subperiod and period:
D0psb
ðDXpsbt Þ2 þ 2DXpsbt Dpsb ð30Þ
Gikpsb quantity (power) of physical contract k for utility i
in level b of subperiod s and period p (f) Piecewise approximation of quadratic values for
lGikpsb Price of physical contract k for utility i in level b of generated power. There is a constraint for each utility,
subperiod s and period p segment, period, subperiod and level,
Hilpsb quantity (power) of contract for differences l for
utility i in level b of subperiod s and period p Pip0 sb
ðPipXsbt Þ2 þ 2PipXsbt Pipsb ð31Þ
lHilpsb price of contract for differences l for utility i in level b
of subperiod s and period p
For differences contracts, this is equivalent to considering 4.5 Objective function
them indexed to an average price lH The objective function (OF) includes total system operation
il for each utility and
contract. It is easy to prove that costs, additional quadratic costs and demand utility
P H function (see (17)):
lilpsb Hilpsb lsb X
H psb
lil ¼ P ð21Þ OF ¼ Ci U ð32Þ
Hilpsb lsb i
psb
X X
(f) Generated power for utility i in level b, subperiod s and Ci ¼ dj lpsb tjpsb
period p is computed as a linear combination of decision i jpsb
" !#
variables, X lpsb Pip0 sb X X
X X þ P Pipsb Gikpsb þ Hilpsb
Pipsb ¼ tjpsb þ ðhmpsb bmpsb Þ þ fipsb ð22Þ ipsb
ai0 psb 2 k l
i0 ¼
6 i
j=oj ¼i m=om ¼i
122 IEE Proc.-Gener. Transm. Distrib., Vol. 151, No. 1, January 2004
(b) Marginal cost for each utility in each level, subperiod Finally, contracts for differences are added in both sets to
and period can be obtained from equation (14) as observe their effect (d). In this last case (d), in the elastic
P P bidding situation, linear variation of bidding and demand
Pipsb Hilpsb Gikpsb with price are considered, while in the Cournot situation it is
@Ci l k
¼ lpsb P ð38Þ assumed that only demand varies with price. In both
@Pi psb ai0 psb
i0 ¼
6 i situations, the computed demand (MW) is different from
the base case demand because of price variation.
5 Case study
The problem to solve is a linear programming one. It has The main characteristics of thermal and hydro units by
been implemented in the GAMS language and solved by utility are shown, respectively, in Tables 3 and 4.
using the CPLEX solver. Execution time for the presented Table 5 shows the power demand for zero price. The
case is B45 s in a 1.7 GHz PC with Pentium IV processor. demand slope is 165 MW/($/MWh) for every level. Table 6
Quadratic constraints have been represented with 3 initial shows bid slopes for each utility.
segments, and relative error in price has been decreased Finally, Table 7 shows contracted quantities for differ-
under 1% in 10 iterations. ences for case (d).
Two different sets of cases have been studied. Each set is
named from its base case (a). The first set (named elastic 5.2 Results
bidding) considers, in its base case, linear variation of bids
and demand with price; the second set (named Cournot) (a) Elastic bidding (Tables 8–10): Lowest prices are
considers, in its base case, a Cournot situation where only obtained for the centralised case (c). In the base case (a),
demand varies with price and utilities make a quantity prices are higher and market share increases for utility 1 and
bidding. decreases for utility 2. For the inelastic case (b), prices
Each set includes four different cases. The base case (a) is increase while market share decreases for utility 1. In this
as described above. The inelastic case (b) as the same case every utility increases its profit in comparison to the
demand (MW) as the one obtained in the base case, but it is base case.
assumed that the demand is inelastic (a0psb ¼ 0) and that
utilities submit linear bids. The centralised case (c) also has The effect of contracts in this case is to lower prices, to
the same demand (MW) as the base case, but it is assumed increase market share for those utilities that have contracts
that the utilities behave as in a perfect competition market and to decrease it for the rest. The profit for utilities 1 and 3
(a0psb ¼ N). It is well known that, in this case, the solution depends on the reference price for contracts, but equilibrium
is the same as that obtained by a central planner. quantities and prices do not.
IEE Proc.-Gener. Transm. Distrib., Vol. 151, No. 1, January 2004 123
Table 3: Capacity (MW) and number (in parentheses) of thermal groups by utility ranged by cost
$/MWh U1 U2 U3 U4 U5
Table 4: Hydro groups characteristics by utility Table 5: Power demand for k ¼ 0 (MW)
Utility 1 (U1)
Jan-Jun 82.5 82.5 165 82.5 82.5 165
Jul-Dec 99 99 198 99 99 198
Utility2 (U2)
Jan-Mar 99 99 132 99 99 132
Apr-Sep 132 132 247.5 132 132 247.5
Oct-Dec 99 99 132 99 99 132
Utility 3 (U3)
Jan-Apr 49.5 49.5 82.5 49.5 49.5 82.5
May-Dec 66 66 165 66 66 165
Utility 4 (U4)
Jan-Dec 16.5 16.5 16.5 16.5 16.5 16.5
Utility 5 (U5)
Jan-Dec 33 33 33 33 33 33
(b) Cournot (Tables 11–13): Demand is lower in the utilities change their power production to reach market
Cournot representation of the market because every utility equilibrium, which is the point where their marginal income
obtains higher incomes, increasing prices by decreasing is equal to their marginal cost
quantities. The behaviour of prices in the centralised (c) and they distribute their hydro production along the periods
inelastic (b) cases in comparison to base case (a) is to equalise utility marginal costs as much as possible
qualitatively similar to that found in the previous case.
if demand is inelastic, utilities have more possibilities to
increase their profit by controlling prices
The effect of contracts is also similar but variations are for the same demand representation, the Cournot
greater with a Cournot market representation. model obtains higher prices than does an elastic bidding
In summary, the studied cases show that: model
124 IEE Proc.-Gener. Transm. Distrib., Vol. 151, No. 1, January 2004
Table 7: Case (D): Contracted power (MW)
Table 8: Market share for elastic bidding (%) Table 12: Average prices for Cournot Bids ($/MWH)
Months Working day Weekend Sep 30794 26478 19822 25763 22167 18119
Peak Off-p. 1 Off-p. 2 Peak Off-p. 1 Off-p. 2 Oct 30818 26540 19828 25763 22167 18119
Nov 30772 26474 19706 25763 22167 18119
Jan 34774 29775 22575 28556 24538 21000 Dec 30772 26478 19840 25763 22167 18119
Feb 34669 29821 22575 28594 24538 21000
Mar 34713 29735 22575 28484 24538 21000
Apr 35206 29845 22925 29025 24569 21288
May 35206 29831 22925 29025 24577 21288
contracts make prices decrease as utilities have less power
Jun 35199 29831 22925 29025 24538 21288
to bid in the market.
Jul 35206 29831 22925 29025 24991 21288
Aug 35205 29998 22925 29025 24991 21288
Sep 35206 29831 22925 29025 24991 21288
Oct 35206 29831 22925 29025 24519 21288
6 Conclusions
Nov 35206 29831 22925 29025 24519 21288 A market equilibrium model, including as particular cases
Dec 35188 29886 22925 29025 24519 21288 perfect and Cournot competition equilibria, has been
introduced, and a high-performance technique has been
used to solve it. The main contributions of this paper are:
Market equilibrium can be solved using optimisation
Table 11: Market share for Cournot bids (%) techniques. This allows for the computation not only of
quantities and prices at an equilibrium point but also of
Case U1 U2 U3 U4 U5 dual information about active constraints.
(a) 29.9 26.6 27.9 13.0 2.5 The model generalises the concept of Cournot equili-
(b) 30.0 26.9 29.3 12.5 2.3 brium by including a variation of bid prices with quantity.
Cournot equilibrium can be solved as a particular case. It is
(c) 34.1 26.2 27.4 9.8 2.5
also possible to consider inelastic demand.
(d) 31.7 22.7 31.8 11.6 2.3
The model can be solved even for large size systems.
IEE Proc.-Gener. Transm. Distrib., Vol. 151, No. 1, January 2004 125
7 References If L(x*) is positive definite on M, that is, yTL(x*)y40 for all
ya0AM, then x* is a local minimum of f(x) subject to h(x) ¼ 0.
1 Yu, Z., Sparrow, F.T., and Bowen, B.H.: ‘A new long-term hydro In the considered case,
production scheduling methods for maximizing the profit of hydro-
electric systems’, IEEE Trans. Power Syst., 1998, 13, (1), pp. 66–71
2 Barqu!ın, J., Centeno, E., Malillos, E., and Roman, J.: ‘Medium-term @h
hydro operation in a competitive electricity market’. IEEE Int. Conf.
¼ ½1; 1;
; 1; 1 ð48Þ
@x
on Electric power engineering PowerTech, Budapest, September 1999
3 Ferrero, W., Shahidehpour, S.N., and Ramesh, V.C.: ‘Transaction Therefore, M is the subspace spanned by the basis
analysis in deregulated power systems using game theory’, IEEE
Trans. Power Syst., 1997, 12, (3), pp. 1340–1347 82 3 2 3 2 39
> 1 0 0 >
4 Otero-Novas, I., Meseguer, C., Batlle, C., and Alba, J.J.: ‘Simulation >
> >
model for a competitive generation market’, IEEE Trans. Power Syst., > 6
<6 70 7 6 1 7 6 07> >
2000, 15, (1), pp. 250–256 . 6.7 6 . 7=
5 Nguyen, D.H.M., and Wong, K.P.: ‘Natural dynamic equilibrium and
6 . 7 6 . 7 6 . 7
fy1 ; y2 ; . . . ; yn g ¼ 6 . 7 ; 6 . 7 ; :::; 6 . 7
>
> 4 5 405 415> >
multiple equilibria of competitive power markets’, IEE Proc. Gener. > >
Transm. Distrib., 2002, 149, (2), pp. 133–138 : 0
> >
;
6 Bushnell, J.: ‘Water and power: hydroelectric resources in the era of 1 1 1
competition in the Western US’. Presented at Power Conf. on
Electricity Restructuring, University of California, Energy Institute, ð49Þ
March 1998
7 Hobbs, B.F.: ‘Linear complementary models of nash-Cournot On the other hand, direct computation shows that (as
competition in bilateral and POOLCO power markets’, IEEE Trans. second derivatives of the constraint are zero)
Power Syst., 2001, 16, (2), pp. 194–202
8 Rivier, M., Ventosa, M., and Ramos, A.: ‘A generation operation 2 2 3
planning model in deregulated electricity markets based on the
@ C1
2 þ
P1 0
0
6 1@P a 7
complementary problem’. Presented at Int. Conf. on Complementary i
126 IEE Proc.-Gener. Transm. Distrib., Vol. 151, No. 1, January 2004