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
    ---><---

    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.

    We have no bibliographic references for this item. You can help adding them by using 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.