A Heat Load Prediction Method for District Heating Systems Based on the AE-GWO-GRU Model
Abstract
:1. Introduction
1.1. Background
1.2. Related Works
1.3. Structure
2. Methodology
2.1. The Proposed Method
- (1)
- The data analysis and processing part mainly includes four steps: data acquisition, data cleaning, data analysis, and data processing.
- a.
- Data Acquisition: Multi-type sensors in the DHS acquire system operating parameters and outdoor meteorological factors during each cycle. These data are then uploaded and stored in the database.
- b.
- Data Cleaning: Outliers, abnormal zeros, and missing values in the original data set are processed to obtain a complete and high-quality multi-dimensional heat load time series.
- c.
- Data Analysis: The analysis includes examining the impact of system lag on prediction modeling and determining the prediction period. Additionally, the correlation between the influencing factors of heat load is investigated to determine the input features and dimensions for the prediction model.
- d.
- Data Processing: The multi-dimensional heat load time series data are augmented and then divided into training, validation, and test sets in a ratio of 6:2:2. The data are normalized to a form suitable for model training and prediction.
- (2)
- The model training and prediction component includes basic model training and model parameters optimization.
- a.
- Basic Model Training: The GRU basic prediction model is trained using the default model parameters.
- b.
- Model Parameters Optimization: The GWO algorithm optimizes the key model parameters and determines the optimal parameter combination.
- c.
- Online Prediction: The GRU model is trained and used for prediction with the optimal parameter combination.
2.2. GRU Prediction Model Based on GWO
2.2.1. Gated Recurrent Unit
2.2.2. Grey Wolf Optimization
3. Case Study
3.1. Research Object
3.2. Data Preprocessing
3.3. Hysteresis Feature Extraction
3.3.1. Partial Autocorrelation Analysis
3.3.2. Heat Load Hysteresis Feature Extraction
3.4. Analysis of Influencing Factors
3.5. AE-Based Data Augmentation Method
3.5.1. Autoencoder
3.5.2. Heat Load Time Series Data Augmentation
3.6. Evaluation Indicators
3.7. Results
3.7.1. Model Parameter Optimization
3.7.2. Heat Load Prediction Based on AE-GWO-GRU
4. Conclusions
- (1)
- The AE model augments data derived from a limited number of original samples, ensuring an adequate volume of samples for training the GRU model. This augmentation process significantly enhances the model’s prediction accuracy and stability.
- (2)
- The GWO algorithm tunes the GRU model parameters, addressing issues such as inadequate model fitting, low prediction accuracy, and prolonged parameter adjustment times associated with manual selection. Compared to BP, AE-BP, GRU, and AE-GRU models, the AE-GWO-GRU model demonstrates superior prediction accuracy.
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
References
- Henchoz, S.; Chatelan, P.; Maréchal, F.; Favrat, D. Key energy and technological aspects of three innovative concepts of district energy networks. Energy 2016, 117, 465–477. [Google Scholar] [CrossRef]
- Comprehensive Finance Department of the Ministry of Housing and Urban-Rural Development. 2022 Urban and Rural Construction Statistical Yearbook, 1st ed.; China Architecture & Building Press: Beijing, China, 2022. (In Chinese)
- China Building Energy Conservation Association. 2019 China Building Energy Consumption Research Report. Building 2020, 67, 30–39. (In Chinese) [Google Scholar]
- President Xi Voices Confirmation in Implementing Paris Agreement, Improving Global Climate Governance. Available online: https://english.www.gov.cn/news/topnews/202012/13/content_WS5fd56f5dc6d0f72576941cbb.html (accessed on 20 April 2024).
- Tan, X.; Zhu, Z.J.; Sun, G.X.; Wu, L.F. Room thermal load prediction based on analytic hierarchy process and back-propagation neural networks. Build. Simul. 2022, 15, 1989–2002. [Google Scholar] [CrossRef]
- Yang, R.; Liu, H.; Nikitas, N.; Duan, Z.; Li, Y.; Li, Y. Short-term wind speed forecasting using deep reinforcement learning with improved multiple error correction approach. Energy 2022, 239, 122128. [Google Scholar] [CrossRef]
- Vogler–Finck, P.J.C.; Bacher, P.; Madsen, H. Online short-term forecast of greenhouse heat load using a weather forecast service. Appl. Energy 2017, 205, 1298–1310. [Google Scholar] [CrossRef]
- Hua, P.M.; Wang, H.C.; Xie, Z.C.; Lahdelma, R. District heating load patterns and short-term forecasting for buildings and city level. Energy 2024, 289, 129866. [Google Scholar] [CrossRef]
- Dahl, M.; Brun, A.; Andresen, G.B. Using ensemble weather predictions in district heating operation and load forecasting. Appl. Energy 2017, 193, 455–465. [Google Scholar] [CrossRef]
- Sarwar, R.; Cho, H.; Cox, S.J.; Mago, P.J.; Luck, R. Field validation study of a time and temperature indexed autoregressive with exogenous (ARX) model for building thermal load prediction. Energy 2017, 119, 483–496. [Google Scholar] [CrossRef]
- Li, Z.; Huang, G. Re-evaluation of building cooling load prediction models for use in humid subtropical area. Energy Build. 2013, 62, 442–449. [Google Scholar] [CrossRef]
- Fang, T.T.; Lahdelma, R. Evaluation of a multiple linear regression model and SARIMA model in forecasting heat demand for district heating system. Appl. Energy 2016, 179, 544–552. [Google Scholar] [CrossRef]
- Xue, G.; Zhang, Y.; Yu, S.-a.; Song, J.; Bian, T.; Gao, Y.; Yan, W.; Guo, Y. Daily residential heat load prediction based on a hybrid model of signal processing, econometric model, and support vector regression. Therm. Sci. Eng. Prog. 2023, 43, 102005. [Google Scholar] [CrossRef]
- Zhou, Y.; Liu, Y.F.; Wang, D.J.; Liu, X.J. Comparison of machine-learning models for predicting short-term building heating load using operational parameters. Energy Build. 2021, 253, 111505. [Google Scholar] [CrossRef]
- Küçüktopcu, E. Comparative Analysis of Data-Driven Techniques to Predict Heating and Cooling Energy Requirements of Poultry Buildings. Buildings 2023, 13, 142. [Google Scholar] [CrossRef]
- Huang, S.; Zuo, W.D.; Sohn, M.D. A Bayesian Network model for predicting cooling load of commercial buildings. Build. Simul. 2018, 11, 87–101. [Google Scholar] [CrossRef]
- Li, Q.; Zhao, F. Improved BP neural network of heat load forecasting based on temperature and date type. J. Syst. Simul. 2018, 30, 1464–1472. [Google Scholar] [CrossRef]
- Xu, Y.; Li, F.; Asgari, A. Prediction and optimization of heating and cooling loads in a residential building based on multi-layer perceptron neural network and different optimization algorithms. Energy 2022, 240, 122692. [Google Scholar] [CrossRef]
- Yuan, T.L.; Jiang, D.S.; Huang, S.Y.; Hsu, Y.Y.; Yeh, H.C.; Huang, M.N.L.; Lu, C.N. Recurrent Neural Network Based Short-Term Load Forecast with Spline Bases and Real-Time Adaptation. Appl. Sci. 2021, 11, 5930. [Google Scholar] [CrossRef]
- Cui, M.S. District heating load prediction algorithm based on bidirectional long short-term memory network model. Energy 2022, 254, 124283. [Google Scholar] [CrossRef]
- Jung, S.; Moon, J.; Park, S.; Hwang, E. An Attention-Based Multilayer GRU Model for Multistep-Ahead Short-Term Load Forecasting. Sensors 2021, 21, 1639. [Google Scholar] [CrossRef]
- Xu, J.Q.; Bao, K.Q.; Cai, Z.P.; Tang, H. Heat load prediction based on GRU unit and MC error correction. In Proceedings of the 2022 4th International Conference on Electrical Engineering and Control Technologies (CEECT 2022), Shanghai, China, 16–18 December 2022; pp. 364–368. [Google Scholar]
- Mirjalili, S.; Mirjalili, S.M.; Lewis, A. Grey wolf optimizer. Adv. Eng. Softw. 2014, 69, 46–61. [Google Scholar] [CrossRef]
- Jamshidi, V.; Nekoukar, V.; Refan, M.H. Real time UAV path planning by parallel grey wolf optimization with align coefficient on CAN bus. Cluster Comput. 2021, 24, 2495–2509. [Google Scholar] [CrossRef]
- Du, M.M.; Zhao, Y.Q.; Liu, C.J.; Zhu, Z. Lifecycle cost forecast of 110 kV power transformers based on support vector regression and gray wolf optimization. Alex. Eng. J. 2021, 60, 5393–5399. [Google Scholar] [CrossRef]
- Ge, L.J.; Xian, Y.M.; Wang, Z.G.; Gao, B.; Chi, F.J.; Sun, K. Short-term Load Forecasting of Regional Distribution Network Based on Generalized Regression Neural Network Optimized by Grey Wolf Optimization Algorithm. CSEE J. Power Energy Syst. 2021, 7, 1093–1101. [Google Scholar] [CrossRef]
- Nakhwan, M.; Duangsoithong, R. Comparison Analysis of Data Augmentation using Bootstrap, GANs and Autoencoder. In Proceedings of the 2022-14th International Conference on Knowledge and Smart Technology (KST 2022), Krabi, Thailand, 28 February 2024; pp. 18–23. [Google Scholar]
- Lee, H.; Kim, C.; Jeong, D.H.; Lee, J.M. Data-driven fault detection for chemical processes using autoencoder with data augmentation. Korean J. Chem. Eng. 2021, 38, 2406–2422. [Google Scholar] [CrossRef]
- Li, L.; Zhang, Z.; Yang, L. Influence of Autoencoder-Based Data Augmentation on Deep Learning-Based Wireless Communication. IEEE Wirel. Commun. Lett. 2021, 10, 2090–2093. [Google Scholar] [CrossRef]
- Guo, Z.; Yang, C.; Wang, D.; Liu, H. A novel deep learning model integrating CNN and GRU to predict particulate matter concentrations. Process Saf. Environ. Protect. 2023, 173, 604–613. [Google Scholar] [CrossRef]
- Karaman, Ö.A. Prediction of Wind Power with Machine Learning Models. Appl. Sci. 2023, 13, 11455. [Google Scholar] [CrossRef]
- Khanarsa, P.; Sinapiromsaran, K. Automatic SARIMA Order Identification Convolutional Neural Network. Int. J. Mach. Learn. Comput 2020, 10, 685–691. [Google Scholar] [CrossRef]
- Yang, L.X.; Zhang, Z.J. A Conditional Convolutional Autoencoder-Based Method for Monitoring Wind Turbine Blade Breakages. IEEE Trans. Ind. Inform. 2021, 17, 6390–6398. [Google Scholar] [CrossRef]
Influence Factors | Correlation Coefficient | Influence Factors | Correlation Coefficient |
---|---|---|---|
Heat load at the previous moment | 0.863 | Pressure difference of the heating pipe at the previous two moments | −0.196 |
Outdoor temperature at the previous moment | −0.621 | Heat load at the previous three moments | 0.836 |
Outdoor relative humidity at the previous moment | 0.037 | Outdoor temperature at the previous three moments | −0.551 |
Pressure difference of the heating pipe at the previous moment | −0.194 | Pressure difference of the heating main pipe at the previous three moments | −0.191 |
Heat load at the previous two moments | 0.834 | Heat load at the previous four moments | 0.823 |
Outdoor temperature at the previous two moments | −0.590 | Outdoor temperature at the previous four moments | −0.517 |
Outdoor relative humidity at the previous two moments | 0.018 | Pressure difference of the heating main pipe at the previous four moments | −0.189 |
Parameter | Value Ranges | Optimal Value |
---|---|---|
Number of neurons in the first layer GRU layer | 16~256 | 121 |
Number of neurons in the second layer GRU layer | 16~256 | 156 |
Dropout rate | 0.2~0.5 | 0.2 |
Number of neurons in the hidden layer | 16~256 | 71 |
Learning rate | 1 × 10−4~1 × 10−1 | 0.007 |
Batch size | 8~128 | 24 |
Model | RMSE | MAE | MAPE | SDAPE |
---|---|---|---|---|
BP | 57.86 | 42.75 | 2.51% | 2.45% |
AE-BP | 54.83 | 41.46 | 2.45% | 2.18% |
GRU | 56.69 | 41.77 | 2.45% | 2.38% |
AE-GRU | 53.98 | 41.18 | 2.41% | 2.07% |
AE-GWO-GRU | 47.90 | 36.90 | 2.17% | 1.96% |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2024 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 (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Yang, Y.; Yan, J.; Zhou, X. A Heat Load Prediction Method for District Heating Systems Based on the AE-GWO-GRU Model. Appl. Sci. 2024, 14, 5446. https://doi.org/10.3390/app14135446
Yang Y, Yan J, Zhou X. A Heat Load Prediction Method for District Heating Systems Based on the AE-GWO-GRU Model. Applied Sciences. 2024; 14(13):5446. https://doi.org/10.3390/app14135446
Chicago/Turabian StyleYang, Yu, Junwei Yan, and Xuan Zhou. 2024. "A Heat Load Prediction Method for District Heating Systems Based on the AE-GWO-GRU Model" Applied Sciences 14, no. 13: 5446. https://doi.org/10.3390/app14135446
APA StyleYang, Y., Yan, J., & Zhou, X. (2024). A Heat Load Prediction Method for District Heating Systems Based on the AE-GWO-GRU Model. Applied Sciences, 14(13), 5446. https://doi.org/10.3390/app14135446