Predictive Analysis of Monthly Electricity Consumption Using Rule-Based and Machine Learning Models
Abstract
Accurate monthly electricity consumption (EC) forecasting is essential for power providers to allocate resources efficiently, develop reasonable sales plans, and support the creation of reliable smart grids and precise demand-side management policies. Given that factors such as climate, population, and economic conditions can significantly impact EC, it is crucial to consider a wide range of variables in medium-term EC forecasts. This paper addresses a gap in the existing literature by evaluating the performance of the M5 rule model—a relatively underutilized technique—in comparison with popular machine learning (ML) models like Random Forest (RF) and Support Vector Machine (SVM). The motivation for selecting the M5 rule regression technique stems from its effective feature selection process, which is simpler and more straightforward than the complex feature selection methods employed by other models. Using an aggregated dataset from the Czech Transmission System Operator, the study applies these three regression techniques independently to forecast monthly EC. The results demonstrate that the M5 rule regression model outperforms both SVM and RF models for monthly forecasts, achieving an impressive correlation coefficient (R²) value of 0.9063, compared to 0,8915 for SVM and 0,8598 for RF. Additionally, the M5 rule achieves the lowest Mean Absolute Error (MAE) of 16772.29, compared to 17477.57 for SVM and 21390.68 for RF, as well as the lowest Root Mean Squared Error (RMSE) of 22287.94, compared to 23114.17 for SVM and 26658.89 for RF. Furthermore, M5 rule shows superior performance in terms of relative errors, with a Relative Absolute Error (RAE) of 43.12% and a Relative Root Mean Squared Error (RRSE) of 45.74%, while RF and SVM show higher values. The M5 rule model also identifies air temperature, relative humidity, and clear sky surface irradiance as the most influential features in predicting EC. These findings offer valuable implications for power management companies, aiding in the strategic planning of power generation and supply. By accurately forecasting EC and understanding key influencing factors, companies can better avoid issues of overproduction or shortages, leading to more efficient and reliable power management.
Keywords
References
- [1] A. Cabrera, L. G. B. Ruiz, D. Criado-Ramón, C. D. Barranco, and M. C. Pegalajar, Application of fuzzy and conventional forecasting techniques to predict energy consumption in buildings, Int. J. Intell. Syst., vol. 2023, 2023, Art. no. 4391555, pp. 1–12.
- [2] M. Jawad et al., Genetic algorithm-based non-linear auto-regressive with exogenous inputs neural network short-term and medium-term uncertainty modelling and prediction for electrical load and wind speed, J. Eng., 2018, pp. 721–729.
- [3] S.-M. Jung, S. Park, S.-W. Jung, and E. Hwang, Monthly electric load forecasting using transfer learning for smart cities, Sustainability, vol. 12, no. 15, p. 6364, 2020.
- [4] S. R. Khuntia, J. L. Rueda, and M. A. van der Meijden, Forecasting the load of electrical power systems in mid- and long-term horizons: A review, IET Gener. Transm. Distrib., vol. 10, no. 15, pp. 3971–3977, 2016.
- [5] T. Gao, D. Niu, Z. Ji, and L. Sun, Mid-term electricity demand forecasting using improved variational mode decomposition and extreme learning machine optimized by sparrow search algorithm, Energy, vol. 261, p. 125328, 2022.
- [6] N. B. Behmiri, C. Fezzi, and F. Ravazzolo, Incorporating air temperature into mid-term electricity load forecasting models using time-series regressions and neural networks, Energy, vol. 278, p. 127831, 2023.
- [7] L. Di Persio and N. Fraccarolo, Energy consumption forecasts by gradient boosting regression trees, Mathematics, vol. 11, no. 4, p. 1068, 2023.
- [8] A. Mystakidis et al., Energy forecasting: A comprehensive review of techniques and technologies, Energies, vol. 17, no. 6, p. 1662, 2024.
Details
Primary Language
English
Subjects
Electrical Engineering (Other)
Journal Section
Research Article
Publication Date
March 27, 2026
Submission Date
August 14, 2025
Acceptance Date
October 30, 2025
Published in Issue
Year 2026 Volume: 14
