Explainable artificial intelligence for chemical dosing in drinking water treatment: A SHAP-assisted case study


KAPLAN G., ODABAŞ A.

Journal of Environmental Management, cilt.417, 2026 (SCI-Expanded, Scopus)

  • Yayın Türü: Makale / Tam Makale
  • Cilt numarası: 417
  • Basım Tarihi: 2026
  • Doi Numarası: 10.1016/j.jenvman.2026.130860
  • Dergi Adı: Journal of Environmental Management
  • Derginin Tarandığı İndeksler: Science Citation Index Expanded (SCI-EXPANDED), Scopus, BIOSIS, Compendex, EMBASE, Environment Index, Geobase, Greenfile, Index Islamicus, MEDLINE, Public Affairs Index, Social Sciences Abstracts, Zoological Record, Academic Search Ultimate (EBSCO), Natural Science Collection (ProQuest), Social Science Premium Collection (ProQuest), Engineering Source (EBSCO)
  • Anahtar Kelimeler: Drinking water treatment, Explainable AI, Machine learning, SHAP
  • Eskişehir Osmangazi Üniversitesi Adresli: Evet

Özet

Determining the optimal chemical dosing in drinking water treatment plants is a complex process due to the variability of hydro-meteorological parameters and the nonlinear dynamics of water chemistry. Conventional machine learning approaches typically rely on a behavioral cloning paradigm, thereby replicating suboptimal or inefficient operator decisions. In this study, a novel strategy is proposed to transform artificial intelligence from a purely predictive tool into a prescriptive decision support system. World Health Organization (WHO) and Turkish Standards Institute (TS-266) water quality standards are applied as a pre-filter, and the models are trained exclusively on data from optimal operational conditions. Tree-based ensemble algorithms are employed to predict the dosing of pre-chlorination, post-chlorination, ferric chloride, and potassium permanganate. To improve model transparency, the explainable artificial intelligence (XAI) method SHAP (SHapley Additive exPlanations) is integrated. Rather than establishing physical causality, SHAP is utilized to identify the most influential variables contributing to the model's predictions. Consequently, SHAP dependence plots are used to derive actionable, site-specific operational rules for plant operators. While the proposed framework demonstrates high predictive accuracy, the current study is limited to a single-site dataset, highlighting the need for future external validation to fully assess model generalizability and associated uncertainties. Ultimately, this framework integrates explainable machine learning with operational principles, offering a reliable foundation to reduce chemical consumption and minimize human error.