IDEAS home Printed from https://ideas.repec.org/a/gam/jmathe/v13y2025i13p2098-d1688063.html
   My bibliography  Save this article

ARIMA-Based Forecasting of Wastewater Flow Across Short to Long Time Horizons

Author

Listed:
  • Jiawen Ye

    (School of Science, China University of Geosciences (Beijing), Beijing 100083, China)

  • Xulai Meng

    (School of Science, China University of Geosciences (Beijing), Beijing 100083, China)

  • Haiying Wang

    (School of Science, China University of Geosciences (Beijing), Beijing 100083, China)

  • Qingdao Zhou

    (School of Science, China University of Geosciences (Beijing), Beijing 100083, China)

  • Siwei An

    (School of Science, China University of Geosciences (Beijing), Beijing 100083, China)

  • Tong An

    (School of Science, China University of Geosciences (Beijing), Beijing 100083, China)

  • Pooria Ghorbani Bam

    (Department of Civil & Environmental Engineering, University of California, Irvine, CA 92697-2175, USA)

  • Diego Rosso

    (Department of Civil & Environmental Engineering, University of California, Irvine, CA 92697-2175, USA
    Water-Energy Nexus Center, University of California, Irvine, CA 92697-2175, USA)

Abstract

Improving urban wastewater treatment efficiency and quality is urgent for most cities. The accurate wastewater flowrate forecast of a wastewater treatment plant (WWTP) is crucial for cutting energy use and reducing pollution. In this study, two hybrid models are proposed: ARIMA–Markov and ARIMA–LSTM–Transformer. Using 5 min-interval inlet flowrate data from a WWTP in 2024, the two models were verified and compared. Forecasts for 1 day, 7 days, and 2 months ahead were made, and model accuracies were compared. Ten repetitions with the same dataset assess stability, and ARIMA–LSTM–Transformer, with better performance, were selected. Then, the Whale Optimization Algorithm (WOA), Particle Swarm Optimization (PSO) algorithm, and Sparrow Search Algorithm (SSA) were used for optimization, with the WOA excelling in accuracy and stability. Experimental results show that compared to the single model Transformer, WOA–ARIMA–LSTM–Transformer did better in forecasting wastewater flowrate. The combined model enables efficient and accurate wastewater flowrate forecasting, highlighting the combined model’s application potential.

Suggested Citation

  • Jiawen Ye & Xulai Meng & Haiying Wang & Qingdao Zhou & Siwei An & Tong An & Pooria Ghorbani Bam & Diego Rosso, 2025. "ARIMA-Based Forecasting of Wastewater Flow Across Short to Long Time Horizons," Mathematics, MDPI, vol. 13(13), pages 1-24, June.
  • Handle: RePEc:gam:jmathe:v:13:y:2025:i:13:p:2098-:d:1688063
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/2227-7390/13/13/2098/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/2227-7390/13/13/2098/
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Cui, Xuyang & Zhu, Junda & Jia, Lifu & Wang, Jiahui & Wu, Yusen, 2024. "A novel heat load prediction model of district heating system based on hybrid whale optimization algorithm (WOA) and CNN-LSTM with attention mechanism," Energy, Elsevier, vol. 312(C).
    2. Xu Chen & Kai Zhang & Zhenning Ji & Xiaoli Shen & Piyang Liu & Liming Zhang & Jian Wang & Jun Yao, 2023. "Progress and Challenges of Integrated Machine Learning and Traditional Numerical Algorithms: Taking Reservoir Numerical Simulation as an Example," Mathematics, MDPI, vol. 11(21), pages 1-44, October.
    3. Jiachen Wang & Zuojing Zhang & Shihong Yue, 2025. "A Validity Index for Clustering Evaluation by Grid Structures," Mathematics, MDPI, vol. 13(6), pages 1-13, March.
    4. Ji-Hee Yu & Yoon-Ju Choi & Seung-Hwan Seo & Seong-Gyun Choi & Hye-Yoon Jeong & Ja-Eun Kim & Myung-Sun Baek & Young-Hwan You & Hyoung-Kyu Song, 2025. "Improved Connected-Mode Discontinuous Reception (C-DRX) Power Saving and Delay Reduction Using Ensemble-Based Traffic Prediction," Mathematics, MDPI, vol. 13(6), pages 1-18, March.
    5. Zizhen Yang & Wei Li & Fang Yuan & Haifeng Zhi & Min Guo & Bo Xin & Zhilong Gao, 2025. "Hybrid CNN-BiLSTM-MHSA Model for Accurate Fault Diagnosis of Rotor Motor Bearings," Mathematics, MDPI, vol. 13(3), pages 1-28, January.
    6. Salam Rabindrajit Luwang & Anish Rai & Md. Nurujjaman & Om Prakash & Chittaranjan Hens, 2024. "High-Frequency Stock Market Order Transitions during the US-China Trade War 2018: A Discrete-Time Markov Chain Analysis," Papers 2405.05634, arXiv.org.
    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. Fernando Almeida & Mauro Castelli & Nadine Corte-Real & Luca Manzoni, 2025. "Optimizing Space Heating in Buildings: A Deep Learning Approach for Energy Efficiency," Energies, MDPI, vol. 18(10), pages 1-25, May.
    2. Dong, Shengming & Liu, Tong & Hu, Xiaowei & Zhang, Chen & Hu, Pengli & Zhuang, Wenhui & Liu, Qiyou, 2025. "Investigation on the long short-term memory-based models for rural heating load prediction in Northeast China," Energy, Elsevier, vol. 318(C).
    3. Mukhia, Kundan & Rai, Anish & Luwang, S.R. & Nurujjaman, Md & Majhi, Sushovan & Hens, Chittaranjan, 2024. "Complex network analysis of cryptocurrency market during crashes," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 653(C).
    4. Hu, Jinxue & Duan, Pengfei & Cao, Xiaodong & Xue, Qingwen & Zhao, Bingxu & Zhao, Xiaoyu & Yuan, Xiaoyang & Zhang, Chenyang, 2025. "A multi-energy load forecasting method based on the Mixture-of-Experts model and dynamic multilevel attention mechanism," Energy, Elsevier, vol. 324(C).
    5. S. R. Luwang & A. Rai & Md. Nurujjaman & F. Petroni, 2025. "Intraday order transition dynamics in high, medium, and low market cap stocks: A Markov chain approach," Papers 2502.07625, arXiv.org.
    6. Liu, Zhikai & Dai, Ting & Zhang, Lian & Xu, Xin & Zhang, Qi & Wang, Yaran, 2025. "Hydrothermal modeling and decoupling analysis for secondary district heating systems: A digital twin approach," Energy, Elsevier, vol. 322(C).

    More about this item

    Keywords

    ;
    ;
    ;
    ;
    ;
    ;

    Statistics

    Access and download statistics

    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:jmathe:v:13:y:2025:i:13:p:2098-:d:1688063. 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.