IDEAS home Printed from https://ideas.repec.org/a/eee/jocoma/v28y2022ics2405851322000046.html
   My bibliography  Save this article

Short- and long-term forecasting of electricity prices using embedding of calendar information in neural networks

Author

Listed:
  • Wagner, Andreas
  • Ramentol, Enislay
  • Schirra, Florian
  • Michaeli, Hendrik

Abstract

Electricity prices strongly depend on seasonality of different time scales, therefore any forecasting of electricity prices has to account for it. Neural networks have proven successful in short-term price-forecasting, but complicated architectures like LSTM are used to integrate the seasonal behavior. This paper shows that simple neural network architectures like DNNs with an embedding layer for seasonality information can generate a competitive forecast. The embedding-based processing of calendar information additionally opens up new applications for neural networks in electricity trading, such as the generation of price forward curves. Besides the theoretical foundation, this paper also provides an empirical multi-year study on the German electricity market for both applications and derives economical insights from the embedding layer. The study shows that in short-term price-forecasting the mean absolute error of the proposed neural networks with an embedding layer is better than the LSTM and time-series benchmark models and even slightly better as our best benchmark model with a sophisticated hyperparameter optimization. The results aresupported by a statistical analysis using Friedman and Holm’s tests.

Suggested Citation

  • Wagner, Andreas & Ramentol, Enislay & Schirra, Florian & Michaeli, Hendrik, 2022. "Short- and long-term forecasting of electricity prices using embedding of calendar information in neural networks," Journal of Commodity Markets, Elsevier, vol. 28(C).
  • Handle: RePEc:eee:jocoma:v:28:y:2022:i:c:s2405851322000046
    DOI: 10.1016/j.jcomm.2022.100246
    as

    Download full text from publisher

    File URL: http://www.sciencedirect.com/science/article/pii/S2405851322000046
    Download Restriction: Full text for ScienceDirect subscribers only

    File URL: https://libkey.io/10.1016/j.jcomm.2022.100246?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    As the access to this document is restricted, you may want to search for a different version of it.

    References listed on IDEAS

    as
    1. Brusaferri, Alessandro & Matteucci, Matteo & Portolani, Pietro & Vitali, Andrea, 2019. "Bayesian deep learning based method for probabilistic forecast of day-ahead electricity prices," Applied Energy, Elsevier, vol. 250(C), pages 1158-1175.
    2. Simon Schnürch & Andreas Wagner, 2020. "Electricity Price Forecasting with Neural Networks on EPEX Order Books," Applied Mathematical Finance, Taylor & Francis Journals, vol. 27(3), pages 189-206, May.
    3. Cludius, Johanna & Hermann, Hauke & Matthes, Felix Chr. & Graichen, Verena, 2014. "The merit order effect of wind and photovoltaic electricity generation in Germany 2008–2016: Estimation and distributional implications," Energy Economics, Elsevier, vol. 44(C), pages 302-313.
    4. Würzburg, Klaas & Labandeira, Xavier & Linares, Pedro, 2013. "Renewable generation and electricity prices: Taking stock and new evidence for Germany and Austria," Energy Economics, Elsevier, vol. 40(S1), pages 159-171.
    5. Narajewski, Michał & Ziel, Florian, 2020. "Econometric modelling and forecasting of intraday electricity prices," Journal of Commodity Markets, Elsevier, vol. 19(C).
    6. Hinderks, W.J. & Wagner, A., 2020. "Factor models in the German electricity market: Stylized facts, seasonality, and calibration," Energy Economics, Elsevier, vol. 85(C).
    7. Weron, Rafał, 2014. "Electricity price forecasting: A review of the state-of-the-art with a look into the future," International Journal of Forecasting, Elsevier, vol. 30(4), pages 1030-1081.
    8. Caldana, Ruggero & Fusai, Gianluca & Roncoroni, Andrea, 2017. "Electricity forward curves with thin granularity: Theory and empirical evidence in the hourly EPEXspot market," European Journal of Operational Research, Elsevier, vol. 261(2), pages 715-734.
    9. Ziel, Florian & Steinert, Rick, 2016. "Electricity price forecasting using sale and purchase curves: The X-Model," Energy Economics, Elsevier, vol. 59(C), pages 435-454.
    10. Umut Ugurlu & Ilkay Oksuz & Oktay Tas, 2018. "Electricity Price Forecasting Using Recurrent Neural Networks," Energies, MDPI, vol. 11(5), pages 1-23, May.
    11. Rafal Weron & Adam Misiorek, 2005. "Forecasting Spot Electricity Prices With Time Series Models," Econometrics 0504001, University Library of Munich, Germany.
    12. Keles, Dogan & Scelle, Jonathan & Paraschiv, Florentina & Fichtner, Wolf, 2016. "Extended forecast methods for day-ahead electricity spot prices applying artificial neural networks," Applied Energy, Elsevier, vol. 162(C), pages 218-230.
    13. Lago, Jesus & Marcjasz, Grzegorz & De Schutter, Bart & Weron, Rafał, 2021. "Forecasting day-ahead electricity prices: A review of state-of-the-art algorithms, best practices and an open-access benchmark," Applied Energy, Elsevier, vol. 293(C).
    14. Rüdiger Kiesel & Florentina Paraschiv & Audun Sætherø, 2019. "On the construction of hourly price forward curves for electricity prices," Computational Management Science, Springer, vol. 16(1), pages 345-369, February.
    15. Fleten, Stein-Erik & Lemming, Jacob, 2003. "Constructing forward price curves in electricity markets," Energy Economics, Elsevier, vol. 25(5), pages 409-424, September.
    16. Weiwei Gu & Aditya Tandon & Yong-Yeol Ahn & Filippo Radicchi, 2021. "Principled approach to the selection of the embedding dimension of networks," Nature Communications, Nature, vol. 12(1), pages 1-10, December.
    17. Florian Ziel & Rick Steinert, 2015. "Electricity Price Forecasting using Sale and Purchase Curves: The X-Model," Papers 1509.00372, arXiv.org, revised Aug 2016.
    18. Diebold, Francis X & Mariano, Roberto S, 2002. "Comparing Predictive Accuracy," Journal of Business & Economic Statistics, American Statistical Association, vol. 20(1), pages 134-144, January.
    19. Andreas Wagner, 2014. "Residual Demand Modeling and Application to Electricity Pricing," The Energy Journal, International Association for Energy Economics, vol. 0(Number 2).
    20. Francis X. Diebold, 2015. "Comparing Predictive Accuracy, Twenty Years Later: A Personal Perspective on the Use and Abuse of Diebold-Mariano Tests," Journal of Business & Economic Statistics, Taylor & Francis Journals, vol. 33(1), pages 1-1, January.
    21. Marcjasz, Grzegorz & Uniejewski, Bartosz & Weron, Rafał, 2019. "On the importance of the long-term seasonal component in day-ahead electricity price forecasting with NARX neural networks," International Journal of Forecasting, Elsevier, vol. 35(4), pages 1520-1532.
    22. Lago, Jesus & De Ridder, Fjo & De Schutter, Bart, 2018. "Forecasting spot electricity prices: Deep learning approaches and empirical comparison of traditional algorithms," Applied Energy, Elsevier, vol. 221(C), pages 386-405.
    23. Ziel, Florian & Weron, Rafał, 2018. "Day-ahead electricity price forecasting with high-dimensional structures: Univariate vs. multivariate modeling frameworks," Energy Economics, Elsevier, vol. 70(C), pages 396-420.
    24. Ping-Huan Kuo & Chiou-Jye Huang, 2018. "An Electricity Price Forecasting Model by Hybrid Structured Deep Neural Networks," Sustainability, MDPI, vol. 10(4), pages 1-17, April.
    Full references (including those not matched with items on IDEAS)

    Citations

    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
    as


    Cited by:

    1. Paul Ghelasi & Florian Ziel, 2024. "From day-ahead to mid and long-term horizons with econometric electricity price forecasting models," Papers 2406.00326, arXiv.org, revised Aug 2024.
    2. Finhold, E. & Gärtner, C. & Grindel, R. & Heller, T. & Leithäuser, N. & Röger, E. & Schirra, F., 2023. "Optimizing the marketing of flexibility for a virtual battery in day-ahead and balancing markets: A rolling horizon case study," Applied Energy, Elsevier, vol. 352(C).

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Petropoulos, Fotios & Apiletti, Daniele & Assimakopoulos, Vassilios & Babai, Mohamed Zied & Barrow, Devon K. & Ben Taieb, Souhaib & Bergmeir, Christoph & Bessa, Ricardo J. & Bijak, Jakub & Boylan, Joh, 2022. "Forecasting: theory and practice," International Journal of Forecasting, Elsevier, vol. 38(3), pages 705-871.
      • Fotios Petropoulos & Daniele Apiletti & Vassilios Assimakopoulos & Mohamed Zied Babai & Devon K. Barrow & Souhaib Ben Taieb & Christoph Bergmeir & Ricardo J. Bessa & Jakub Bijak & John E. Boylan & Jet, 2020. "Forecasting: theory and practice," Papers 2012.03854, arXiv.org, revised Jan 2022.
    2. Katarzyna Maciejowska & Bartosz Uniejewski & Rafa{l} Weron, 2022. "Forecasting Electricity Prices," Papers 2204.11735, arXiv.org.
    3. Lago, Jesus & Marcjasz, Grzegorz & De Schutter, Bart & Weron, Rafał, 2021. "Forecasting day-ahead electricity prices: A review of state-of-the-art algorithms, best practices and an open-access benchmark," Applied Energy, Elsevier, vol. 293(C).
    4. Léonard Tschora & Erwan Pierre & Marc Plantevit & Céline Robardet, 2022. "Electricity price forecasting on the day-ahead market using machine learning," Post-Print hal-03621974, HAL.
    5. Marcjasz, Grzegorz & Narajewski, Michał & Weron, Rafał & Ziel, Florian, 2023. "Distributional neural networks for electricity price forecasting," Energy Economics, Elsevier, vol. 125(C).
    6. Grzegorz Marcjasz & Tomasz Serafin & Rafał Weron, 2018. "Selection of Calibration Windows for Day-Ahead Electricity Price Forecasting," Energies, MDPI, vol. 11(9), pages 1-20, September.
    7. Umut Ugurlu & Ilkay Oksuz & Oktay Tas, 2018. "Electricity Price Forecasting Using Recurrent Neural Networks," Energies, MDPI, vol. 11(5), pages 1-23, May.
    8. Tschora, Léonard & Pierre, Erwan & Plantevit, Marc & Robardet, Céline, 2022. "Electricity price forecasting on the day-ahead market using machine learning," Applied Energy, Elsevier, vol. 313(C).
    9. Rafal Weron & Florian Ziel, 2018. "Electricity price forecasting," HSC Research Reports HSC/18/08, Hugo Steinhaus Center, Wroclaw University of Technology.
    10. Madadkhani, Shiva & Ikonnikova, Svetlana, 2024. "Toward high-resolution projection of electricity prices: A machine learning approach to quantifying the effects of high fuel and CO2 prices," Energy Economics, Elsevier, vol. 129(C).
    11. Olivares, Kin G. & Challu, Cristian & Marcjasz, Grzegorz & Weron, Rafał & Dubrawski, Artur, 2023. "Neural basis expansion analysis with exogenous variables: Forecasting electricity prices with NBEATSx," International Journal of Forecasting, Elsevier, vol. 39(2), pages 884-900.
    12. Ilkay Oksuz & Umut Ugurlu, 2019. "Neural Network Based Model Comparison for Intraday Electricity Price Forecasting," Energies, MDPI, vol. 12(23), pages 1-14, November.
    13. Lehna, Malte & Scheller, Fabian & Herwartz, Helmut, 2022. "Forecasting day-ahead electricity prices: A comparison of time series and neural network models taking external regressors into account," Energy Economics, Elsevier, vol. 106(C).
    14. Marcjasz, Grzegorz & Uniejewski, Bartosz & Weron, Rafał, 2020. "Probabilistic electricity price forecasting with NARX networks: Combine point or probabilistic forecasts?," International Journal of Forecasting, Elsevier, vol. 36(2), pages 466-479.
    15. Nowotarski, Jakub & Weron, Rafał, 2018. "Recent advances in electricity price forecasting: A review of probabilistic forecasting," Renewable and Sustainable Energy Reviews, Elsevier, vol. 81(P1), pages 1548-1568.
    16. Hain, Martin & Kargus, Tobias & Schermeyer, Hans & Uhrig-Homburg, Marliese & Fichtner, Wolf, 2022. "An electricity price modeling framework for renewable-dominant markets," Working Paper Series in Production and Energy 66, Karlsruhe Institute of Technology (KIT), Institute for Industrial Production (IIP).
    17. Uniejewski, Bartosz & Marcjasz, Grzegorz & Weron, Rafał, 2019. "On the importance of the long-term seasonal component in day-ahead electricity price forecasting: Part II — Probabilistic forecasting," Energy Economics, Elsevier, vol. 79(C), pages 171-182.
    18. Ethem Çanakoğlu & Esra Adıyeke, 2020. "Comparison of Electricity Spot Price Modelling and Risk Management Applications," Energies, MDPI, vol. 13(18), pages 1-22, September.
    19. Peru Muniain & Florian Ziel, 2018. "Probabilistic Forecasting in Day-Ahead Electricity Markets: Simulating Peak and Off-Peak Prices," Papers 1810.08418, arXiv.org, revised Dec 2019.
    20. Qiao, Weibiao & Yang, Zhe, 2020. "Forecast the electricity price of U.S. using a wavelet transform-based hybrid model," Energy, Elsevier, vol. 193(C).

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:eee:jocoma:v:28:y:2022:i:c:s2405851322000046. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Catherine Liu (email available below). General contact details of provider: http://www.elsevier.com/locate/jcomm .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.