ELECTRICITY CONSUMPTION PREDICTION AND INFLUENTIAL FACTORS ANALYSIS USING MACHINE LEARNING REGRESSION

Authors

DOI:

https://doi.org/10.33480/jitk.v11i4.7914

Keywords:

Electricity Consumption Prediction, Feature Engineering, Machine Learning Regression, Smart Meter Data, Time Series

Abstract

The increase in electricity demand in line with population growth and economic activity requires an accurate and reliable electricity consumption forecasting system. Short-term electricity consumption predictions are an important component in energy system planning and management, particularly to support grid stability and operational efficiency. This study aims to model electricity consumption predictions using a machine learning regression approach and analyze the factors that most influence electricity consumption based on historical data. The dataset used consists of smart meter data with a 30-minute time interval that has undergone data cleansing, data transformation, and feature engineering, including the formation of lag features and temporal features. Three regression algorithms were used, namely Linear Regression, Random Forest Regression, and Gradient Boosted Trees Regression. Model evaluation was performed using the Root Mean Square Error (RMSE), Mean Absolute Error (MAE), and Coefficient of Determination (R²) metrics. The results show that Linear Regression provides the best performance on the test data with an RMSE value of 0.156, MAE of 0.125, and R² of 0.140, and demonstrates stable generalization capabilities. The analysis of influencing factors reveals that historical consumption variables, particularly Avg_Past_Consumption and electricity consumption lag features, are dominant factors in the prediction, while environmental variables contribute relatively less. These findings provide practical implications for short-term energy demand planning by enabling more accurate load estimation and supporting data-driven decision-making through interpretable electricity consumption patterns.

Downloads

Download data is not yet available.

References

[1] T. Dev, M. Haghiri, and G. Sabau, “Impacts of Urbanization on Energy Consumption in the South Asian Association for Regional Cooperation Zone,” Sustain., vol. 16, no. 18, 2024, doi: 10.3390/su16188141.

[2] A. A. Pierre, S. A. Akim, A. K. Semenyo, and B. Babiga, “Peak Electrical Energy Consumption Prediction by ARIMA, LSTM, GRU, ARIMA-LSTM and ARIMA-GRU Approaches,” Energies, vol. 16, no. 12, 2023, doi: 10.3390/en16124739.

[3] K. Misiurek, T. Olkuski, and J. Zy´sk, “Review of Methods and Models for Forecasting Electricity Consumption,” Energies, vol. 18, no. 15, p. 4032, 2025, doi: 10.3390/en18154032.

[4] J. Yang, M. Tuo, J. Lu, and X. Li, “Analysis of Weather and Time Features in Machine Learning-aided ERCOT Load Forecasting,” 2024 IEEE Texas Power Energy Conf. TPEC 2024, 2024, doi: 10.1109/TPEC60005.2024.10472183.

[5] A. G. Koumentakos, "Electricity Consumption Timeseries Forecasting: Statistical, Machine- and Deep-Learning Methods," M.Sc. thesis, Dept. Informatics and Statistics, Athens Univ. of Economics and Business (AUEB), Athens, Greece, Nov. 2022.

[6] A. T. Mustafa and O. S. A. D. Al-Yozbaky, “Forecasting energy demand and generation using time series models: A comparative analysis of classical, grey, fuzzy, and intelligent approaches,” Franklin Open, vol. 12, no. August, p. 100350, 2025, doi: 10.1016/j.fraope.2025.100350.

[7] E. Demir and S. Gunal, “Short-term electricity consumption forecasting with deep learning,” J. Supercomput., vol. 81, no. 10, pp. 1–30, 2025, doi: 10.1007/s11227-025-07564-5.

[8] C. Ragupathi, S. Dhanasekaran, N. Vijayalakshmi, and A. O. Salau, “Prediction of electricity consumption using an innovative deep energy predictor model for enhanced accuracy and efficiency,” Energy Reports, vol. 12, no. September, pp. 5320–5337, 2024, doi: 10.1016/j.egyr.2024.11.018.

[9] C. B. Pop, V. R. Chifu, C. Cordea, E. S. Chifu, and O. Barsan, “Forecasting the Short-Term Energy Consumption Using Random Forests and Gradient Boosting,” Proc. - RoEduNet IEEE Int. Conf., vol. 2021-November, 2021, doi: 10.1109/RoEduNet54112.2021.9638276.

[10] R. Mohan and P. Nikhil, “An ensemble model for the energy consumption prediction of residential buildings,” Energy, vol. 314, p. 134255, 2025, doi: https://doi.org/10.1016/j.energy.2024.134255.

[11] Y. Chen, W. Gong, C. Obrecht, and F. Kuznik, “A review of machine learning techniques for building electrical energy consumption prediction,” Energy AI, vol. 21, no. April, p. 100518, 2025, doi: 10.1016/j.egyai.2025.100518.

[12] A. Diamah, E. Sandi, Soeprijanto, S. Kusumawardhani, and M. Wagner, “Electricity Consumption Forecasting in Indonesia: Methods and Factors,” 2023 10th Int. Conf. Inf. Technol. Comput. Electr. Eng. ICITACEE 2023, pp. 265–270, 2023, doi: 10.1109/ICITACEE58587.2023.10277486.

[13] Akhmad Faeda Insani, Ahmad Mushawir, Zainuddin, Aditya Adiaksa, and Sparisoma Viridi, “Optimization of Variable Combinations for Household Electricity Consumption Prediction Using a Multivariate Time Series Machine Learning Approach,” INOVTEK Polbeng - Seri Inform., vol. 10, no. 1, pp. 87–98, 2025, doi: 10.35314/hd6bv378.

[14] M. Hasan et al., “A state-of-the-art comparative review of load forecasting methods: Characteristics, perspectives, and applications,” Energy Convers. Manag. X, vol. 26, no. January, p. 100922, 2025, doi: 10.1016/j.ecmx.2025.100922.

[15] V. Arabzadeh and R. Frank, “A Four-Dimensional Analysis of Explainable AI in Energy Forecasting: A Domain-Specific Systematic Review,” Mach. Learn. Knowl. Extr., vol. 7, no. 4, p. 153, 2025, doi: 10.3390/make7040153.

[16] Z. Chen, F. Xiao, F. Guo, and J. Yan, “Interpretable machine learning for building energy management: A state-of-the-art review,” Adv. Appl. Energy, vol. 9, no. October 2022, p. 100123, 2023, doi: 10.1016/j.adapen.2023.100123.

[17] M. H. Saleem et al., “A comprehensive review of machine learning and deep learning models for non-intrusive load monitoring: performance, analyses, practical insights, and emerging trends,” Appl. Intell., vol. 55, no. 15, 2025, doi: 10.1007/s10489-025-06921-4.

[18] Y. S. Kim, M. K. Kim, N. Fu, J. Liu, J. Wang, and J. Srebric, “Investigating the impact of data normalization methods on predicting electricity consumption in a building using different artificial neural network models,” Sustain. Cities Soc., vol. 118, no. October 2023, p. 105570, 2025, doi: 10.1016/j.scs.2024.105570.

[19] L. Cascone, S. Sadiq, S. Ullah, S. Mirjalili, H. U. R. Siddiqui, and M. Umer, “Predicting Household Electric Power Consumption Using Multi-step Time Series with Convolutional LSTM,” Big Data Res., vol. 31, p. 100360, 2023, doi: https://doi.org/10.1016/j.bdr.2022.100360.

[20] J. F. Torres, F. Martínez-Álvarez, and A. Troncoso, “A deep LSTM network for the Spanish electricity consumption forecasting,” Neural Comput. Appl., vol. 34, no. 13, pp. 10533–10545, 2022, doi: 10.1007/s00521-021-06773-2.

[21] T. Čegovnik, A. Dobrovoljc, J. Povh, M. Rogar, and P. Tomšič, “Electricity consumption prediction using artificial intelligence,” Cent. Eur. J. Oper. Res., vol. 31, pp. 833–851, 2023, doi: https://doi.org/10.1007/s10100-023-00844-6.

[22] R. J. Hyndman and G. Athanasopoulos, "Forecasting: Principles and Practice," 3rd ed. Melbourne, Australia: OTexts, 2021. [Online]. Available: https://otexts.com/fpp3

[23] K. Misiurek, T. Olkuski, and J. Zyśk, “Review of Methods and Models for Forecasting Electricity Consumption,” Energies, vol. 18, no. 15, Art. no. 4032, 2025, doi: 10.3390/en18154032.

[24] K. Maciejowska, A. Lipiecki, and B. Uniejewski, “Statistical and economic evaluation of forecasts in electricity markets: Beyond RMSE and MAE,” arXiv preprint arXiv:2511.13616, 2025, doi: 10.48550/arXiv.2511.13616

Downloads

Published

2026-05-26

How to Cite

[1]
“ELECTRICITY CONSUMPTION PREDICTION AND INFLUENTIAL FACTORS ANALYSIS USING MACHINE LEARNING REGRESSION”, jitk, vol. 11, no. 4, pp. 1197–1211, May 2026, doi: 10.33480/jitk.v11i4.7914.

Most read articles by the same author(s)