{"title":"Scalable Online Machine Learning for Water Quality Optimization and Carbon Source Reduction in Wastewater Treatment Plants","authors":"Yu-Qi Wang, Wan-Xin Yin, Hao-Lin Yang, Jia-Min Xu, Jia-Ji Chen, Yun-Peng Song, Meng Wu, Hong-Cheng Wang","doi":"10.1021/acs.estlett.6c00642","DOIUrl":null,"url":null,"abstract":"<p>Effective real-time control of wastewater treatment plants\r\n(WWTPs)\r\nremains challenging due to highly variable influent conditions, while\r\nregulation of external carbon sources (ECS) is critical for sustaining\r\nnitrogen removal and meeting increasingly stringent effluent standards.\r\nThis study developed a systematic framework integrating online learning\r\n(OL) and reinforcement learning (RL) to optimize effluent quality\r\nand ECS dosing in a full-scale WWTP. Based on one year of high-frequency\r\nsensor data, Transformer (TF) was identified as the best-performing\r\nmodel among six machine learning methods, with a mean R<sup>2</sup> of 0.91 across multiple effluent indicators. SHAP was employed to\r\nidentify key features, which informed the design of a key-indicator-based\r\ntime-decayed online learning (KTOL) strategy, enabling the Transformer\r\nmodel to maintain stable predictive performance under dynamic operating\r\nconditions. Building on this, RL enabled real-time ECS regulation.\r\nDuring a 10-day practical test, KTOL-TF-RL outperformed conventional\r\nfeedback control by improving effluent compliance and reducing ECS\r\nusage by 21.8%. Monte Carlo simulations demonstrated robustness against\r\nsensor distortion and malfunction. Overall, the KTOL-TF-RL framework\r\ndemonstrates the potential of intelligent control as a promising pathway\r\nfor achieving cost-effective and resilient wastewater treatment.</p>","PeriodicalId":37,"journal":{"name":"Environmental Science & Technology Letters Environ.","volume":"13 9","pages":"1247–1254"},"PeriodicalIF":7.3000,"publicationDate":"2026-09-08","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Environmental Science & Technology Letters Environ.","FirstCategoryId":"1","ListUrlMain":"https://pubs.acs.org/doi/10.1021/acs.estlett.6c00642","RegionNum":2,"RegionCategory":"环境科学与生态学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"2026/8/15 0:00:00","PubModel":"Epub","JCR":"Q1","JCRName":"ENGINEERING, ENVIRONMENTAL","Score":null,"Total":0}
引用次数: 0
Abstract
Effective real-time control of wastewater treatment plants
(WWTPs)
remains challenging due to highly variable influent conditions, while
regulation of external carbon sources (ECS) is critical for sustaining
nitrogen removal and meeting increasingly stringent effluent standards.
This study developed a systematic framework integrating online learning
(OL) and reinforcement learning (RL) to optimize effluent quality
and ECS dosing in a full-scale WWTP. Based on one year of high-frequency
sensor data, Transformer (TF) was identified as the best-performing
model among six machine learning methods, with a mean R2 of 0.91 across multiple effluent indicators. SHAP was employed to
identify key features, which informed the design of a key-indicator-based
time-decayed online learning (KTOL) strategy, enabling the Transformer
model to maintain stable predictive performance under dynamic operating
conditions. Building on this, RL enabled real-time ECS regulation.
During a 10-day practical test, KTOL-TF-RL outperformed conventional
feedback control by improving effluent compliance and reducing ECS
usage by 21.8%. Monte Carlo simulations demonstrated robustness against
sensor distortion and malfunction. Overall, the KTOL-TF-RL framework
demonstrates the potential of intelligent control as a promising pathway
for achieving cost-effective and resilient wastewater treatment.
期刊介绍:
Environmental Science & Technology Letters serves as an international forum for brief communications on experimental or theoretical results of exceptional timeliness in all aspects of environmental science, both pure and applied. Published as soon as accepted, these communications are summarized in monthly issues. Additionally, the journal features short reviews on emerging topics in environmental science and technology.