Day-Ahead Electricity Price Forecasting Using the XGBoost Algorithm: An Application to the Turkish Electricity Market

Accurate short-term electricity price forecasts are essential for market participants to optimize bidding strategies, hedge risk and plan generation schedules. By leveraging advanced data analytics and machine learning methods, accurate and reliable price forecasts can be achieved. This study forecasts day-ahead prices in Türkiye’s electricity market using eXtreme Gradient Boosting (XGBoost). We benchmark XGBoost against four alternatives—Support Vector Machines (SVM), Long Short-Term Memory (LSTM), Random Forest (RF), and Gradient Boosting (GBM)—using 8760 hourly observations from 2023 provided by Energy Exchange Istanbul (EXIST). All models were trained on an identical chronological 80/20 train–test split, with hyperparameters tuned via 5-fold cross-validation on the training set. XGBoost achieved the best performance (Mean Absolute Error (MAE) = 144.8 TRY/MWh, Root Mean Square Error (RMSE) = 201.8 TRY/MWh, coefficient of determination (R2) = 0.923) while training in 94 s. To enhance interpretability and identify key drivers, we employed Shapley Additive Explanations (SHAP), which highlighted a strong association between higher prices and increased natural-gas-based generation. The results provide a clear performance benchmark and practical guidance for selecting forecasting approaches in day-ahead electricity markets.

Authors

Publication Details

Journal
Computers, materials & continua/Computers, materials & continua (Print)
Published
2025-10-31
DOI
https://doi.org/10.32604/cmc.2025.068440
Primary Topic
Energy Load and Power Forecasting
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Day-Ahead Electricity Price Forecasting Using the XGBoost Algorithm: An Application to the Turkish Electricity Market

Yağmur Yılan, Ahad Beykent
Computers, materials & continua/Computers, materials & continua (Print)
Energy Load and Power Forecasting
article

Day-Ahead Electricity Price Forecasting Using the XGBoost Algorithm: An Application to the Turkish Electricity Market

Yağmur Yılan, Ahad Beykent
article en

Abstract

Accurate short-term electricity price forecasts are essential for market participants to optimize bidding strategies, hedge risk and plan generation schedules. By leveraging advanced data analytics and machine learning methods, accurate and reliable price forecasts can be achieved. This study forecasts day-ahead prices in Türkiye’s electricity market using eXtreme Gradient Boosting (XGBoost). We benchmark XGBoost against four alternatives—Support Vector Machines (SVM), Long Short-Term Memory (LSTM), Random Forest (RF), and Gradient Boosting (GBM)—using 8760 hourly observations from 2023 provided by Energy Exchange Istanbul (EXIST). All models were trained on an identical chronological 80/20 train–test split, with hyperparameters tuned via 5-fold cross-validation on the training set. XGBoost achieved the best performance (Mean Absolute Error (MAE) = 144.8 TRY/MWh, Root Mean Square Error (RMSE) = 201.8 TRY/MWh, coefficient of determination (R2) = 0.923) while training in 94 s. To enhance interpretability and identify key drivers, we employed Shapley Additive Explanations (SHAP), which highlighted a strong association between higher prices and increased natural-gas-based generation. The results provide a clear performance benchmark and practical guidance for selecting forecasting approaches in day-ahead electricity markets.

Computers, materials & continua/Computers, materials & continua (Print)Vol. 86(1)
Openalex Percentile: Top 68%
Energy Load and Power Forecasting
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.