A novel heat load prediction model of district heating system based on hybrid whale optimization algorithm (WOA) and CNN-LSTM with attention mechanism

IF 9 1区 工程技术 Q1 ENERGY & FUELS
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 ,&nbsp;Junda Zhu ,&nbsp;Lifu Jia ,&nbsp;Jiahui Wang ,&nbsp;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.
基于混合鲸鱼优化算法 (WOA) 和带有注意机制的 CNN-LSTM 的新型区域供热系统热负荷预测模型
机器学习模型,尤其是长短期记忆(LSTM)网络,已被广泛用于区域供热系统(DHS)的热负荷预测。然而,大多数方法过度依赖默认超参数设置,阻碍了预测精度的进一步提高。本文介绍了一种新型负荷预测模型,该模型集成了鲸鱼优化算法(WOA),以完善由注意力机制(ATT)和卷积神经网络(CNN)支持的 LSTM 模型的超参数。通过比较 WOA 与粒子群优化(PSO)和遗传算法(GA),构建了三种混合模型(WOA-CNN-ATT-LSTM、PSO-CNN-ATT-LSTM 和 GA-CNN-ATT-LSTM)。使用来自真实 DHS 的 1100-h 数据集,对所提出的混合模型与传统 LSTM 模型进行了评估。结果表明,WOA-CNN-ATT-LSTM 模型在热负荷预测精度方面超过了 PSO-CNN-ATT-LSTM 模型和 GA-CNN-ATT-LSTM 模型,分别提高了 1.9 % 和 3.2 %,并获得了最高的预测精度(R2 = 0.9962,MSE = 0.0001,MAE = 0.0082)。此外,WOA-CNN-ATT-LSTM 模型在各种时间尺度(半天、一天、三天和一周)上都表现出卓越的性能,突出了其在热负荷预测中的鲁棒性。这种新型模型可以自适应地调整其超参数,以确定最佳配置,从而显著增强了模型的整体预测能力。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
Energy
Energy 工程技术-能源与燃料
CiteScore
15.30
自引率
14.40%
发文量
0
审稿时长
14.2 weeks
期刊介绍: 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.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信