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.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.
DOI:
https://doi.org/10.31449/inf.v49i23.8127Downloads
Additional Files
Published
How to Cite
Issue
Section
License
I assign to Informatica, An International Journal of Computing and Informatics ("Journal") the copyright in the manuscript identified above and any additional material (figures, tables, illustrations, software or other information intended for publication) submitted as part of or as a supplement to the manuscript ("Paper") in all forms and media throughout the world, in all languages, for the full term of copyright, effective when and if the article is accepted for publication. This transfer includes the right to reproduce and/or to distribute the Paper to other journals or digital libraries in electronic and online forms and systems.
I understand that I retain the rights to use the pre-prints, off-prints, accepted manuscript and published journal Paper for personal use, scholarly purposes and internal institutional use.
In certain cases, I can ask for retaining the publishing rights of the Paper. The Journal can permit or deny the request for publishing rights, to which I fully agree.
I declare that the submitted Paper is original, has been written by the stated authors and has not been published elsewhere nor is currently being considered for publication by any other journal and will not be submitted for such review while under review by this Journal. The Paper contains no material that violates proprietary rights of any other person or entity. I have obtained written permission from copyright owners for any excerpts from copyrighted works that are included and have credited the sources in my article. I have informed the co-author(s) of the terms of this publishing agreement.
Copyright © Slovenian Society Informatika







