Research Article

Stacked Ensemble Machine Learning Model of Energy Consumption Prediction

Volume: 3 Number: 2 August 31, 2025
TR EN

Stacked Ensemble Machine Learning Model of Energy Consumption Prediction

Abstract

The need for energy has significantly increased in recent decades as a result of rapid urbanization, excessive energy consumption and population growth. This leads to environmental problems such as climate change, water and air pollution. Predicting energy consumption can reduce these problems and helps energy management and efficacity. In this paper, we investigate the performance of several machine learning methods, such as linear regression, K-Nearest neighbor, support vector regressor, random forest, gradient boosting, and stacking to predict energy consumption in Tetouan city, in Morocco. To evaluate the performance of these models, evaluation metrics such as MAE, RMSE, and R2 were used. Stacking method provided outstanding performance and the best result with accuracy of 98.13%, 98.11% and 99.05% in zone 1, 2, 3, respectively.

Keywords

References

  1. P. Chujai, N. Kerdprasop, and K. Kerdprasop, “Time Series Analysis of Household Electric Consumption with ARIMA and ARMA Models,” Hong Kong, 2013.
  2. “Forecasting Electricity Consumption using ARIMA Model | IEEE Conference Publication | IEEE Xplore,” accessed May 04, 2025.
  3. E. Erdogdu, “Electricity demand analysis using cointegration and ARIMA modelling: A case study of Turkey,” Energy Policy, vol. 35, no. 2, pp. 1129–1146, Feb. 2007, doi: 10.1016/j.enpol.2006.02.013.
  4. C. Lee and C. Ko, “Short-term load forecasting using lifting scheme and ARIMA models,” Expert Syst. Appl., vol. 38, no. 5, pp. 5339–5349, May 2011, doi: 10.1016/j.eswa.2010.11.033.
  5. T. O. Benli, “A Comparison of Nineteen Various Electricity Consumption Forecasting Approaches and Practicing to Five Different Households in Turkey,” arXiv preprint arXiv:1607.05660, Jul. 2016.
  6. J. Che and H. Zhai, “WT-ARIMA Combination Modelling for Short-term Load Forecasting,” IAENG Int. J. Comput. Sci., vol. 49, no. 2, pp. 542–549, Jun. 2022.
  7. A. S. Ahmad, M. Y. Hassan, M. P. Abdullah, H. A. Rahman, F. Hussin, H. Abdullah, and R. Saidur, “A review on applications of ANN and SVM for building electrical energy consumption forecasting,” Renew. Sustain. Energy Rev., vol. 33, pp. 102–109, May 2014, doi: 10.1016/j.rser.2014.01.069.
  8. A. H. Neto and F. A. S. Fiorelli, “Comparison between detailed model simulation and artificial neural network for forecasting building energy consumption,” Energy Build., vol. 40, no. 12, pp. 2169–2176, Jan. 2008, doi: 10.1016/j.enbuild.2008.06.013.

Details

Primary Language

English

Subjects

Computer Software

Journal Section

Research Article

Publication Date

August 31, 2025

Submission Date

May 7, 2025

Acceptance Date

July 18, 2025

Published in Issue

Year 2025 Volume: 3 Number: 2

IEEE
[1]M. A. Abdillahi and T. Etem, “Stacked Ensemble Machine Learning Model of Energy Consumption Prediction”, AJEAS, vol. 3, no. 2, pp. 1–14, Aug. 2025, doi: 10.70988/ajeas.1694578.

Alpha Journal of Engineering and Applied Sciences © 2023 is licensed under the Creative Commons Attribution 4.0 International License (CC BY)