Revised Chlorine Mass Balance for Chlorine Loss Assessment in Water Distribution Networks

Abstract
Water and energy balances in water distribution networks (WDNs) are commonly used for managing water and energy losses, respectively. Recently, a new approach, the chlorine mass balance, has been proposed to assess chlorine losses within WDNs. However, previous research did not account for changes in chlorine masses in pipes and tanks within the networks (∆MN). In this study, we introduce ∆MN as a new component in the revised chlorine mass balance and assess its significance by utilizing a simple WDN model with a downstream tank. Our findings reveal that the hourly magnitude of ∆MN can be comparable to the other two primary components: the chlorine mass delivered to users, and chlorine mass losses by reactions. This underscores the importance of ∆MN for the short-term assessments, particularly in cases involving intermittent water supply and pressure-loss events. During non-supply periods, chlorine concentrations in stagnant water within pipes and tanks decrease due to reactions, resulting in negative ∆MN. When water supply resumes, a portion of the input chlorine mass is used to restore chlorine levels in WDNs, resulting in positive ∆MN. ∆MN fluctuates between positive and negative values with an average value around zero in continuously operating general WDNs. Therefore, if the balance is assessed over a long period with many cycles of periodic patterns, ∆MN becomes less significant.
1 Introduction
Disinfection is a crucial water treatment process designed to ensure the quality of drinking water by eradicating harmful microorganisms responsible for waterborne diseases. Among the various disinfection methods, chlorination stands out as the most widely applied due to its cost-effectiveness and the residual protection it offers in water distribution networks (WDNs) (e.g., Gibbs et al. 2006; Farooq et al. 2008; Tsitsifli and Kanakoudis 2018). However, as drinking water travels from its source to consumers, chlorine interacts with dissolved organic and inorganic compounds in the water (Ozdemir and Buyruk 2018; Zhong et al. 2021). It also reacts with certain pipe materials, biofilm, and loose deposits (Monteiro et al. 2020; Minaee et al. 2019). These chemical reactions result in the decay of free residual chlorine over time.
The World Health Organization (WHO 2011) has recommended a minimum chlorine concentration of 0.2 mg/l to deactivate bacteria and some viruses responsible for waterborne diseases, as well as to safeguard water against recontamination during storage. Conversely, the U.S. Environmental Protection Agency (USEPA 2012) has advised a maximum concentration of 4.0 mg/l to mitigate health risks, such as the formation of harmful disinfection by-products. Maintaining the required chlorine concentrations and controlling by-products poses a challenging task for waterworks (Li et al. 2019). This task becomes even more formidable in intermittent water supply systems, where water stagnation in pipes can deplete chlorine residuals, heightening the risk of microbial regrowth and contamination (Bivins et al. 2021; Preciado et al. 2021).
Water quality models for assessing drinking water can be broadly classified into data-driven and physics-based approaches. Mounce et al. (2015) exemplified a data-driven approach by using hydraulic parameters (flow or pressure) to identify significant turbidity changes in water distribution networks. Wang et al. (2023) further demonstrated the potential of data-driven methods by successfully approximating physics-based chlorine models using system identification algorithms without relying on network parameters. Chhipi-Shrestha et al. (2023) provided a comprehensive review of the broader landscape of artificial intelligence applications in drinking water quality assessment.
For physical-based models, computerized WDN models, combined with water quality analysis modules, have demonstrated the capability to accurately simulate chlorine distribution (Kowalska et al. 2018; Fisher et al. 2021). Consequently, numerous modeling studies have been dedicated to optimizing chlorine and by-product concentrations in WDNs (Fisher et al. 2018; Javadinejad et al. 2019; Monteiro et al. 2020; Sharif et al. 2017; Yoo et al. 2018; Abokifa et al. 2019; Onyutha and Kwio‑Tamale 2022). In a recent study, Kongbuchakiat et al. (2022) utilized such modeling techniques to evaluate operational performance from a water quality perspective, proposing a target chlorine resilience index.
Recently, many studies have combined two approaches to analyze water quality. For example, Rajakumar et al. (2019) demonstrated the application of real-time chlorine concentration modeling in WDNs using the ensemble Kalman filter (EnKF) for state and parameter estimation. The results indicate that the EnKF provides reliable and accurate estimates for both water quality parameters and system states, allowing for improved monitoring and management of WDNs. Pérez et al. (2022) investigated the supervision of chlorine concentration distribution throughout a full-scale WDN. They utilized on-line data from specific locations to dynamically calibrate the kinetic chlorine decay coefficient using principal component analysis. The calibrated coefficient was subsequently input into EPANET for network-wide supervision.
However, most modeling studies have not addressed how chlorine is lost within WDNs. In WDNs, water balance plays an essential role in assessing water losses (Alegre et al. 2016; AWWA 2016), and energy balance does a similar task for energy assessment (Cabrera et al. 2010; Lapprasert et al. 2018; Lipiwattanakarn et al. 2019; Lipiwattanakarn et al. 2021a). Lipiwattanakarn et al. (2021b) introduced the pioneering concept of the chlorine mass balance to evaluate chlorine losses in networks. This concept involves dividing the chlorine mass input from sources into three primary components: mass delivered to users, outgoing mass through water losses, and mass losses due to chemical reactions. Using a district metering area as an illustrative example, their concept could classify and quantify chlorine mass losses in detail. Importantly, their concept not only assesses how chlorine is lost, but can also be utilized to estimate by-product mass because by-products typically form as a result of chlorine decay processes (Li et al. 2019; Quintiliani et al. 2018). Most recently, Wongpeerak et al. (2023) introduced a novel theoretical framework for estimating chlorine balance components in WDNs using graph-based analysis. By analyzing simulated chlorine mass balance results from 20 real district metering areas, the authors proposed simplified equations that can estimate chlorine mass losses without the need for complex network simulations.
According to Cabrera et al. (2010), the variation in water volume and potential energy stored in downstream tanks over a given period, defined as net flow of water and energy compensation, respectively, must be considered in short-term water and energy balance assessments. This is because water and potential energy stored in the elevated water of the tank can offset the inflow and input energy required for the network. However, when integrated over a long enough period, the net flow and energy compensation by the tanks approach zero, thus negating their contribution to long-term analysis. Investigating Lipiwattanakarn et al.’s (2021b) chlorine balance in detail, we found that changes in chlorine masses in pipes and downstream tanks were not considered in their balance, along with chlorine mass losses due to reactions in tanks. Consequently, their concept was limited to long-term assessment without downstream tanks. In this study, we extend their concept by including the estimation of these components and present a short-term assessment of a simple WDN with a downstream tank.
2 Methodology
2.1 Revised free residual chlorine mass balance
Figure 1 presents a conceptual schematic illustrating the mass transport of free residual chlorine in a WDN with a downstream tank. The system input mass (MIN) from the source enters the WDN and is stored in the pipes as MN,P. During transport in the pipes, chemical reactions cause a reduction in mass, defined as MRT,P. A portion of the remaining mass is delivered to users (MU), while some may exit the WDN through leaks, designated as MWL. In the presence of a downstream tank, there is an exchange of water and chlorine mass between the pipes and the tank. The tank receives and returns mass from the pipes, corresponding to its water inflow and outflow of the tank. Additionally, the mass in the tank (MN,T) can be reduced by the chemical reactions in the tank (MRT,T).
Figure 1 Conceptual schematic of free residual chlorine mass balance in water distribution network with downstream tank.
Table 1 shows the revised chlorine mass balance proposed in this study for short-term assessments. The previous chlorine mass balance by Lipiwattanakarn et al. (2021b) assumed the system input mass (MIN) to be equal to the system output mass, divided into three components: MU, MWL, and MRT. However, under the unsteady-state mass transport where the input mass does not equal the output mass, the change in mass in the network (control volume) must be accounted for. Therefore, we introduce ∆MN, representing the chlorine mass changes for a defined time period. ∆MN can be further broken down into the mass changes occurring in pipes (∆MN,P) and tanks (∆MN,T).
Table 1 Revised free residual chlorine mass balance and components by adding new components (shaded).
System input mass (MIN) | Mass delivered to users (MU) | |
Outgoing mass through water losses (MWL) | ||
Mass losses by reactions (MRT) |
Mass losses by reactions in pipes (MRT,P) | |
Mass losses by reactions in tanks (MRT,T) | ||
Mass changes in networks (∆MN) |
Mass changes in pipes (∆MN,P) | |
Mass changes in tanks (∆MN,T) |
A calibrated hydraulic simulation model is required to evaluate each component for a defined time period. Let t represent time. To perform the simulation over an extended period starting from the initial time (to) to the final time (tf), the model must be stimulated in time intervals (Δt) to obtain dynamic results that reflect the time-dependent change within the system. Thus, the total number of time steps (nt) will equal (tf - to)/Δt+1).
The methods to calculate the components can be divided into three groups. The first group is the summation of the mass fluxes getting into or out of a WDN at each time step (it). These components are MIN, MU, and MWL, which can be computed as follows:
![]() |
(1) |
![]() |
(2) |
![]() |
(3) |
Where:
C | = | chlorine concentration, and |
Q | = | discharge at a node. |
While it, iIN, iU, and iWL are the indices of time and the locations of chlorine inputs, users and water losses, respectively, nt, nIN, nU, and nWL are the total numbers of them, respectively.
The second group is the summation of mass losses by reactions at each pipe and tank of a network. They are MRT,P, MRT,T, and MRT, which can be written as follows:
![]() |
(4) |
![]() |
(5) |
![]() |
(6) |
Where:
R | = | decay rate of chlorine by chemical reactions, and |
∀ | = | water volume in each section of the pipe or tank. |
While iP and iT are the indices of pipes and tanks, respectively, nP and nT are the total numbers of them, respectively.
Finally, the last and new group is the changes of chlorine mass in WDNs. The mass change calculation deviates from the first two groups. Instead of a summation across all time steps, it involves calculating the difference in mass within the network (control volume) between the initial time (t0) and final time (tf), in accordance with the concept of Reynolds Transport Theorem for a control volume.
Let’s define the chlorine mass in networks at time t as MN(t). As supplied water with chlorine mass can be stored in pipes and tanks, MN(t) can be divided into MN,P(t) and MN,T(t) for pipes and tanks, respectively. These components can be computed as follows:
![]() |
(7) |
![]() |
(8) |
![]() |
(9) |
Where:
iP and iT | = | pipe and tank indices, respectively, |
nP and nT | = | total number of pipe sections and tanks, respectively, |
![]() ![]() |
= | chlorine concentrations in pipe iP and tank iT, respectively, and |
![]() ![]() |
= | water volumes in pipe iP and tank iT, respectively. |
Thus, the changes of chlorine mass (∆MN, ∆MN,P, and ∆MN,T) between the initial and final times can be calculated as follows:
![]() |
(10) |
![]() |
(11) |
![]() |
(12) |
Where:
to and tf | = | initial and final times, respectively. |
While positive values of ∆MN, ∆MN,P, and ∆MN,T indicate increases in the chlorine mass in water volume, negative values imply decreases.
∆MN,T is similar to the energy compensation of downstream tanks defined by Cabrera et al. (2010). However, they neglected the energy changes in pipes over a given period, akin to ∆MN,P. This omission was possibly due to hydraulic modeling for a given period typically being a steady-state extended-period simulation. Thus, the simulated input and output energies balance each other without considering the energy changes in pipes due to the steady-state assumption. However, water quality modeling cannot rely on the steady-state assumption because of the chlorine mass transport in WDNs.
2.2 Water distribution system model
In this study, we employed the WNTR package in Python (Klise et al. 2020), which is compatible with the EPANET software (Rossman 2000), for both hydraulic and water quality modeling. Unlike the steady-state hydraulic solver, the water quality solver uses the principle of mass conservation coupled with reaction kinetics under unsteady transport conditions. For instance, the transport phenomena in pipes can be expressed using the advective transport equation as follows:
![]() |
(13) |
Where:
Ci | = | concentration (mass/volume) in pipe i as a function of distance x, and time t, |
ui | = | flow velocity (length/time) in pipe i, and |
r | = | rate of reaction (mass/volume/time) as a function of concentration. |
While diffusion is a physical process that can influence water quality, it is often omitted or simplified in pipe network models due to the dominance of advection in most areas. However, in dead-end areas with low velocities, diffusion has a more significant impact on water quality concentrations (Tzatchkov et al. 2002; Shang et al. 2021).
Dynamic models for simulating pipe systems can be broadly categorized into Eulerian and Lagrangian approaches. Eulerian-based models divide pipes into equal segments. The concentration within each segment is then transferred to the next downstream segment. However, Eulerian methods have drawbacks, such as numerical diffusion and difficulty tracking sharp fronts. Rossman and Boulos (1996) compared four models, two Eulerian-based and two Lagrangian-based, finding that the time-driven Lagrangian method was the most efficient.
The EPANET’s water quality solver was developed by Rossman and Boulos (1996) drawing upon earlier work by Liou and Kroon (1987). It uses a Lagrangian time-based approach to track the fate of discrete segments of water as they move along pipes and mix at junctions between fixed-length time steps. However, this approach does not conserve constituent mass. Davis et al. (2018) showed that the EPANET’s water quality solver can experience mass imbalances during simulations, leading to errors in concentration estimates, especially when time steps are too long. They recommended that, to ensure mass balance, the water quality time steps should be shorter than the time required for a water parcel to move through the network pipe segment (link) with the shortest travel time for the simulation (the minimum residual time).
In this study, we use the EPANET’s example network 1 “Net1.inp”, included in the software installation (Rossman 2000), to demonstrate our chlorine mass balance concept with a time step of 1 min to ensure the conservation of chlorine mass because the minimum residual time in this network is found to be 2 mins. More details on the impact of different quality time steps on chlorine mass balance can be found in the supplementary material. The network configuration with its base demands and pipe diameters is shown in Figure 2. The network includes a source, a pump, a downstream tank and a network with demands at each junction. The base demand at each junction is between 100–200 gpm (379–757 lpm) shown in Figure 2A, and the diameter at each pipe is between 6–18 in (152–457 mm) in Figure 2B.
Figure 2 Network configuration with (A) base demands, and (B) pipe diameters.
3 Results and discussion
3.1 Temporal variations of flows, chlorine concentrations, and chlorine masses
The simulation runs for 96 hrs (4 days), with hourly results recorded. Figure 3 illustrates chlorine concentration distributions at two time points: the initial stage (Day 1, 12:00 AM), and the stage after the simulation for 72 hrs (Day 4, 12:00 AM). Initially, chlorine concentrations at all nodes are set to 0 mg/l to simulate the situation of very low concentration (Figure 3A), while the source provides water with a constant concentration of 1 mg/l. The network feathers no pressure-dependent flow (zero emitter coefficient), assuming no water loss, and, thus, node demands represent water delivered to users. A basic pump control system is applied in this study. The pump starts when the tank water level falls below 110 ft (33.53 m) and stops when the tank water level exceeds 140 ft (42.67 m). Consequently, the tank occasionally solely supplies water to the users. During that period, the network receives water with a lower concentration than the source, as depicted in Figure 3B. At Day 4, 12:00 AM, the pump stopped, and water was supplied by the tank. Chlorine concentrations range from 0.09 and 0.17 mg/l at junctions and pipes. The hourly results for a 96-hour duration are used for the analysis of the chlorine mass balance in the following section.
Figure 3 Free residual chlorine concentration distributions at (A) Day 1, 12:00 AM (initial conditions), and (B) Day 4, 12:00 AM (at 72 hr).
Figure 4 shows the flow patterns of the source, the tank, and the demand. Since the demand pattern is set to a 24-hour cycle, the patterns of both the source and the tank exhibit approximately 24-hour cycles as well. The source inflow, regulated by the pump, varies between 0 and 1,900 gpm. As described earlier, the pump stops when the tank water level reaches 140 ft; thus, the tank will solely feed the network demands until the tank water level drops below 110 ft. Meanwhile, the tank inflow fluctuates between -1,000 and 1,100 gpm, with negative values indicating tank replenishment. Notably, a gradual shift in pump start from prior to midnight to after midnight is due to the initial conditions, and it persists for several days before the results stabilize into a fully periodic 24-hour cycle. Throughout the simulation, the demand peaks at 1,760 gpm from 6:00 AM to 7:00 AM. It gradually decreases to a minimum of 440 gpm from 6:00 PM to 7:00 PM and subsequently rises back to its peak.
Figure 4 Time series of inflows from source and tank.
Figure 5 illustrates the variations in chlorine concentrations at the source, the tank and the critical chlorine point (CCP) during the simulation. The source maintains a constant chlorine concentration of 1 mg/l, while the tank and CCP concentrations are initially set to 0 mg/l. These results demonstrate how the system recovers from a complete absence of chlorine in the network, simulating a scenario where a failed system is rebooted. The extended-period simulation indicates that the system reaches a completely 24-hour periodic state after 10 days. However, the focus of our investigation will be on the initial 4 days, examining the system’s immediate response to this failure scenario. The tank’s concentration gradually increases over time as the tank is replenished with chlorinated water from the source. Notably, after reaching the completely periodic state, the tank's chlorine concentration fluctuates within a 24-hour period, ranging between 0.23 mg/l and 0.27 mg/l due to the balance between chlorine input and the decay reactions within the tank. However, the critical chlorine point exhibits a broader concentration range, spanning from 0.1 mg/l to 0.4 mg/l after reaching the completely periodic state. This variability is attributed to the fact that when the critical chlorine point receives water directly from the source, the chlorine concentration is notably high due to its short travel time from the source to the user. Conversely, when water is from the tank, users receive water with a lower chlorine concentration.
Figure 5 Time series of chlorine concentrations at source, tank, and critical point.
Figure 6 shows the hourly variations in each chlorine component, as outlined in the revised chlorine balance in Table 1. As previously mentioned, to assess the short-term chlorine mass balances, the changes in chlorine mass in the network (∆MN) are crucial, where ∆MN = MIN - MU - MRT. The previous study (Lipiwattanakarn et al. 2021b) assumed that ∆MN = 0, making their approach unsuitable for this case. In Figure 6A, we observe the primary input and output components (MIN, MU, MRT and ∆MN). Initially, MIN supplies approximately 400 g/hr of chlorine mass flux from the source. When the pump stops as per the simple control system, the network ceases to receive water from the source, resulting in MIN reaching zero. Instead, the network receives water from the tank, characterized by a low chlorine concentration. Consequently, ∆MN undergoes an abrupt transition from a positive value to a significantly negative value as network concentrations experience a sudden and substantial drop. Additionally, both MU and MRT rapidly decrease. Conversely, when the pump restarts, and the network once again receives water with a high chlorine concentration from the source, ∆MN undergoes an abrupt shift from a negative value to a substantial positive value. This shift is followed by a rapid increase in both MU and MRT. Thus, it becomes evident that the input chlorine mass from the source is primarily utilized to restore chlorine mass levels within the network, resulting in a notably positive ∆MN before it is delivered to users as MU. This phenomenon suggests that, particularly in cases of intermittent water supply and pressure-loss events, where network concentrations are low, a portion of the input chlorine mass is essential to replenish chlorine levels in water distribution networks before users can access it. Furthermore, as chlorine concentrations within the network increase, chlorine decay rates also rise, leading to an increase in MRT. Additionally, the demand pattern depicted in Figure 4 influences the patterns of MU and ∆MN.
Figure 6B displays the output subcomponents (MRT,P, MRT,T, ∆MN,P, and ∆MN,T). These components are intricately tied to chlorine decay rates, which are, in turn, linked to concentration levels. MRT,P is high when the source provides inflow with a high chlorine concentration, and it is low when the inflow is from the tank with a low chlorine concentration. Therefore, hourly MRT,P ranges between 0 and 150 g/hr. In contrast, MRT,T is influenced by the gradual increase in concentration within the tank, as shown in Figure 5. Notably, MRT,P is found to be higher than MRT,T because the average concentration in the pipes (0.45 mg/l) exceeds that of the tank (0.14 mg/l). Therefore, the overall chlorine decay rate in the pipes is well higher than that in the tank. ∆MN,P and ∆MN,T are computed as the differences of chlorine masses in pipes and tanks at the present time and the next time step, respectively. ∆MN,P solely depends on the overall concentration change in the pipes because the water volume in the pipes does not change. The sudden decrease in ∆MN,P occurs due to the shift from high-concentration water from the source to low-concentration water from the tank. Conversely, the abrupt increase in ∆MN,P is caused by the reverse switch, where high-concentration water from the source again dominates the pipe network. However, ∆MN,T depends on both concentration and water volume in the tank. When the network uses tank water, ∆MN,T turns to be negative. On the other hand, ∆MN,T is positive when water with chlorine fills the tank.
Figure 6 Time series of chlorine mass components, where (A) is main input and output components (MIN, MU, MRT, and ∆MN), and (B) is detailed output components (MRT,P, MRT,T, ∆MN,P, and ∆MN,T).
3.2 Free residual chlorine balance
Table 2 presents the simulation results of the chlorine mass balance for two days: (A) day 1, and (B) day 4. In this example, where no water loss is assumed, there is no outgoing chlorine mass through water loss (MWL) as shown in Table 1. In the day 1 balance results (Table 2A), where the initial chlorine concentration is 0 mg/l, ∆MN constitutes 18.1% of MIN, indicating that a part of MIN is used to restore the chlorine concentration within the network from its initial zero value. Moreover, ∆MN is half the magnitude of both MU and MRT. While the hourly ∆MN values in Table 2A demonstrate a similar magnitude to the hourly MU and MRT values, the daily ∆MN magnitude is smaller. This discrepancy arises from the fact that hourly ∆MN fluctuates between positive and negative values, while hourly MU and MRT consistently remain positive. Consequently, when these hourly values are summed, ∆MN turns out to be smaller than MU and MRT.
In Table 2B, representing the day 4 balance, we observe a slight increase in MIN due to a small rise in the inflow from the source. Similarly, MU and MRT increase, reflecting the higher chlorine concentration within the network compared to day 1. However, ∆MN experiences a substantial decrease, constituting only 3.6% of MIN. This decline can be attributed to the chlorine concentration within the network approaching a 24-hour periodic pattern, leading MIN ≅ MU + MRT. Our findings underscore the significance of ∆MN, particularly in cases where water quality simulations lack complete periodicity, such as intermittent water supply and pressure-loss events. In such cases, ∆MN emerges as a crucial component that cannot be overlooked in the chlorine mass balance and assessment. Nevertheless, it is important to note that ∆MN may not be necessary for the chlorine assessment when evaluated from a long-term perspective. Omitting ∆MN in long-term assessments is akin to the negligible energy compensation in downstream tanks, as recommended by Cabrera (2010) in long-term energy assessments.
Table 2 Chlorine mass balance and components with downstream tanks for: (A) day 1, and (B) day 4.
(A) day 1
MIN 5.7 kg (100%) | MU 2.4 kg (42.4%) | |
MRT 2.2 kg (37.3%) |
MRT,P 2 kg (34.3%) | |
MRT,T 0.2 kg (3.0%) | ||
∆MN 1.1 kg (18.1%) |
∆MN,P 0.6 kg (10.2%) | |
∆MN,T 0.5 kg (7.9%) |
(B) day 4
MIN 6.1 kg (100%) | MU 2.8 kg (46.3%) | |
MRT 3.1 kg (50.2%) |
MRT,P 2.4 kg (38.3%) | |
MRT,T 0.7 kg (11.8%) | ||
∆MN 0.23 kg (3.6%) |
∆MN,P 0.03 kg (0.4%) | |
∆MN,T 0.2 kg (3.2%) |
4 Conclusions
This study presents a revised chlorine mass balance designed for short-term chlorine assessment in water distribution systems. This revised balance introduces a novel component, the chlorine mass changes in networks (∆MN), which further breaks down into two subcomponents: the mass changes in pipes (∆MN,P), and the mass changes in tanks (∆MN,T). These terms become particularly significant when the simulation period lacks complete periodicity, as is often the case in scenarios such as intermittent water supply or pressure-loss events. During such periods, the chlorine concentration and mass in stagnant water stored in pipes and tanks can substantially decrease. When the system resumes operation, a notable portion of the chlorine mass input is allocated to restoring chlorine concentration and mass in pipes and tanks to their normal levels before reaching users. Furthermore, in the context of short-term energy balance and assessment, it becomes essential to consider energy changes in networks, mirroring the approach with ∆MN. In conclusion, this revised chlorine mass balance presents accountable and efficient chlorine management in water distribution networks, allowing for precise quantification of each component of the chlorine mass input and output, even when assessed on an hourly timescale.
To enhance water quality management through effective chlorine use, chlorine mass balance can be a valuable tool in assessing the causes of chlorine loss across various processes and components. Future research should focus on further delineating the details of each process. For instance, the reaction component could be divided into decays due to bulk and wall processes, and the outgoing chlorine mass attributed to water losses could be classified into real and apparent losses. Consequently, water quality audits could become as well-established as water and energy audits, conducted annually.
Acknowledgments
This research is supported by the Metropolitan Waterworks Authority Thailand (MWAIT), grant number 32/2566. N. Charuwimolkul is supported by the Faculty of Engineering, Kasetsart University, grant number 65/04/WE/D.Eng.
References
- Abokifa, A.A., A. Maheshwari, R.D. Gudi, and P. Biswas. 2019. “Influence of dead-end sections of drinking water distribution networks on optimization of booster chlorination systems.” Journal of Water Resources Planning and Management 145 (12): 04019053.
- Alegre, H., J.M. Baptista, E. Cabrera Jr, F. Cubillo, P. Duarte, W. Hirner, W. Merkel, and R. Parena. 2016. Performance indicators for water supply services. IWA Publishing, London, UK.
- American Water Works Association (AWWA). 2016. “Manual of water supply practices.” M36 Water Audits and Loss Control Programs. 4th ed., Denver, USA.
- Bivins, A., S. Lowry, S. Wankhede, R. Hajare, H.M. Murphy, M. Borchardt, P. Labhasetwar, et al. 2021. “Microbial water quality improvement associated with transitioning from intermittent to continuous water supply in Nagpur, India.” Water Research 201, 117301.
- Cabrera, E., M.A. Pardo, R. Cobacho, and E. Cabrera Jr. 2010. “Energy audit of water networks.” Journal of Water Resources Planning Management 136 (6): 669–677.
- Chhipi-Shrestha, G., H.R. Mian, S. Mohammadiun, M. Rodriguez, K. Hewage, and R. Sadiq. 2023. “Digital water: artificial intelligence and soft computing applications for drinking water quality assessment.” Clean Technologies and Environmental Policy 25 (5): 1409–1438.
- Davis, M.J., R. Janke, and T.N. Taxon. 2018. “Mass imbalances in EPANET water-quality simulations.” Drinking Water Engineering and Science 11 (1): 25–47.
- Farooq, S., I. Hashmi, I.A. Qazi, S. Qaiser, and S. Rasheed. 2008. “Monitoring of coliforms and chlorine residual in water distribution network of Rawalpindi, Pakistan.” Environmental Monitoring and Assessment 140 (1): 339–347.
- Fisher, I., G. Kastl, A. Sathasivan, and R. Catling. 2021. “Modelling chlorine residual and trihalomethane profiles in water distribution systems after treatment including pre-chlorination.” Journal of Environmental Chemical Engineering 9 (4): 105686.
- Fisher, I., G. Kastl, F. Shang, and A. Sathasivan. 2018. “Framework for Optimizing Chlorine and Byproduct Concentrations in Drinking Water Distribution Systems.” Journal: American Water Works Association 110 (11).
- Gibbs, M.S., N. Morgan, H.R. Maier, G.C. Dandy, J.B. Nixon, and M. Holmes. 2006. “Investigation into the relationship between chlorine decay and water distribution parameters using data driven methods.” Mathematical and Computer Modelling 44 (5-6): 485–498.
- Javadinejad, S., K. Ostad-Ali-Askari. and F. Jafary. 2019. “Using simulation model to determine the regulation and to optimize the quantity of chlorine injection in water distribution networks.” Modeling Earth Systems and Environment 5 (3): 1015–1023.
- Klise, K., D. Hart, M. Bynum, J. Hogge, T. Haxton, R. Murray, and J. Burkhardt. 2020. Water Network Tool for Resilience (WNTR) User Manual (No. SAND2020-9301R). Sandia National Lab. (SNL-NM), Albuquerque, NM, USA.
- Kongbuchakiat, P., A. Pornprommin, and S. Lipiwattanakarn. 2022. “Target resilience index for water distribution networks.” International Journal of GEOMATE 22 (92): 24–31.
- Kowalska, B., E. Holota, and D. Kowalski. 2018. “Simulation of chlorine concentration changes in a real water supply network using EPANET 2.0 and WATERGEMS software packages.” WIT Transactions on the Built Environment 184, 39–48.
- Lapprasert, S., A. Pornprommin, S. Lipiwattanakarn, and S. Chittaladakorn. 2018. “Energy balance of a trunk main network in Bangkok, Thailand.” Journal‐American Water Works Association 110 (7): E18–E27.
- Li, R.A., J.A. McDonald, A. Sathasivan, and S.J. Khan. 2019. “Disinfectant residual stability leading to disinfectant decay and by-product formation in drinking water distribution systems: a systematic review.” Water Research 153, 335–348.
- Liou, C.P., and J.R. Kroon. 1987. “Modeling the propagation of waterborne substances in distribution networks.” Journal‐American Water Works Association 79 (11): 54–58.
- Lipiwattanakarn, S., S. Kaewsang, A. Pornprommin, and T. Wongwiset. 2019. “Real benefits of leak repair and increasing the number of inlets to energy.” Water Practice and Technology 14 (3): 714–725.
- Lipiwattanakarn, S., S. Kaewsang, N. Charuwimolkul, J. Changklom, J., and A. Pornprommin. 2021a. “Theoretical Estimation of Energy Balance Components in Water Networks for Top-Down Approach.” Water 13 (8): 1011.
- Lipiwattanakarn, S., S. Kaewsang, C. Makpiboon, J. Changklom, and A. Pornprommin. 2021b. “Water Quality Audit in Drinking Water Distribution Networks.” Journal of Water Resources Planning and Management 147 (3): 04020113.
- Minaee, R.P., M. Mokhtari, A. Moghaddam, A.A. Ebrahimi, M. Askarishahi, and M. Afsharnia. 2019. “Wall decay coefficient estimation in a real-life drinking water distribution network.” Water Resources Management 33 (4): 1557–1569.
- Monteiro, L., J. Carneiro, and D.I. Covas. 2020. “Modelling chlorine wall decay in a full-scale water supply system.” Urban Water Journal 17 (8): 754–762.
- Mounce, S.R., J.W. Gaffney, S. Boult, and J.B. Boxall. 2015. ”Automated data-driven approaches to evaluating and interpreting water quality time series data from water distribution systems.” Journal of Water Resources Planning and Management 141 (11): 04015026.
- Onyutha, C., and J.C. Kwio-Tamale. 2022. “Modelling chlorine residuals in drinking water: a review.” International Journal of Environmental Science and Technology 19 (11): 11613–11630.
- Ozdemir, O.N., and T. Buyruk. 2018. “Effect of travel time and temperature on chlorine bulk decay in water supply pipes.” Journal of Environmental Engineering 144 (3): 04018002.
- Pérez, R., A. Martínez-Torrents, M. Martínez, S. Grau, L. Vinardell, R. Tomàs, X. Martínez-Lladó, and I. Jubany. 2022. “Chlorine concentration modelling and supervision in water distribution systems.” Sensors 22 (15): 5578.
- Preciado, C.C., S. Husband, J. Boxall, G. Del Olmo, V. Soria-Carrasco, S.K. Maeng, and I. Douterelo. 2021. “Intermittent water supply impacts on distribution system biofilms and water quality.” Water Research 201, 117372.
- Quintiliani, C., C. Di Cristo, and A. Leopardi. 2018. “Vulnerability assessment to trihalomethane exposure in water distribution systems.” Water 10 (7): 912.
- Rajakumar, A.G., M.S. Mohan Kumar, B. Amrutur, and Z. Kapelan. 2019. “Real-time water quality modeling with ensemble Kalman filter for state and parameter estimation in water distribution networks.” Journal of Water Resources Planning and Management 145 (11): 04019049.
- Rossman, L.A. 2000. EPANET 2 User’s Manual, Water Supply and Water Resources Division. National Risk Management Research Laboratory, US Environmental Protection Agency. Cincinnati, OH, USA.
- Rossman, L.A., and P.F. Boulos. 1996. “Numerical methods for modeling water quality in distribution systems: A comparison.” Journal of Water Resources Planning and Management 122 (2): 137–146.
- Shang, F., H. Woo, J.B. Burkhardt, and R. Murray. 2021. “Lagrangian method to model advection-dispersion-reaction transport in drinking water pipe networks.” Journal of Water Resources Planning and Management 147 (9): 04021057.
- Sharif, M.N., A. Farahat, H. Haider, M.A. Al-Zahrani, M.J. Rodriguez, and R. Sadiq. 2017. “Risk-based framework for optimizing residual chlorine in large water distribution systems.” Environmental Monitoring and Assessment 189 (7): 1–19.
- Tsitsifli, S. and V. Kanakoudis. 2018. “Disinfection impacts to drinking water safety—A review.” Multidisciplinary Digital Publishing Institute Proceedings 2 (11): 603.
- Tzatchkov, V.G., A.A. Aldama, and F. Arreguin. 2002. “Advection-dispersion-reaction modeling in water distribution networks.” Journal of Water Resources Planning and Management 128 (5): 334–342.
- United States Environmental Protection Agency (USEPA). 2012. 2012 Edition of the Drinking Water Standards and Health Advisories, EPA 822-S-12-001, Office of Water, USEPA, Washington, USA.
- Wang, S., A. Chakrabarty, and A.F. Taha. 2023. “Data-driven identification of dynamic quality models in drinking water networks.” Journal of Water Resources Planning and Management 149 (4): 04023008.
- Wongpeerak, K., N. Charuwimolkul, J. Changklom, S. Lipiwattanakarn, and A. Pornprommin. 2023. “Theoretical Estimation of Disinfectant Mass Balance Components in Drinking Water Distribution Systems.” Water 15 (2): 368.
- World Health Organization (WHO). 2011. Guidelines for Drinking-water Quality, 4th Edition. Switzerland.
- Yoo, D.G., S.M. Lee, H.M. Lee, Y.H. Choi, and J.H. Kim. 2018. “Optimizing re-chlorination injection points for water supply networks using harmony search algorithm.” Water 10 (5): 547.
- Zhong, D., W. Feng, W. Ma, J. Ma, X. Du, and Z. Zhou. 2021. “A variable parabolic reaction coefficient model for chlorine decay in bulk water.” Water Research 201, 117302.
Supplementary material
Impact of different quality time steps on chlorine mass balance
Figure S1 demonstrates the impact of different quality time steps on temporal chlorine concentrations at the critical pressure point. In the cases of the quality time steps (1 min and 30 s) lower than the minimum residual time (2 mins in this study), the graph shows identical chlorine concentrations, indicating no error attributable to the quality time step length.
Table S1 presents the impact of different quality time steps on chlorine mass balance on day 1 of the simulation. In the case of the quality time step of 1 min, the balance shows no error. However, when the quality time step equals 20 mins, the error between the system input mass (MIN) and the sum of the system output mass (MU + MRT + ∆MN) is 0.3 kg (5.3%).
Figure S1 Time series of chlorine concentrations at the critical pressure point at different quality time steps.
Table S1 Chlorine mass balance and components with downstream tanks on day 1 at different quality time steps.
(A) time step = 1 min
MIN 5.7 kg (100%) | MU 2.4 kg (42.4%) | |
MRT 2.2 kg (37.3%) |
MRT,P 2 kg (34.3%) | |
MRT,T 0.2 kg (3.0%) | ||
∆MN 1.1 kg (18.1%) |
∆MN,P 0.6 kg (10.2%) | |
∆MN,T 0.5 kg (7.9%) |
(B) time step = 20 mins
MIN 5.7 kg (100%) | MU 2.3 kg (40.4%) | |
MRT 2.1 kg (36.8%) |
MRT,P 1.9 kg (33.3%) | |
MRT,T 0.2 kg (3.5%) | ||
∆MN 1.0 kg (17.5%) |
∆MN,P 0.6 kg (10.5%) | |
∆MN,T 0.4 kg (7.0%) | ||
Error 0.3 kg (5.3%) |