Xuyang Cui , Junda Zhu , Lifu Jia , Jiahui Wang , Yusen Wu
{"title":"A novel heat load prediction model of district heating system based on hybrid whale optimization algorithm (WOA) and CNN-LSTM with attention mechanism","authors":"Xuyang Cui , Junda Zhu , Lifu Jia , Jiahui Wang , Yusen Wu","doi":"10.1016/j.energy.2024.133536","DOIUrl":null,"url":null,"abstract":"<div><div>Machine learning models, particularly long short-term memory (LSTM) networks, have been extensively employed for heat load prediction in district heating systems (DHS). Nevertheless, the over-reliance on default hyperparameter settings in most methods hinders further enhancement of prediction accuracy. A novel load prediction model is presented, which integrates the whale optimization algorithm (WOA) to refine the hyperparameters of an LSTM model bolstered by an attention mechanism (ATT) and convolutional neural network (CNN). Three hybrid models (WOA-CNN-ATT-LSTM, PSO-CNN-ATT-LSTM and GA-CNN-ATT-LSTM) are constructed by comparing WOA with particle swarm optimization (PSO) and genetic algorithm (GA). The proposed hybrid models are evaluated against traditional LSTM models using an 1100-h dataset from a real DHS. The outcomes reveal that the WOA-CNN-ATT-LSTM model surpasses both the PSO-CNN-ATT-LSTM and GA-CNN-ATT-LSTM models in heat load prediction accuracy, achieving improvements of 1.9 % and 3.2 % respectively, and attaining the highest prediction accuracy (R<sup>2</sup> = 0.9962, MSE = 0.0001, MAE = 0.0082). Moreover, the WOA-CNN-ATT-LSTM model demonstrates superior performance across various time scales (half-day, one-day, three-days, and one-week), highlighting its robustness in heat load prediction. This novel model adaptively adjusts its hyperparameters to identify the optimal configuration, thereby significantly augmenting the overall predictive capabilities of the model.</div></div>","PeriodicalId":11647,"journal":{"name":"Energy","volume":"312 ","pages":"Article 133536"},"PeriodicalIF":9.0000,"publicationDate":"2024-10-19","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Energy","FirstCategoryId":"5","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0360544224033127","RegionNum":1,"RegionCategory":"工程技术","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"ENERGY & FUELS","Score":null,"Total":0}
引用次数: 0
Abstract
Machine learning models, particularly long short-term memory (LSTM) networks, have been extensively employed for heat load prediction in district heating systems (DHS). Nevertheless, the over-reliance on default hyperparameter settings in most methods hinders further enhancement of prediction accuracy. A novel load prediction model is presented, which integrates the whale optimization algorithm (WOA) to refine the hyperparameters of an LSTM model bolstered by an attention mechanism (ATT) and convolutional neural network (CNN). Three hybrid models (WOA-CNN-ATT-LSTM, PSO-CNN-ATT-LSTM and GA-CNN-ATT-LSTM) are constructed by comparing WOA with particle swarm optimization (PSO) and genetic algorithm (GA). The proposed hybrid models are evaluated against traditional LSTM models using an 1100-h dataset from a real DHS. The outcomes reveal that the WOA-CNN-ATT-LSTM model surpasses both the PSO-CNN-ATT-LSTM and GA-CNN-ATT-LSTM models in heat load prediction accuracy, achieving improvements of 1.9 % and 3.2 % respectively, and attaining the highest prediction accuracy (R2 = 0.9962, MSE = 0.0001, MAE = 0.0082). Moreover, the WOA-CNN-ATT-LSTM model demonstrates superior performance across various time scales (half-day, one-day, three-days, and one-week), highlighting its robustness in heat load prediction. This novel model adaptively adjusts its hyperparameters to identify the optimal configuration, thereby significantly augmenting the overall predictive capabilities of the model.
期刊介绍:
Energy is a multidisciplinary, international journal that publishes research and analysis in the field of energy engineering. Our aim is to become a leading peer-reviewed platform and a trusted source of information for energy-related topics.
The journal covers a range of areas including mechanical engineering, thermal sciences, and energy analysis. We are particularly interested in research on energy modelling, prediction, integrated energy systems, planning, and management.
Additionally, we welcome papers on energy conservation, efficiency, biomass and bioenergy, renewable energy, electricity supply and demand, energy storage, buildings, and economic and policy issues. These topics should align with our broader multidisciplinary focus.