IDEAS home Printed from https://ideas.repec.org/a/gam/jforec/v7y2025i2p18-d1630761.html
   My bibliography  Save this article

Day-Ahead Energy Price Forecasting with Machine Learning: Role of Endogenous Predictors

Author

Listed:
  • Chibuike Chiedozie Ibebuchi

    (Department of Geography, Kent State University, Kent, OH 44242, USA)

Abstract

Accurate Day-Ahead Energy Price (DAEP) forecasting is essential for optimizing energy market operations. This study introduces a machine learning framework to predict the DAEP with a 24 h lead time, leveraging historical data and forecasts available at the prediction time. Hourly DAEP data from the California Independent System Operator (January 2017 to July 2023) were integrated with exogenous and engineered endogenous features. A custom rolling window cross-validation, with 24 h validation blocks sliding daily across 2372 folds, evaluates an Extreme Gradient Boosting (XGBoost) model’s performance under diverse market conditions, achieving a median mean absolute error of 6.26 USD/MWh and root mean squared error of 8.27 USD/MWh, with variability reflecting market volatility. The feature importance analysis using Shapley additive explanations highlighted the dominance of engineered endogenous features in driving the 24 h lead time forecasts under relatively stable market conditions. Forecasting the DAEP at a runtime of 10 AM on the prior day was used to assess model uncertainty. This involved training random forest, support vector regression, XGBoost, and feed forward neural network models, followed by stacking and voting ensembles. The results indicate the need for ensemble forecasting and evaluation beyond a static train–test split to ensure the practical utility of machine learning for DAEP forecasting across varied market dynamics. Finally, operationalizing the forecast model for bidding decisions by forecasting the DAEP and real-time prices at runtime is presented and discussed.

Suggested Citation

  • Chibuike Chiedozie Ibebuchi, 2025. "Day-Ahead Energy Price Forecasting with Machine Learning: Role of Endogenous Predictors," Forecasting, MDPI, vol. 7(2), pages 1-16, April.
  • Handle: RePEc:gam:jforec:v:7:y:2025:i:2:p:18-:d:1630761
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/2571-9394/7/2/18/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/2571-9394/7/2/18/
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Lutz Kilian, 2008. "The Economic Effects of Energy Price Shocks," Journal of Economic Literature, American Economic Association, vol. 46(4), pages 871-909, December.
    2. 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).
    3. Ketterer, Janina C., 2014. "The impact of wind power generation on the electricity price in Germany," Energy Economics, Elsevier, vol. 44(C), pages 270-280.
    4. 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).
    5. Huixin Liu & Xiaodong Shen & Xisheng Tang & Junyong Liu, 2023. "Day-Ahead Electricity Price Probabilistic Forecasting Based on SHAP Feature Selection and LSTNet Quantile Regression," Energies, MDPI, vol. 16(13), pages 1-17, July.
    6. Ilyes Abidi & Mariem Nsaibi, 2024. "Assessing the Impact of Renewable Energy in Mitigating Climate Change: A Comprehensive Study on Effectiveness and Adaptation Support," International Journal of Energy Economics and Policy, Econjournals, vol. 14(3), pages 442-454, May.
    7. Wadim Strielkowski & Lubomír Civín & Elena Tarkhanova & Manuela Tvaronavičienė & Yelena Petrenko, 2021. "Renewable Energy in the Sustainable Development of Electrical Power Sector: A Review," Energies, MDPI, vol. 14(24), pages 1-24, December.
    8. 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).
    9. Ferruzzi, Gabriella & Cervone, Guido & Delle Monache, Luca & Graditi, Giorgio & Jacobone, Francesca, 2016. "Optimal bidding in a Day-Ahead energy market for Micro Grid under uncertainty in renewable energy production," Energy, Elsevier, vol. 106(C), pages 194-202.
    10. Dong-Jin Bae & Bo-Sung Kwon & Kyung-Bin Song, 2021. "XGBoost-Based Day-Ahead Load Forecasting Algorithm Considering Behind-the-Meter Solar PV Generation," Energies, MDPI, vol. 15(1), pages 1-16, December.
    11. Coker, Phil J. & Bloomfield, Hannah C. & Drew, Daniel R. & Brayshaw, David J., 2020. "Interannual weather variability and the challenges for Great Britain’s electricity market design," Renewable Energy, Elsevier, vol. 150(C), pages 509-522.
    12. Cai, Mengmeng & Pipattanasomporn, Manisa & Rahman, Saifur, 2019. "Day-ahead building-level load forecasts using deep learning vs. traditional time-series techniques," Applied Energy, Elsevier, vol. 236(C), pages 1078-1088.
    13. Edna S. Solano & Carolina M. Affonso, 2023. "Solar Irradiation Forecasting Using Ensemble Voting Based on Machine Learning Algorithms," Sustainability, MDPI, vol. 15(10), pages 1-19, May.
    14. 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.
    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. Karol Pilot & Alicja Ganczarek-Gamrot & Krzysztof Kania, 2024. "Dealing with Anomalies in Day-Ahead Market Prediction Using Machine Learning Hybrid Model," Energies, MDPI, vol. 17(17), pages 1-20, September.
    2. Daniel Manfre Jaimes & Manuel Zamudio López & Hamidreza Zareipour & Mike Quashie, 2023. "A Hybrid Model for Multi-Day-Ahead Electricity Price Forecasting considering Price Spikes," Forecasting, MDPI, vol. 5(3), pages 1-23, July.
    3. 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).
    4. Hilger, Hannes & Witthaut, Dirk & Dahmen, Manuel & Rydin Gorjão, Leonardo & Trebbien, Julius & Cramer, Eike, 2024. "Multivariate scenario generation of day-ahead electricity prices using normalizing flows," Applied Energy, Elsevier, vol. 367(C).
    5. Adela Bâra & Simona-Vasilica Oprea & Bogdan George Tudorică, 2024. "From the East-European Regional Day-Ahead Markets to a Global Electricity Market," Computational Economics, Springer;Society for Computational Economics, vol. 63(6), pages 2525-2557, June.
    6. Aliyon, Kasra & Ritvanen, Jouni, 2024. "Deep learning-based electricity price forecasting: Findings on price predictability and European electricity markets," Energy, Elsevier, vol. 308(C).
    7. Deniz Kenan Kılıç & Peter Nielsen & Amila Thibbotuwawa, 2024. "Intraday Electricity Price Forecasting via LSTM and Trading Strategy for the Power Market: A Case Study of the West Denmark DK1 Grid Region," Energies, MDPI, vol. 17(12), pages 1-15, June.
    8. Huang, Siwan & Shi, Jianheng & Wang, Baoyue & An, Na & Li, Li & Hou, Xuebing & Wang, Chunsen & Zhang, Xiandong & Wang, Kai & Li, Huilin & Zhang, Sui & Zhong, Ming, 2024. "A hybrid framework for day-ahead electricity spot-price forecasting: A case study in China," Applied Energy, Elsevier, vol. 373(C).
    9. Chai, Shanglei & Li, Qiang & Abedin, Mohammad Zoynul & Lucey, Brian M., 2024. "Forecasting electricity prices from the state-of-the-art modeling technology and the price determinant perspectives," Research in International Business and Finance, Elsevier, vol. 67(PA).
    10. Belenguer, E. & Segarra-Tamarit, J. & Pérez, E. & Vidal-Albalate, R., 2025. "Short-term electricity price forecasting through demand and renewable generation prediction," Mathematics and Computers in Simulation (MATCOM), Elsevier, vol. 229(C), pages 350-361.
    11. 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).
    12. Wu, Han & Du, Pei, 2024. "Dual-stream transformer-attention fusion network for short-term carbon price prediction," Energy, Elsevier, vol. 311(C).
    13. Yao, Qiuxiang & Wang, Linyang & Ma, Mingming & Ma, Li & He, Lei & Ma, Duo & Sun, Ming, 2024. "A quantitative investigation on pyrolysis behaviors of metal ion-exchanged coal macerals by interpretable machine learning algorithms," Energy, Elsevier, vol. 300(C).
    14. Hasnain Iftikhar & Josue E. Turpo-Chaparro & Paulo Canas Rodrigues & Javier Linkolk López-Gonzales, 2023. "Forecasting Day-Ahead Electricity Prices for the Italian Electricity Market Using a New Decomposition—Combination Technique," Energies, MDPI, vol. 16(18), pages 1-23, September.
    15. Ehsani, Behdad & Pineau, Pierre-Olivier & Charlin, Laurent, 2024. "Price forecasting in the Ontario electricity market via TriConvGRU hybrid model: Univariate vs. multivariate frameworks," Applied Energy, Elsevier, vol. 359(C).
    16. Haokun Su & Xiangang Peng & Hanyu Liu & Huan Quan & Kaitong Wu & Zhiwen Chen, 2022. "Multi-Step-Ahead Electricity Price Forecasting Based on Temporal Graph Convolutional Network," Mathematics, MDPI, vol. 10(14), pages 1-16, July.
    17. Stefano Frizzo Stefenon & Laio Oriel Seman & Viviana Cocco Mariani & Leandro dos Santos Coelho, 2023. "Aggregating Prophet and Seasonal Trend Decomposition for Time Series Forecasting of Italian Electricity Spot Prices," Energies, MDPI, vol. 16(3), pages 1-18, January.
    18. Nie, Ying & Li, Ping & Wang, Jianzhou & Zhang, Lifang, 2024. "A novel multivariate electrical price bi-forecasting system based on deep learning, a multi-input multi-output structure and an operator combination mechanism," Applied Energy, Elsevier, vol. 366(C).
    19. Siti Rosilah Arsad & Muhamad Haziq Hasnul Hadi & Nayli Aliah Mohd Afandi & Pin Jern Ker & Shirley Gee Hoon Tang & Madihah Mohd Afzal & Santhi Ramanathan & Chai Phing Chen & Prajindra Sankar Krishnan &, 2023. "The Impact of COVID-19 on the Energy Sector and the Role of AI: An Analytical Review on Pre- to Post-Pandemic Perspectives," Energies, MDPI, vol. 16(18), pages 1-31, September.
    20. Mira Watermeyer & Thomas Mobius & Oliver Grothe & Felix Musgens, 2023. "A hybrid model for day-ahead electricity price forecasting: Combining fundamental and stochastic modelling," Papers 2304.09336, arXiv.org.

    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:jforec:v:7:y:2025:i:2:p:18-:d:1630761. 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.