Decision Support Systems 24 Ž1999. 233–241
The stability of electric energy markets Fernando L. Alvarado
)
ECE Department, The UniÕersity of Wisconsin-Madison, Madison, WI 53706-1691, USA
Abstract Power system markets represented by dynamic equations provide insights into the market behavior which are not available from static models. In particular: Ž1. markets that are required to balance supply and demand precisely at all times may be unstable if one supplier exhibits economies of scale and will be unstable if two suppliers exhibit this behavior. The instability is characterized by one or more positive eigenvalues. Ž2. Markets where some energy imbalance is allowed to accumulate can exhibit an instability, depending on the exact values of time constants and delays in the system. Ž3. Congestion can be helpful from the perspective of stability: a market can become unstable in the eigenvalue sense if congestion is removed. Ž4. A power system Žwith stable electromechanical dynamic behavior when considered by itself. and market Žby itself stable. can, when analyzed jointly, exhibit unstable behavior. Some of the instabilities alluded here are nothing more than fluctuations in demands and prices. However, fluctuations are likely to require larger security margins, thus greater costs to operate the system. q 1999 Elsevier Science B.V. All rights reserved. Keywords: Market dynamics; Power system dynamics; Eigenvalues; Energy policy; ISO; System operation; Network congestion
1. Introduction The response of markets to changes in prices is not instantaneous. Neither is the response of a power system to an order to increase the power output of a particular unit or units. These delays in the ability to respond to changing conditions can give rise to instabilities, where periods of excess supply at cheap prices are followed by periods of insufficient supply. This paper studies the dynamics of markets by themselves as well as their possible interaction with the other dynamic effects of an electromechanical power system. The paper is useful for the design of power exchange rules, and also for the establishment of policies and procedures for Independent System Operators for Electric Power Systems. It is necessary in both cases to consider to some degree whether the markets that underlie this mode of operation lead to well-behaved Žstable. equilibrium conditions. The potential instability of markets was recognized as a problem in the economics literature in the 1930s, where the use of static analysis techniques Ž‘cobweb diagrams’. was used to study the stability of markets w9x. Differential equation analysis of the stability of markets is described in Refs. w8,10,12,13x and in many other economics references. This paper uses differentialralgebraic equations and eigenvalue techniques to study power system markets.
)
Tel.: q1-608-262-8900; e-mail:
[email protected]
0167-9236r99r$ - see front matter q 1999 Elsevier Science B.V. All rights reserved. PII: S 0 1 6 7 - 9 2 3 6 Ž 9 8 . 0 0 0 7 7 - 3
F.L. AlÕarador Decision Support Systems 24 (1999) 233–241
234
The present work is an extension and consolidation of a number of recent works in this direction w1–4x. Less direct treatments of similar problems in other contexts include Refs. w7,11x. This paper is based on several assumptions. Ža. Marginal production costs lg are linear functions of the power generation order Pg . Žb. Marginal benefit functions ld are negatively-sloping linear functions of power consumption Pd . Žc. Response of suppliers and consumers to observed prices is not instantaneous. It is governed by first order single time constant differential equations. Žd. If power is not balanced precisely at all times, an energy imbalance results. An energy imbalance leads to the need to control such imbalance to prevent system damage or unwanted relay action. Že. The synchronous generators can be represented by differential equation models. Some of these models include the effect of voltage regulator and power system stabilizing signals ŽPSSS.. Žf. The action of the governorrturbine system is also representable by a differential equation model. Žg. Production is a function of marginal cost and price. Consumption is a function of marginal benefit, price, and system voltage. Žh. The network is represented either as a set of linear algebraic equations, or just by a simple power balance condition. The paper considers several cases of increasing complexity: Ø first, the dynamics of a pure market are formulated and analyzed, starting from a single supplier and a single consumer and generalizing it to the case of m providers and n consumers, Ø second, the possibility of energy imbalance is taken into consideration, Ø next, the effect of congestion is analyzed, Ø finally, an integrated market-plus-network is developed and analyzed. The paper concludes by reporting on a number of results obtained by the author from using the models developed.
2. Market-only dynamics If a supplier observes a market price l above hisrher production cost lg i , the supplier will expand production until the marginal cost of production equals the price. The rate of expansion is proportional to the difference between the observed price and the actual production cost. The speed with which the generation power output Pg i of supplier i can respond is supplier dependent. It is denoted by a time constant tg i for supplier i. Let the price at any given time be l. The above yields the following differential equation:
tg i P˙g i s l y bg i y cg i Pg i
Ž 1.
where bg i q cg i Pg i is the marginal cost lg i of supplier i. A consumer demand Pd i with a marginal benefit function ld i above the marginal price will expand consumption until parity is attained. The speed of expansion is consumer dependent, and it is characterized by a time constant td i . The equation describing the behavior of a consumer is:
td i P˙d i s bd i q cd i Pd i y l
Ž 2.
where bd i q cd i Pd i is the marginal consumer benefit. The final condition required to characterize the marketplace is balance between supply and demand. If there is no energy storage, such a condition for the case of m suppliers and n consumers is characterized by: m
n
Ý Pg i s Ý Pd i . is1
Ž 3.
is1
Differential equations under the assumption that the state variable of interest are the quantities are known as the ‘Marshallian’ formulation. The price is a consequence of the quantity w12x. This model is appropriate when
F.L. AlÕarador Decision Support Systems 24 (1999) 233–241
235
the quantities supplied and consumed are adjusted comparatively slowly relative to price. The dynamics of the model presented here include the further requirement that supply and demand be in precise balance at all times. An alternative dynamic model is based on the use of prices rather than quantities as state variables Žthe ‘Walrasian’ formulation.. For a one supplier one demand case, these equations become:
tg P˙g s l y bg y cg Pg
Ž 4.
td P˙d s bd q cd Pd y l
Ž 5.
Pg s Pd
Ž 6.
which, in matrix form, can be expressed as:
tg
0
td 0
0 0
0
P˙g
0 0
P˙d
ycg s
0 1
l˙
0 qcd y1
1 y1 0
Pg Pd l
ybg q
bd 0
.
Ž 7.
The equilibrium for these equations is obtained by setting the derivative terms to zero: ycg
0
1
0 1
qcd y1
y1 0
Pg
bg
Pd s ybd . l 0
Ž 8.
Solution of this algebraic linear problem leads to: Pg s
bd y bg cg y cd
Pd s Pg
ls
Ž 9. Ž 10 .
ybg cd q cg bd cg y cd
Ž 11 .
Generally, the following is true: cd - 0: this means that marginal consumer benefit decreases with consumption; bd ) bg : this means that initial consumer marginal benefit is greater than initial producer marginal cost; bg ) 0 Žit takes some effort to produce the first unit.; while normally cg ) 0, the case of cg F 0 cannot be ruled out Žeconomies of scale.. The price l can be eliminated from the original dynamic equations by adding Eqs. Ž4. and Ž5.. Substitution from Eq. Ž6., re-arrangement, and retention of the homogeneous portion of the result leads to: Ø Ø Ø Ø
Ž tg q td . P˙g s y Ž cg y cd . Pg .
Ž 12 .
This is a linear first-order system. The condition for the stability of this system is that all eigenvalue Žone in this case. be negative: cd y cg
tg q td
-0
Ž 13 .
F.L. AlÕarador Decision Support Systems 24 (1999) 233–241
236
or simply cg ) cd , since tg ) 0 and td ) 0. Satisfying this condition is virtually assured, since cd - 0 Žquite often cd < 0.. Thus, this type of market is stable, and static analysis is sufficient to ascertain the economic behavior of such a market. The above can be generalized to the case of m suppliers and n consumers. Furthermore, the possibility of a constant Žprice-insensitive. demand component can be considered. The resulting equations are: P˙g1 ... P˙g m
tg1 ..
.
tg m td1
..
P˙d1 ...
.
td n
P˙d n 0
ybg1 ... ybg m s qbd1 ...
l˙
ycg1 ..
. ycg m
q
qcd1
..
1 ... 1
Pg1 ... Pg m
y1 ...
Pd1 ...
. qbd n qcd n y1 Pd n 0 1 ... 1 y1 ... y1 0 l These equations can be reduced to a set of purely differential equations by algebraic elimination of one state variable Ž Pg1 . and elimination of one now redundant differential equations Žthe first.. The homogeneous portion of the reduced equations is Žin matrix form.:
˜ ˙˜ s ICP ˜˜ TP where:
˜s T
˜s C
Ž 14 .
tg1 q tg2 ... tg1
... .. .
ytg1 ... ytg1
... ...
tg1 ... tg1 q tg m
ytg1 ... ytg1
... ...
ytg1 ... ytg1
ytg1 ... ytg1
tg1 q td1 ... tg1
... .. . ...
tg1 ... tg1 q td n
ycg1 y cg2 ... ycg1
... .. . ...
ycg1 ... ycg1 y cg m
cg1 ... cg1
... ...
cg1 ... cg1
cg1 ... cg1
...
cg1 ... cg1
ycg1 q cd1 ... ycg1
... .. . ...
ycg1 ... ycg1 q cd n
...
.
F.L. AlÕarador Decision Support Systems 24 (1999) 233–241
237
The dynamic characteristics of the market are dictated by the eigenvalues of this generalized eigenvalue problem. The following additional general observations can be made from the diagonal-dominance characteristics of these matrices. Ø If cg i ) 0 for all i, the result is a stable market Žall eigenvalues are negative.. Ø If cg i F 0 for two or more values of i, the result is necessarily an unstable market. ˜ is a diagonal-dominant positive matrix, it is sufficient to ascertain the stability properties of C˜ to Ø Because T ˜ y1 C. ˜ establish the stability properties of T The practical consequence of the above is that markets can tolerate one supplier that exhibits economies of scale Ž c i - 0., provided the economies are not too significant. In particular, if c i - 0, then it is required that 1r< c i < - Ý mjs1, j/ i 1r< c j <. Negatively-sloping marginal costs can be the result of: Ø ‘ valve points’ Žsituations when a partially open steam valve in a unit leads to inefficient operation. and other such conditions dictated by the efficiencies of various technologies; Ø requirements for minimum production levels; Ø startup and shutdown costs; Ø inherent economies of scale of certain technologies.
3. Energy imbalance Energy imbalance means that the requirement for exact equality between supply and demand Ž17. is not met at all times. This leads to either an excess or a shortage of energy in the system. In a real power system, energy imbalance cannot be sustained indefinitely w5x. It must be reduced or driven to zero. In a traditional utility environment, such an objective is attained by automatic generation control. In a market-driven environment, it can be assumed that prices will reflect the degree of energy imbalance. That is, an excess of the quantity supplied Žthe power generation order Pg . in the grid will slightly depress the value of the power, and thus will decrease the price of power. Such a situation can be represented by adjusting prices depending on the degree of energy imbalance. The changing of price depending on excess or shortfall of real time energy is referred as frequency regulation pricing or ACE Žarea control error. pricing. The equations representing the dynamics of ACE pricing for m suppliers and n consumers are:
tg j P˙g j s ybg j y cg j Pg j q l y K j E, td i P˙d i s bd i q cd i Pd i y l , m
E˙ s
Ý
j s 1, . . . ,m
i s 1, . . . ,n
Ž 15 . Ž 16 .
n
Pg j y
js1
tl l˙ s yE
Ý Pd i
Ž 17 .
is1
Ž 18 .
where: bg j q cg j Pg j is the marginal cost of supplier j; bd i q cd i Pd i is the marginal benefit of consumer i; tg j is the power generation order time constant of supplier j; td i is the demand time constant of consumer i; l is the market price; tl is the market price time constant; E is the power system stored energy; K j is a market stabilizer gain sent to supplier j.
F.L. AlÕarador Decision Support Systems 24 (1999) 233–241
238
The interpretation of these equations is as follows: generators act in a way that tends to increase production when prices exceed production marginal costs. Consumers act in a way that tends to increase consumption when marginal benefits exceed price. Since it may be impossible to perfectly balance supply and consumption at all times, any discrepancy accumulates as an energy error. In practical system, this results in either an increase in frequency or an increase in the ACE. The result of an excess of energy is a reduction in the system value of electric energy. The consequence of this is a probable reduction in price, which takes place according to some time constant tl. This reduction in system price increases consumption and decreases production, thereby leading to a decrease in the excess energy. Stability requirements also necessitate the presence of a supplementary stabilizing price signal to be sent to either the suppliers or the consumers w5x. Here, the signal is sent to the suppliers. The stabilizing signal is a constant gain times the accumulated energy error. This can be interpreted as a ‘bias’ that is added to prices whenever the energy error is non-zero. This supplementary signal is essential to asymptotic stable market behavior.
4. Network congestion Congestion means that the flow in one or more lines must be regulated to avoid exceeding a rating and damaging the component, or other such reason. Introducing conditions for congestion avoidance within the previous dynamic formulation Žincluding energy imbalance. presents several challenges, since congestion can result in a functional decoupling of the system. Congestion can be expressed in terms of the network injections Žboth generation and load.. For n s y 1 congestion conditions:
1 Sg21 ... Sg n s 1
... ... ...
1 Sg 2 m ... Sg n s m
y1 Sd21 ... Sd n s 1
... ... ...
y1 Sd 2 n ... Sg n s n
Pg1 ... Pg m Pd1 ...
PD s2 s . . .. sn s
Ž 19 .
Pd n The complete dynamic equations for the congested m-supplier n-consumer case with n s active algebraic congestion conditions in matrix notation are: T 0
0 0
P˙ s C S ˙ L
St 0
P q b s L
where T is an unreduced diagonal matrix with the time constants for power generation as well as demand; P is a vector of all power Ž m generation powers and n demand powers.; L is a vector with all Lagrange multipliers Žthe price l is the first of these.; C is the diagonal matrix of all quadratic cost coefficients cg i as well as cd i ; S is a matrix of sensitivity of constraints to injections Žits first row is the power balance condition.; s is a vector with P D Žthe price-insensitive demand. in its first position and the values of the right hand sides in the constraint equations in the remaining positions. Because of these n s algebraic conditions introduced by congestion, the dynamic equations for this problem are of reduced order. Reduction of the dynamic algebraic equation problem to a purely differential equation can
F.L. AlÕarador Decision Support Systems 24 (1999) 233–241
239
be done by first eliminating the n s redundant state variables in terms of a reduced set of n q m y n s of non-redundant variables, obtaining in the end a set of n q m y n s purely differential equations, organized as follows: T1 0 S1
0
S 1t
P˙1
T2 S2
S 2t
P˙2 s 0 S1 L˙
0
C1
0
S 1t
C2 S2
S t2 0
P1 P2 L
where S 1 corresponds to an arbitrary but non-singular subset of n s by n s of S, and P1 corresponds to a subset n s of P denoting the redundant power variables. Reduction and elimination of L and P1 yields the following reduced purely differential equations. y1 t yt y1 ˙ T2 q S 2t Syt 1 T1 S 1 S 2 P2 s C 2 q S 2 S 1 C 1 S 1 S 2 P2
Ž 20 .
Thus, the model for a congested power system is of lower order than the model for the uncongested system. It is perfectly possible, however, to take into consideration delays and dynamics associated with congestion itself. For example, the assumption that operation of the system above congestion conditions is permitted for some time, provided incentives are created that eventually eliminate the congestion. However, it can be assumed that some delay is inherent in this process. The representation of this situation would amount to little more than replacing some or all of the algebraic equations from Ž19. with differential equations.
5. Electromechanical dynamics It is also possible to model in detail the electromechanical dynamics of a system. For example, the detailed generation and transmission electromechanical dynamic models from Ref. w6x or any other such reference dealing with system electromechanical dynamics can be implemented. For example, the turbinergovernor can be modelled according to the block diagram Fig. 1, where Pg corresponds to the power generation order associated with the market model, v is the machine velocity, Y is the valve position, and Pm the mechanical power output. Likewise, the automatic voltage regulator can be modelled according a block diagram representation, such as illustrated in Fig. 2. It is important in any of these models to include the dynamics of any PSSS, which can be derived either from the machine velocity or machine terminal power is also selected by appropriate choice of parameters. In fact, it is possible to continue in this fashion and represent every aspect of every machine and the entire network if desired, adding detailed models of the system at any time scale of interest. Of course, only those
Fig. 1. Governor turbine block diagram.
240
F.L. AlÕarador Decision Support Systems 24 (1999) 233–241
Fig. 2. AVR model block diagram.
models that have time constants of the same order of magnitude as the market time constants are of interest. The approach extends traditional engineering analysis to help understand how the operation of a system might be affected by ‘signals’ coming from a market.
6. Results and experiments The above models have been used by the author and his colleagues Žparticularly Wellington Santos Mota. in a variety of detailed simulations. The following general results have been obtained from observations of these numerical results for a large range of parameters and time constants. Ø Markets that must balance supply and demand precisely at all times may be unstable if one supplier exhibits economies of scale and will be unstable if two suppliers exhibit this behavior w1x. Ø Markets where some energy imbalance is allowed to accumulate can exhibit an instability, depending on the exact values of time constants and delays in the system w4x. This instability is necessarily an oscillatory instability. Ø Congestion can indeed be helpful from the perspective of stability w1x. That is, congestion can make an otherwise unstable situation stable. This is not to mean that congestion is desirable. Quite the contrary, congestion generally leads to higher prices. However, not all effects of congestion are negative. Ø A power system Žwith stable electromechanical dynamic behavior when considered by itself. and market Žby itself stable. can, when analyzed jointly, exhibit unstable behavior w3x. In all these results, only certain ranges of values lead to troublesome operation. In general, the problems are more severe when markets are able to respond quickly Žsuch as systems using price signals to balance energy.
F.L. AlÕarador Decision Support Systems 24 (1999) 233–241
241
andror when the electromechanical system is slow in responding Žsuch as, for example, the situation of a set of power plants connected to a river system with delays between stations..
7. Conclusions A new approach to the analysis of integrated markets and power systems has been reviewed and mathematically described. The approach permits the characterization of stability of markets using some mild linearity assumptions and assuming that the response of markets can be characterized in terms of differential equations. Important results and conclusions derived using these models are reviewed in Section 6. The main conclusion from these results is that it is essential at some point to take a look at the integrated operation of systems with signals coming from a market, particularly if the markets are fast and the response of the systems is sluggish Žas it might be with large plants or with natural delays introduced by items such as, for example, river systems.. The validity of these models can be extended if one wishes to also take into account the discrete nature of several of the pricing strategies Žby resorting to difference instead of differential equations., represent the transmission grid Žlosses and reactive power., and model any desired or agreed-upon operating policies in greater detail. In fact, it is recommended that no policy for system operation should be implemented without at least some attention paid to the possible dynamic implications of the policy.
References w1x The stability of power system markets, IEEE Transactions on Power Systems Ž1998., to appear. w2x F. Alvarado, The dynamics of power system markets, Technical Report PSERC-97-01, Power Systems Engineering Research Consortium ŽPSERC., The University of Wisconsin, March 1997. w3x F.L. Alvarado, W.S. Mota, Dynamic instabilities in energy markets, VI SEPOPE Conference, May 24–29, 1998. w4x F.L. Alvarado, W.S. Mota, The role of energy imbalance management on power market stability, Proceedings of the 31st Annual Hawaii International Conference on System Sciences ŽHICSS., IEEE Computer Society 3 Ž1998. 4–9. w5x F.L. Alvarado, The dynamic of power system markets technical report PSERC-97-01, The University of Wisconsin-Madison, March 1997. w6x P.M. Anderson, A.A. Fouad, Power System Control and Stability, The Iowa State Univ. Press, Ames, IA, 1977. w7x R. Baldick, R.J. Kaye, F.F. Wu, Electricity tariffs under imperfect knowledge of participant benefits, IEEE Transactions on Power Systems 7 Ž4. Ž1992. 1471–1482. w8x B. Beavis, I.M. Dobbs, Optimization and Stability Theory for Economic Analysis, Cambridge Univ. Press, London, 1990. w9x M. Ezekiel, The cobweb theorem, Quarterly Journal of Economics 52 Ž2. Ž1938. 255–278. w10x D. Hawkins, Some conditions for macroeconomic stability, Econometrica, October Ž1948. 310–322. w11x J. Ruusunen, R.P. Hamalainen, M. Rasnen, Game theoretic modelling in the dynamic pricing of electricity, in: R.P. Hamalainen, H.K. Ehtamo ŽEds.., Lecture Notes in Control and Information, Vol. 157, Springer-Verlag, 1990. w12x P.A. Samuelson, Foundations of Economic Analysis, Enlarged Edition, Harvard Univ. Press, 1983. w13x G.L. Thompson, S.A.O. Thore, Computational economics, Annals of Operations Research, Vol. 68, Boltzer Science, 1997. Fernando L. Alvarado was born in Lima, Peru. He did his undergraduate studies at the National Engineering University in Peru, and his MS studies at Clarkson University and he holds a PhD degree from the University of Michigan. He is a professor at the University of Wisconsin in Madison. He recently participated as a member of the Task Force on Energy Infrastructures, Presidential Commission on Critical Infrastructures, January–April 1998. He is a full professor of Electrical and Computer Engineering at the University of Wisconsin. University of Wisconsin is also a member of PSERC, a NSF and Industry Sponsored Consortium of Universities involved in Electrical Power Systems Research. He is a fellow of IEEE and a member of the IEEE Energy Policy Board. He has well over 200 technical publications in prestigious journals and conferences. He is a senior consultant with Christensen Associates.