ABSTRACT
Water distribution systems (WDSs) are vital infrastructures designed to deliver water safely to consumers. This complex system necessitates continuous operational decisions, often optimized for efficiency. WDSs rely on power grids (PGs) to operate pumps and treatment facilities. PGs, likewise crucial, require strategic management to meet demand and environmental standards. Integrating the operation of both systems has garnered attention for its potential cost, energy, and environmental benefits. By leveraging the interconnection, trade-offs can be assessed, leading to improved solutions. Past research primarily focused on cost or carbon emissions as well as on hydraulic and voltage constraints. However, this study examines the impact of power systems on water quality, particularly water age, a key operational concern. Incorporating PGs into the optimal operation problem may alter flow directions, thereby influencing water age. Through mathematical modelling, this study evaluates these effects and applies them to simple case studies, demonstrating the influence of PG operation on water quality. Results demonstrate how tank constraints affect water age and show that a conjunctive operation approach, although beneficial for reduction of cost and energy consumption, can be damaging for water quality.
HIGHLIGHTS
The impact of a conjunctive WDS-PG optimal operation on water age is presented and analyzed.
Although believed to be beneficial, the conjunctive operation approach is found to have damaging impacts on water age.
Tank operation is found to serve as a reliable surrogate for water age control.
Total operation cost is found to be a competing objective to minimal water age.
INTRODUCTION
Water quality modelling in water distribution systems (WDSs) presents a multitude of challenges stemming from the inherent complexity and variability of hydraulic and contaminant transport processes within these networks (Besner et al. 2001). Firstly, the spatial and temporal dynamics of water flow and mixing pose significant hurdles to accurate modelling (Kim et al. 2011). WDSs encompass a vast network of pipes, pumps, valves, and storage tanks, exhibiting intricate hydraulic behaviours influenced by factors such as pipe material, diameter, topology, and operational conditions. Capturing the transient flow patterns and residence times of water parcels as they traverse through this labyrinthine infrastructure requires sophisticated modelling techniques capable of simulating both steady-state and transient flow regimes with high fidelity. Moreover, the heterogeneous nature of water quality parameters, including chemical constituents, disinfection by-products (Boorman 1999), and microbial contaminants (Helbling & VanBriesen 2009), further complicates the modelling task, necessitating comprehensive consideration of reaction kinetics, mass transfer phenomena, and water quality standards compliance.
Water quality modelling is one of the major challenges for both researchers and practitioners in the field of water resource systems engineering. Several studies have dealt with the problem of including water quality considerations in an optimization process. Kurek & Ostfeld (2013) developed a multi-objective methodology to optimize the design of a WDS, using objectives of chlorine disinfectant concentrations and water age, alongside the traditional minimal cost objective. Similarly, Shokoohi et al. (2016) proposed a multi-objective optimal design problem that is based on water quality, using a water quality reliability index that integrates chlorine residual and water age. Tu et al. (2005) solved a problem of optimizing the distribution and quality of a regional water supply system, which relies on several different water sources of different qualities. Their method involved a genetic algorithm for the determination of flow directions and the application of a generalized reduced gradient to optimize the objective function afterwards. Yang et al. (2000) presented an optimization of a WDS's operation under blending constraints. The Battle of the Networks II (Marchi et al. 2014) constitutes another example of an attempt to address water age as part of a design and operation problem of WDSs and highlights the importance and relevance of the topic.
The link between WDSs and power grids (PGs) is multifaceted and symbiotic, underscoring the interdependency of critical urban infrastructure networks (Hamiche et al. 2016). WDSs rely heavily on the uninterrupted supply of electricity for various operations, including pumping, treatment, and distribution. Electric pumps are integral components of water distribution networks, facilitating the movement of water from sources to consumers, while treatment processes such as filtration, disinfection, and chemical dosing require consistent power supply to maintain water quality standards. Moreover, the monitoring and control systems employed in water infrastructure, such as supervisory control and data acquisition systems, depend on electricity to monitor flow rates, pressure levels, and water quality parameters in real time, enabling operators to detect anomalies, optimize system performance, and respond swiftly to emergencies. As such, any disruptions or fluctuations in PG operation can have profound implications for the functionality and resilience of WDSs, potentially leading to service interruptions, compromised water quality, and cascading impacts on public health, economic activities, and societal well-being.
In recent years, several studies have investigated the coupled optimization of power and water systems. Koh et al. (2022) explored the interaction between a reservoir system and the PG, demonstrating through a hard-coupling modelling framework that integrating water systems enhances renewable energy integration. Pereira-Cardenal et al. (2016) optimized a joint regional water–power system, focusing on irrigation, with emphasis on water systems for power generation and agricultural purposes rather than drinking water distribution. Zamzam et al. (2019) proposed an optimal operation problem aiming to minimize operation costs, but their assumptions, such as fixed energy prices for water operators and simplified constraints on WDSs, may not fully capture real-world complexities. Stuhlmacher & Mathieu (2020) formulated a problem to minimize flexibility costs by treating WDS as controllable loads, which may oversimplify the importance of WDS objectives. Oikonomou et al. (2017) suggested revealing energy prices to WDS operators for optimization, while Oikonomou & Parvania (2020) incorporated desalination plants into WDS optimization. Majidi et al. (2022) introduced a pumped-storage hydropower unit to reduce reliance on conventional generators, highlighting the need for comprehensive optimization methods for interconnected systems. Putri et al. (2023) proposed a predictive control algorithm for interconnected water and power systems, demonstrating significant benefits such as capital savings and reduced carbon footprint. Bhatraj et al. (2024) presented an optimization model for renewable energy–based microgrids coupled with water supply systems, emphasizing energy efficiency improvements. All mentioned studies often lack detailed modelling of the PG, particularly power flow equations, which is crucial for revealing optimal operation strategies for both networks. Furthermore, they seldom took into consideration water quality objectives of constraints.
In this work, we aim to analyze different conjunctive operational strategies and gain an understanding of their effect on water quality. We intend to link different operation strategies, water quality, and total operation cost and show the trade-offs that take place between the different objectives. We examine two simple conjunctive systems and use a non-linear optimization model to obtain results.
METHODOLOGY
For the purposes of this work, we select water age, which is defined as the time water travels throughout the system until it reaches consumers, as an indicator for water quality in the system. In general, low values of water age are most desired, as they indicate fresher water that are more suitable for consumption, as opposed to older water, which is often linked to bad water quality and certain water quality issues such as odd taste or odour, microbial growth, and reduced ability to control corrosion (EPA 2022).
A large amount of data was randomly generated using MATLAB and its EPANET toolbox. Out of the 50,000 randomly generated hydraulic simulations, 43,600 were hydraulically feasible (satisfy minimal pressure head constraints of 30 m at all network nodes). The simulations were generated by constructing random sequences of pump rotation speeds and inserting them into EPANET 2.2 to obtain hydraulic data. Upon examining the data, a clear relationship between tank operation and the maximal water age observed in network demand nodes has emerged. This relationship led us to believe that by constraining the operation of the tank, the maximal allowed water age in the system could be controlled. Constraining the operation of the tank would indirectly affect the operation of pumps, which will in turn affect the operation of the PG.
RESULTS
Case study I
Table 1 presents properties of both the WDS and the PG of case study I.
System . | Component . | Attribute . | Value . |
---|---|---|---|
WDS | Link | Diameter (mm) | 600 |
Roughness (-) | 110 | ||
Length (km) | 3 | ||
Node | Base water demand (m3/h) | 475 | |
Pressure demand (m) | 30 | ||
Elevation (m) | 0 | ||
Tank | Elevation (m) | 35 | |
Diameter (m) | 25 | ||
Maximal level (m) | 7 | ||
Tank link | Diameter (mm) | 500 | |
Length (km) | 0.5 | ||
Pump | η (-) | 0.85 | |
Curve coefficients | 200; 1 × 10−5 | ||
Rotation speed range (rpm) | [0,50] | ||
αpq (-) | |||
PG | Transmission line | Impedance (p.u.) | 0.1j |
Capacitor | Admittance (p.u.) | 0.055j | |
Bus | Minimum voltage bound (p.u.) | 0.95 | |
Maximum voltage bound (p.u.) | 1.05 | ||
Reference bus | Reference voltage (p.u.) | 1 | |
Load | Base power demand (p.u./h) | 2.8653 + 1.2244j |
System . | Component . | Attribute . | Value . |
---|---|---|---|
WDS | Link | Diameter (mm) | 600 |
Roughness (-) | 110 | ||
Length (km) | 3 | ||
Node | Base water demand (m3/h) | 475 | |
Pressure demand (m) | 30 | ||
Elevation (m) | 0 | ||
Tank | Elevation (m) | 35 | |
Diameter (m) | 25 | ||
Maximal level (m) | 7 | ||
Tank link | Diameter (mm) | 500 | |
Length (km) | 0.5 | ||
Pump | η (-) | 0.85 | |
Curve coefficients | 200; 1 × 10−5 | ||
Rotation speed range (rpm) | [0,50] | ||
αpq (-) | |||
PG | Transmission line | Impedance (p.u.) | 0.1j |
Capacitor | Admittance (p.u.) | 0.055j | |
Bus | Minimum voltage bound (p.u.) | 0.95 | |
Maximum voltage bound (p.u.) | 1.05 | ||
Reference bus | Reference voltage (p.u.) | 1 | |
Load | Base power demand (p.u./h) | 2.8653 + 1.2244j |
Overall, it can be observed that water age is damaged when applying the conjunctive approach to the system – while most scenarios in the independent WDS operation problem result in maximal water age of less than 9 h, most scenarios examined with the conjunctive approach led to maximal water age that exceeds 10.5 h. This emphasizes the competition between the two objectives of better water quality and reduced operational cost, constituting a clear link between the quality of water in the WDS to the operation of the PG.
A steady increase in total pump power is observed for the independent WDS operation problem. As tanks in the system are more strictly constrained, a reduced amount of the energy that they contain can be exploited, resulting in increased power capacities for pumping purposes. A decrease in maximal water age value is also observed, reaching its minimal value in the scenario of constraining minimal tank level at 7 m, meaning that no water is allowed to flow out of the tank. Water ages most significantly in tanks, since large amounts of water are not mixing with fresher water. By not using the tank, the effect of the older water it contains on the system's maximal water age is mitigated.
Tank operation policies differ in the two problems. As the objective function of the independent WDS operation problem is defined as minimization of pump power demand, tank operation policy is quite trivial – the entire volume of water in the tank is exploited to reduce pump power demand as much as possible, and once it is empty, it is filled up to meet the tank closure constraint. In the conjunctive operation, however, the tank is incentivized to be filled mid-day due to the availability of free solar power. In addition, it does not reach its lower bound constraint. This explains the flat section of the curve between 0 and 3.5 m – even though the constraint value is modified, the optimal solution is not affected, since the constraint is not binding. As the minimal tank level constraint reaches the minimal tank level obtained for the original problem, water age begins to rise.
Defined as a weighted average, water age is affected by two parameters – the quantity of the water mixing in nodes and its age. Water age in a system would be damaged most significantly by large amounts of old water mixing in nodes with small amounts of younger water, and it could be improved by either ensuring constant mixing with younger water or limiting the amount of old water entering the system. Smaller amounts of water that are supplied from the tank in the morning result in older water entering the system at 18:00, when the tank is used for the second time in a day. This causes for the water age rise between the 3.5 and 5.6 m constraint values. This trend is mitigated when the constraint value keeps increasing. At this point, although the water supplied from the tank is older, its amount is small enough that it does not damage the water age in a dramatic way.
Since the tank operation policy is similar, the curves attain a similar shape, with a spike in water age occurring at 18:00, when the tank is emptied for the second time. However, by limiting the minimal tank level to 6.5 m, water age was able to be kept under 9 h, and under 4 h for not using the tank at all throughout the simulation.
Case study II
System . | Component . | Attribute . | Value . |
---|---|---|---|
WDS | All links | Diameter (mm) | 600 |
Roughness (-) | 120 | ||
Links 3, 4, 5, 6, 7, 9 | Length (km) | 2 | |
Link 8 | 4 | ||
All nodes | Pressure demand (m) | 30 | |
Elevation (m) | 0 | ||
Nodes 4, 5 | Base water demand (m3/h) | 150 | |
Node 6 | 300 | ||
Node 7 | 400 | ||
Tanks | Diameter (m) | 20 | |
Hmin (m) | 30 | ||
Tank links 10, 11 | Diameter (mm) | 750 | |
Length (km) | 0.4 | ||
Pumps | η (-) | 0.85 | |
Curve coefficients | 200; 1 × 10−5 | ||
Rotation speed range (rpm) | [0,50] | ||
αpq (-) | |||
PG | Transmission line | Impedance (p.u.) | 0.003 + 0.01j |
Bus | Voltage magnitude (p.u.) | 1 | |
Reference bus | Minimum voltage bound (p.u.) | 0.95 | |
Maximum voltage bound (p.u.) | 1.05 | ||
Loads (buses 3, 7, 8, 12, 13, 14) | Base power demand (p.u./h) | 0.5 + 0.175j |
System . | Component . | Attribute . | Value . |
---|---|---|---|
WDS | All links | Diameter (mm) | 600 |
Roughness (-) | 120 | ||
Links 3, 4, 5, 6, 7, 9 | Length (km) | 2 | |
Link 8 | 4 | ||
All nodes | Pressure demand (m) | 30 | |
Elevation (m) | 0 | ||
Nodes 4, 5 | Base water demand (m3/h) | 150 | |
Node 6 | 300 | ||
Node 7 | 400 | ||
Tanks | Diameter (m) | 20 | |
Hmin (m) | 30 | ||
Tank links 10, 11 | Diameter (mm) | 750 | |
Length (km) | 0.4 | ||
Pumps | η (-) | 0.85 | |
Curve coefficients | 200; 1 × 10−5 | ||
Rotation speed range (rpm) | [0,50] | ||
αpq (-) | |||
PG | Transmission line | Impedance (p.u.) | 0.003 + 0.01j |
Bus | Voltage magnitude (p.u.) | 1 | |
Reference bus | Minimum voltage bound (p.u.) | 0.95 | |
Maximum voltage bound (p.u.) | 1.05 | ||
Loads (buses 3, 7, 8, 12, 13, 14) | Base power demand (p.u./h) | 0.5 + 0.175j |
Solving the conjunctive optimal operation problem for case study II requires significant computational resources. The problem was solved here 121 times, modifying the value of minimal tank constraints each time. Not all problems have converged to a feasible solution, which can be observed by the black squared marks shown in Figure 8. Nevertheless, a similar trend occurs, as the cheapest solutions are obtained for not constraining the tank operation at all, and the lowest water age and maximal cost obtained for the scenario in which the tanks are not employed. The water age obtained in the solution of the original problem is 14.8 h, and it is reduced to only 8.73 h by constraining tank levels. The rise of total cost reflects the way the PG is affected by the constraining of the tanks. This result means that the desire for a reduced water age value in the WDS will force the PG to operate in a more expensive, less favourable pattern – which demonstrates the competition between the objectives.
As expected, when tanks are not constrained at all, the highest water age values are obtained. The maximal water age is 14.8 h, which takes place in node 5. As the constraint is modified, water age begins to decrease. No significant improvement is observed when comparing the last three sets of constraints. The last set, in which flow out of the tanks is fixed to zero, does result in the lowest water age value, but the difference is negligible and does not exceed several minutes.
In general, it can be determined that the conjunctive approach damages water quality in the system, as it helps cut pump power costs, and subsequently reduces the amount of water supplied by pumps, leading to higher tank water supply, which is of lesser quality. The results illustrate the effect of the PG operation on water quality and presents water quality and power generation costs as competing objectives in the optimal operation problem. By applying the mentioned analysis to the conjunctive optimal operation problem, this competition is revealed in a clearer way – as tank operation is more constrained, water age generally improves, and total operation costs increase. The creation of visual operational tools such as those shown in Figures 4 and 8 can help operators assess how to best operate tanks in their systems to minimize operation costs, while maintaining a desired water quality.
CONCLUSION
This work focused on the examination of water quality response to the conjunctive optimal operation problem. Since the operation of the PG has the potential of influencing flow directions in the WDS, decisions made regarding power generation result in different water quality outcomes. Water age was chosen to represent a water quality indicator to be monitored in the WDS.
As analytical water quality calculations are extremely complex, the first part of this study was focused on the development of a surrogate method that would allow the simple incorporation of water quality in the optimization model. Several attempts were made to construct a linear regression model by examining large amounts of data, generated randomly by EPANET 2.2. After failing to develop a stable and reliable regression model, and upon examining the obtained data, it was decided to consider the minimal tank level constraint as a surrogate predictor for water age.
Results show that generally, as the minimal bound for the tank level rises, water age in the system reduces. This way, a non-linear conjunctive optimal operation problem could be formulated and solved for a range of minimal tank level constraint values, and by inserting the solutions into EPANET 2.2 and extracting the maximal water age value for each of them, an operational ‘map’ could be obtained, tying tank operation, maximal water age, and total operation cost.
The results reveal a complex problem, and they differ depending on the system that is solved. The consideration of a network containing two tanks or more can result in a very large number of optimization problems to be solved, which can be very challenging computationally, and optimal solutions are not guaranteed for any set of constraints, even for a relatively small systems such as those examined in this work.
The analysis and control of water quality in WDSs poses significant challenges and lies at the very front of water resources engineering research these days. Future studies could combine different existing models for water quality prediction into the conjunctive optimization model to more accurately characterize the effects of the PG operation on water quality, consider more complex PG with storage components, or examine the effects of different PG objectives on water quality. Such studies will help reveal the link between power systems to water quality and have the potential to lead to better infrastructure management.
ACKNOWLEDGEMENTS
Special assistance from JNF, Israel, enabled the completion of this research. The Bernard M. Gordon Centre for Systems Engineering at the Technion provided valuable support for this study. In addition, a grant from the United States-Israel Binational Science Foundation (BSF) supported this research. The Israeli Ministry of Environmental Protection and the Israeli Ministry of Science are also acknowledged for their contributions to this study.
DATA AVAILABILITY STATEMENT
All relevant data are included in the paper or its Supplementary Information.
CONFLICT OF INTEREST
The authors declare there is no conflict.