Shen Yu, Liao Wan-Shan, Li Hui-Min, Feng Dong, Guo Zhi-Wei, Zhang Bing, Gao Xu, Wang Jian-Hui, Chen You-Peng
Chongqing Key Laboratory of Intelligent Perception and Blockchain Technology, National Research Base of Intelligent Manufacturing Service, School of Artificial Intelligence, Chongqing Technology and Business University, Chongqing 400067, China.
Chongqing South-to-Thais Environmental Protection Technology Research Institute Co., Ltd., Chongqing 400069, China.
Huan Jing Ke Xue. 2025 Jan 8;46(1):318-326. doi: 10.13227/j.hjkx.202401172.
Data is the core foundation of intelligent operation and maintenance, but currently, there is generally insufficient data for wastewater treatment plants, and the status of wastewater treatment systems dynamically evolves with the changes in the internal and external environment. The intelligent operation and maintenance of wastewater plants face difficulties in modeling and model drift caused by system evolution. In response to this issue, the summer and winter seasons with significant differences in wastewater temperature, wastewater quality, and microbial status were selected as typical comparison scenarios. The mechanism model was combined with neural networks to establish a wastewater treatment model drift correction method based on cross-time scale transfer learning. Firstly, in response to the problem of insufficient data, an activated sludge model (ASM) was established and calibrated. Summer operating data was used as input to simulate and calculate operating parameters and effluent data, generating a simulated operating dataset to achieve data augmentation and quality improvement. This was used to train a multi-layer perceptron neural network (MLP) model. The results showed that the average simulation accuracy of the MLP model for summer effluent COD, ammonia nitrogen, total phosphorus, etc., was all over 95%. This indicates the feasibility of training MLP models based on ASM-generated data. Then, the MLP model was used to guide the operation of the pilot AO project. Experimental data analysis showed that the model drift phenomenon was significant in the field of wastewater treatment. During the operation of the pilot plant guided by the summer model, the accuracy of the predicted values gradually decreased, and the average prediction accuracy of the model for effluent COD gradually decreased from 98.14% to 75.18%. The phenomenon of model drift required effective correction to maximize the effectiveness of the model. In response to the problem of model drift caused by a significant decrease in simulation accuracy in winter operating conditions, a transfer learning approach was introduced. The winter measured data was used as the target domain dataset, and the MLP model was used as the pre-trained model for transfer learning. The experimental results showed that transfer learning methods can significantly improve model performance. After transfer learning, the average simulation accuracy of the MLP model for effluent COD, ammonia nitrogen, total nitrogen, and total phosphorus was relatively improved by 28.58%, 184.44%, 207.56%, and 100.51%, with absolute improvement values of 21.49%, 60.79%, 58.14%, and 46.74%, respectively. This indicates that the cross-time scale transfer learning method proposed in this study can significantly improve model performance, effectively solve model drift problems, and achieve a model-following response to the dynamic evolution of wastewater treatment systems. This study indicates that transfer learning based on pre-trained models only requires a small amount of engineering data and computational complexity to achieve model updating and correction. Compared to model retraining, this method reduces computational complexity and reduces the dependence on engineering data during data-driven model updates.
数据是智能运维的核心基础,但目前污水处理厂普遍存在数据不足的问题,且污水处理系统的状态会随着内外部环境的变化而动态演变。污水处理厂的智能运维在建模以及由系统演变导致的模型漂移方面面临困难。针对这一问题,选取了废水温度、水质和微生物状态差异显著的夏季和冬季作为典型对比场景。将机理模型与神经网络相结合,建立了基于跨时间尺度迁移学习的污水处理模型漂移校正方法。首先,针对数据不足的问题,建立并校准了活性污泥模型(ASM)。以夏季运行数据作为输入来模拟计算运行参数和出水数据,生成模拟运行数据集以实现数据增强和质量提升。以此训练多层感知器神经网络(MLP)模型。结果表明,MLP模型对夏季出水化学需氧量、氨氮、总磷等的平均模拟准确率均超过95%。这表明基于ASM生成的数据训练MLP模型具有可行性。然后,用MLP模型指导中试AO项目的运行。实验数据分析表明,在污水处理领域模型漂移现象显著。在夏季模型指导下的中试装置运行过程中,预测值的准确率逐渐下降,模型对出水化学需氧量的平均预测准确率从98.14%逐渐降至75.18%。模型漂移现象需要有效校正以最大化模型的有效性。针对冬季运行工况下模拟准确率大幅下降导致的模型漂移问题,引入了迁移学习方法。将冬季实测数据作为目标域数据集,将MLP模型作为迁移学习的预训练模型。实验结果表明,迁移学习方法能显著提高模型性能。迁移学习后,MLP模型对出水化学需氧量、氨氮、总氮和总磷的平均模拟准确率相对提高了28.58%、184.44%、207.56%和100.51%,绝对提高值分别为21.49%、60.79%、58.14%和46.74%。这表明本研究提出的跨时间尺度迁移学习方法能显著提高模型性能,有效解决模型漂移问题,并实现对污水处理系统动态演变的模型跟随响应。本研究表明,基于预训练模型的迁移学习仅需少量工程数据和计算复杂度就能实现模型更新和校正。与模型重新训练相比,该方法降低了计算复杂度,减少了数据驱动模型更新过程中对工程数据的依赖。