Abstract

Modern smart grids of electricity align with the sustainable development goals of the United Nations (UN). Since electricity production and distribution are crucial in sustainable development, research in this area is highly significant. Artificial Intelligence (AI) has emerged as a powerful tool for addressing various challenges across real-life applications, including smart grids. In this regard, electricity load forecasting is indispensable for efficiently managing the demand-supply balance in electricity. This paper aims to develop and propose an intelligent machine learning framework, IntelliForecast, that integrates feature engineering with advanced machine learning models for short-term electricity load forecasting. Specifically, we propose two algorithms: Hybrid Feature Engineering (HFE) for selecting significant features and Learning-based Electricity Load Forecasting (LbELF) for efficient forecasting. Empirical results reveal that the IntelliForecast framework achieved the highest forecasting accuracy of 95.60% for hourly predictions using a Neural Network model optimized with Random Search Optimization (RSO), outperforming Multilinear Regression (MLR) and standalone Neural Network (NN) models. Additionally, the framework reduced Mean Absolute Percentage Error (MAPE) to 0.0169, showcasing its robustness in accurate and efficient forecasting. Our framework can be embedded into modern smart meters, enabling real-time forecasting and facilitating energy trading.

Keywords

Electricity Load Forecasting, Machine Learning, Neural networks, Feature Engineering, Smart Grid,

Downloads

Download data is not yet available.

References

  1. M. Jawad, M.S.A. Nadeem, S.-O. Shim, I.R. Khan, A. Shaheen, N. Habib, L. Hussain, W. Aziz, Machine Learning based Cost Effective Electricity Load Forecasting Model using Correlated Meteorological Parameters. IEEE Access, 8, (2020) 146847–146864. https://doi.org/10.1109/access.2020.3014086
  2. B. Yildiz, J.I. Bilbao, A.B. Sproul, A review and analysis of regression and machine learning models on commercial building electricity load forecasting. Renewable and Sustainable Energy Reviews, 73, (2017) 1104–1122. https://doi.org/10.1016/j.rser.2017.02.023
  3. T. Vantuch, A.G. Vidal, A.P. Ramallo-Gonzalez, A.F. Skarmeta, S. Misak, (2018) Machine learning based electric load forecasting for short and long-term period. in: 2018 IEEE 4th World Forum on Internet of Things (WF-IoT), IEEE, Singapore. https://doi.org/10.1109/WF-IoT.2018.8355123
  4. E.A. Madrid, N. Antonio, Short-Term Electricity Load Forecasting with Machine Learning. Information 12(2), (2021). https://doi.org/10.3390/info12020050
  5. D. Solyali, A Comparative Analysis of Machine Learning Approaches for Short-/Long-Term Electricity Load Forecasting in Cyprus. Sustainability, 12(9), (2020) 3612. https://doi.org/10.3390/su12093612
  6. A. Yousaf, R.M. Asif, M. Shakir, A.U. Rehman, M.S. Adrees, An Improved Residential Electricity Load Forecasting Using a Machine-Learning-Based Feature Selection Approach and a Proposed Integration Strategy. Sustainability, 13(11), (2021) 6199. https://doi.org/10.3390/su13116199
  7. N. Andriopoulos, A. Magklaras, A. Birbas, A. Papalexopoulos, C. Valouxis, S. Daskalaki, M. Birbas, E. Housos, G.P. Papaioannou, Short Term Electric Load Forecasting Based on Data Transformation and Statistical Machine Learning. Applied Sciences, 11(1), (2020) 158. https://doi.org/10.3390/app11010158
  8. N. Shirzadi, A. Nizami, M. Khazen, M. Nik-Bakht, Medium-Term Regional Electricity Load Forecasting through Machine Learning and Deep Learning. Designs, 5(2), (2021) 27. https://doi.org/10.3390/designs5020027
  9. K. Aurangzeb, (2019) Short Term Power Load Forecasting using Machine Learning Models for energy management in an innovative community. International Conference on Computing, Information Science & Technology and their Applications (ICCISTA), IEEE, Saudi Arabia. https://doi.org/10.1109/ICCISci.2019.8716475
  10. G. Hafeez, K.S. Alimgeer, I. Khan, Electric load forecasting based on deep learning and optimized by heuristic algorithm in smart grid. Applied Energy, 269, (2020) 114915. https://doi.org/10.1016/j.apenergy.2020.114915
  11. C. Wang, T. Back, H.H. Hoos, M. Baratchi, S. Limmer, M. Olhofer, (2019) Automated Machine Learning for Short-term Electric Load Forecasting. IEEE Symposium Series on Computational Intelligence (SSCI), IEEE, China. https://doi.org/10.1109/SSCI44817.2019.9002839
  12. B. Banitalebi, S.S. Appadoo, A. Thavaneswaran, M.E. Hoque, (2020) Modeling of Short-Term Electricity Demand and Comparison of Machine Learning Approaches for Load Forecasting. IEEE 44th Annual Computers, Software, and Applications Conference (COMPSAC), IEEE, Spain. https://doi.org/10.1109/COMPSAC48688.2020.00-76
  13. S. Bouktif, A. Fiaz, A. Ouni, M. Serhani, Optimal Deep Learning LSTM Model for Electric Load Forecasting using Feature Selection and Genetic Algorithm: Comparison with Machine Learning Approaches. Energies, 11(7), (2018) 1636. https://doi.org/10.3390/en11071636
  14. A. Bellahsen, H. Dagdougui, Aggregated short-term load forecasting for heterogeneous buildings using machine learning with peak estimation. Energy and Buildings, 234, (2021) 110742. https://doi.org/10.1016/j.enbuild.2021.110742
  15. Y. Lin, H. Luo, D. Wang, H. Guo, K. Zhu, An Ensemble Model Based on Machine Learning Methods and Data Preprocessing for Short-Term Electric Load Forecasting. Energies, 10(8), (2017) 1186. https://doi.org/10.3390/en10081186
  16. M.A. Zuniga-Garcia, G. Santamarìa-Bonfil, G. Arroyo-Figueroa, R. Batres, Prediction Interval Adjustment for Load-Forecasting using Machine Learning. Applied Sciences, 9(24), (2019) 5269. https://doi.org/10.3390/app9245269
  17. A.S. Khwaja, A. Anpalagan, M. Naeem, B. Venkatesh, Joint bagged-boosted artificial neural networks: Using ensemble machine learning to improve short-term electricity load forecasting. Electric Power Systems Research, 179, (2020) 106080. https://doi.org/10.1016/j.epsr.2019.106080
  18. W. Ahmad, N. Ayub, T. Ali, M. Irfan, M. Awais, M. Shiraz, A. Glowacz, Towards Short Term Electricity Load Forecasting Using Improved Support Vector Machine and Extreme Learning Machine. Energies, 13(11), (2020) 2907. https://doi.org/10.3390/en13112907
  19. C. Kuster, Y. Rezgui, M. Mourshed, Electrical load forecasting models: a critical systematic review. Sustainable Cities and Society, 35, (2017) 457–470. https://doi.org/10.1016/j.scs.2017.08.009
  20. M.K. Singla, J. Gupta, P. Nijhawan, A.S. Oberoi, Electrical Load Forecasting Using Machine Learning. International Journal of Advanced Trends in Computer Science and Engineering, 8(3), (2019) 615–619. https://doi.org/10.30534/ijatcse/2019/45832019
  21. F. Pallonetto, C. Jin, E. Mangina, Forecast electricity demand in commercial building with machine learning models to enable demand response programs. Energy and AI, 7, (2022) 100121. https://doi.org/10.1016/j.egyai.2021.100121
  22. W.-j. Niu, Z.-k. Feng, S.-s. Li, H.-j. Wu, J.-y. Wang, Short-term electricity load time series prediction by machine learning model via feature selection and parameter optimization using hybrid cooperation search algorithm. IOP Conference Series: Earth and Environmental Science, 16, (2021) 055032. https://doi.org/10.1088/1748-9326/abeeb1
  23. Ö.F. Ertugrul, Forecasting electricity load by a novel recurrent extreme learning machines approach. International Journal of Electrical Power & Energy Systems, 78, (2016) 429–435. https://doi.org/10.1016/j.ijepes.2015.12.006
  24. Y. Dong, X. Ma, T. Fu, Electrical load forecasting: A deep learning approach based on K-nearest neighbours. Applied Soft Computing, 99, (2021) 106900. https://doi.org/10.1016/j.asoc.2020.106900
  25. N. Ayub, N. Javaid, S. Mujeeb, M. Zahid, W. Z. Khan, M.U. Khattak, (2020) Electricity load forecasting in smart grids using support vector machine. In Advanced information networking and applications: Proceedings of the 33rd international conference on advanced information networking and applications (AINA-2019). Springer International Publishing. https://doi.org/10.1007/978-3-030-15032-7_1
  26. J. Hwang, D. Suh, M.-O. Otto, Forecasting Electricity Consumption in Commercial Buildings Using a Machine Learning Approach. Energies, 13(22), (2020) 5885. https://doi.org/10.3390/en13225885
  27. A.T. Eseye, M. Lehtonen, T. Tukia, S. Uimonen, R.J. Millar, Machine Learning Based Integrated Feature Selection Approach for Improved Electricity Demand Forecasting in Decentralized Energy Systems. IEEE Access, 7, (2019) 91463–91475. https://doi.org/10.1109/ACCESS.2019.2924685
  28. L. Cao, Y. Li, J. Zhang, Y. Jiang, Y. Han, J. Wei, Electrical load prediction of healthcare buildings through single and ensemble learning, Energy Reports, 6, (2020) 2751–2767. https://doi.org/10.1016/j.egyr.2020.10.005
  29. S. Bouktif, A. Fiaz, A. Ouni, M. Serhani, Multi-Sequence LSTM-RNN Deep Learning and Metaheuristics for Electric Load Forecasting. Energies, 13(2), (2020) 391. https://doi.org/10.3390/en13020391
  30. X. Luo, L.O. Oyedele, A self-adaptive deep learning model for building electricity load prediction with moving horizon. Machine Learning with Applications, 7, (2022) 100257. https://doi.org/10.1016/j.mlwa.2022.100257
  31. H. Saxena, O. Aponte, K.T. McConky, A hybrid machine learning model for forecasting a billing period’s peak electric load days. International Journal of Forecasting, 35(4), (2019) 1288–1303. https://doi.org/10.1016/j.ijforecast.2019.03.025
  32. S. Arens, K. Derendorf, F. Schuldt, K. von Maydell, C. Agert, Effect of EV Movement Schedule and Machine Learning-Based Load Forecasting on Electricity Cost of a Single Household. Energies, 11(11), (2018) 2913. https://doi.org/10.3390/en11112913
  33. Y. Chen, D. Zhang, Theory-guided deep-learning for electrical load forecasting (TgDLF) via ensemble long short-term memory. Advances in Applied Energy, 1, (2021) 100004. https://doi.org/10.1016/j.adapen.2020.100004
  34. M. Elkamel, L. Schleider, E.L. Pasiliao, A. Diabat, Q.P. Zheng, Long-Term Electricity Demand Prediction via Socioeconomic Factors—A Machine Learning Approach with Florida as a Case Study. Energies, 13(15), (2020) 3996. https://doi.org/10.3390/en13153996
  35. C. Tong, J. Li, C. Lang, F. Kong, J. Niu, J.J.P.C. Rodrigues, An efficient deep model for day-ahead electricity load forecasting with stacked denoising auto-encoders. Journal of Parallel and Distributed Computing, 117, (2018) 267-273. https://doi.org/10.1016/j.jpdc.2017.06.007
  36. Y. Shen, Y. Ma, S. Deng, C.J. Huang, P.H. Kuo, An Ensemble Model based on Deep Learning and Data Preprocessing for Short-Term Electrical Load Forecasting. Sustainability, 13(4), (2021) 1694. https://doi.org/10.3390/su13041694
  37. M.J. Gul, G.M. Urfa, A. Paul, J. Moon, S. Rho, E. Hwang, Mid-term electricity load prediction using CNN and Bi-LSTM. Journal of Supercomputing, 77, (2021) 9637–9653. https://doi.org/10.1007/s11227-021-03686-8
  38. C.-U. Yeom, K.-C. Kwak, Short-Term Electricity-Load Forecasting Using a TSK-Based Extreme Learning Machine with Knowledge Representation. Energies, 10(10), (2017) 1613. https://doi.org/10.3390/en10101613
  39. A. Das, M.K. Annaqeeb, E. Azar, V. Novakovic, M.B. Kjærgaard, Occupant-centric miscellaneous electric loads prediction in buildings using state-of-the-art deep learning methods. Applied Energy, 269, (2020) 115132. https://doi.org/10.1016/j.apenergy.2020.115132
  40. S. Ghimire, R.C. Deo, D. Casillas-Pérez, S. Salcedo-Sanz, Efficient daily electricity demand prediction with hybrid deep-learning multi-algorithm approach. Energy Conversion and Management, 297, (2023) 117765. https://doi.org/10.1016/j.enconman.2023.117707
  41. R. Mathumitha, P. Rathika, K. Manimala, Intelligent deep learning techniques for energy consumption forecasting in smart buildings: a review. Artificial Intelligence Review, 57 (2024) 35. https://doi.org/10.1007/s10462-023-10660-8
  42. R. Zabin, K.F. Haque, A. Abdelgawad, PredXGBR: A Machine Learning Framework for Short-Term Electrical Load Prediction. Algorithms, 13(22), (2024) 4521. https://doi.org/10.3390/electronics13224521
  43. G. Chen, Q. Hu, J. Wang, X. Wang, Y. Zhu, Machine-Learning-Based Electric Power Forecasting. Electronics, 15(14), (2023) 11299. https://doi.org/10.3390/su151411299
  44. M. Cordeiro-Costas, D. Villanueva, P. Eguía-Oller, M. Granada-López, Load Forecasting with Machine Learning and Deep Learning Methods. Electronics, 13(13), (2023) 7933. https://doi.org/10.3390/app13137933
  45. X. Wen, J. Liao, Q. Niu, N. Shen, Y. Bao, Deep learning-driven hybrid model for short-term load forecasting and smart grid information management. Scientific Reports, 14, (2024) 13720. https://doi.org/10.1038/s41598-024-63262-x
  46. K.K. Kumar, M. Nutakki, S. Koduru, S. Mandava, Quantum support vector machine for forecasting house energy consumption: a comparative study with deep learning models. Journal of Cloud Computing, 13, (2024) 105. https://doi.org/10.1186/s13677-024-00669-x
  47. A.R. Singh, R.S. Kumar, M. Bajaj, C.B. Khadse, I. V. Pustokhina, Machine learning-based energy management and power forecasting in grid-connected microgrids with multiple distributed energy sources. Scientific Reports, 14, (2024) 19207. https://doi.org/10.1038/s41598-024-70336-3
  48. T. Wen, Y. Liu, Feature engineering and selection for prosumer electricity consumption and production forecasting: A comprehensive frame. Applied Energy, 381(1), (2025) 125176. https://doi.org/10.1016/j.apenergy.2024.125176
  49. M. Zulfiqar, M. Kamran, M.B. Rasheed, T. Alquthami, A.H. Milyani, A hybrid framework for short term load forecasting with a navel feature engineering and adaptive grasshopper optimization in smart grid. Applied Energy, 338 (2023) 120829. https://doi.org/10.1016/j.apenergy.2023.120829
  50. G. Kapoor, N. Wichitaksorn, Electricity price forecasting in New Zealand: A comparative analysis of statistical and machine learning models with feature selection. Applied Energy, 347, (2023) 121446. https://doi.org/10.1016/j.apenergy.2023.121446
  51. Short-term electricity load forecasting dataset, Mendeley Data, V1, (2020).
  52. X. Zhao, X. Nie, Status Forecasting Based on the Baseline Information Using Logistic Regression. Forecasting, 24(10), (2022) 1481. https://doi.org/10.3390/e24101481
  53. L. Zhang, R. Wang, Z. Li, J. Li, Y. Ge, S. Yu, Time-Series Neural Network: A High-Accuracy Time-Series Forecasting Method Based on Kernel Filter and Time Attention. Electronics, 14(9), (2023) 500. https://doi.org/10.3390/info14090500
  54. B. Rabe, (2019) Revisiting Random Search for Neural Network Hyperparameter Optimization. in: Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP), Association for Computational Linguistics, Hong Kong, China, 6359–6365.