IDEAS home Printed from https://ideas.repec.org/a/gam/jeners/v17y2024i5p1102-d1345730.html
   My bibliography  Save this article

ANN-LSTM-A Water Consumption Prediction Based on Attention Mechanism Enhancement

Author

Listed:
  • Xin Zhou

    (School of Mechanical Engineering, Shaanxi University of Technology, Hanzhong 723001, China)

  • Xin Meng

    (School of Mechanical Engineering, Shaanxi University of Technology, Hanzhong 723001, China)

  • Zhenyu Li

    (School of Mechanical Engineering, Shaanxi University of Technology, Hanzhong 723001, China)

Abstract

To reduce the energy consumption of domestic hot water (DHW) production, it is necessary to reasonably select a water supply plan through early predictions of DHW consumption to optimize energy consumption. However, the fluctuations and intermittence of DHW consumption bring great challenges to the prediction of water consumption. In this paper, an ANN-LSTM-A water quantity prediction model based on attention mechanism (AM) enhancement is improved. The model includes an input layer, an AM layer, a hidden layer, and an output layer. Based on the combination of artificial neural network (ANN) and long short-term memory (LSTM) models, an AM is incorporated to address the issue of the traditional ANN model having difficulty capturing the long-term dependencies, such as lags and trends in time series, to improve the accuracy of the DHW consumption prediction. Through comparative experiments, it was found that the root mean square error of the ANN-LSTM-A model was 15.4%, 13.2%, and 13.2% lower than those of the ANN, LSTM, and ANN-LSTM models, respectively. The corresponding mean absolute error was 17.9%, 11.5%, and 8% lower than those of the ANN, LSTM, and ANN-LSTM models, respectively. The results showed that the proposed ANN-LSTM-A model yielded better performances in predicting DHW consumption than the ANN, LSTM, and ANN-LSTM models. This work provides an effective reference for the reasonable selection of the water supply plan and optimization of energy consumption.

Suggested Citation

  • Xin Zhou & Xin Meng & Zhenyu Li, 2024. "ANN-LSTM-A Water Consumption Prediction Based on Attention Mechanism Enhancement," Energies, MDPI, vol. 17(5), pages 1-16, February.
  • Handle: RePEc:gam:jeners:v:17:y:2024:i:5:p:1102-:d:1345730
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/1996-1073/17/5/1102/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/1996-1073/17/5/1102/
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Yuan, Ran & Wang, Bo & Mao, Zhixin & Watada, Junzo, 2021. "Multi-objective wind power scenario forecasting based on PG-GAN," Energy, Elsevier, vol. 226(C).
    2. Lyu, Yizheng & Gao, Hanbo & Yan, Kun & Liu, Yingjie & Tian, Jinping & Chen, Lyujun & Wan, Mei, 2022. "Carbon peaking strategies for industrial parks: Model development and applications in China," Applied Energy, Elsevier, vol. 322(C).
    3. Chung, Won Hee & Gu, Yeong Hyeon & Yoo, Seong Joon, 2022. "District heater load forecasting based on machine learning and parallel CNN-LSTM attention," Energy, Elsevier, vol. 246(C).
    4. Singh, Sanjeet & Bansal, Pooja & Hosen, Mosharrof & Bansal, Sanjeev K., 2023. "Forecasting annual natural gas consumption in USA: Application of machine learning techniques- ANN and SVM," Resources Policy, Elsevier, vol. 80(C).
    5. Fazlipour, Zahra & Mashhour, Elaheh & Joorabian, Mahmood, 2022. "A deep model for short-term load forecasting applying a stacked autoencoder based on LSTM supported by a multi-stage attention mechanism," Applied Energy, Elsevier, vol. 327(C).
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Luo, Zheng & Lin, Xiaojie & Qiu, Tianyue & Li, Manjie & Zhong, Wei & Zhu, Lingkai & Liu, Shuangcui, 2024. "Investigation of hybrid adversarial-diffusion sample generation method of substations in district heating system," Energy, Elsevier, vol. 288(C).
    2. Li, Feng & Liu, Shiheng & Wang, Tianhu & Liu, Ranran, 2024. "Optimal planning for integrated electricity and heat systems using CNN-BiLSTM-Attention network forecasts," Energy, Elsevier, vol. 309(C).
    3. Zhuang, Dian & Gan, Vincent J.L. & Duygu Tekler, Zeynep & Chong, Adrian & Tian, Shuai & Shi, Xing, 2023. "Data-driven predictive control for smart HVAC system in IoT-integrated buildings with time-series forecasting and reinforcement learning," Applied Energy, Elsevier, vol. 338(C).
    4. Miguel Ángel Rodríguez López & Diego Rodríguez Rodríguez, 2024. "La aplicación de datos masivos en economía de la energía: una revisión," Working Papers 2024-08, FEDEA.
    5. Zhang, Yagang & Wang, Hui & Wang, Jingchao & Cheng, Xiaodan & Wang, Tong & Zhao, Zheng, 2024. "Ensemble optimization approach based on hybrid mode decomposition and intelligent technology for wind power prediction system," Energy, Elsevier, vol. 292(C).
    6. Zefan Dong & Yonghui Zhou, 2024. "A Novel Hybrid Model for Financial Forecasting Based on CEEMDAN-SE and ARIMA-CNN-LSTM," Mathematics, MDPI, vol. 12(16), pages 1-16, August.
    7. Cao, Mengda & Zhang, Tao & Liu, Yajie & Zhang, Yajun & Wang, Yu & Li, Kaiwen, 2022. "An ensemble learning prognostic method for capacity estimation of lithium-ion batteries based on the V-IOWGA operator," Energy, Elsevier, vol. 257(C).
    8. Lee, Sangyoon & Prabawa, Panggah & Choi, Dae-Hyun, 2025. "Joint peak power and carbon emission shaving in active distribution systems using carbon emission flow-based deep reinforcement learning," Applied Energy, Elsevier, vol. 379(C).
    9. Jianzhou Wang & Shuai Wang & Mengzheng Lv & He Jiang, 2024. "Forecasting VaR and ES by using deep quantile regression, GANs-based scenario generation, and heterogeneous market hypothesis," Financial Innovation, Springer;Southwestern University of Finance and Economics, vol. 10(1), pages 1-35, December.
    10. Peng, Shiliang & Fan, Lin & Zhang, Li & Su, Huai & He, Yuxuan & He, Qian & Wang, Xiao & Yu, Dejun & Zhang, Jinjun, 2024. "Spatio-temporal prediction of total energy consumption in multiple regions using explainable deep neural network," Energy, Elsevier, vol. 301(C).
    11. Bilgi Yilmaz & Christian Laudagé & Ralf Korn & Sascha Desmettre, 2024. "Electricity GANs: Generative Adversarial Networks for Electricity Price Scenario Generation," Commodities, MDPI, vol. 3(3), pages 1-27, July.
    12. Ling, Jihong & Zhang, Bingyang & Dai, Na & Xing, Jincheng, 2023. "Coupling input feature construction methods and machine learning algorithms for hourly secondary supply temperature prediction," Energy, Elsevier, vol. 278(C).
    13. Xingyun Yan & Lingyu Wang & Mingzhu Fang & Jie Hu, 2022. "How Can Industrial Parks Achieve Carbon Neutrality? Literature Review and Research Prospect Based on the CiteSpace Knowledge Map," Sustainability, MDPI, vol. 15(1), pages 1-29, December.
    14. Yan, Kun & Gao, Hanbo & Liu, Rui & Lyu, Yizheng & Wan, Mei & Tian, Jinping & Chen, Lyujun, 2024. "Review on low-carbon development in Chinese industrial parks driven by bioeconomy strategies," Renewable and Sustainable Energy Reviews, Elsevier, vol. 199(C).
    15. Anderson Mitterhofer Iung & Fernando Luiz Cyrino Oliveira & André Luís Marques Marcato, 2023. "A Review on Modeling Variable Renewable Energy: Complementarity and Spatial–Temporal Dependence," Energies, MDPI, vol. 16(3), pages 1-24, January.
    16. Zhang, Yunfei & Zhou, Zhihua & Liu, Junwei & Yuan, Jianjuan, 2022. "Data augmentation for improving heating load prediction of heating substation based on TimeGAN," Energy, Elsevier, vol. 260(C).
    17. Xuanning Song & Bo Wang & Pei-Chun Lin & Guangyu Ge & Ran Yuan & Junzo Watada, 2024. "Scenario-Based Distributionally Robust Unit Commitment Optimization Involving Cooperative Interaction with Robots," Information Systems Frontiers, Springer, vol. 26(1), pages 9-23, February.
    18. Huang, Guizao & Wu, Guangning & Yang, Zefeng & Chen, Xing & Wei, Wenfu, 2023. "Development of surrogate models for evaluating energy transfer quality of high-speed railway pantograph-catenary system using physics-based model and machine learning," Applied Energy, Elsevier, vol. 333(C).
    19. Wang, Chang & Zheng, Jianqin & Liang, Yongtu & Wang, Bohong & Klemeš, Jiří Jaromír & Zhu, Zhu & Liao, Qi, 2022. "Deeppipe: An intelligent monitoring framework for operating condition of multi-product pipelines," Energy, Elsevier, vol. 261(PB).
    20. Hu, Jinxing & Li, Hongru, 2022. "A transfer learning-based scenario generation method for stochastic optimal scheduling of microgrid with newly-built wind farm," Renewable Energy, Elsevier, vol. 185(C), pages 1139-1151.

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:gam:jeners:v:17:y:2024:i:5:p:1102-:d:1345730. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.