Huarong Yu, Yue Wang, Tan Li, Qibo Gan, Dan Qu, Fangshu Qu
{"title":"通过超参数优化校准活性污泥模型:污水处理厂模拟的新框架","authors":"Huarong Yu, Yue Wang, Tan Li, Qibo Gan, Dan Qu, Fangshu Qu","doi":"10.1038/s41545-025-00513-y","DOIUrl":null,"url":null,"abstract":"<p>Traditional calibration of Activated Sludge Models (ASM) is often manual, expert-dependent, and inefficient. This study introduces a hyperparameter optimisation framework using Optuna to automate the calibration of the ASM2d model. Built on Python, the model integrates the Tree-structured Parzen Estimator (TPE) for single-objective and NSGA-II for multi-objective optimisation. A 50-day dataset from a full-scale wastewater treatment plant in Shenzhen, China, validates the approach. Compared to traditional methods, TPE reduced average relative errors for TN and COD from 4.587 and 24.846% to 0.798 and 15.291%, respectively, while decreasing iterations by 15–20%. NSGA-II lowered TN and COD errors to 4.72 and 15.17%, further improving to 0.095% and 8.43% with full-parameter tuning. Calibration efficiency increased by 65–75%. By effectively exploring parameter interdependencies, TPE and NSGA-II enhance calibration robustness and generalisation. This automated optimisation method significantly improves the accuracy and efficiency of ASM calibration, advancing intelligent wastewater process modelling.</p><figure></figure>","PeriodicalId":19375,"journal":{"name":"npj Clean Water","volume":"25 1","pages":""},"PeriodicalIF":11.4000,"publicationDate":"2025-08-23","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Calibrating activated sludge models through hyperparameter optimization: a new framework for wastewater treatment plant simulation\",\"authors\":\"Huarong Yu, Yue Wang, Tan Li, Qibo Gan, Dan Qu, Fangshu Qu\",\"doi\":\"10.1038/s41545-025-00513-y\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"<p>Traditional calibration of Activated Sludge Models (ASM) is often manual, expert-dependent, and inefficient. This study introduces a hyperparameter optimisation framework using Optuna to automate the calibration of the ASM2d model. Built on Python, the model integrates the Tree-structured Parzen Estimator (TPE) for single-objective and NSGA-II for multi-objective optimisation. A 50-day dataset from a full-scale wastewater treatment plant in Shenzhen, China, validates the approach. Compared to traditional methods, TPE reduced average relative errors for TN and COD from 4.587 and 24.846% to 0.798 and 15.291%, respectively, while decreasing iterations by 15–20%. NSGA-II lowered TN and COD errors to 4.72 and 15.17%, further improving to 0.095% and 8.43% with full-parameter tuning. Calibration efficiency increased by 65–75%. By effectively exploring parameter interdependencies, TPE and NSGA-II enhance calibration robustness and generalisation. This automated optimisation method significantly improves the accuracy and efficiency of ASM calibration, advancing intelligent wastewater process modelling.</p><figure></figure>\",\"PeriodicalId\":19375,\"journal\":{\"name\":\"npj Clean Water\",\"volume\":\"25 1\",\"pages\":\"\"},\"PeriodicalIF\":11.4000,\"publicationDate\":\"2025-08-23\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"npj Clean Water\",\"FirstCategoryId\":\"5\",\"ListUrlMain\":\"https://doi.org/10.1038/s41545-025-00513-y\",\"RegionNum\":1,\"RegionCategory\":\"工程技术\",\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"Q1\",\"JCRName\":\"ENGINEERING, CHEMICAL\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"npj Clean Water","FirstCategoryId":"5","ListUrlMain":"https://doi.org/10.1038/s41545-025-00513-y","RegionNum":1,"RegionCategory":"工程技术","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"ENGINEERING, CHEMICAL","Score":null,"Total":0}
Calibrating activated sludge models through hyperparameter optimization: a new framework for wastewater treatment plant simulation
Traditional calibration of Activated Sludge Models (ASM) is often manual, expert-dependent, and inefficient. This study introduces a hyperparameter optimisation framework using Optuna to automate the calibration of the ASM2d model. Built on Python, the model integrates the Tree-structured Parzen Estimator (TPE) for single-objective and NSGA-II for multi-objective optimisation. A 50-day dataset from a full-scale wastewater treatment plant in Shenzhen, China, validates the approach. Compared to traditional methods, TPE reduced average relative errors for TN and COD from 4.587 and 24.846% to 0.798 and 15.291%, respectively, while decreasing iterations by 15–20%. NSGA-II lowered TN and COD errors to 4.72 and 15.17%, further improving to 0.095% and 8.43% with full-parameter tuning. Calibration efficiency increased by 65–75%. By effectively exploring parameter interdependencies, TPE and NSGA-II enhance calibration robustness and generalisation. This automated optimisation method significantly improves the accuracy and efficiency of ASM calibration, advancing intelligent wastewater process modelling.
npj Clean WaterEnvironmental Science-Water Science and Technology
CiteScore
15.30
自引率
2.60%
发文量
61
审稿时长
5 weeks
期刊介绍:
npj Clean Water publishes high-quality papers that report cutting-edge science, technology, applications, policies, and societal issues contributing to a more sustainable supply of clean water. The journal's publications may also support and accelerate the achievement of Sustainable Development Goal 6, which focuses on clean water and sanitation.