Related Experiment Video
Updated: May 12, 2026

Watershed Planning within a Quantitative Scenario Analysis Framework
Published on: July 24, 2016
Enhancing drinking water safety: Real-time prediction of trihalomethanes in a water distribution system using machine
Antonio J Aragón-Barroso1, David Ribes2, Francisco Osorio1
1Department of Civil Engineering, University of Granada, Dr. Severo Ochoa, s/n, Granada 18071, Spain; Environmental Microbiology Group, Institute of Water Research, University of Granada, C/Ramon y Cajal, 4, Granada 18071, Spain.
Abstract:
Prolonged exposure to high concentrations of trihalomethanes (THMs) may generate human health risks due to their carcinogenic and mutagenic properties. Therefore, monitoring THMs in drinking water distribution systems (DWDS) is essential. This study focused on the statistical modelling of THMs formation through multiple linear regression (MLR) method to develop simple predictive models that serve as preventive tools capable of alerting about potential increases in THMs within the water network. To achieve this, a dataset comprising 1192 observations of water quality measurements in the study area over five years was created. The independent variables selected to explain the formation of THMs were free residual chlorine (FRC), total organic carbon (TOC), conductivity, pH and turbidity. Then, following an exploratory analysis of the dataset using Pearson's correlation matrix and an ANOVA test, multiple regression models were developed. In total, a total of two predictive models were built, based on data filtered by conductivity levels, with coefficients of determination (R2) of 0.64 and 0.47. The algorithms of these predictive models were integrated into the control center of the water company in the study area. On the other hand, a multisensory device was installed in a strategically located drinking water tank to measure the values of the independent variables used in the models. These measurements were transmitted online to the control center to continuously update the predictive models and provide real-time forecasts of THMs. Finally, model validation was performed by comparing the real-time predictions of the models with actual THMs levels obtained from laboratory analyses, achieving an average accuracy of 90 %.
More Related Videos
04:09Predicting Treatment Response to Image-Guided Therapies Using Machine Learning: An Example for Trans-Arterial Treatment of Hepatocellular Carcinoma
Published on: October 10, 2018
07:13Early Detection of Cyanobacterial Blooms and Associated Cyanotoxins using Fast Detection Strategy
Published on: February 25, 2021