Li Junchen, Lin Sijie, Zhang Liang, Zhong Lijin, Ding Longzhen, Hu Qing
School of Environment, Harbin Institute of Technology, Harbin 150090, PR China; School of Environmental Science and Engineering, Southern University of Science and Technology, Shenzhen 518055, PR China.
School of Environmental Science and Engineering, Southern University of Science and Technology, Shenzhen 518055, PR China; Engineering Innovation Center of SUSTech (Beijing), Southern University of Science and Technology, Beijing 100083, PR China.
Water Res. 2025 Jun 15;278:123405. doi: 10.1016/j.watres.2025.123405. Epub 2025 Feb 28.
Accurate prediction of Chemical Oxygen Demand (COD) and ammonia nitrogen (NH₃) is crucial for maintaining stable and effective wastewater treatment processes. Traditional methods rely on costly, high-maintenance sensors, limiting their application in resource-limited wastewater treatment plants. Soft sensing methods provide an alternative by reducing dependence on costly sensors. However, existing approaches cannot perform multitarget and multistep predictions, limiting their practical applicability. This study introduced a novel triple attention-enhanced encoder-decoder temporal convolutional network (TAED-TCN) to address this problem. The model used multimodal inputs, including easily accessible water quality parameters and wastewater surface images, for multistep and synchronous prediction of COD and NH₃. When it was validated with real-world sequencing batch reactor wastewater data, the model demonstrated superior multistep prediction performance. Specifically, the R² for 1-h predictions of COD and NH₃ was over 26.03 % and 20.51 % higher than the baseline model, respectively. By incorporating multiple attention mechanisms (feature, temporal, and cross-attention), TAED-TCN effectively captured essential features, model nonlinear relationships, and identified long-term dependencies, thus enabled consistent multitarget prediction results even under abnormal conditions. Additionally, economic analysis revealed that TAED-TCN could reduce COD and NH₃ monitoring costs by 79 % over the equipment life cycle. This study offers a cost-effective solution for water quality prediction, enhancing the operational efficiency of wastewater management.