净水技术2026,Vol.45Issue(3):156-164,173,10.DOI:10.15890/j.cnki.jsjs.2026.03.016
控制器嵌入Transformer模型的水厂加氯与余氯控制方法
Controller-Embedded Transformer Model for Chlorination and Chlorine Residual Control in WTP
摘要
Abstract
[Objective]To ensure the stability of residual chlorine concentration in municipal water treatment plant(WTP)and to reduce the impact of water quality fluctuations on disinfection efficiency and chemical economics.This paper proposes an optimization method for drug addition based on intelligent control.[Methods]In response to the problems of traditional manual drug addition,such as response lag,the difficulty of directly constraining control targets with prediction-oriented models,and the complexity of model predictive control modeling,this paper designed a Transformer model with controller embedding.The model adopted an encoder-controller-decoder framework,where the controller directly generated future dosing sequences and the decoder evaluated the corresponding chlorine response.A composite loss function based on the target interval of residual chlorine was designed to enable end-to-end training.[Results]Validation was carried out using real operational data from a WTP.The proposed method significantly suppressed fluctuations in chlorine residual mass concentration,with a prediction standard deviation of 0.004 6 mg/L,and reduced chemical consumption by approximately 7.25%while maintaining water quality compliance,annual operating costs decreased by approximately 116 000 yuan.[Conclusion]The controller-embedded Transformer model improves the accuracy and stability of chlorine residual control and demonstrates good economic efficiency and robustness,providing a references and technical supports for intelligent disinfection control in municipal WTPs.关键词
Transformer模型/余氯控制/水厂加药/节药策略/加氯预测Key words
Transformer model/chlorine residual control/chemical dosing of WTP/conservation solution/chlorination addition prediction分类
建筑与水利引用本文复制引用
陈欧翔,王洪翠,李霖,吴晔..控制器嵌入Transformer模型的水厂加氯与余氯控制方法[J].净水技术,2026,45(3):156-164,173,10.基金项目
浙江省自然科学基金联合基金(LZJWZ23E090001) (LZJWZ23E090001)
浙江水利水电学院校级科研项目资助(JBGS2025017,XKY2022045) (JBGS2025017,XKY2022045)