Development of Chemistry-Informed Machine Learning Models for Cyber Threat Detection and Protection of Water and Wastewater Infrastructure
Keywords:
Water treatment; Cyber physical security; Physics informed-ML; Anomaly detectionAbstract
Water treatment plants increasingly depend on networked control, and an intruder who manipulates dosing while replaying normal analyser readings can defeat monitors that judge each signal alone. We developed a chemistry informed machine learning (CIML) framework that turns the chemistry of treatment into consistency checks on supervisory control and data acquisition (SCADA) data. Carbonate equilibrium, Kohlrausch conductivity, Nernstian redox potential, first order chlorine kinetics and reservoir mass balance were expressed as eleven residuals computed from historian tags, with coefficients calibrated by least squares on normal operation. A dual channel detector combined a joint autoencoder on raw signals and residuals with a residual energy score, and a gradient boosted triage stage trained on a digital twin attack library separated attacks from benign anomalies. We tested it on a chemically explicit twin of a coagulation, filtration and chlorination plant over 110 test days containing seven attack scenarios, natural storms and four types of instrument fault or process upset. Calibration recovered dosing stoichiometry within 1 % and electrode and decay parameters within 5 %. Storms left every balance residual at baseline, whereas each attack left a distinct fingerprint. CIML with triage reached an area under the precision recall curve of 0.67 and an F1 score of 0.79, against 0.48 and 0.41 for the strongest data driven reference, with 0.19 false alarm episodes per day. A masked hypochlorite underdose missed by a raw signal autoencoder was detected 2.25 h after onset. Triage generalised poorly to unseen attack types, and attacks that leave the chemistry consistent remain hard to detect.
Downloads
Published
Issue
Section
License
Copyright (c) 2025 Ibidun Isaac (Author)

This work is licensed under a Creative Commons Attribution 4.0 International License.
Authors retain copyright and grant the journal the right of first publication. Articles published in this journal are licensed under a Creative Commons Attribution 4.0 International License (CC BY 4.0), permitting unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
How to Cite
Similar Articles
- Nana Fatima Abdulmalik, Bello, Ayoola Yusuf, Mu’awiya Baba Aminu, Christopher Simon Dalom, Integrating Satellite Imagery and Aero-radiometric Datasets in Lithological Discrimination and Detection of Hydrothermal Zones at Ikara and its Environs, North-Central of the Basement Complex, Nigeria , Applied Science, Computing, and Energy: Vol. 2 No. 1 (2025): VOLUME 2 ISSUE 1
- Ngwu Comfort, Advances in Machine Learning Approaches for Predicting Aqueous Solubility in Drug Discovery , Applied Science, Computing, and Energy: Vol. 2 No. 1 (2025): VOLUME 2 ISSUE 1
- Elizabeth Ope, Yejide R. Alli, Nofisat Abdulsalam, Abiodun Saheed Ajadi, Predictive Financial Risk Monitoring Using Artificial Intelligence, Advanced Machine Learning and Business Strategy Analytics , Applied Science, Computing, and Energy: Vol. 3 No. 3 (2025): Volume 3, Issue 3
- Grace Ritsemwa Dallong-Opadotun, Legal Liability for Artificial Intelligence-Assisted Nuclear Safety Decisions: A Comparative Assessment of Operator Responsibility, Regulatory Accountability, and Compensation for Nuclear Damage , Applied Science, Computing, and Energy: Vol. 4 No. 6 (2926): Volume 4, Issue 6
- Dymphna Ghasarah, Adebusola Akomolafe, Jacinta Ogbemudia, Christianah Ayodele, The ‘One Health’ Synthesis: Climate Change and Infectious Disease Preparedness , Applied Science, Computing, and Energy: Vol. 1 No. 1 (2024): VOLUME 1 ISSUE 1
- Tope Oyebade, Sameul Babatunde, Assessment of Heavy Metal and Hydrocarbon Contamination in Wastewater from Warri Refinery and Petrochemical Company, Delta State, Nigeria, and the Remediation Potential of Kaolinite-Based Nanomaterials , Applied Science, Computing, and Energy: Vol. 1 No. 1 (2024): VOLUME 1 ISSUE 1
- Amos Odunayo Abosede, Digital Extension, Climate Information Access, and Livelihood Resilience in Nigerian Fisheries and Aquaculture: A Review and Integrated Framework for Sustainable Development , Applied Science, Computing, and Energy: Vol. 5 No. 2 (2026): Volume 5, issue 2
- Amos Odunayo Abosede, Digital Extension, Climate Information Access, and Livelihood Resilience in Nigerian Fisheries and Aquaculture: A Review and Integrated Framework for Sustainable Development , Applied Science, Computing, and Energy: Vol. 5 No. 2 (2026): Volume 5, issue 2
- Kerian K. Dimgba, Babatunde T. Ogunyemi, Mechanistic and Kinetic Insights into Time-Dependent Fenton Oxidation Pathways for Polycyclic Aromatic Hydrocarbon Degradation in Crude Oil–Contaminated Soils , Applied Science, Computing, and Energy: Vol. 4 No. 2 (2026): Volume 4 Issue 2
- Rakiya Haruna, annual effective dose due to 222Rn in spring and some surface waters of Johor State Malaysia , Applied Science, Computing, and Energy: Vol. 3 No. 1 (2025): VOLUME 3 ISSUE 1
You may also start an advanced similarity search for this article.