Uncertainty-Aware Energy Consumption Forecasting Using LSTM Networks with Monte Carlo Dropout

Abstract

Accurate forecasting of energy consumption is critical for effective resource management and sustainability in the energy sector. This paper presents an uncertainty-aware deep learning approach using Long Short-Term Memory (LSTM) networks with Monte Carlo Dropout to enhance prediction accuracy and quantify uncertainty. Our model is trained on hourly energy consumption data from the PJM Electricity Market (2015–2020), preprocessed via temporal feature engineering (hour-of-day, day-of-week, month), linear interpolation for missing values, and Z-score-based outlier removal. The proposed framework achieves RMSE: 5005.93, MAE: 4063.75, and MAPE: 13% on the test set, outperforming benchmark models like ARIMA (RMSE: 6500) and Exponential Smoothing (RMSE: 7200). By integrating Monte Carlo Dropout during inference, we generate probabilistic forecasts with 95% confidence intervals, enabling stakeholders to assess prediction reliability. Cross-validation results (average RMSE: 16015.68) highlight the model’s robustness to temporal variability. Our work demonstrates that LSTM networks with uncertainty quantification significantly improve energy forecasting accuracy, offering actionable insights for grid management and policy decisions.

Author Biography

Arshad Ali, Islamic University in MAdinah

Dr. Ali is Associate Professor of Information Technology and Head of Accreditation & Quality at Islamic University, Al Madinah Al Munawarah, Saudi Arabia. He holds the current post since 2018. He specializes in the area of Wireless Sensor Network. He also working with ABET as Program Evaluator (PEV). He also available for ABET Accreditation consultancy in private capacity.He was born in Punjab, Pakistan, most of his early education from local city. He finish his BSc in Mathematics and Statistics from University of Punjab, Lahore, Pakistan in 2000 and completed his Masters in Computer Sciences from Iqra University, Lahore, Pakistan. After completing his Masters, he worked as Lecturer in Private College in Pakistan. In 2005, he moved to Birmingham, UK for further studies. He joined Aston University, Birmingham, UK and obtained his MSc Telecommunication Technology in 2007. In 2007, he joined Geotechnical Group, Department of Engineering, and University of Cambridge as Research Ass. (2007- 2009). In 2009, he was awarded a PhD (2009- 2012) scholarship from the Lancaster University, UK and he awarded PhD in 2012.He worked on the UK-NEES project and designed communication system for live experimentation between UK Universities (Cambridge, Oxford and Bristol). He was also part of the project at University of Cambridge “Installing Wireless Sensors in London Underground Tunnels” and it was collaborated with Imperial College, London. He is currently working as Assistant Professor and the Head of the Quality and Accreditation (ABET, NCAAA) in Islamic University Al Madinah Al Munawarah, KSA. His research interests are in the field of Wireless Sensor Network, Target Tracking over Sensor Network, Multisensor Data Fusion and Structural Health Monitoring by using Wireless Sensor Network. Currently, I am working as Associate Professor and Head of Quality and Accreditation at Islamic University. Partly, I am teaching different Information Technology Modules and I heading the two different accreditation (ABET, NCAAA). I am managing Quality improvement efforts and establish teaching and learning strategies at my current university. I am leading assessment methodology for Quality & Accreditation process. I have expertise on development of outcomes, Performance indicators (PI's). We are working to submit Initial SSR in November 2016. This workshop will very helpful to prepare the final SSR for ABET accreditation. Since December 2014, I am working with Quality & Accreditation office and I have nearly 2 years of experience in this process to prepare Student Outcome based education. As the most of the Universities working ABET accreditation to get accredited by ABET. I am also working in this environment since December, 2014. It is very much needed to attend the workshop to understand this process deeply. It will very helpful for me to prepare final SSR next year. I also want to join the Evaluation Team for ABET accreditation in future and enhance my career further in the field of quality and accreditation. In near future it will be very important to get ABET accreditation and I want to be the part of this system now.

References

References

Makridakis, S., Spiliotis, E., & Assimakopoulos, V. (2009).Statistical and Machine Learning Forecasting Methods: Concerns and Ways Forward. PLOS ONE, 14(4), e0215054. https://doi.org/10.1371/journal.pone .0194889

Hirsch, A. R., Schill, W.-P., & Nussbaumer, P. (2013). The Role of Energy Demand Forecasting in Energy Supply Planning. Energy Economics, 36, 56–66.

Hochreiter, S., & Schmidhuber, J. (1997). Long Short-Term Memory. Neural Computation, 9(8), 1735–1780. https://doi.org/10.1162/neco.1997.9.8.1735

Gal, Y. and Ghahramani, Z., 2016, June. Dropout as a bayesian approximation: Representing model uncertainty in deep learning. In international conference on machine learning (pp. 1050-1059). PMLR.

Zhang, Y., Xue, F., & Wei, Y. (2021). Hybrid LSTM-Monte Carlo Dropout Models for Accurate Energy Forecasting. IEEE Transactions on Sustainable Energy, 12(3), 1234–1244.

Liu, Y., Liu, H., & Zhao, Z. (2020). A Hybrid Model Based on LSTM and ARIMA for Energy Consumption Prediction. Energy Reports, 6, 879– 885.

Yin, H., Zhang, J., Wang, Y., & Xu, C. (2020). Predicting Energy Consumption with LSTM and Monte Carlo Dropout. Journal of Cleaner Production, 273, 123087.

Lund, H., & Mathiesen, B. V. (2015). The Importance of Forecasting in Renewable Energy Integration. Renewable Energy Research, 22(2), 54–61.

Raza, A., & Niazi, M. (2016). Balancing Load and Stability through Forecasting. Energy Management Strategies, 18(5), 101–109.

Smith, R., Taylor, J., & Brown, P. (2017). Limitations of Traditional Models in Modern Energy Forecasting. Energy Insights, 10(1), 14–20.

Wu, F., Zhang, J., & Wang, Y. (2019). Hourly Energy Demand Forecasting Using LSTM Networks. Journal of Energy Systems, 11(4), 123–136.

Zhu, J., Wang, L., & Chen, X. (2021). Enhancing LSTM Forecasting with Feature Engineering. Applied Energy, 270, 114321

Liu, Y., Liu, H., & Zhao, Z. (2020). A Hybrid Model Based on LSTM and ARIMA for Energy Consumption Prediction. Energy Reports, 6, 879– 885.

Chen, R., Zhang, T., & Xu, M. (2022). Contextual Data Integration for Energy Demand Forecasting. Energy Science Journal, 8(2), 45–56.

Choi, S., Kim, H., & Lee, J. (2020). Uncertainty Quantification in Energy Forecasting with LSTM Networks. Renewable Energy, 152, 1084–1092.

Zhang, Y., Xue, F., & Wei, Y. (2021). Hybrid LSTM-Monte Carlo Dropout Models for Accurate Energy Forecasting. IEEE Transactions on Sustainable Energy, 12(3), 1234–1244.

Authors

  • Muhammad Azam
  • Sadia Sahar
  • Rehman Sharif
  • Turki Alghamdi
  • Arshad Ali Islamic University in MAdinah
  • Muhammad Uzair
  • Mohammad Husain

DOI:

https://doi.org/10.31449/inf.v49i23.8127

Downloads

Published

06/11/2025

How to Cite

Azam, M., Sahar, S., Sharif, R., Alghamdi, T., Ali, A., Uzair, M., & Husain, M. (2025). Uncertainty-Aware Energy Consumption Forecasting Using LSTM Networks with Monte Carlo Dropout. Informatica, 49(23). https://doi.org/10.31449/inf.v49i23.8127