A Reliability-Based Approach to Optimal Placement of Contamination Detection Sensors in Water Distribution Networks

Document Type : Original Article

Author

Assistant Professor, Civil Engineering Department, University of Sistan and Baluchestan, Zahedan, Iran

10.22034/iwrj.2026.15328.2675
Abstract
Introduction:

Water distribution networks are critical urban infrastructure for supplying drinking water with adequate quality and quantity; however, their extensive and interconnected structure makes them vulnerable to accidental and intentional contamination. Delayed detection may increase contaminant propagation and consumer exposure. Conventional sampling is insufficient for rapid detection of sudden contamination events, while online monitoring is constrained by sensor installation and maintenance costs. Therefore, optimal sensor placement is essential for effective monitoring. Previous studies have primarily focused on single-objective optimization or multi-objective frameworks under simplifying assumptions, addressing several aspects of contamination detection separately. This study proposes an integrated framework for optimal contamination sensor placement incorporating four key aspects. First, a reactive contaminant is modeled to explicitly represent its interaction with residual chlorine. Second, a representative contamination scenario matrix is employed to capture diverse contamination events while reducing computational burden. Third, indirect contamination detection is based on residual chlorine variations using node- and time-specific dynamic bounds derived from Monte Carlo simulations considering uncertainties in consumer demand and pipe roughness, rather than fixed thresholds. Finally, sensor reliability is explicitly incorporated by considering four reliability levels (100%, 90%, 80%, and 70%) to investigate their effects on monitoring performance and optimal sensor configurations.

Materials and Methods:

The proposed framework coupled EPANET-MSX with MATLAB. EPANET-MSX simulated hydraulic and water-quality conditions and represented the reactive interaction between the contaminant and residual chlorine, using a 10-min simulation time step. The NET2 benchmark network, comprising 37 nodes, one storage tank, one pumping station, and six chlorine injection stations, was evaluated under a 24-h demand pattern.

A non-dominated sorting genetic algorithm II (NSGA-II) was used to identify sensor configurations. Each chromosome represented a sensor configuration. The initial population contained 500 chromosomes, and the algorithm ran for up to 700 generations, terminating when non-dominated solutions showed no improvement for 20 consecutive generations.

Contamination scenarios were characterized by injection location, start time, mass injection rate, and injection duration. Combining these factors produced a matrix of 26,112 scenarios. To reduce computational demands, a genetic-algorithm-based reduction method selected 1,000 representative scenarios while preserving the statistical characteristics of the matrix.

Contamination was detected indirectly through deviations in residual chlorine concentration. Rather than applying a fixed threshold, node- and time-specific upper and lower chlorine bounds were established using Monte Carlo simulations that accounted for uncertainties of ±20% in consumer demand and ±10% in pipe roughness.

Sensor configurations were assessed using three objectives: maximizing contamination detection likelihood, minimizing expected detection time, and minimizing expected contaminated water consumption before detection. Sensor reliability was incorporated, with four levels (100%, 90%, 80%, and 70%) examined to determine their effects on monitoring performance and optimal placement.

Results and Discussions:

The proposed framework was first evaluated under perfect sensor reliability. The detection-likelihood results showed complete agreement with those reported in the reference study, supporting the validity of the proposed implementation.

The analysis of the three sensor-count–objective relationships showed that decreasing sensor reliability consistently deteriorated monitoring performance. The magnitude of this effect, however, was dependent on the number of installed sensors. At low sensor counts, the differences between reliability levels were relatively limited. As the number of sensors increased, the differences became more pronounced, reaching a maximum detection-likelihood difference of 21.44 percentage points. With further increases in sensor count, the differences decreased again, indicating that greater sensor coverage and overlap can partially offset the effect of reduced reliability. At the highest sensor count examined, detection likelihood decreased from 100% at full reliability to 97.76% at 70% reliability.

The two-objective Pareto analysis showed that lower sensor reliability shifted the non-dominated solutions toward lower detection likelihood and less favorable values of the corresponding objectives. For the detection likelihood–detection time trade-off, the separation between the Pareto fronts at 100% and 90% reliability was relatively limited, while a larger separation emerged at 80% and 70% reliability. The attainable detection-likelihood range narrowed from 54.4–77.7% at 100% reliability to 55.3–56.7% at 70% reliability. For the detection likelihood–contaminated water consumption trade-off, the Pareto fronts likewise shifted toward lower detection likelihood and higher contaminated water consumption. In this case, however, the separation between the fronts remained relatively uniform across the reliability levels. The detection-likelihood range decreased from 51.0–77.7% at 100% reliability to 44.9–56.7% at 70% reliability.

The analysis of representative Pareto solutions further showed that sensor reliability can affect the spatial configuration of optimal sensor placement. The magnitude of sensor relocation was not identical across the selected solutions, indicating that the influence of reliability depends on the position of the solution along the Pareto front and on the optimization objectives considered. Overall, reduced sensor reliability affected both the attainable performance and the trade-offs among monitoring objectives, as well as the resulting optimal sensor configurations.

Conclusion:

This study developed a multi-objective framework for optimal contamination sensor placement incorporating reactive contaminant behavior, representative contamination scenarios, dynamic chlorine-based detection, and sensor reliability. The framework reproduced the reference study’s detection-likelihood results under perfect reliability, validating its implementation. Reduced sensor reliability decreased detection likelihood, increased detection time and contaminated water consumption, and altered Pareto fronts and optimal sensor configurations. The maximum detection-likelihood difference across reliability levels was 21.44 percentage points, highlighting the influence of sensor reliability on monitoring performance and decision-making. Future research should evaluate the framework in real-world networks with diverse hydraulic and operational characteristics and incorporate additional monitoring technologies and uncertainty sources.

Keywords

Subjects


Articles in Press, Accepted Manuscript
Available Online from 01 December 2026

  • Receive Date 15 October 2026
  • Revise Date 01 December 2026
  • Accept Date 01 December 2026