Electrical Energy Prediction in Residential Buildings for Short-Term Horizons Using Hybrid Deep Learning Strategy
Abstract
:1. Introduction
- The electricity consumption data are gathered from smart meter sensors, which include missing values, redundant values, outlier values, etc., due to several reasons, such as faults in meter sensors, variable weather conditions, abnormal customer consumption patterns, etc., which need to be refined before training the model. Therefore, in this work, the input raw datasets are refined before training to fill the missing values and remove the outlier values from the dataset. Similarly, the electricity consumption patterns are of very diverse nature where the neural networks are sensitive to it, so a data normalization technique is applied to bring the dataset into a standard range.
- The mainstream methods use solo models for electricity consumption prediction, which are unable to precisely extract spatiotemporal patterns and have high error rates. Therefore, in this study, we proposed a hybrid model with a combination of CNN and MB-GRU that helps to improve the accuracy of electricity consumption prediction.
- The performance of the model was evaluated using the root mean square error (RMSE), mean square error (MSE), and mean absolute error (MAE). The experimental results show that the proposed model extensively decreases the error rate when compared to baseline models.
2. Proposed Framework
2.1. Data Preprocessing
2.2. Proposed CNN and MBGRU Architecture
3. Results and Discussion
3.1. Datasets
3.2. Metrics of Evaluation
3.3. Experimentations over IHEPC, AEP Dataset and Comparison with other Models
4. Conclusions
Author Contributions
Funding
Conflicts of Interest
References
- Mocanu, E.; Nguyen, P.H.; Gibescu, M.; Kling, W.W. Deep Learning for Estimating Building Energy Consumption. Sustain. Energy Grids Netw. 2016, 6, 91–99. [Google Scholar] [CrossRef]
- Guo, Z.; Zhou, K.; Zhang, C.; Lu, X.; Chen, W.; Yang, S. Residential Electricity Consumption Behavior: Influencing Factors, Related Theories and Intervention Strategies. Renew. Sustain. Energy Rev. 2018, 81, 399–412. [Google Scholar] [CrossRef]
- IEA. International Energy Outlook; IEA: Paris, France, 2014; Volume 18. [Google Scholar]
- Nejat, P.; Jomehzadeh, F.; Taheri, M.M.; Gohari, M.; Majid, M.Z.A. A Global Review of Energy Consumption, CO 2 Emissions and Policy in the Residential Sector (with an Overview of the Top Ten CO 2 Emitting Countries). Renew. Sustain. Energy Rev. 2015, 43, 843–862. [Google Scholar] [CrossRef]
- Amarasinghe, K.; Wijayasekara, D.; Carey, H.; Manic, M.; He, D.; Chen, W.-P. Artificial Neural Networks Based Thermal Energy Storage Control for Buildings. In Proceedings of the 41st Annual Conference of the IEEE Industrial Electronics Society, Jokohama, Japan, 9–12 November 2015; pp. 005421–005426. [Google Scholar]
- Yang, A.; Li, W.; Yang, X. Short-Term Electricity Load Forecasting Based on Feature Selection and Least Squares Support Vector Machines. Knowl. Based Syst. 2019, 163, 159–173. [Google Scholar] [CrossRef]
- Koprinska, I.; Rana, M.; Agelidis, V.G. Correlation and Instance Based Feature Selection for Electricity Load Forecasting. Knowl. Based Syst. 2015, 82, 29–40. [Google Scholar] [CrossRef]
- Khwaja, A.S.; Anpalagan, A.; Naeem, M.; Venkatesh, B. Joint Bagged-Boosted Artificial Neural Networks: Using Ensemble Machine Learning to Improve Short-Term Electricity Load Forecasting. Electr. Power Syst. Res. 2020, 179, 106080. [Google Scholar] [CrossRef]
- Heydari, A.; Nezhad, M.M.; Pirshayan, E.; Garcia, D.A.; Keynia, F.; De Santoli, L. Short-Term Electricity Price and Load Forecasting in Isolated Power Grids Based on Composite Neural Network and Gravitational Search Optimization Algorithm. Appl. Energy 2020, 277, 115503. [Google Scholar] [CrossRef]
- Zhang, C.; Li, J.; Zhao, Y.; Li, T.; Chen, Q.; Zhang, X. A Hybrid Deep Learning-Based Method for Short-Term Building Energy Load Prediction Combined with an Interpretation Process. Energy Build. 2020, 225, 110301. [Google Scholar] [CrossRef]
- Naspi, F.; Arnesano, M.; Zampetti, L.; Stazi, F.; Revel, G.M.; D’Orazio, M. Experimental Study on occupants’ Interaction with Windows and Lights in Mediterranean Offices during the Non-Heating Season. Build. Environ. 2018, 127, 221–238. [Google Scholar] [CrossRef]
- Stazi, F. Thermal Inertia in Energy Efficient Building Envelopes; Elsevier: Amsterdam, The Netherlands, 2017. [Google Scholar]
- Rupp, R.F.; Ghisi, E. Assessing Window Area and Potential for Electricity Savings by Using Daylighting and Hybrid Ventilation in Office Buildings in Southern Brazil. Simulation 2017, 93, 935–949. [Google Scholar] [CrossRef]
- Pereira, P.F.; Ramos, N.M.M. Influence of Occupant Behaviour on the State of Charge of a Storage Battery in a Nearly-Zero Energy Building. In E3S Web of Conferences; EDP Sciences: Paris, France, 2020; Volume 172, p. 16010. [Google Scholar]
- Bot, K.; Ramos, N.M.; Almeida, R.M.; Pereira, P.F.; Monteiro, C. Energy Performance of Buildings With on-site Energy Generation and Storage—An Integrated Assessment Using Dynamic Simulation. J. Build. Eng. 2019, 24, 100769. [Google Scholar] [CrossRef]
- Han, T.; Muhammad, K.; Hussain, T.; Lloret, J.; Baik, S.W. An Efficient Deep Learning Framework for Intelligent Energy Management in IoT Networks. IEEE Internet Things J. 2020, 99, 1. [Google Scholar] [CrossRef]
- Khan, Z.A.; Hussain, T.; Ullah, A.; Rho, S.; Lee, M.; Baik, S.W. Towards Efficient Electricity Forecasting in Residential and Commercial Buildings: A Novel Hybrid CNN with a LSTM-AE Based Framework. Sensors 2020, 20, 1399. [Google Scholar] [CrossRef] [Green Version]
- Wei, L.; Zhen-Gang, Z. Based on Time Sequence of ARIMA Model in the Application of Short-Term Electricity Load Forecasting. In Proceedings of the International Conference on Research Challenges in Computer Science, Shanghai, China, 28–29 December 2009; pp. 11–14. [Google Scholar]
- Hong, T.; Gui, M.; Baran, M.E.; Willis, H.L. Modeling and Forecasting Hourly Electric Load by Multiple Linear Regression with Interactions. In Proceedings of the IEEE PES General Meeting, Minneapolis, MN, USA, 25–29 July 2010; pp. 1–8. [Google Scholar]
- Al-Hamadi, H.; Soliman, S. Fuzzy Short-Term Electric Load Forecasting Using Kalman Filter. IEE Proc. Gener. Transm. Distrib. 2006, 153, 217–227. [Google Scholar] [CrossRef]
- Ullah, A.; Haydarov, K.; Haq, I.U.; Muhammad, S.; Rho, S.; Lee, M.Y.; Baik, S.W. Deep Learning Assisted Buildings Energy Consumption Profiling Using Smart Meter Data. Sensors 2020, 20, 873. [Google Scholar] [CrossRef] [Green Version]
- Lu, Y.; Tian, Z.; Peng, P.; Niu, J.; Li, W.; Zhang, H. GMM Clustering for Heating Load Patterns in-depth Identification and Prediction Model Accuracy Improvement of District Heating System. Energy Build. 2019, 190, 49–60. [Google Scholar] [CrossRef]
- Lahouar, A.; Slama, J.B.H. Day-Ahead Load Forecast Using Random Forest and Expert Input Selection. Energy Convers. Manag. 2015, 103, 1040–1051. [Google Scholar] [CrossRef]
- Chen, Y.; Luh, P.B.; Guan, C.; Zhao, Y.; Michel, L.D.; Coolbeth, M.A.; Friedland, S.; Rourke, S.J. Short-Term Load Forecasting: Similar Day-Based Wavelet Neural networks. IEEE Trans. Power Syst. 2009, 25, 322–330. [Google Scholar] [CrossRef]
- Wang, Y.; Xia, Q.; Kang, C. Secondary Forecasting Based on Deviation Analysis for Short-Term Load Forecasting. IEEE Trans. Power Syst. 2011, 26, 500–507. [Google Scholar] [CrossRef]
- Tsekouras, G.; Hatziargyriou, N.; Dialynas, E. An Optimized Adaptive Neural Network for Annual Midterm Energy Forecasting. IEEE Trans. Power Syst. 2006, 21, 385–391. [Google Scholar] [CrossRef]
- Li, S.; Wang, P.; Goel, L. A Novel Wavelet-Based Ensemble Method for Short-Term Load Forecasting With Hybrid Neural Networks and Feature Selection. IEEE Trans. Power Syst. 2015, 31, 1788–1798. [Google Scholar] [CrossRef]
- Amarasinghe, K.; Marino, D.L.; Manic, M. Deep Neural Networks for Energy Load Forecasting. In Proceedings of the 26th International Symposium on Industrial Electronics (ISIE), Edinburgh, UK, 19–21 June 2017; pp. 1483–1488. [Google Scholar]
- Khan, S.; Javaid, N.; Chand, A.; Khan, A.B.M.; Rashid, F.; Afridi, I.U. Electricity Load Forecasting for Each Day of Week Using Deep CNN. In Advances in Intelligent Systems and Computing; Springer: Berlin/Heidelberg, Germany, 2019; pp. 1107–1119. [Google Scholar]
- Tokgoz, A.; Unal, G. A RNN Based Time Series Approach for Forecasting Turkish Electricity Load. In Proceedings of the 26th Signal Processing and Communications Applications Conference (SIU), Izmir, Turkey, 2–5 May 2018; pp. 1–4. [Google Scholar]
- Wang, J.Q.; Du, Y.; Wang, J. LSTM Based Long-Term Energy Consumption Prediction with Periodicity. Energy 2020, 197, 117197. [Google Scholar] [CrossRef]
- Rahman, A.; Srikumar, V.; Smith, A.D. Predicting Electricity Consumption for Commercial and Residential Buildings Using Deep Recurrent Neural Networks. Appl. Energy 2018, 212, 372–385. [Google Scholar] [CrossRef]
- Kim, T.-Y.; Cho, S.-B. Predicting Residential Energy Consumption Using CNN-LSTM Neural Networks. Energy 2019, 182, 72–81. [Google Scholar] [CrossRef]
- Ullah, F.U.M.; Ullah, A.; Haq, I.U.; Rho, S.; Baik, S.W. Short-Term Prediction of Residential Power Energy Consumption via CNN and Multi-Layer Bi-Directional LSTM Networks. IEEE Access 2020, 8, 123369–123380. [Google Scholar] [CrossRef]
- Sajjad, M.; Khan, Z.A.; Ullah, A.; Hussain, T.; Ullah, W.; Lee, M.Y.; Baik, S.W. A Novel CNN-GRU-Based Hybrid Approach for Short-Term Residential Load Forecasting. IEEE Access 2020, 8, 143759–143768. [Google Scholar] [CrossRef]
- Afrasiabi, M.; Mohammadi, M.; Rastegar, M.; Stankovic, L.; Afrasiabi, S.; Khazaei, M. Deep-Based Conditional Probability Density Function Forecasting of Residential Loads. IEEE Trans. Smart Grid 2020, 11, 3646–3657. [Google Scholar] [CrossRef] [Green Version]
- Bunn, D. Forecasting Loads and Prices in Competitive Power Markets. Proc. IEEE 2000, 88, 163–169. [Google Scholar] [CrossRef]
- Hobbs, B.F.; Jitprapaikulsarn, S.; Konda, S.; Chankong, V.; Loparo, K.A.; Maratukulam, D.J. Analysis of the Value for Unit Commitment of Improved Load Forecasts. IEEE Trans. Power Syst. 1999, 14, 1342–1348. [Google Scholar] [CrossRef]
- Chandola, V.; Banerjee, A.; Kumar, V. Anomaly Detection: A survey. ACM Comput. Surv. 2009, 41, 1–58. [Google Scholar] [CrossRef]
- Sajjad, M.; Zahir, S.; Ullah, A.; Akhtar, Z.; Muhammad, K. Human Behavior Understanding in Big Multimedia Data Using CNN Based Facial Expression Recognition. Mob. Netw. Appl. 2019, 25, 1611–1621. [Google Scholar] [CrossRef]
- Haq, I.U.; Ullah, A.; Muhammad, K.; Lee, M.Y.; Baik, S.W. Personalized Movie Summarization Using Deep CNN-Assisted Facial Expression Recognition. Complexity 2019, 2019, 1–10. [Google Scholar] [CrossRef] [Green Version]
- Young, T.; Hazarika, D.; Poria, S.; Cambria, E. Recent Trends in Deep Learning Based Natural Language Processing [Review Article]. IEEE Comput. Intell. Mag. 2018, 13, 55–75. [Google Scholar] [CrossRef]
- Mustaqeem; Kwon, S. MLT-DNet: Speech Emotion Recognition Using 1D Dilated CNN Based on Multi-Learning Trick Approach. Expert Syst. Appl. 2020, 114177. [Google Scholar] [CrossRef]
- Chen, K.; Chen, K.; Wang, Q.; He, Z.; Hu, J.; He, J. Short-Term Load Forecasting with Deep Residual Networks. IEEE Trans. Smart Grid 2018, 10, 3943–3952. [Google Scholar] [CrossRef] [Green Version]
- Wang, H.; Yi, H.; Peng, J.; Wang, G.; Liu, Y.; Jiang, H.; Liu, W. Deterministic and Probabilistic Forecasting of Photovoltaic Power Based on Deep Convolutional Neural Network. Energy Convers. Manag. 2017, 153, 409–422. [Google Scholar] [CrossRef]
- Khan, N.; Ullah, A.; Haq, I.U.; Menon, V.G.; Baik, S.W. SD-Net: Understanding Overcrowded Scenes in Real-Time via an Efficient Dilated Convolutional Neural Network. J. Real Time Image Process. 2020, 1–15. [Google Scholar] [CrossRef]
- Jozefowicz, R.; Zaremba, W.; Sutskever, I. An Empirical Exploration of Recurrent Network architectures. In Proceedings of the International Conference on Machine Learning, Lille, France, 6–11 July 2015; pp. 2342–2350. [Google Scholar]
- Yin, W.; Kann, K.; Yu, M.; Schütze, H.J.A.P.A. Comparative Study of cnn and rnn for Natural Language processing. arXiv 2017, arXiv:1702:01923. [Google Scholar]
- Liu, Y.; Gong, C.; Yang, L.; Chen, Y. DSTP-RNN: A Dual-Stage Two-Phase Attention-Based Recurrent Neural Network for Long-Term and Multivariate Time Series Prediction. Expert Syst. Appl. 2020, 143, 113082. [Google Scholar] [CrossRef]
- Guo, J.; Tiwari, G.; Droppo, J.; Van Segbroeck, M.; Huang, C.-W.; Stolcke, A.; Maas, R. Efficient Minimum Word Error Rate Training of RNN-Transducer for End-to-End Speech Recognition. Interspeech 2020. [Google Scholar] [CrossRef]
- Ullah, A.; Muhammad, K.; Hussain, T.; Baik, S.W. Conflux LSTMs Network: A Novel Approach for Multi-View Action Recognition. Neurocomputing 2020. [Google Scholar]
- Ullah, A.; Muhammad, K.; Hussain, T.; Lee, M.; Baik, S.W. Deep LSTM-Based Sequence Learning Approaches for Action and Activity Recognition. In Deep Learning in Computer Vision; Informa UK Limited: Colchester, UK, 2020; pp. 127–150. [Google Scholar]
- Ullah, W.; Ullah, A.; Haq, I.U.; Muhammad, K.; Sajjad, M.; Baik, S.W. CNN Features with Bi-Directional LSTM for Real-Time Anomaly Detection in Surveillance Networks. Multimed. Tools Appl. 2020, 1–17. [Google Scholar] [CrossRef]
- Chung, J.; Gulcehre, C.; Cho, K.; Bengio, Y. Empirical evaluation of gated recurrent neural networks on sequence modeling. arXiv 2014, arXiv:1412:3555. [Google Scholar]
- Schuster, M.; Paliwal, K. Bidirectional Recurrent Neural Networks. IEEE Trans. Signal Process. 1997, 45, 2673–2681. [Google Scholar] [CrossRef] [Green Version]
- Hussain, T.; Muhammad, K.; Ullah, A.; Cao, Z.; Baik, S.W.; De Albuquerque, V.H.C. Cloud-Assisted Multi-View Video Summarization Using CNN and Bi-Directional LSTM. IEEE Trans. Ind. Inform. 2019. [Google Scholar] [CrossRef]
- Tang, X.-L.; Dai, Y.; Wang, T.; Chen, Y. Short-Term Power Load Forecasting Based on Multi-Layer Bidirectional Recurrent Neural Network. IET Gener. Transm. Distrib. 2019, 13, 3847–3854. [Google Scholar] [CrossRef]
- Repository Appliances Energy Prediction Data Set. Available online: https://archive.ics.uci.edu/ml/Datasets/Appliances+energy+prediction (accessed on 15 October 2020).
- UCI. Individual Household Electric Power Consumption Data Set. Available online: https://archive.ics.uci.edu/ml/datasets/Individual+household+electric+power+consumption (accessed on 15 October 2020).
- Rajabi, R.; Estebsari, A. Deep Learning Based Forecasting of Individual Residential Loads Using Recurrence Plots. In IEEE Milan PowerTech; IEEE: New York, NY, USA, 2019; pp. 1–5. [Google Scholar]
- Kim, J.-Y.; Cho, S.-B. Electric Energy Consumption Prediction by Deep Learning with State Explainable Autoencoder. Energies 2019, 12, 739. [Google Scholar] [CrossRef] [Green Version]
- Zhang, T.; Liao, L.; Lai, H.; Liu, J.; Zou, F.; Cai, Q. Electrical Energy Prediction with Regression-Oriented Models. In Advances in Intelligent Systems and Computing; Springer: Berlin/Heidelberg, Germany, 2018; pp. 146–154. [Google Scholar]
- Bandic, L.; Kevric, J. Near Zero-Energy Home Prediction of Appliances Energy Consumption Using the Reduced Set of Features and Random Decision Tree Algorithms. In Advances on P2P, Parallel, Grid, Cloud and Internet Computing; Springer: Berlin/Heidelberg, Germany, 2018; pp. 164–171. [Google Scholar]
- MunkhDalai, L.; MunkhDalai, T.; Park, K.H.; Amarbayasgalan, T.; Erdenebaatar, E.; Park, H.W.; Ryu, K.H. An End-to-End Adaptive Input Selection with Dynamic Weights for Forecasting Multivariate Time Series. IEEE Access 2019, 7, 99099–99114. [Google Scholar] [CrossRef]
S.no | Data Features | Units |
---|---|---|
1 | Appliances: total energy consumption by appliances. | Wh |
2 | Light: total energy consumption by lights. | Wh |
3 | T1: demonstrate the temperature of kitchen. | C |
4 | RH1: demonstrate the humidity in kitchen. | % |
5 | T2: demonstrate the temperature of living room. | C |
6 | RH2: demonstrate the humidity of living room. | % |
7 | T3: demonstrate the temperature of laundry room. | C |
8 | RH3: demonstrate the humidity of laundry room. | % |
9 | T4: demonstrate the temperature of office room. | C |
10 | RH4: demonstrate the humidity of office room. | % |
11 | T5: demonstrate the temperature of bathroom. | C |
12 | RH5: demonstrate the humidity of bathroom. | % |
13 | RH6: demonstrate the outside temperature of building. | C |
14 | RH6: demonstrate the outside humidity of building. | % |
15 | T7: demonstrate the temperature of ironing room. | C |
16 | RH7: demonstrate the humidity in ironing room. | % |
17 | T8: demonstrate the temperature of teenager room. | C |
18 | RH8: demonstrate the humidity of teenager room. | % |
19 | T9: demonstrate the temperature of parent room. | C |
20 | RH9: demonstrate the humidity of parent room. | % |
21 | To: demonstrate the outside temperature which are collected from Chievres Weather Station (CWS). | C |
22 | Pressure: outside pressure which are collected from CWS. | Mm Hg |
23 | Rho: demonstrate the outside humidity from CWS. | % |
24 | Wind speed: outside wind speed which are collected from CWS. | m/s |
25 | Visibility: outside visibility from CWS. | Km |
26 | Tdewpoint: outside Tdewpoint from CWS. | C |
S.no | Data Features | Units |
---|---|---|
1 | Date | dd/mm/yyyy |
2 | Time | hh: mm: ss |
3 | GAP | Kw |
4 | GRP | Kw |
5 | Voltage | V |
6 | Global intensity | Amp |
7 | Submeetring-1 | W |
8 | Submeetring-2 | W |
9 | Submeetring-3 | W |
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations. |
© 2020 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).
Share and Cite
Khan, Z.A.; Ullah, A.; Ullah, W.; Rho, S.; Lee, M.; Baik, S.W. Electrical Energy Prediction in Residential Buildings for Short-Term Horizons Using Hybrid Deep Learning Strategy. Appl. Sci. 2020, 10, 8634. https://doi.org/10.3390/app10238634
Khan ZA, Ullah A, Ullah W, Rho S, Lee M, Baik SW. Electrical Energy Prediction in Residential Buildings for Short-Term Horizons Using Hybrid Deep Learning Strategy. Applied Sciences. 2020; 10(23):8634. https://doi.org/10.3390/app10238634
Chicago/Turabian StyleKhan, Zulfiqar Ahmad, Amin Ullah, Waseem Ullah, Seungmin Rho, Miyoung Lee, and Sung Wook Baik. 2020. "Electrical Energy Prediction in Residential Buildings for Short-Term Horizons Using Hybrid Deep Learning Strategy" Applied Sciences 10, no. 23: 8634. https://doi.org/10.3390/app10238634
APA StyleKhan, Z. A., Ullah, A., Ullah, W., Rho, S., Lee, M., & Baik, S. W. (2020). Electrical Energy Prediction in Residential Buildings for Short-Term Horizons Using Hybrid Deep Learning Strategy. Applied Sciences, 10(23), 8634. https://doi.org/10.3390/app10238634