Skip to content
Open access

Comparative Study of Machine Learning Techniques to Forecast Electricity Demand and Supply in Iraq

Aug 2026 · Iraqi Journal for Computers and Informatics · 0 citations · 25 references

TL;DR

A machine learning-based predictor of power consumption, i.e., random forest, XGBoost, linear regression for power forecasting, is introduced and the best performance model for demand was XGBoost and the best performance model for supply was XGBoost.

Abstract

Accurate forecast of electricity demand has become essential for modern energy systems, which are Face-off escalating challenges because of industrial expansion, population growth, and the incorporation of renewable energy sources. With the development of machine learning methods, one can now efficiently forecast power consumption with the help of past data. This paper introduces a machine learning-based predictor of power consumption. We analyze various machine learning techniques, i.e., random forest, XGBoost, linear regression for power forecasting, in this work. These models were trained and tested on historical electricity consumption data from the Ministry of Electricity of Iraq, 2022 to 2025. The models' performance was evaluated using a number of metrics, such as Mean Absolute Error, Root Mean Squared Error, Mean absolute percentage error, and R-squared. the best performance model for demand was XGBoost, the model achieved on R-squared value of 0.98 and Linear regression model achieved on R-squared value of 0.98 for supply.

Read PDF

Similar papers

Open access Sep 2026

Electricity Demand Forecasting using A Supervised Machine Learning Random Forest Algorithm

The design and development of national power grids are critical to delivering a reliable electricity supply in Malaysia, where accurate load forecasting in low-voltage distribution networks is crucial in ensuring grid efficiency and stability. Traditional forecasting methods often lack of precision and adaptability req...

Abdul Halim Ikram Mohamed, Ruzlaini Ghoni, Mohd Tarmizi Ibrahim · 0 citations
Open access Aug 2026

Evaluating and Comparing the Performance of Statistical and Machine Learning Algorithms to Achieve Successful Load Forecasting in Saudi Arabia

Comparisons of six methods covering two statistical and four AI algorithms for forecasting electricity demand confirm that data richness particularly hourly granularity is a decisive factor in forecasting accuracy, and that deep learning models require substantial data volumes to outperform statistical baselines.

Kamal M. Othman · 0 citations

International Journal of Statistics, Econometrics and Data Analysis Applications

The empirical results indicate that tree-based ensemble models outperform deep learning approaches under the considered dataset conditions and suggest that ensemble machine learning techniques are more suitable for data-constrained environments, where deep learning models may suffer from overfitting.

Lamiaa Fares, Moad El Kharrim, Mohamed Dakkon · 0 citations
Open access Aug 2026

Active Power Demand Forecasting for an Electric Power System Using Machine Learning Algorithms for Medium-Term Expansion Planning

This work incorporated socioeconomic exogenous variables, such as quarterly GDP, population, and access to electricity, which improved the medium-term forecasting model and may be useful for both the operation and planning of the electric power system (EPS).

Robinson Reinoso-Acosta, Carlos Barrera-Singaña · 0 citations
Open access Aug 2026

Modeling the Interaction Between Meteorological Indicators and Electricity Production Using Machine Learning Methods: The Case of Türkiye

Accurate forecasting of electricity production has become increasingly critical for energy systems, particularly in countries where renewable energy penetration and climate variability are rapidly increasing. In this context, this study investigates the interaction between meteorological indicators and electricity prod...

Mustafa Güler · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.