耗氯量机器学习预测模型对污水厂余氯监测频率的适应性OA
Adaptability of machine learning-based predictive models for chlorine demand to residual chlorine monitoring frequency in wastewater treatment plants
目前,我国部分污水处理厂仍采用人工方式监测余氯,由于监测频率较低,导致消毒剂投加量难以精确控制.本研究首先以西南地区配备余氯在线监测仪的 A 污水处理厂为对象,以其消毒池出水的在线监测指标(水温、流量、NH3-N、CODCr、TP、TN)及有效氯投加量作为输入,以有效氯消耗量(耗氯量)为输出,系统比较了反向传播(BP)神经网络、长短期记忆(LSTM)神经网络、随机森林(RF)以及支持向量回归(SVR)模型在不同余氯监测频率(每 1、2、4、6、8 h测定 1 次)下对非监测时段耗氯量的预测性能.结果表明,在监测频率为每 1 h测定 1 次时,LSTM模型的预测精度最高;每 2~4 h测定 1 次时,RF模型表现更优;当监测频率降至每 6 h或以下时,BP模型性能最佳;SVR模型在所有频率下均表现最差.基于上述结果,研究进一步在采用人工余氯监测的 B厂(每 6 h测定1 次)和 C厂(每 8 h测定 1 次)进行验证,结果显示 BP模型在低频监测条件下仍保持最优预测性能,且经粒子群算法(PSO)优化后,其预测精度显著提升.本研究可为不同余氯监测频率下(尤其是低频人工监测下)的污水处理厂选择合适的耗氯量机器学习预测模型提供依据,从而支持消毒剂投加的精准调控.
Currently,a number of wastewater treatment plants(WWTPs)in China still rely on manual residual chlorine monitoring.Due to the low monitoring frequency,precise control of disinfectant dosage remains challenging.This study initially selected WWTP A in the southwestern region,which is equipped with an online residual chlorine analyzer,as the research object.The effluent indicators(including water temperature,flow rate,NH3-N,CODCr,TP,and TN)along with the chlorine dosage were used as inputs to predict chlorine demand.These inputs were derived from high-frequency online monitoring data from WWTP A.A comparative analysis was conducted to evaluate the predictive performance of four machine learning models(i.e.,Backpropagation(BP)Neural Network,Long Short-Term Memory(LSTM),Random Forest(RF),and Support Vector Regression(SVR))in predicting chlorine demand at non-monitoring time points under different residual chlorine monitoring frequencies of once per 1,2,4,6,and 8 hours.The results indicated that the LSTM model achieved the highest prediction accuracy at a monitoring frequency of once per hour;the RF model exhibited superior performance at monitoring frequencies of once per 2 to 4 hours The BP model outperformed other models when the monitoring frequency dropped below once per 6 hours,and the SVR model consistently demonstrated the lowest accuracy across all monitoring frequencies.To ensure the robustness of the findings,additional validation was conducted using datasets from WWTP B and WWTP C,which relied on manual residual chlorine monitoring at frequencies of once per 6 hours and once per 8 hours,respectively.The results demonstrated that the BP model exhibited sustained optimal prediction performance under low-frequency residual chlorine monitoring conditions,and its prediction accuracy can be significantly improved via the optimization by the Particle Swarm Optimization(PSO)algorithm.This study provides a reference for selecting suitable machine learning models to predict chlorine demand under different residual chlorine monitoring frequencies,particularly in scenarios with low-frequency manual monitoring,thereby supporting the precise control of disinfectant dosing in WWTPs.
彭喜林;毛泽鸿;郭佳鑫;马明良;郑星宇;姚杰;唐宏;姚娟娟
重庆市三峡水务有限责任公司北碚污水处理厂,重庆 400700重庆大学环境与生态学院,重庆 400045重庆大学环境与生态学院,重庆 400045重庆大学环境与生态学院,重庆 400045重庆市三峡水务有限责任公司北碚污水处理厂,重庆 400700重庆市三峡水务有限责任公司北碚污水处理厂,重庆 400700重庆市三峡水务有限责任公司北碚污水处理厂,重庆 400700重庆大学环境与生态学院,重庆 400045
建筑与水利
消毒BP神经网络LSTM神经网络随机森林支持向量回归
disinfectionBP neural networkLSTM neural networkrandom forestsupport vector regression
《环境工程学报》 2026 (3)
685-696,12
重庆市技术创新与发展应用专项资助项目(CSTB2022TIAD—GPX0035)重庆市再生水利用效益评估及政策建议研究资助项目(CQSLK-2022017)
评论