Abstract
In the present paper, we present a mid-term planning model for thermal power generation which is based on multistage stochastic optimization and involves stochastic electricity spot prices, a mixture of fuels with stochastic prices, the effect of CO\(_2\) emission prices and various types of further operating costs. Going from data to decisions, the first goal was to estimate simulation models for various commodity prices. We apply Geometric Brownian motions with jumps to model gas, coal, oil and emission allowance spot prices. Electricity spot prices are modeled by a regime switching approach which takes into account seasonal effects and spikes. Given the estimated models, we simulate scenario paths and then use a multiperiod generalization of the Wasserstein distance for constructing the stochastic trees used in the optimization model. Finally, we solve a 1-year planning problem for a fictitious configuration of thermal units, producing against the markets. We use the implemented model to demonstrate the effect of CO\(_2\) prices on cumulated emissions and to apply the indifference pricing principle to simple electricity delivery contracts.
Similar content being viewed by others
Notes
Results are available on request.
The MAPE represents the normalized deviation of simulated prices from historical ones in absolute numbers (see Keles et al. 2011, p. 12).
In the original model (Fleten and Lemming 2003), applied for daily steps, a smoothing factor prevents large jumps in the forward curve. However, in the case of HPFCs, Blöchlinger (2008) (p. 154), concludes that the higher the relative weight of the smoothing term, the more the hourly structure disappears. We want our HPFC to reflect the hourly pattern of electricity prices and therefore in this study we set the smoothing term to \(0\).
References
Bierbrauer M, Menn C, Rachev S, Trück S (2007) Spot and derivative pricing in the EEX power market. J Bank Financ 31(11): 3462–3485
Birge JR, Louveaux FV (1997) Introduction to stochastic programming. Springer, Berlin
Blöchlinger L (2008) Power prices: a regime-switching spot/forward price model with Kim filter estimation. Dissertation of the University of St, Gallen, No 3442
Bühlmann H (1972) Mathematical risk theory, Die Grundlehren der mathematischen Wissenschaften, Band 172. Springer, New York
Carmona R (2009) Indifference pricing: theory and applications. Princeton series in financial engineering. Princeton University Press, Princeton
Carrion M, Arroya JM (2006) A computationally efficient mixed-integer linear formulation for the thermal unit commitment problem. IEEE Trans Power Syst 21(3):1371–1378
Casassus J, Liu P, Tang K (2010) Long-term economic relationships and correlation structure in commodity markets. Working paper
Daskalakis G, Psychoyios D, Markellos R (2009) Modeling CO\(_2\) emission allowance prices and derivatives: evidence from the European trading scheme. J Bank Financ 33(7):1230–1241
de la Torre S, Arroyo JM, Conejo AJ, Contreras J (2002) Price maker self-scheduling in a pool-based electricity market: a mixed-integer LP approach. IEEE Trans Power Syst 17(4):1037–1042
Dupacova J, Gröwe-Kuska N, Römisch W (2003) Scenario reduction in stochastic programming: an approach using probability metrics. Math Program Ser A 95:493–511
Eichhorn A, Römisch W, Wegner I (2004) Polyhedral risk measures in electricity portfolio optimization. Proc Appl Math Mech 4:7–10
Eichhorn A, Römisch W (2005) Polyhedral risk measures in stochastic programming. SIAM J Optim 16:69–95
Environmental Agency (GB) (2009) EU Emissions Trading Scheme—Guidance to Operators on the application of Civil Penalties. http://www.environment-agency.gov.uk/static/documents/Business/2009_01_29_Guidance_to_Operators_on_civil_penalties.pdf
Fleten SE, Lemming J (2003) Constructing forward price curves in electricity markets. Energy Econ 25:409–424
Gollmer R, Nowak W, Römisch W, Schultz R (2000) Unit commitment in power generation, a basic model and some extensions. Ann Oper Res 96:167–189
Heitsch H, Römisch W (2011) Stability and scenario trees for multistage stochastic programs. In: Infanger G (Ed) Stochastic programming. International series in operations research and management science, vol 150, pp 139–164
Honoré P (1998) Pitfalls in estimating jump-diffusion models. Working Paper No 18, University of Aarhus
Keles DM, Genoese M, Möst D, Fichtner W (2011) Comparison of extended mean-reversion and time series models for electricity spot price simulation considering negative prices. Energy Econ 34(4):1012–1032
Konstantin P (2007) Praxisbuch Energiewirtschaft - Energieumwandlung, -transport und -beschaffung im liberalisierten Markt. Springer, Berlin
Kovacevic R, Pichler A (2012) Stochastic trees: a process distance approach. http://www.optimization-online.org
Meade N (2010) Oil prices: Brownian motion or mean reversion? A study using a one year ahead density forecast criterion. Energy Econ 32(6):1485–1498
Merton RC (1976) Option pricing when underlying stock returns are discontinuous. J Financ Econ 3:125–144
Miltersen K (2003) Commodity price modeling that matches current observables: a new approach. Quant Finac 3(1):51–58
Nowak MP, Schultz R, Westphalen M (2005) A stochastic integer programming model for incorporating day-ahead trading of electricity into hydro-thermal unit commitment. Optim Eng 6:163–176
Paschke R, Prokopczuk M (2009) Integrating multiple commodities in a model of stochastic price dynamics. J Energy Mark 2:347–382
Pflug GC, Pichler A (2012) A distance for multistage stochastic optimization models. SIAM J Optim 22(1):1–23
Pflug GC, Römisch W (2007) Modeling, measuring and managing risk. World Scientific, Singapore
Pflug GC, Swietanowski A (2000) Asset-liability optimization for pension fund management. Oper Res Proc 22(1):124–135
Philpott A, Schultz R (2006) Unit commitment in electricity pool markets. Math Program 108:313–337
Pilz KF, Scholgl E (2009) A hybrid commodity and interest rate market model. Research Paper 261
Rockafellar R, Uryasev S (2000) Optimization of conditional value-at-risk. J Risk 2:21
Schwartz E (1997) The stochastic behavior of commodity prices: implications for valuation and hedging. J Financ LII 3:923–973
Sen S, Yu L (1993) A stochastic programming approach to power portfolio optimization. Oper Res 54(1):55–72 [Ph. D. Thesis, Department of Electrical Engineering and Computer Science, Massachusetts Institute of Technology]
Takriti S, Birge J, Long E (1996) A stochastic model for the unit commitment problem. IEEE Trans Power Syst 11:1497–1508
Wallace SW, Fleten SE (2003) Stochastic programming models in energy. In: Ruszcynski A, Shapiro A (eds) Stochastic programming, handbooks in operations research and management science, vol 10. Elsevier, Amsterdam, pp 637–677
Acknowledgments
The authors thank an anonymous referee for important remarks, that definitely helped to improve the paper. In addition, we are grateful to Michael Schürle, who gave valuable feedback during the various stages of this paper. We also thank Wilfried Grubauer, Willi Kritscha and Walter Reinisch from Siemens AG Austria for interesting discussions on possible simplifications and applications.
Author information
Authors and Affiliations
Corresponding author
Additional information
R. M. Kovacevic was funded by WWTF.
Appendices
Appendix A: Construction of the hourly price forward curves
For the derivation of the HPFCs, we follow the approach introduced by Fleten and Lemming (2003). At any given time, the observed term structure at EEX is based only on a limited number of futures/forward products. Hence, a theoretical hourly price curve, representing forwards for individual hours, is very useful but must be constructed using additional information. We model the hourly price curve by combining the information contained in the observed bid and ask prices with information about the shape of the seasonal variation.
Let \(f_t\) be the price of the forward contract with delivery at time \(t\), where time is measured in hours, and let \(F(T_1,T_2)\) be the price of forward contract with delivery in the interval \([T_1, T_2]\). Since only bid/ask prices can be observed, we have:
where \(r\) is the continuously compounded rate for discounting per annum and \(a\) is the number of hours per year. A realistic price forward curve should capture information about the hourly seasonality pattern of electricity prices. For the derivation of the seasonality shape of electricity prices, we follow Blöchlinger (2008) (chapter 6). Basically we fit the HPFC to the seasonality shape by minimizing
subject to constraints of the type of Eq. (23) for all observed instruments. \(f_t\) is the value of the HPFC at time \(t\) and \(s_t\) is the seasonality curve at hour \(t\).Footnote 3 For details see Fleten and Lemming (2003). To keep the optimization problem feasible, overlapping contracts as well as contracts with delivery periods which are completely overlapped by other contracts with shorter delivery periods are removed. For the derivation of the shape \(s_t\), we follow the procedure discussed in Blöchlinger (2008), see pp. 133–137.
Appendix B: Estimation procedure for the Merton model
The model parameters \(\psi =(\alpha , \sigma , \lambda , \mu , \delta )\) in Eq. (17) are estimated by maximum likelihood. \(S_t\) denotes the price of a commodity at time \(t\). Observations are available at equally distributed time points \(t_i = i\cdot \varDelta \) for \(i=0, \ldots , T\), where \(\varDelta \) is the sampling frequency. For simplification, let an observation at time \(t_i\) be denoted by \(S_i\). The density function of the log return \(x_{i+1}=\ln S_{i+1}-\ln S_i\) is
where \(\phi (x;m,v)\) is the density function of the normal distribution for mean \(m\) and variance \(v\). The density of the log returns is evaluated by an infinite sum as in the probability function of the Poisson distribution. For practical reasons, it is approximated by the first 100 terms of the sum in the estimation. The log-likelihood function becomes
However, it has been pointed out by Honoré (1998) that the likelihood function (26) may become unbounded for some parametric specifications if it is maximized without further restrictions on the parameter space. As a solution, it is proposed to link the variance of the standard Brownian motion \(\sigma ^2\) and the variance of the jump diffusion amplitudes \(\delta ^2\), i.e., to set \(\delta ^2 = m \sigma ^2\) for a fixed positive \(m\in M\), where \(M\) is a compact set on \(\mathbb{R }^+\). Then, the new log-likelihood function
can be maximized with respect to the reduced parameter vector \(\psi ^* = (\alpha , \sigma , \lambda , \mu )\) for a fixed value of \(m\). As argued in Honoré (1998), \(l_m(\cdot ;\psi ^*)\) is bounded in contrast to \(l(\cdot ;\psi )\). Finally, a consistent estimator \(\psi \) is obtained by choosing the value of \(m\) which maximizes \(l_m(\cdot ;\psi _m^*)\).
Appendix C: Tree formulation of the optimization model
See Fig. 8.
Unit | Description | |
---|---|---|
Sets and indices | ||
\({\fancyscript{I}}=\{ 1,\ldots ,I\} \) | Set of thermal units | |
\(i\in {\fancyscript{I}}\) | Thermal unit \(i\) | |
\({\fancyscript{J}}=\{ 1,\ldots ,J\} \) | Set of fuels | |
\(j\in {\fancyscript{J}}\) | Fuel \(j\) | |
\({\fancyscript{T}}=\{ \tau _{0},\ldots ,\tau _{t}\ldots ,\tau _{T}\} \) | Considered points in time | |
\(t\in \{0,\ldots ,T\}\) | ||
\(\varDelta _{t}=\tau _{t+1}-\tau _{t}\) | hours (h) | Length of time intervals |
\({\fancyscript{N}}=\{0,\ldots ,N\} \) | Set of nodes in a stochastic tree with root \(0\) | |
\(n\in {\fancyscript{N}}\) | Node \(n\) | |
\({\fancyscript{N}}_{T}\subseteq {\fancyscript{N}}\) | Set of leaf nodes (scenarios) | |
\({\fancyscript{N}}_{\lnot T}\subseteq {\fancyscript{N}}\setminus {\fancyscript{N}}_{T}\) | Set of all nodes excluding the leaf nodes | |
\({\fancyscript{N}}_{\lnot 0}\) | Set of all nodes excluding the root node | |
\({\fancyscript{N}}^b_{\lnot 0}\) | Set of all nodes with more than one successors, excluding the root node | |
Decision variables | ||
\(x_{t,ij}\) | MWh | Electricity produced by unit \(i\) with fuel \(j\) during period \((\tau _{t},\tau _{t+1}]\) |
\(y_{t}\) | MWh | Electricity bought from spot market during period \((\tau _{t},\tau _{t+1}]\) |
\(f_{t,j}\) | MWh | Fuel of type \(j\) bought at time \(t\) |
\(c_{t}\) | (metric) tons | CO\(_2\) certificates bought at time \(t\) |
Calculated variables | ||
\(s_{t,j}\) | MWh | Stored amount of fuel \(j\) at time \(t\) |
\(w_{t}\) | EUR | Cash position |
\(w^+_{t}, w^-_{t}\) | EUR | Positive and negative parts of the cash position |
\(v_{t}\) | EUR | Asset value |
\(a_{t}\) | (metric) tons | Cumulated amount of CO\(_2\) certificates, bought up to time \(t\) |
\(e_{t}\) | (metric) tons | Cumulated amount of CO\(_2\), emitted up to time \(t\) |
\(u^+,u^-\) | (metric) tons | Positive and negative parts of the difference between emitted CO\(_2\) and the emission certificates held at time \(T\) |
Unit | Description | |
---|---|---|
Random factors | ||
\(P_{t,j}^\mathrm{f}\) | EUR/MWh | Mean spot price of fuel \(j\) over period \((\tau _{t},\tau _{t}+\varDelta _{t}]\) |
\(P_{t}^\mathrm{x}\) | EUR/MWh | Mean electricity spot price over period \((\tau _{t},\tau _{t}+\varDelta _{t}]\) |
\(P_{t}^\mathrm{c}\) | EUR/tonne | Mean spot price for CO\(_2\) certificates over period \((\tau _{t},\tau _{t}+\varDelta _{t}]\) |
Parameters | ||
\(\eta _{ij}\) | Efficiency of burning fuel \(j\) with generator \(i\) | |
\(\varepsilon _{ij}\) | tons/MWh | Amount of CO\(_2\) emitted by unit \(i\) per MWh of fuel burnt |
\(\beta _{j}\) | MWh | Maximum power that can be produced by generator \(i\) |
\(\gamma _{i}\) | EUR/h | Variable operating costs of machine \(i\) when fuel \(j\) is used |
\(\kappa _{i}\) | EUR/h | Fixed operating costs of machine \(i\) |
\(\varsigma _{j}\) | EUR/MWh | Storage costs for fuel \(j\) |
\(\sigma _{j}\) | MWh | Maximum storage for fuel \(j\) |
\(\vartheta \) | EUR/tonne | Penalty for excessive CO\(_2\) emissions |
\(\lambda \) | Mixing factor for the objective function | |
\(\alpha \) | Parameter of the average value at risk, \(\hbox {AV}@\hbox {R}_{\alpha }\) |
Appendix D: Estimation results
See Tables 2, 3, 4, 5, 6, 7, 8 and Figs. 9, 10, 11, 12, 13, 14.
Rights and permissions
About this article
Cite this article
Kovacevic, R.M., Paraschiv, F. Medium-term planning for thermal electricity production. OR Spectrum 36, 723–759 (2014). https://doi.org/10.1007/s00291-013-0340-9
Published:
Issue Date:
DOI: https://doi.org/10.1007/s00291-013-0340-9