IDEAS home Printed from https://ideas.repec.org/a/gam/jeners/v18y2025i17p4744-d1743246.html
   My bibliography  Save this article

Forecasting Electricity Prices Three Days in Advance: Comparison Between Multilayer Perceptron and Support Vector Machine Networks

Author

Listed:
  • Dariusz Borkowski

    (Department of Electrical Engineering, Faculty of Electrical and Computer Engineering, Cracow University of Technology, Warszawska 24 St., 31-155 Cracow, Poland)

  • Michał Jaśkiewicz

    (Department of Electrical Engineering, Faculty of Electrical and Computer Engineering, Cracow University of Technology, Warszawska 24 St., 31-155 Cracow, Poland)

Abstract

Electricity prices are subject to constant changes, mainly owing to the increasing share of unstable renewable energy sources. The ability to predict short-term prices presents significant benefits to both energy consumers and producers. This is crucial for managing the energy in hybrid systems with energy storage. This study presents a methodology for predicting the electricity prices for three days with hourly resolution. The accuracy of the price prediction strongly depends on the stability and repeatability of the analysed energy market. The Polish market, characterised by a dynamically changing energy mix, where the selection of the training period and the training, validation, and test sets are crucial, is assessed. Two periods are analysed: 2019–2021, which is a period of stable prices, and 2022–2024, which is a period of high price variability. The multilayer perceptron (MLP) network and support vector machine (SVM) are trained using three sets of data: time, weather, and prices of various energy sources. The analysis indicates the correlation of data and their impact on the accuracy of the price forecast. Dedicated data processing, network model structures, and training techniques are used. The comparison between prediction accuracies shows the advantages of the SVM network, whose prediction error is lower by 45% for the period of stable prices and by 20% for the period of variable prices when compared with the MLP network. The results indicate a significant increase in accuracy when various types of training data, such as weather or energy prices, are considered.

Suggested Citation

  • Dariusz Borkowski & Michał Jaśkiewicz, 2025. "Forecasting Electricity Prices Three Days in Advance: Comparison Between Multilayer Perceptron and Support Vector Machine Networks," Energies, MDPI, vol. 18(17), pages 1-25, September.
  • Handle: RePEc:gam:jeners:v:18:y:2025:i:17:p:4744-:d:1743246
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/1996-1073/18/17/4744/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/1996-1073/18/17/4744/
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Maciejowska, Katarzyna, 2020. "Assessing the impact of renewable energy sources on the electricity price level and variability – A quantile regression approach," Energy Economics, Elsevier, vol. 85(C).
    2. Alireza Pourdaryaei & Mohammad Mohammadi & Mazaher Karimi & Hazlie Mokhlis & Hazlee A. Illias & Seyed Hamidreza Aghay Kaboli & Shameem Ahmad, 2021. "Recent Development in Electricity Price Forecasting Based on Computational Intelligence Techniques in Deregulated Power Market," Energies, MDPI, vol. 14(19), pages 1-28, September.
    3. Marcjasz, Grzegorz & Narajewski, Michał & Weron, Rafał & Ziel, Florian, 2023. "Distributional neural networks for electricity price forecasting," Energy Economics, Elsevier, vol. 125(C).
    4. Borna Franović & Sandi Baressi Šegota & Nikola Anđelić & Zlatan Car, 2023. "Decentralized Smart Grid Stability Modeling with Machine Learning," Energies, MDPI, vol. 16(22), pages 1-18, November.
    5. Mohammad Mehdi Lotfinejad & Reza Hafezi & Majid Khanali & Seyed Sina Hosseini & Mehdi Mehrpooya & Shahaboddin Shamshirband, 2018. "A Comparative Assessment of Predicting Daily Solar Radiation Using Bat Neural Network (BNN), Generalized Regression Neural Network (GRNN), and Neuro-Fuzzy (NF) System: A Case Study," Energies, MDPI, vol. 11(5), pages 1-15, May.
    6. Joanna Janczura & Aleksandra Michalak, 2020. "Optimization of Electric Energy Sales Strategy Based on Probabilistic Forecasts," Energies, MDPI, vol. 13(5), pages 1-16, February.
    7. 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.
    8. Halužan, Marko & Verbič, Miroslav & Zorić, Jelena, 2020. "Performance of alternative electricity price forecasting methods: Findings from the Greek and Hungarian power exchanges," Applied Energy, Elsevier, vol. 277(C).
    9. 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.
    10. Ciaran O’Connor & Mohamed Bahloul & Steven Prestwich & Andrea Visentin, 2025. "A Review of Electricity Price Forecasting Models in the Day-Ahead, Intra-Day, and Balancing Markets," Energies, MDPI, vol. 18(12), pages 1-40, June.
    11. Tao Hong & Pierre Pinson & Yi Wang & Rafal Weron & Dazhi Yang & Hamidreza Zareipour, 2020. "Energy forecasting: A review and outlook," WORking papers in Management Science (WORMS) WORMS/20/08, Department of Operations Research and Business Intelligence, Wroclaw University of Science and Technology.
    12. Deo, Ravinesh C. & Wen, Xiaohu & Qi, Feng, 2016. "A wavelet-coupled support vector machine model for forecasting global incident solar radiation using limited meteorological dataset," Applied Energy, Elsevier, vol. 168(C), pages 568-593.
    Full references (including those not matched with items on IDEAS)

    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. Agakishiev, Ilyas & Härdle, Wolfgang Karl & Kopa, Milos & Kozmik, Karel & Petukhina, Alla, 2025. "Multivariate probabilistic forecasting of electricity prices with trading applications," Energy Economics, Elsevier, vol. 141(C).
    2. Marcjasz, Grzegorz & Narajewski, Michał & Weron, Rafał & Ziel, Florian, 2023. "Distributional neural networks for electricity price forecasting," Energy Economics, Elsevier, vol. 125(C).
    3. Katarzyna Maciejowska & Bartosz Uniejewski & Rafa{l} Weron, 2022. "Forecasting Electricity Prices," Papers 2204.11735, arXiv.org.
    4. Uniejewski, Bartosz & Weron, Rafał, 2021. "Regularized quantile regression averaging for probabilistic electricity price forecasting," Energy Economics, Elsevier, vol. 95(C).
    5. Weronika Nitka & Rafał Weron, 2023. "Combining predictive distributions of electricity prices. Does minimizing the CRPS lead to optimal decisions in day-ahead bidding?," Operations Research and Decisions, Wroclaw University of Science and Technology, Faculty of Management, vol. 33(3), pages 105-118.
    6. Micha{l} Narajewski & Florian Ziel, 2020. "Ensemble Forecasting for Intraday Electricity Prices: Simulating Trajectories," Papers 2005.01365, arXiv.org, revised Aug 2020.
    7. 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).
    8. Janczura, Joanna & Wójcik, Edyta, 2022. "Dynamic short-term risk management strategies for the choice of electricity market based on probabilistic forecasts of profit and risk measures. The German and the Polish market case study," Energy Economics, Elsevier, vol. 110(C).
    9. Loizidis, Stylianos & Kyprianou, Andreas & Georghiou, George E., 2024. "Electricity market price forecasting using ELM and Bootstrap analysis: A case study of the German and Finnish Day-Ahead markets," Applied Energy, Elsevier, vol. 363(C).
    10. Lu, Renzhi & Bai, Ruichang & Huang, Yuan & Li, Yuting & Jiang, Junhui & Ding, Yuemin, 2021. "Data-driven real-time price-based demand response for industrial facilities energy management," Applied Energy, Elsevier, vol. 283(C).
    11. Joanna Janczura & Andrzej Puć, 2023. "ARX-GARCH Probabilistic Price Forecasts for Diversification of Trade in Electricity Markets—Variance Stabilizing Transformation and Financial Risk-Minimizing Portfolio Allocation," Energies, MDPI, vol. 16(2), pages 1-28, January.
    12. Narajewski, Michał & Ziel, Florian, 2020. "Ensemble forecasting for intraday electricity prices: Simulating trajectories," Applied Energy, Elsevier, vol. 279(C).
    13. Serafin, Tomasz & Marcjasz, Grzegorz & Weron, Rafał, 2022. "Trading on short-term path forecasts of intraday electricity prices," Energy Economics, Elsevier, vol. 112(C).
    14. Michał Narajewski, 2022. "Probabilistic Forecasting of German Electricity Imbalance Prices," Energies, MDPI, vol. 15(14), pages 1-17, July.
    15. Billé, Anna Gloria & Gianfreda, Angelica & Del Grosso, Filippo & Ravazzolo, Francesco, 2023. "Forecasting electricity prices with expert, linear, and nonlinear models," International Journal of Forecasting, Elsevier, vol. 39(2), pages 570-586.
    16. 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.
    17. Maciej Kostrzewski & Jadwiga Kostrzewska, 2021. "The Impact of Forecasting Jumps on Forecasting Electricity Prices," Energies, MDPI, vol. 14(2), pages 1-17, January.
    18. Díaz, Guzmán & Coto, José & Gómez-Aleixandre, Javier, 2019. "Prediction and explanation of the formation of the Spanish day-ahead electricity price through machine learning regression," Applied Energy, Elsevier, vol. 239(C), pages 610-625.
    19. Nickelsen, Daniel & Müller, Gernot, 2025. "Bayesian hierarchical probabilistic forecasting of intraday electricity prices," Applied Energy, Elsevier, vol. 380(C).
    20. Katarzyna Maciejowska, 2022. "A portfolio management of a small RES utility with a Structural Vector Autoregressive model of German electricity markets," Papers 2205.00975, arXiv.org.

    More about this item

    Keywords

    ;
    ;
    ;
    ;
    ;

    Statistics

    Access and download statistics

    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:gam:jeners:v:18:y:2025:i:17:p:4744-:d:1743246. 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: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .

    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.