Alireza Mahvelati Shamsabadi, Morteza Mahvelatishamsabadi, Jinwoo Kim, Shokouh Masoumilari, Tejas Ravi Atri, Minwoo Park, Sudong Lee, Daeseung Kyung
{"title":"Operationalizing Nitrogen Compliance: A Leakage-Safe, Alarm-Budget Framework for Wastewater Treatment Early Warning","authors":"Alireza Mahvelati Shamsabadi, Morteza Mahvelatishamsabadi, Jinwoo Kim, Shokouh Masoumilari, Tejas Ravi Atri, Minwoo Park, Sudong Lee, Daeseung Kyung","doi":"10.1021/acsestwater.6c00549","DOIUrl":null,"url":null,"abstract":"<p>We developed a leakage-safe, alarm-budget\r\nframework for early warning\r\nof effluent total nitrogen (TN<sub>out</sub>) in a municipal wastewater\r\ntreatment plant (WWTP) using multiyear daily records from Ulsan, Republic\r\nof Korea. The framework combined strict temporal feature construction,\r\ntrain-only preprocessing, horizon-specific target-date purging, and\r\nblocked chronological validation at 1-, 3-, and 5 day lead times.\r\nModels were evaluated by point-forecast error; at the 5 day lead,\r\nmodels were additionally assessed under nominal 5% and 10% alarm budgets\r\nthat prioritized the highest-risk days for review at thresholds of\r\n15–17 mg L<sup>–1</sup>. No single point model dominated\r\nacross horizons: the lowest pooled mean absolute error (MAE) was 1.546\r\nmg L<sup>–1</sup> at 1 day for Persistence, 1.764 mg L<sup>–1</sup> at 3 days for HistGradientBoostingRegressor (HGBR),\r\nand 1.773 mg L<sup>–1</sup> at 5 days for Ridge. At the 5 day\r\nlead and a threshold of 16 mg L<sup>–1</sup>, retrospective\r\nfold-local ranking captured 18.3% and 31.0% of exceedances at nominal\r\n5% and 10% alarm budgets, corresponding to approximately 3.5- and\r\n3.1-fold enrichment over random ranking. A fixed rank ensemble remained\r\ncompetitive but did not dominate all operating points. These results\r\nshow that compliance-oriented wastewater early warning models should\r\nbe evaluated jointly for temporal validity, forecast accuracy, and\r\nbounded-attention decision utility.</p>","PeriodicalId":93847,"journal":{"name":"ACS ES&T water","volume":"6 10","pages":"6410–6421"},"PeriodicalIF":4.5000,"publicationDate":"2026-10-09","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"ACS ES&T water","FirstCategoryId":"1085","ListUrlMain":"https://pubs.acs.org/doi/10.1021/acsestwater.6c00549","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"2026/9/23 0:00:00","PubModel":"Epub","JCR":"Q1","JCRName":"ENVIRONMENTAL SCIENCES","Score":null,"Total":0}
引用次数: 0
Abstract
We developed a leakage-safe, alarm-budget
framework for early warning
of effluent total nitrogen (TNout) in a municipal wastewater
treatment plant (WWTP) using multiyear daily records from Ulsan, Republic
of Korea. The framework combined strict temporal feature construction,
train-only preprocessing, horizon-specific target-date purging, and
blocked chronological validation at 1-, 3-, and 5 day lead times.
Models were evaluated by point-forecast error; at the 5 day lead,
models were additionally assessed under nominal 5% and 10% alarm budgets
that prioritized the highest-risk days for review at thresholds of
15–17 mg L–1. No single point model dominated
across horizons: the lowest pooled mean absolute error (MAE) was 1.546
mg L–1 at 1 day for Persistence, 1.764 mg L–1 at 3 days for HistGradientBoostingRegressor (HGBR),
and 1.773 mg L–1 at 5 days for Ridge. At the 5 day
lead and a threshold of 16 mg L–1, retrospective
fold-local ranking captured 18.3% and 31.0% of exceedances at nominal
5% and 10% alarm budgets, corresponding to approximately 3.5- and
3.1-fold enrichment over random ranking. A fixed rank ensemble remained
competitive but did not dominate all operating points. These results
show that compliance-oriented wastewater early warning models should
be evaluated jointly for temporal validity, forecast accuracy, and
bounded-attention decision utility.