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. 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).
    2. 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).
    3. 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. 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.
    2. 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).
    3. 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).
    4. 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.
    5. 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).
    6. Gomez, William & Wang, Fu-Kwun & Lo, Shih-Che, 2024. "A hybrid approach based machine learning models in electricity markets," Energy, Elsevier, vol. 289(C).
    7. Wei, Nan & Yin, Chuang & Yin, Lihua & Tan, Jingyi & Liu, Jinyuan & Wang, Shouxi & Qiao, Weibiao & Zeng, Fanhua, 2024. "Short-term load forecasting based on WM algorithm and transfer learning model," Applied Energy, Elsevier, vol. 353(PA).
    8. Yousaf Raza, Muhammad & Lin, Boqiang, 2023. "Development trend of Pakistan's natural gas consumption: A sectorial decomposition analysis," Energy, Elsevier, vol. 278(PA).
    9. Qin, Fuli & Tong, Mingyu & Huang, Ying & Zhang, Yubo, 2024. "Modeling, prediction and analysis of natural gas consumption in China using a novel dynamic nonlinear multivariable grey delay model," Energy, Elsevier, vol. 305(C).
    10. Zhang, Shulei & Jia, Runda & Pan, Hengxin & Cao, Yankai, 2023. "A safe reinforcement learning-based charging strategy for electric vehicles in residential microgrid," Applied Energy, Elsevier, vol. 348(C).
    11. Zhao, Geya & Xue, Minggao & Cheng, Li, 2023. "A new hybrid model for multi-step WTI futures price forecasting based on self-attention mechanism and spatial–temporal graph neural network," Resources Policy, Elsevier, vol. 85(PB).
    12. Zhou, Guangzhao & Guo, Zanquan & Sun, Simin & Jin, Qingsheng, 2023. "A CNN-BiGRU-AM neural network for AI applications in shale oil production prediction," Applied Energy, Elsevier, vol. 344(C).
    13. Hou, Hui & Ge, Xiangdi & Yan, Yulin & Lu, Yanchao & Zhang, Ji & Dong, Zhao Yang, 2024. "An integrated energy system “green-carbon” offset mechanism and optimization method with Stackelberg game," Energy, Elsevier, vol. 294(C).
    14. Wang, Jia & Wang, Xinyi & Wang, Xu, 2024. "International oil shocks and the volatility forecasting of Chinese stock market based on machine learning combination models," The North American Journal of Economics and Finance, Elsevier, vol. 70(C).
    15. Li, Xiaobin & Sengupta, Tuhin & Si Mohammed, Kamel & Jamaani, Fouad, 2023. "Forecasting the lithium mineral resources prices in China: Evidence with Facebook Prophet (Fb-P) and Artificial Neural Networks (ANN) methods," Resources Policy, Elsevier, vol. 82(C).
    16. 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).
    17. Donghuan Han & Wei Xiong & Tongwen Jiang & Shusheng Gao & Huaxun Liu & Liyou Ye & Wenqing Zhu & Weiguo An, 2023. "Investigation of the Water-Invasion Gas Efficiency in the Kela-2 Gas Field Using Multiple Experiments," Energies, MDPI, vol. 16(20), pages 1-22, October.
    18. Xu, Jiuping & Tian, Yalou & Wang, Fengjuan & Yang, Guocan & Zhao, Chuandang, 2024. "Resilience-economy-environment equilibrium based configuration interaction approach towards distributed energy system in energy intensive industry parks," Renewable and Sustainable Energy Reviews, Elsevier, vol. 191(C).
    19. Kaiyan Wang & Haodong Du & Jiao Wang & Rong Jia & Zhenyu Zong, 2023. "An Ensemble Deep Learning Model for Provincial Load Forecasting Based on Reduced Dimensional Clustering and Decomposition Strategies," Mathematics, MDPI, vol. 11(12), pages 1-20, June.
    20. Merve Kayacı Çodur, 2023. "Ensemble Machine Learning Approaches for Prediction of Türkiye’s Energy Demand," Energies, MDPI, vol. 17(1), pages 1-25, December.

    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.