A Mechanism-Data Codriven Hybrid Modeling Framework for WWTPs to Achieve Reliable Simulation at System-Level
Building high-precision wastewater treatment plant (WWTP) models is important to ensure effluent safety and control operational costs. However, physics-based models suffer from idealized assumptions and unmeasurable parameters, leading to insufficient simulation accuracy. In contrast, data-driven models have limited practicality due to poor interpretability and weak extrapolation capability. In this study, we developed a mechanistic-data codriven hybrid modeling framework that embeds first-principles knowledge as physical constraints, guiding data-driven components to compensate for critical unmodeled dynamics. The pollutant removal process can be simulated using differential equations representing biochemical reaction mechanisms through the construction of a mechanistic model based on Activated Sludge Model No. 2d (ASM2d), thus confining outputs to defined ranges. Long short-term memory (LSTM) was selected as a suitable data-driven component, showing the ability of capturing hidden patterns within mechanistic errors sequence. The constructed ASM2d–LSTM hybrid model achieved high accuracy in predicting effluent chemical oxygen demand (COD), total phosphorus (TP), and total nitrogen (TN), with test set R2 values of 0.92, 0.91, and 0.94 and mean absolute percentage error (MAPE) of 3.88%, 3.26%, and 8.03%, respectively. It outperformed exclusively data-driven models in dynamic tracking, precision, and generalization. Ablation experiments and SHapley Additive explanation (SHAP) analysis interpreted ASM2d-LSTM’s decision logic. Specifically, the hybrid framework integrates richer online monitoring data, overcoming mechanistic model input constraints and enhancing prediction. Overall, our work establishes hybrid modeling as a guiding paradigm for achieving precise WWTP modeling, thereby providing foundational technical support for achieving low-carbon plant operations.
Authors
- Liang Zhu (ORCID: https://orcid.org/0000-0002-0921-7076)
- Kuanliang Feng
- Donghui Lu (ORCID: https://orcid.org/0009-0000-9692-4045)
- Chen Wang (ORCID: https://orcid.org/0000-0001-7351-9207)
- Jiawei Zhang (ORCID: https://orcid.org/0000-0003-3534-9299)
- Yi Pan (ORCID: https://orcid.org/0000-0002-2352-7126)
- Yinglin Wang (ORCID: https://orcid.org/0000-0002-0670-7571)
- Ruojia Li
- Xiangyang Xu (ORCID: https://orcid.org/0000-0002-3771-3878)
Institutions
- Yangtze University (CN)
- Supor (China) (CN)
- Yangtze River Delta Physics Research Center (China) (CN)
- Environmental Protection Engineering (Greece) (GR)
- Zhejiang Institute of Communications (CN)
- PowerChina (China) (CN)
- Powerchina Huadong Engineering Corporation (China) (CN)
- Zhejiang University (CN)
Publication Details
- Journal
- ACS ES&T Engineering
- Published
- 2025-11-25
- DOI
- https://doi.org/10.1021/acsestengg.5c00772
- Primary Topic
- Wastewater Treatment and Nitrogen Removal
- Type
- article
- Field-Weighted Citation Impact
- 0.00