Related Experiment Video
Updated: Jul 8, 2025

Continuous Hydrologic and Water Quality Monitoring of Vernal Ponds
Published on: November 13, 2017
Real-time water quality prediction in water distribution networks using graph neural networks with sparse monitoring
Zilin Li1, Haixing Liu2, Chi Zhang2
1Department of Hydraulic Engineering, Dalian University of Technology, Dalian, Liaoning 116024, China; Centre for Water Systems, University of Exeter, Exeter EX4 4QF, United Kingdom.
Abstract:
Ensuring the safety and reliability of drinking water supply requires accurate prediction of water quality in water distribution networks (WDNs). However, existing hydraulic model-based approaches for system state prediction face challenges in model calibration with limited sensor data and intensive computing requirements, while current machine learning models are lack of capacity to predict the system states at sites that are not monitored or included in model training. To address these gaps, this study proposes a novel gated graph neural network (GGNN) model for real-time water quality prediction in WDNs. The GGNN model integrates hydraulic flow directions and water quality data to represent the topology and system dynamics, and employs a masking operation for training to enhance prediction accuracy. Evaluation results from a real-world WDN demonstrate that the GGNN model is capable to achieve accurate water quality prediction across the entire WDN. Despite being trained with water quality data from a limited number of sensor sites, the model can achieve high predictive accuracies (Mean Absolute Error = 0.07 mg L-1 and Mean Absolute Percentage Error = 10.0 %) across the entire network including those unmonitored sites. Furthermore, water quality-based sensor placement significantly improves predictive accuracy, emphasizing the importance of careful sensor location selection. This research advances water quality prediction in WDNs by offering a practical and effective machine learning solution to address challenges related to limited sensor data and network complexity. This study provides a first step towards developing machine learning models to replace hydraulic models in WDN modelling.
Related Concept Videos
Rapidly Varying Flow
Gradually Varying Flow
Underflow Gates

