Abstract
We consider the problem of optimal trading for a power producer in the context of intraday electricity markets. The aim is to minimize the imbalance cost induced by the random residual demand in electricity, i.e. the consumption from the clients minus the production from renewable energy. For a simple linear price impact model and a quadratic criterion, we explicitly obtain approximate optimal strategies in the intraday market and thermal power generation, and exhibit some remarkable properties of the trading rate. Furthermore, we study the case when there are jumps on the demand forecast and on the intraday price, typically due to error in the prediction of wind power generation. Finally, we solve the problem when taking into account delay constraints in thermal power production.
Similar content being viewed by others
References
Aïd, R.: Electricity Derivatives. Springer briefs in quantitative finance. Springer, Cham (2015)
Almgren, R., Chriss, N.: Optimal execution of portfolio transactions. J. Risk 3, 5–39 (2000)
Bensoussan, A., Bertrand, P., Brouste, A.: A generalized model approach to seasonal aspects of wind speed modeling. J. Appl. Stat. 41(8), 1694–1707 (2014)
Garnier, E., Madlener, R.: Balancing forecast errors in continuous-trade intraday markets. FCN WP 2/2014, RWTH Aachen University School of Business and Economics, (2014)
Giebel, G., Kariniotakis, G., Brownsword, R., Denhard, M., Draxl, C.: The state-of-the-art in short-term prediction of wind power. A literature overview. 2nd Edition. In Deliverable Report D1.2 of the Anemos Project (ENK5-CT-2002-00665), (2011)
Guéant, Olivier, Lehalle, Charles-Albert, Fernandez-Tapia, Joaquin: Optimal portfolio liquidation with limit orders. SIAM J. Financ. Math. 3(1), 740–764 (2012)
Henriot, A.: Market design with centralised wind power management: handling low-predictability in intraday markets. Energy J. 35(1), 99–117 (2014)
Øksendal, B., Sulem, A.: Applied Stochastic Control of Jump Diffusions. Universitext, 2nd edn. Springer, Berlin (2007)
Pham, H.: Continuous-time Stochastic Control and Optimization with Financial Applications, Vol. 61 of Stochastic Modelling and Applied Probability. Springer, Berlin (2009)
Schied, A., Slynko, A.: Some mathematical aspects of market impact modeling. In Surveys in stochastic processes, EMS Series of Congress Report, pages 153–179. European Mathematical Society, Zürich, (2011)
Williams, D.: Probability with Martingales. Cambridge Mathematical Text. Cambridge University Press, Cambridge (1991)
Acknowledgments
This study was supported by FiME (Finance for Energy Market Research Centre) and the “Finance et Développement Durable - Approches Quantitatives” EDF - CACIB Chair. The authors would like to thank Marc Ringeisen, Head of EDF R&D Osiris Department for insightful discussion on trading and intraday market, the referee, and participants at the program “Broad perspectives and new directions in financial mathematics” at IPAM, UCLA, march 9-june 12, 2015.
Author information
Authors and Affiliations
Corresponding author
Appendix
Appendix
1.1 Proof of Theorem 3.1
The Hamilton-Jacobi-Bellman (HJB) equation arising from the dynamic programming associated to the stochastic control problem (3.4) is:
The argmin in HJB is attained for
and the HJB equation is rewritten as:
We look for a candidate solution to HJB in the form
for some deterministic functions A, B, F, G, H and K. Plugging the candidate function \(\tilde{w}\) into equation (6.1), we see that \({\tilde{w}}\) is solution to the HJB equation iff the following system of ordinary differential equations (ODEs) is satisfied by A, B, F, G, H and K:
with the initial conditions \(A(0)=\frac{1}{2}r(\eta , \beta )\), \(B(0)=0\), \(F(0)=0\), \(G(0)=0\), \(H(0)=0\), \(K(0)=0\). We first solve the Riccati system relative to the triple (A, B, F), and obtain:
Then we solve the first-order linear system of ODE relative to the pair (G, H), which leads to the explicit solution:
Finally, we explicitly obtain K from the last equation:
By construction, \({\tilde{w}}\) in (6.2) with A, B, F, G, H and K explicitly given by (6.3)–(6.4)–(6.5), is a smooth solution with quadratic growth condition to the HJB equation (6.1). Moreover, the argmin in HJB equation for \({\tilde{w}}\) is attained for
Notice that \({\hat{q}}\) is linear, and Lipschitz in x, y, d, uniformly in time t, and so given an initial state (x, y, d) at time t, there exists a unique solution \(({\hat{X}}^{t,x,y,d},{\hat{Y}}^{t,x,y,d},D^{t,d})_{t\le s\le T}\) to (2.1)–(2.7)–(2.8) with the feedback control \({\hat{q}}_s = {\hat{q}}(T-s,D_s^{t,d}-{\hat{X}}_s^{t,x,y,d},{\hat{Y}}_s^{t,x,y,d})\), which satisfies: \(\mathbb {E}[\sup _{t\le s\le T} |{\hat{X}}_s^{t,x,y,d}|^2 + |{\hat{Y}}_s^{t,x,y,d}|^2 + |D_s^{t,d}|^2] < \infty \). This implies in particular that \(\mathbb {E}[\int _t^T |{\hat{q}}_s|^2 ds] < \infty \), hence \({\hat{q}} \in \mathcal {A}_t\). We now call on a classical verification theorem (see e.g. Theorem 3.5.2 in [9]), which shows that \({\tilde{w}}\) is indeed equal to the value function \({\tilde{v}}\), and \({\hat{q}}\) is an optimal control. Finally, once the optimal trading rate \({\hat{q}}\) is determined, the optimal production is obtained from the optimization over \(\xi \in \mathbb {R}\) of the terminal cost \(C(D_T^{t,d}-{\hat{X}}_T^{t,x,y,d},\xi )\), hence given by: \({\hat{\xi }}_T = \frac{\eta }{\eta +\beta }(D_T^{t,d}-{\hat{X}}_T^{t,x,y,d})\). \(\square \)
1.2 Proof of Theorem 4.1
The Hamilton-Jacobi-Bellman (HJB) integro-differential equation arising from the dynamic programming associated to the stochastic control problem \({\tilde{v}} = {\tilde{v}}^{(\lambda )}\) with jumps in the dynamics of Y and D is:
Notice that with respect to the no jump case, there is in addition a linear integro-differential term in the HJB equation (which does not depend on the control), and the argmin is attained as in the no jump case for
The HJB equation is then rewritten as
We look again for a candidate solution to (6.6) in the form
for some deterministic functions \(A_{\lambda }\), \(B_{\lambda }\), \(F_{\lambda }\), \(G_{\lambda }\), \(H_{\lambda }\) and \(K_{\lambda }\). Plugging the candidate function \({\tilde{w}}^{(\lambda )}\) into equation (6.6), we see that \({\tilde{w}}^{(\lambda )}\) is solution to the HJB equation iff the following system of ordinary differential equations (ODEs) is satisfied by \(A_{\lambda }\), \(B_{\lambda }\), \(F_{\lambda }\), \(G_{\lambda }\), \(H_{\lambda }\) and \(K_{\lambda }\):
with the initial conditions \(A_{\lambda }(0)=\frac{1}{2}r(\eta , \beta )\), \(B_{\lambda }(0)=0\), \(F_{\lambda }(0)=0\), \(G_{\lambda }(0)=0\), \(H_{\lambda }(0)=0\), \(K_{\lambda }(0)=0\). We first solve the Riccati system relative to the triple \((A_{\lambda },B_{\lambda },F_{\lambda })\), which is the same as in the no jump case, and therefore obtain: \(A_{\lambda } = A\), \(B_{\lambda } = B\), \(F_{\lambda } = F\) as in (6.3). Then we solve the first-order linear system of ODE relative to the pair \((G_{\lambda },H_{\lambda })\), which involves the jump parameters \(\lambda \), \(\pi \) and \(\delta \), and get:
where G and H are given from the no jump case (6.4). Finally, after some tedious but straightforward calculations, we explicitly obtain \(K_{\lambda }\) from the last equation:
with K in (6.5). The function \({\tilde{w}}^{(\lambda )}\) in (6.7) may thus be rewritten as the sum of \({\tilde{w}}\) in (6.2) and another function of t, \(d-x\) and y, and is by construction a smooth solution with quadratic growth condition to the HJB equation (6.6). Moreover, the argmin in HJB equation for \({\tilde{w}}^{(\lambda )}\) is attained for
Again, notice that \({\hat{q}}^{(\lambda )}\) is linear, and Lipschitz in x, y, d, uniformly in time t, and so given an initial state (x, y, d) at time t, there exists a unique solution \(({\hat{X}}^{t,x,y,d},{\hat{Y}}^{t,x,y,d},D^{t,d})_{t\le s\le T}\) to (2.1)–(4.3)–(4.1) with the feedback control \({\hat{q}}_s^{(\lambda )} = {\hat{q}}^{(\lambda )}(T-s,D_s^{t,d}-{\hat{X}}_s^{t,x,y,d},{\hat{Y}}_s^{t,x,y,d})\), which satisfies: \(\mathbb {E}[\sup _{t\le s\le T} |{\hat{X}}_s^{t,x,y,d}|^2 + |{\hat{Y}}_s^{t,x,y,d}|^2 + |D_s^{t,d}|^2] < \infty \), see e.g. Theorem 1.19 in [8]. This implies that \(\mathbb {E}[\int _t^T |{\hat{q}}_s^{(\lambda )}|^2 ds] < \infty \), hence \({\hat{q}}^{(\lambda )} \in \mathcal {A}_t\). We now call on a classical verification theorem for stochastic control of jump-diffusion processes (see e.g. Theorem 3.1 in [8]), which shows that \({\tilde{w}}^{(\lambda )}\) is indeed equal to the value function \({\tilde{v}}^{(\lambda )}\), and \({\hat{q}}^{(\lambda )}\) is an optimal control. Finally, once the optimal trading rate \({\hat{q}}^{(\lambda )}\) is determined, the optimal production is obtained from the optimization over \(\xi \in \mathbb {R}\) of the terminal cost \(C(D_T^{t,d}-{\hat{X}}_T^{t,x,y,d},\xi )\), hence given by: \({\hat{\xi }}_T^{(\lambda )} = \frac{\eta }{\eta +\beta }(D_T^{t,d}-{\hat{X}}_T^{t,x,y,d})\). \(\square \)
Rights and permissions
About this article
Cite this article
Aïd, R., Gruet, P. & Pham, H. An optimal trading problem in intraday electricity markets. Math Finan Econ 10, 49–85 (2016). https://doi.org/10.1007/s11579-015-0150-8
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s11579-015-0150-8
Keywords
- Optimal trading
- Intraday electricity markets
- Renewable energy
- Linear-quadratic control problem
- Jumps
- Delay