Skip to Content
WaterWater
  • Article
  • Open Access

6 June 2026

27 Pages

Bulk Decay Coefficient Assessment for Different Water Temperatures: Ensemble Temperature State Estimation Approach

,
and
Department of Civil and Building Engineering, University of Castilla-La Mancha, Avda. Camilo José Cela s/n, 13071 Ciudad Real, Spain
*
Author to whom correspondence should be addressed.
This article belongs to the Section Urban Water Management

Abstract

Most water supply systems rely on free chlorine residual to ensure disinfection through the network and at the user’s tap. Temperature increase is known to accelerate the chlorine decay process and is typically associated with water quality deterioration. This is a challenging situation under the current climate change scenario, which is bound to increase average temperatures and the intensity and frequency of extreme-temperature events. Moreover, water temperature varies through the supply network due to seasonal changes and thermal interaction, so it is not straightforward to model chlorine evolution through the network considering temperature effects. Previous works have highlighted the importance of considering the Arrhenius formula when accounting for temperature changes in the bulk chlorine decay coefficient (typically characterized through bottle tests), but these studies have never explicitly considered the uncertainty of the bulk decay coefficient itself. Recent studies have identified that the uncertainty of the bulk decay coefficient may be relevant (>15%) and should be considered when cross-comparing bottle test results (e.g., at different temperatures). The aim of this work is to propose a new method that statistically computes the mean and standard deviation of the key parameters in the Arrhenius formula (the reference bulk decay coefficient k b 0 and activation coefficient E/R) from free chlorine residual bottle test results (with replicated measurements over samples from the entrance to the network) at different temperatures. This approach (here called the ensemble temperature state estimation approach) ensures that bottle test measurements at different temperatures are jointly assessed to derive an equation that provides the bulk decay coefficient at any water temperature. Therefore, the new method improves the characterization of the bulk decay component (and its associated uncertainty) and could be crucial for improving the understanding and modeling capabilities of complex chlorine dynamics within supply infrastructure.

1. Introduction

Water supply systems must be designed to provide water with adequate pressure and quality to consumers. Many water utilities rely on disinfectant residuals to ensure water quality at treatment works, through the network and at the user’s tap. Nowadays, free chlorine residual is the most widely adopted disinfectant residual worldwide [1,2]. High chlorine levels are not recommended because they are often related to odor/taste issues and DBP (disinfection by-product) formation [3,4]. The generally established minimum free chlorine residual concentration at the point of delivery is 0.2 mg/L [5].
Temperature is known to affect the chlorine decay rate [6,7,8,9,10,11]. In general, temperature increase accelerates chemical reactions [12]. This also applies to the chlorine decay process that takes place at water supply networks. When the temperature of water increases, free chlorine residual concentrations tend to reduce because of the faster reaction processes, potentially leading to chlorine levels below the recommended minimum and water quality issues at terminal areas [13,14]. This tendency is of particular concern under the current and projected climate change conditions [15]. At present, temperature is not systematically monitored in water supply systems, so it is not easy to quantify the implications of temperature increase on supplied water quality [16,17]. However, previous studies show that there is correlation between water quality complaints and air temperature [18,19]. Also, experimental evidence shows that temperature affects the microbiology and physical mobilization processes within water supply systems [20]. The fact that temperature increase is generally associated with water quality deterioration [17] calls for a detailed analysis of the relationship between temperature and free chlorine residual decay rates in water supply systems.
It is important to highlight that temperature changes as water moves through the water supply network [16,21], so chlorine decay rates are expected to vary through the network (spatial variability) and over time (temporal variability). Water temperature at the treatment plant is determined by the source temperature and treatment/storage characteristics. Once treated water enters the network, its temperature varies depending on the temperature gradient with the ground, the ground properties and the contact time, which is determined by the residence time of water within the system [17]. The ground–water thermal interaction is a complex phenomenon, but it is possible to simulate (or at least approximate) how water temperature evolves through the water supply system [21,22,23,24,25]. Even so, accounting for changing temperatures in a chlorine model is not straightforward. Chlorine decay modeling is typically divided into a bulk and a wall decay component. Bulk decay is determined by water quality characteristics and is not influenced by the pipes within the network, so the bulk decay coefficient ( k b ) is typically characterized by carrying out bottle tests with water samples from the entrance of the network [26]. Wall decay refers to chlorine interaction with the pipe wall, including the biofilm effect, corrosion products and/or any other particles attached to the surface [27]. Due to its complexity, wall decay is frequently computed in practice as the difference between chlorine measurements at a network position and modeled values assuming a bulk decay model only [28,29]. Some authors have adopted the Arrhenius formula to account for temperature changes in bulk decay k b [9,10,30]. To the best of the authors’ knowledge, there are no previous publications that explicitly consider the temperature effect on any wall decay model. There is evidence that temperature affects microbial abundance [31]/biofilm growth [32,33] and corrosion [34,35,36], but most chlorine wall decay models are empirical in nature, so it is difficult to include the temperature effect without systematic monitoring and modeling consensus. Therefore, it is paramount to improve characterization of the bulk component (and its relationship with temperature) to understand the complexity of the wall interaction.
This work focuses on improving the characterization of free chlorine residual bulk decay rates for different water temperatures. As mentioned before, previous works have relied on the Arrhenius formula to explain how the bulk decay coefficient varies with water temperature [10,30]. This approach is reasonable because the Arrhenius equation is widely accepted [9,37], but it should consider the measurement error effect on k b estimation and its relationship with temperature. Cejas et al. [27] have recently highlighted that measurement errors may significantly impact the bulk decay coefficient. These authors propose adopting a state estimation methodology to quantify the mean and standard deviation of k b . Coefficients of variation observed for k b in water samples from different sources (>15%) suggest that the bulk decay coefficient could seem inconsistent among different temperatures/times due to the uncertainty effect. Therefore, neglecting k b uncertainty could complicate adjusting the Arrhenius equation and computing the bulk decay coefficient at different water temperatures/network positions for some water samples.
The aim of this paper is to propose a new method that statistically computes the mean and standard deviation of the key parameters in the Arrhenius formula (the reference bulk decay coefficient k b 0 and activation coefficient E/R) from bottle test results at different temperatures. This approach (here called the ensemble temperature state estimation approach) ensures that bottle test measurements at different temperatures are jointly assessed through state estimation to provide the most likely values of the parameters involved in the Arrhenius equation ( k b 0 and E/R). State estimation (SE) is here adopted as the core engine because it is a well-established optimization method to combine model equations and noisy measurements [38,39,40,41]. Moreover, it has recently been used to adjust free chlorine residual bulk decay coefficients from bottle test data tracking the associated uncertainty [27]. The novelty of this work lies in providing a comprehensive method to derive the equation that relates the bulk decay coefficient to different water temperatures. This procedure represents an improvement with respect to the state estimation approach presented by Cejas et al. [27], which analyses each bottle test individually (here referred to as the individual temperature state estimation approach) and so may lead to inconsistent k b values at different temperatures. The ensemble temperature state estimation approach analyses bottle test measurements at different temperatures jointly to ensure the best possible fit for the Arrhenius formula. The resulting equation provides the bulk decay coefficient (and associated uncertainty) at any temperature. This is crucial to compute the bulk decay contribution at any water temperature (i.e., at any network position). Given the changes in temperature that exist through the network, this method could be key to effectively separating the bulk and the wall decay contribution. Therefore, it could be crucial to further understand and explain/model complex water quality dynamics in supply infrastructure under the current climate change scenario.

2. Materials and Methods

This section presents the general state estimation formulation (Section 2.1), which is the conceptual framework adopted in this work to adjust the bulk decay coefficient from bottle test data either with the individual temperature (Section 2.2) or ensemble temperature (Section 2.3) approach. It must be noted that, in this work, input data for both state estimation approaches are bottle test data for bulk water samples taken at the water treatment plant immediately before chlorination. Each sample is collected at the treatment plant and transported to the laboratory, where samples are chlorinated and bottle tests are conducted at different temperatures in parallel using thermostatic baths to see how free chlorine residual concentrations evolve over time. Free chlorine residual levels are measured (with replications) at each time using KEMIO (by Palintest, UK) according to the bottle test with replicate measurements procedure presented in Cejas et al. [27]. A first-order bulk decay model is here assumed to fit the slow decay of free chlorine residual bottle test data through state estimation with both approaches [27]. The first-order bulk decay model is adopted in this work because it has been widely used in the literature before [8,27,42] and it simplifies notation, but any other model could be assumed by adapting the formulation.
Before presenting the formulations themselves, it is interesting to introduce the Arrhenius equation, which is the motivation for the ensemble temperature SE methodology presented in this work. As explained in the Introduction, it is well known that the bulk decay coefficient k b [1/h] increases with temperature. According to the Arrhenius formula, the bulk decay coefficient for a bottle test j = 1,2 , … , n T at a given temperature T j (here represented as k b j = k b T j ;   ∀ j = 1,2 , … , n T ) varies exponentially as follows [43]:
k b j = k b T j = k b 0 · e − E / R T 0 − T j 273 + T 0 273 + T j ; ∀ j   = 1,2 , … , n T
where k b 0 [1/h] is the reference bulk decay coefficient at a given temperature T 0 [°C], E/R [K] is the activation coefficient (computed as the ratio of the activation energy to the universal gas constant) and n T is the number of bottle tests that are being considered. Both the reference bulk decay coefficient and the activation coefficient may vary widely depending on the water source characteristics. Bulk decay coefficients for different temperatures may range between 0.001 and 0.74 1/h depending on water temperature [42]. The activation coefficient determines how sensitive the water sample is to temperature changes and may vary in one or two orders of magnitude according to previous studies, e.g., 4660–9560 K [9], 5351–8037 K [43], 5000–20,000 K [10] or 6154–12,104 K [13].
After presenting the SE principles (Section 2.1), Section 2.2 will introduce the individual temperature SE approach presented in Cejas et al. [27], which does not include the Arrhenius equation in the SE formulation. This means that the bulk decay coefficient for each bottle test k b j ; ∀ j = 1,2 , … , n T is computed independently. SE bulk decay coefficients for different temperatures may be compared afterwards through the Arrhenius equation (Equation (1)), but this could lead to potential inconsistencies among temperatures due to the uncertain nature of k b . This was already mentioned in Cejas et al. [27] and will be illustrated with examples in the Results section. The new ensemble temperature SE approach presented in this work (Section 2.3) is conceived to solve this issue. It includes the Arrhenius formula (Equation (1)) as an additional equation in the SE formulation to improve the bottle test–bulk decay model fitting for different temperatures. Figure 1 summarizes the relationship between laboratory data (bottle tests) and each of the approaches, which will be explained in detail in the corresponding sections. Figure 1 shows that for the individual temperature approach, the Arrhenius equation can only be used to contrast results once the individual bulk decay coefficients for each test have been obtained through SE. On the contrary, the Arrhenius equation is an input (together with all bottle test measurements from different temperatures) to obtain the k b 0 and E/R parameters of the Arrhenius equation in the ensemble temperature approach. Therefore, the ensemble approach is a more comprehensive methodology to characterize bulk decay dynamics based on bottle tests at different temperatures.
Figure 1. Individual (Cejas et al. [27]–Section 2.2) vs. ensemble temperature (Section 2.3) state estimation approach.

2.1. State Estimation

State estimation (SE) consists of solving an unconstrained weighted least squares optimization problem, which can be generally formulated as [44]:
min x   f o b j x = 1 2 ϵ x T   W ϵ x = 1 2 z − g x T W z − g x
where f o b j represents the objective function, which depends on a vector of state variables x ∈ R n . State variables represent the minimum set of independent variables needed to compute the state of the system [41]. Therefore, Equation (2) is conceived to minimize the error or difference between measurements and estimations from state variables, here denoted by vector ϵ x ∈ R m , where m is the number of measurements. The error vector can be written as the difference between the measurement vector z ∈ R m and estimated variables from state variables through the nonlinear relationship g x : R n → R m . This difference is here affected by a matrix of measurement weights W ∈ R m × m , which is the inverse of the measurement error variance–covariance matrix W = C o v z − 1 . The variance–covariance and weight matrices are usually diagonal because measurements are typically assumed to be independent.
The SE problem described by Equation (2) is typically solved algebraically [40] through the normal equation method:
x ( v + 1 ) = x v + Δ x ( v + 1 )
Δ x ( v + 1 ) = J ( v ) T C o v z − 1 J ( v ) − 1 J ( v ) T C o v z − 1 ϵ x v
State variables at iteration v + 1 are computed (Equation (3)) based on the vector of total variation for each state variable at iteration v + 1 (Equation (4)). The total variation vector considers the derivative of measurements with respect to the state variables through the Jacobian matrix at each iteration J v ∈ R m × n , which should be full rank. This is something to consider when selecting the set of state variables and deciding the number of measurements ( m should always be greater than n ). This is one of the reasons why replicating measurements in bottle tests is highly encouraged [27]. The iterative process finishes when the norm of the Δ x vector falls below a tolerance value ( t o l = 1 × 10−6 in this work) or when a maximum of iterations ( N m a x = 100 in this work) is reached. The optimal solution for the state variables is here represented as x ^ , and can be used to infer the variables equivalent to measured values through g x ^ .
One key strength of SE is that it can easily cope with uncertainty propagation. Once the SE optimal solution x ^ is available, state variable uncertainty can be computed using the First-Order Second-Moment (FOSM) method [44]:
C o v x ^ = J T C o v z − 1 J − 1
where C o v x ^ ∈ R n × n is the variance–covariance matrix of the state variables, which must be computed with the Jacobian matrix at the optimal solution x ^ . The uncertainty of any other set of network variables can be computed by applying the FOSM method again as described in Díaz et al. [44]. The error or difference between measurements and estimated variables at the optimal ϵ x ^ can also be used for outlier detection and computation of confidence intervals [27,45]. The details for outlier detection in bottle test fitting will be introduced in the next subsection, after the specific formulation for adjusting the bulk decay coefficient has been presented.

2.2. Individual Temperature State Estimation Approach

Cejas et al. [27] have recently presented an SE methodology to adjust the free chlorine residual bulk decay coefficient in a first-order bulk decay model from bottle test data with measurement replications. In this publication, temperature was constant for all bottle tests, but it was not explicitly included in the SE formulation because it was not the main aim of the study. When the bottle test and SE process is carried out at a specific temperature T , the bulk decay coefficient for that temperature is obtained k b T . This means that if the same water sample is subjected to different bottle tests j = 1,2 , … , n T   (where n T is the number of bottle tests) at different temperatures T j ;   ∀ j = 1,2 , … , n T , different bulk decay coefficients will be obtained for each test k b j = k b T j ; ∀ j = 1,2 , … , n T . Since each bulk decay coefficient is obtained independently from the rest, this formulation is here called the “individual temperature state estimation approach”. The formulation presented by Cejas et al. [27] is now introduced explicitly accounting for different bottle test measurements to ease the comparison with the new ensemble approach (see original publication for details on the individual approach).
The formulation of the individual temperature state estimation approach is organized around the free chlorine residual measurement vector C m e a s u r e j   ∈ R m c j (where m c j is the number of chlorine measurements for that bottle test, including measurement replications) and the model parameters needed to estimate free chlorine residual values according to a first-order decay model (slow decay). According to Cejas et al. [27], the chlorine measurement error vector E m e a s u r e j for each temperature can be written as:
E m e a s u r e j = C m e a s u r e j − C f , m o d e l j + C 0 , m o d e l j − C f , m o d e l j · e − k b j · t j + E m o d e l j ; ∀ j = 1,2 , … , n T
where C 0 , m o d e l j is the initial chlorine concentration for that bottle test, C f , m o d e l j is the final chlorine concentration (in case it does not completely decay to 0 mg/L within a reasonable time window), k b j is the bulk decay coefficient and E m o d e l j ∈ R n t i m e s j is the vector of error models for each time, where n t i m e s j is the number of average times considered in the bottle test for that specific temperature. The chlorine measurement error vector as provided by Equation (6) represents the difference between free chlorine residual measurement values and free chlorine residual estimated values with the first-order decay model, which follows an exponential decay over time according to vector t j ∈ R n t i m e s j .
Equation (6) is key to adapting the general SE formulation (Equations (2)–(4)) presented in Section 2.1 to the bottle test fitting problem at hand. It involves the first-order bulk decay model, which is the nonlinear function that relates measurements and state variables for each bottle test g x j . Cejas et al. [27] assume that all model parameters are state variables. The state variable vector for each bottle test can be written as:
x j = C 0 , m o d e l j ;   C f , m o d e l j ; k b j ; E m o d e l j ; ∀ j = 1,2 , … , n T
This implies that the number of state variables is n j = 3 + n t i m e s j for each test.
Measurements are determined by the number of measurements ( m c j ) and pseudomeasurements ( m p j ) for each bottle test m j = m p j + m c j . Pseudomeasurements are estimations based on prior knowledge [46]. Cejas et al. [27] recommended adding pseudomeasurements of all state variables in order to enhance redundancy and ensure that the number of measurements is greater than the number of state variables. Note that m > n (or in this case m j > n j ;   ∀ j = 1,2 , … , n T ) is a necessary condition for the Jacobian matrix to be full rank. If all state variables are pseudomeasured (i.e., known a priori), the error vector for each bottle test ϵ j x j can be written as:
ϵ j x j = E p s e u d o j , E m e a s u r e j = z p s e u d o j − g x j , E m e a s u r e j ;   ∀ j = 1,2 , … , n T
where z p s e u d o j ∈ R m p j represents the vector of pseudomeasurements. This means that the number of total measurements can also be expressed as the addition of the number of state variables (which are pseudomeasured) and the number of chlorine measurements m j = n j + m c j . It should be noted that pseudomeasurements are generally associated with high uncertainty (i.e., high standard deviation) to allow measurements (with lower uncertainty) to condition state estimation results [44]. Default values assumed for state variable pseudomeasurements and free chlorine residual measurements in the individual temperature SE approach are summarized in Table 1 (see Cejas et al. [27] for details). These values are required to build the associated weight matrix ( W j in Equation (2)). The associated Jacobian matrix for each bottle test ( J j in Equation (4)) can be computed as detailed in the original publication.
Table 1. Default values for state variable pseudomeasurements and free chlorine residual measurements (KEMIO) in the individual temperature state estimation approach (from Cejas et al. [27]).
Once x j , ϵ j x j , W j and J j are defined for all bottle tests ( ∀ j = 1,2 , … , n T ), the state estimation problem (3)–(4) can be solved for each test at their corresponding temperature T j . As mentioned before, the individual temperature SE formulation (Equations (2)–(8)) does not consider the Arrhenius equation, and this could lead to potential inconsistencies when comparing bulk decay coefficients. SE uncertainty quantification (Equation (5)) and outlier detection are meaningful strategies to identify potential inconsistencies between bottle tests at different temperatures. Outliers may be computed by comparing standardized errors (from the variance–covariance matrix) and confidence intervals. Two possible confidence intervals are computed for free chlorine residual values in this work [27]:
C I C ^ j = C ^ j ± Φ − 1 1 − α 2 · d i a g C o v C ^ j
T C I C ^ j = C ^ j ± Φ − 1 1 − α 2 · d i a g C o v C ^ j + σ C m e a s u r e 2
where C ^ j represents the expected free chlorine residual values after the SE optimal has been found for each test, and C o v C ^ j is the corresponding variance–covariance matrix. Note that C I C ^ j (Equation (9)) represents the confidence interval of estimated chlorine values for a given confidence interval CI ( α = 99% in this work), where Φ − 1 represents the inverse of the normal Cumulative Distribution Function (CDF). The total confidence interval T C I C ^ j (Equation (10)) increases C I C ^ j by considering the total variance of free chlorine residual, which includes that associated with SE results (Equation (9)) and measurement variance σ C m e a s u r e 2 = 0.065 2   mg / L 2 (see Table 1).

2.3. Ensemble Temperature State Estimation Approach

The ensemble temperature state estimation approach is the main novelty of this paper. This approach modifies the individual temperature state estimation formulation presented by Cejas et al. [27]—as summarized in Section 2.2—to explicitly include the Arrhenius formula (Equation (1)).
The Arrhenius formula can be introduced through the free chlorine residual measurement error equation (Equation (6) in the individual approach). The bulk decay coefficient for each bottle test k b j may be substituted in Equation (6) by the Arrhenius formula (Equation (1)), leading to:
E m e a s u r e j = C m e a s u r e j − C f , m o d e l j + C 0 , m o d e l j − C f , m o d e l j · e x p − k b 0 · e − E / R T 0 − T j 273 + T 0 273 + T j · t j + E m o d e l j ; ∀ j = 1,2 , … , n T
Note that this equation no longer explicitly involves k b j ; it includes the Arrhenius equation parameters k b 0 and E/R instead. This means that all free chlorine measurement error vectors for different tests E m e a s u r e j ∈ R m c j ; ∀ j = 1,2 , … , n T involve the same k b 0 and E/R. In other words, the Arrhenius formula parameters are unknowns that should be computed by jointly assessing all bottle test data.
This means that the set of state variables should include all the bulk decay model parameters in the individual approach (Equation (7)) except for k b j . As a matter of fact, bulk decay first-order model parameters for all bottle tests should be considered state variables together with the Arrhenius equation parameters:
x = C 0 , m o d e l 1 ;   C f , m o d e l 1 ; E m o d e l 1 ;   C 0 , m o d e l 2 ;   C f , m o d e l 2 ; E m o d e l 2 ; … ; C 0 , m o d e l n T ;   C f , m o d e l n T ; E m o d e l n T ; k b 0 ; E / R
We must highlight that the state variable vector represented by Equation (12) no longer refers to one set of state variables for each test (like x j in Equation (7)). In the ensemble temperature SE approach, there is one single state variable vector that comprises state variables from different bottle tests/temperatures. The number of state variables is therefore n = 2 × n T + ∑ j = 1 n T n t i m e s j + 2 .
In a similar fashion, the error vector of the SE problem must be expressed as:
ϵ x = E p s e u d o 1 , E p s e u d o 2 , … , E p s e u d o n T , E m e a s u r e 1 , E m e a s u r e 2 , … , E m e a s u r e n T = z p s e u d o 1 − g x , z p s e u d o 2 − g x , … , z p s e u d o n T − g x , E m e a s u r e 1 , E m e a s u r e 2 , … , E m e a s u r e n T
where E p s e u d o j ; ∀ j = 1,2 , … , n T represents the pseudomeasurement error vector and z p s e u d o j ∈ R m p j ; ∀ j = 1,2 , … , n T is the pseudomeasurement vector for each bottle test. The number of measurements (including pseudomeasurements) is the addition of all measurements and pseudomeasurements for all tests m = ∑ j = 1 n T m p j + ∑ j = 1 n T m c j . Since all state variables are pseudomeasured, it can also be written as the number of state variables plus the number of free chlorine residual measurements m = n + ∑ j = 1 n T m c j . This means that the individual temperature approach solves n T SE problems of smaller size, but the ensemble temperature approach solves a single SE problem which is much larger. Table 2 summarizes the number of state variables and measurements in the two approaches.
Table 2. Number of state variables/measurements involved in the individual vs. ensemble temperature SE approaches.
Regarding the weight matrix W , the ensemble temperature SE approach also assumes greater uncertainty for pseudomeasurement values. Table 3 summarizes the adopted standard deviations for all measurements and pseudomeasurements in this approach. Values are consistent with those included in Table 1 for the individual approach. The mean and standard deviation assumed in Table 1 for the first-order bulk decay coefficient for bottle test j at temperature T j ( k b j ; ∀ j = 1,2 , … , n T ) is adopted here for the reference bulk decay coefficient at temperature T 0 ( k b 0 ). Regarding the activation coefficient E/R, it has already been mentioned that it may vary widely depending on the water source. In absence of better information, an average a priori value of 8000 K (in the range of 5000–20,000 provided by Fisher et al. [10]) has been assumed. The adopted standard deviation is also high (2000 K) to reflect the uncertainty of E/R. Since the order of magnitude of the standard deviation of E/R is clearly higher than the rest of the standard deviations assumed for measured/pseudomeasured values, numerical instabilities may arise when computing SE. The numerical conditioning of the matrices involved should be tracked through the process to avoid numerical instabilities.
Table 3. Default values for state variable pseudomeasurements and free chlorine residual measurements (KEMIO) in the ensemble temperature state estimation approach.
The Jacobian matrix J ∈ R m × n can be derived by rearranging the chlorine measurement error equation (Equation (11)) so that it expresses free chlorine residual concentrations/measurements ( C m e a s u r e j ) in terms of all the state variables. The Jacobian matrix represents the derivatives of each measurement/pseudomeasurement (in rows) with respect to the assumed state variables (in columns). Since the state variable and error vectors (Equations (12) and (13), respectively) have already been defined for the ensemble approach, and the chlorine measurement error equation (Equation (11)) links all involved terms, the derivatives can be computed as in Cejas et al. [27]. The Jacobian matrix will present a sparse structure in blocks that must be updated through the iteration process.
When the SE problem as described by Equations (2)–(4) finishes, the optimal solution x ^ will represent the adjusted state variables, including the Arrhenius equation parameters ( k b 0 and E/R). The mean value of free chlorine residual concentrations at each time can be computed from the first-order bulk decay model equation and uncertainty can be quantified through Equation (5). Uncertainty can also be propagated to the bulk decay coefficient at different temperatures by making use of the derivatives of the Arrhenius equation with respect to k b 0 and E/R, and the variance–covariance matrix obtained for those state variables. Since the Arrhenius parameters are known, it is possible to compute the confidence interval and total confidence interval (and detect outliers) as represented by Equations (9) and (10).
It is important to highlight that the ensemble temperature SE formulation is presented in this work in terms of different bottle tests j = 1,2 , … , n T and their corresponding temperatures T j ; ∀ j = 1,2 , … , n T . The formulation presented here is compatible with the consideration of bottle tests that each have a different temperature and/or the use of bottle tests that repeat some of the analyzed temperatures. This will be illustrated in the Results section. At least two different temperatures are needed to adjust the Arrhenius equation parameters. If all bottle tests are performed at the same temperature, the individual temperature SE approach (as presented in Cejas et al. [27]) should be applied.

3. Results

The methodology described in Section 2 is here applied to characterize the bulk decay coefficient of three different water sources (A, B, and C) at different temperatures. Water grab samples are collected immediately before chlorination at three treatment works in the region of Castilla-La Mancha (Spain). Each grab sample has a total volume of approximately 20 L and is divided into several subsamples that will be processed at different temperatures following the same laboratory procedure described in Cejas et al. [27]. We will work at different temperatures: 18 or 20 °C (coldest temperature, selected depending on the season, due to the atmospheric temperature changes and isothermal bath availability in the lab), 24 or 26 °C (intermediate temperature, selected depending on the season as well), and 29 °C (hottest temperature). These temperatures are selected in order to cover a wide range of supply temperatures, which may vary between 2 °C and 28 °C at the customer’s tap depending on the country and season [16]. Also, temperatures have been selected to ensure some difference among tests, because temperatures should be effectively different for the Arrhenius equation to be adjusted (about 3–4 °C, although this depends on the water quality characteristics, i.e., the activation coefficient). Also, all bottle tests have been kept below 30 °C to minimize potential instabilities in sodium hypochlorite [47,48] and/or possible deviations in bulk decay estimations [10,15]. Only one refrigerated isothermal bath was available, so the coldest temperature bottle test is carried out once. The intermediate and hottest tests are replicated twice (each) for the sake of understanding the variability of the procedure. Cejas et al. [27] recommended carrying out one bottle test “only” (with replicate measurements) at each temperature, but the two highest-temperature bottle tests will be repeated in parallel in this work for the sake of exploration. Time blocks are slightly displaced among the five tests to ensure that the same person can carry out the quintupled lab test in parallel. Bottle tests will be denoted as “X-E01”, “X-E02”, “X-E02bis”, “X-E03”, and “X-E03bis”, where letter “X” represents the water source (A, B or C); subindices 01, 02 and 03 correspond to the lowest, intermediate and highest temperature conditions (respectively); and suffix “bis” indicates replicate tests performed at the intermediate and high temperatures.
Table 4 includes the main characteristics of the grab samples from each of the three sources/treatment works before starting the bottle tests. TOC is measured once for the total volume of water (20 L), but temperature, pH and ICC are measured for each parallel bottle test (3.8 L) following the procedure described in Cejas et al. [27]. Table 2 shows that TOC is higher for treatment works A (surface water) compared to B and C (groundwater), i.e., they are ordered by decreasing TOC. pH values remain below 9.5 for all water samples, which is the maximum admissible pH for drinking water [49].
Table 4. Grab sample characteristics from sources A, B and C.
Appendix A.1 (Table A1) gathers original data for free chlorine residual measurements over time for the five parallel bottle tests carried out with grab samples from sources A, B and C. Measurements included in Appendix A.1 are now analyzed using the individual temperature SE approach (Section 3.1) and the ensemble temperature SE approach (Section 3.2).

3.1. Individual Temperature State Estimation Approach

This section applies the individual temperature approach presented in Section 2.2 to the five bottle tests carried out with grab samples from water sources A, B and C. The default values presented in Table 1 will be assumed throughout this subsection unless stated otherwise.

3.1.1. Treatment Works A

The individual temperature SE approach is applied in this work to each of the five bottle tests carried out with the grab sample from source A (surface water). Figure 2 summarizes the results for the first bottle test at 20 °C (A-E01). Figure 2a shows that the six groups of free chlorine residual measurements (six effective average times, represented with black crosses “+”) progressively reduce their concentration over time, reaching 0 mg/L after approximately 48 h. The adjusted first-order bulk decay model for A-E01 is represented with a black line that passes through bottle test measurements with a well-defined exponential shape, typically associated with high TOC values [27]. This figure also includes the two confidence intervals C I C ^ (Equation (9), represented with a gray shade) and T C I C ^ (Equation (10), represented with dashed gray lines), as well as the mean (0.0567 1/h), standard deviation (0.0057 1/h) and coefficient of variation (10.10%) of the bulk decay coefficient for test A-E01. The coefficient of variation presents an order of magnitude that is consistent with previous results in Cejas et al. [27]. Figure 2b represents the standardized errors for state variable pseudomeasurements. The threshold for outlier detection is in this case ± 2.58 ( α = 99% confidence interval), a value that is not reached with A-E01 results. Figure 2c shows the standardized errors for free chlorine residual measurements, which do not exceed the threshold either. This means that there are no outliers for the bottle test at 20 °C. As a matter of fact, there are no outliers for any of the bottle tests carried out with water from source A (highest TOC).
Figure 2. Individual temperature state estimation results for bottle tests A-E01: (a) free chlorine residual measurements and adjusted first-order decay model, (b) standardized pseudomeasurement errors, and (c) standardized measurement errors.
Table 5 summarizes individual temperature SE results for the five bottle tests. This table includes the mean, standard deviation and coefficient of variation for all state variables (Equation (7)) except E m o d e l j , which was found to be low in general for this type of analysis [27]. According to Table 5, the mean initial free chlorine residual concentrations for the adjusted first-order bulk decay model range between 0.76 mg/L (highest temperature) and 0.85 mg/L (lowest temperature). These values are lower than the originally pseudomeasured values for the initial chlorine concentration or ICC (see Table 1), which range between 0.92 and 1.09 mg/L for source A (see Table 4). This reduction is explained by the high uncertainty of the a priori pseudomeasurement (0.50 mg/L, see Table 1). The uncertainty of the initial chlorine concentrations for the adjusted model (i.e., after SE) is clearly lower than 0.50 mg/L (0.04–0.07 mg/L according to Table 5). Final chlorine concentrations tend to zero (with virtually null standard deviation) because free chlorine residual measurements reach 0 mg/L after roughly 48 h according to Table A1a. Regarding the bulk decay coefficient, in this case mean values tend to increase with temperature (0.0567 1/h for 20 °C, 0.1057–0.1146 1/h for 26 °C and 0.1174–0.1276 1/h for 29 °C) as expected according to the Arrhenius formula (Equation (1)). However, there is some dispersion (which could potentially complicate fitting the Arrhenius formula) at replicated bottle test results for the same temperature. Standard deviations and coefficients of variation also increase slightly with temperature, but again the dispersion associated with replicated tests complicates drawing any final conclusions. It has already been mentioned that the general recommendation is to carry out one single bottle test (with replicated measurements) to characterize the bulk decay coefficient via SE [27]. Nevertheless, this work replicates bottle tests for the intermediate and highest temperature for the sake of exploration, i.e., to identify any potential issues when implementing the proposed methodology. In this work, Cohen’s distance d is used as the metric to compare the goodness of fit/distance between replicated bottle tests at the same temperature [50]. Cohen’s distance is computed here as:
d = μ 1 − μ 2 σ 1 2 + σ 2 2 2
where μ 1 and μ 2 represent the mean of the variable that is to be compared (for the two replications) and σ 1 2 and σ 2 2 are the corresponding variances. It is assumed here that Cohen’s distances above 2 suggest that associated normal distributions are likely not the same and values above 3 indicate that normal distributions are clearly different from each other. Table 5 shows that Cohen’s distance for the bulk decay coefficient of replicated bottle tests (for each temperature) is 0.66 at 26 °C and 0.63 at 29 °C, i.e., k ^ b j distributions are consistent. The decision to carry out one or several replications should depend on the cost–benefit relationship for each case. One bottle test for each temperature could be sufficient to understand how the bulk decay coefficient varies with temperature, but it may come with the risk of not having enough evidence for filtering outliers (in this regard, the more replications the better).
Table 5. Individual temperature state estimation results for bottle tests A.

3.1.2. Treatment Works B

Table 6 summarizes individual temperature SE results for all five bottle tests derived from grab sample B. As happened with SE results for source A, in this case there is a reasonably good fit to data (nicely defined exponential shape), with only one outlier for measurement 2 in test B-E02, which has been conveniently removed to provide the final values in Table 6. In this case, initial free chlorine residual concentrations are slightly lower than for source A and associated standard deviations and coefficients of variation are lower as well. Regarding the bulk decay coefficient, there is a progressive increase in the mean value with temperature, as happened with source A: 0.0145 1/h for 18 °C, 0.0152–0.0158 1/h for 24 °C and 0.0193–0.0269 1/h for 29 °C. Coefficients of variation change for each test, with values that range between 11.90 and 14.18%. Cohen’s d for the bulk decay coefficient shows that replications at 24 °C provide similar k b distributions (d = 0.30) but highlights that associated normal distributions are likely not the same at 29 °C (d = 2.53 > 2). This may be explained by the high temperature, as temperatures above 30 °C have been related to instabilities in sodium hypochlorite [47,48] and/or possible deviations in bulk decay estimations [10,15].
Table 6. Individual temperature state estimation results for bottle tests B.

3.1.3. Treatment Works C

Table 7 summarizes individual temperature SE results for bottle tests carried out with grab sample C. Again, the adjusted initial chlorine concentration presents a low standard deviation and coefficient of variation. However, there are noticeable differences in the final chlorine concentration. We must highlight that free chlorine residual measurements do not reach 0 mg/L in tests C-E01, C-E02 and C-E02bis (see Table A1c), so the a priori standard deviation of the final chlorine concentration (pseudomeasurement) has been increased here to 0.50 mg/L in these tests as recommended by Cejas et al. [27]. This leads to final free chlorine residual values that differ from zero to obtain a better fit of the chlorine decay asymptote. Even so, there is one outlier for test C-E01 (measurement 16 in Table A1c), which has been removed to provide the final values in Table 7. Also, there is one outlier for test C-E03bis (measurement 19 in Table A1c), which has also been removed to obtain the final values in Table 7. The fact that there are more outliers for this grab sample is partly explained because of the value of the bulk decay coefficient, which is one order of magnitude lower than that obtained for samples A and B. This means that bulk decay tends to be linear (rather than exponential), a behavior that has already been associated with groundwater with low TOC in similar studies [27]. Table 7 shows that the mean bulk decay coefficient does not always increase with temperature depending on the bottle test replication. We obtained 0.0022 1/h for 20 °C, 0.0051–0.0123 1/h for 26 °C and 0.0114–0.0127 for 29 °C. This means that if we had only carried out bottle tests C-E01, C-E02 and C-E03bis, the bulk decay coefficient would not systematically increase (as expected according to the Arrhenius formula). This inconsistency is explained in practice by the uncertainty of the bulk decay coefficient. Note that the associated coefficients of variation range between 9.27 and 50.94%. They are greater for the first three tests due to the increased standard deviation assumed for the final free chlorine residual concentration. Cohen’s ds show that there is a significant difference between tests at 26 °C (d = 3.66) and some level of difference between tests at 29 °C (d = 1.08). These results illustrate that characterizing the bulk decay coefficient uncertainty becomes especially important when dealing with water samples with low TOC. In these scenarios, adjusting the Arrhenius equation is even more troublesome, and should manage uncertainty correctly. This is possible through the ensemble temperature approach presented in the next subsection.
Table 7. Individual temperature state estimation results for bottle tests C.

3.2. Ensemble Temperature State Estimation Approach

This section applies the ensemble temperature approach presented in Section 2.3 to bottle tests for grab samples A, B and C. Section 3.1 has illustrated that replicating bottle tests at the same temperature may lead to bulk decay coefficient distributions that are different. For this reason, rather than running the ensemble approach with three bottle tests/temperatures (which would mean having to choose three out of the five bottle test data available), we will be running the ensemble approach using data from the five bottle tests.
In all cases, it will be assumed that T 0 = 15 °C. This temperature has been selected to avoid coincidences with the temperatures at which bottle tests are carried out in this work. Also, pseudomeasurement/measurement values will be assumed equal to those in Table 3 unless stated otherwise.

3.2.1. Treatment Works A

Results for the ensemble temperature SE approach are represented in Figure 3. Figure 3a gathers the bottle test data (crosses ‘+’), adjusted first-order bulk decay model (solid line) and confidence interval C I C ^ (Equation (9), shaded) for all bottle tests (gray for A-E01 at 20 °C, blue and light blue for A-E02 and A-E02bis at 26 °C, purple and pink for A-E03 and A-E03 bis at 29 °C). Only C I C ^ (not T C I C ^ ) is represented here to ease visualization and comparison across temperatures. Data and adjusted model results for T = 20 °C (in gray) are clearly different than 26 °C (in blues) and 29 °C (in pinks), which present some degree of overlap. This happens because temperatures are fairly close and confidence intervals present a width that is determined by the associated standard deviation. Overall, blue decay (26 °C) appears below gray decay (20 °C) and pink decay (29 °C) happens below blue decay (as it should). Figure 3a also includes the resulting mean (7902.44 K), standard deviation (1102.50 K) and coefficient of variation (13.95%) of the activation coefficient E/R. These values prove that the assumed mean and standard deviation (8000 and 2000 K, respectively) are a good assumption. This idea is reinforced by the fact that there are no outliers in pseudomeasurements/state variables (Figure 3b) nor free chlorine residual measurements (Figure 3c). Note that vertical-colored dashed lines have been introduced to define the limit of state variables and measurements corresponding to each of the five bottle tests. Regarding the reference bulk decay coefficient ( k b 0 ) , for this combination of bottle test data, the resulting mean is 0.0368 1/h, the associated standard deviation is 0.0052 1/h and the coefficient of variation is 14.20%. This mean reference value (at 15 °C) is lower than the mean bulk decay coefficient for 20 °C in the individual approach (0.0567 1/h) as it should be expected according to the Arrhenius formula. The coefficient of variation obtained with the ensemble approach (14.20%) is similar in order of magnitude to the range of the individual approach (10.10–13.36%) despite the additional uncertainty of the activation coefficient (which is high). The strong point of the ensemble approach is that it guarantees that bulk decay coefficients will be unique for each temperature (estimated k ^ b j values are constant for each temperature—see constant values for blues and pinks) and consistent among temperatures. In other words, it is possible to compute the bulk decay coefficient at any temperature based on the adjusted k b 0 and E/R. It should also be noted that the standard deviation and CV obtained for the bulk decay coefficient at different temperatures according to the ensemble approach (after propagation of uncertainty values for k b 0 and E/R) is lower (CV ranges 5.45–8.52%) than that of k b 0 due to a strong negative cross-correlation (−5.33) between the parameters involved in the Arrhenius equation in the variance–covariance state variable matrix. This implies that even though the uncertainty obtained for k b 0 with the ensemble approach does not reduce with respect to the uncertainty obtained for k b j ; ∀ j = 1,2 , … , n T with the individual approach, thanks to the relationship between k b 0 and E/R, there is a decrease in the propagated uncertainty for k b j ; ∀ j = 1,2 , … , n T with the ensemble approach.
Figure 3. Ensemble temperature state estimation results for treatment works A: (a) free chlorine residual measurements and adjusted first-order decay model, (b) standardized pseudomeasurement errors, and (c) standardized measurement errors.

3.2.2. Treatment Works B

The same methodology is now applied to grab sample B. As explained in Appendix A.2, one outlier (measurement 2 in B-E02) is identified with the ensemble temperature SE approach, just like with the individual analysis. Figure 4 shows ensemble temperature SE approach results once the outlier has been removed. Like in Figure 3, Figure 4a shows that there is some degree of overlap between temperatures, but in general decay data/results for 29 °C (in purple/pink) are lower than those for 24 °C (in blues) and 18 °C (in gray), as should be expected according to the Arrhenius formula. The comparison between Figure A1 (in Appendix A.2) and Figure 4 shows that removing the outlier has little effect on the estimated state variables, as this is only one measurement out of the 105 free chlorine residual measurements available for grab sample B (Table A1b).
Figure 4. Ensemble temperature state estimation results for treatment works B (without outlier): (a) free chlorine residual measurements and adjusted first-order decay model, (b) standardized pseudomeasurement errors, and (c) standardized measurement errors.
According to Figure 4a, the mean (5164.41 K), standard deviation (1065.35 K) and coefficient of variation (20.63%) of the activation coefficient is again consistent with the assumed pseudomeasurements for grab samples B (see Table 3). Regarding the bulk decay coefficient, the mean reference value is 0.0097 1/h in this case, its standard deviation is 0.0013 1/h and the associated coefficient of variation is 13.49%. These values are similar to those obtained for 18 °C in the individual analysis (mean = 0.0145 1/h, std = 0.0019 1/h and CV = 13.39%). Again, there is a reduction in the uncertainty of the bulk decay coefficient for different temperatures when comparing results for the ensemble approach (5.82–10.17%, Figure 4a) and the individual approach (11.90–14.18%, see Table 6).

3.2.3. Treatment Works C

The ensemble temperature SE approach is now applied to grab samples C. Note that since free chlorine residual measured values do not reach zero for C-E01, C-E02 and C-E02bis, the assumed standard deviation for the final chlorine concentration has been increased to 0.5 mg/L in these tests as in the individual temperature analysis (Section 3.1.3). Three outliers are identified in this case (see Appendix A.2 for details). Figure 5 is equivalent to Figure 3 and Figure 4 once all outliers have been conveniently removed. The comparison between Figure A2 (in Appendix A.2) and Figure 5 shows that removing the outliers implies an increase in the mean and standard deviation of the activation coefficient (but a reduction in its CV) and a slight reduction in the mean of the bulk decay coefficient. In both Figure A2a and Figure 5a there is some degree of overlap for bottle tests at 20 °C (in gray) and 26 °C (in blues), with the temperature difference being more noticeable at 29 °C (purple/pink). Filtered results provide a mean value for the activation coefficient of 9662.58 K, a standard deviation of 1717.95 and a CV of 17.78%. The corresponding statistical properties for the reference bulk decay coefficient are 0.0025 1/h, 0.0007 1/h and 27.15%, respectively. This coefficient of variation is higher than for sources A and B, and similar to the average CV obtained with the individual temperature approach (24.53%). The most important aspect of the ensemble approach is that it ensures that the bulk decay coefficient always increases with temperature, i.e., SE results respect the Arrhenius formula (Equation (1)). This is key to systematizing the computation of the bulk decay coefficient (and so the wall contribution) at any position within the water supply network. Moreover, the ensemble approach lowers the coefficient of variation obtained for the bulk decay coefficient at different temperatures (6.46–17.41%, Figure 5a) compared to the individual approach (9.27–50.94%, see Table 7).
Figure 5. Ensemble temperature state estimation results for treatment works C (without outliers): (a) free chlorine residual measurements and adjusted first-order decay model, (b) standardized pseudomeasurement errors, and (c) standardized measurement errors.

4. Discussion

The ensemble temperature SE approach is presented here as an alternative methodology to the individual temperature SE approach introduced in Cejas et al. [27]. Results have shown that the ensemble approach provides a coefficient of variation for the reference bulk coefficient k b 0 very similar in order of magnitude to that obtained when running the individual approach. However, the uncertainty of the bulk decay coefficient for bottle tests at different temperatures ( k b j ; ∀ j = 1,2 , … , n T ) is lower with the ensemble approach due to the cross-correlation between k b 0 and E/R. Apart from this reduction in uncertainty, the main advantage of the ensemble approach is that bulk decay coefficients are consistent among each other even when the temperature changes. This is an improvement because it ensures that the fundamental Arrhenius formula will be satisfied at any network position, i.e., bulk decay will be better characterized and consequently wall decay understanding will improve as well. The strong point of the ensemble formulation is that it enables us to jointly assess different bottle tests (with special interest in bottle tests subjected to different temperatures due to the relevance of temperature in the chlorine decay process), providing a systematic framework to assess uncertainty effects.
Results have shown that the ensemble approach presents special interest in waters with low TOC, which are typically associated with slow (and less defined) bulk decays. Table 8 summarizes the ensemble temperature SE approach results for bottle tests A, B and C (after removing outliers, i.e., Figure 3, Figure 4 and Figure 5). This table shows that the Arrhenius formula parameters (activation coefficient E/R and reference bulk decay coefficient k b 0 ) vary widely (in mean, standard deviation and CV) for water samples from different sources. Note that Cohen’s distances (Equation (14)) are also computed in Table 8 to give an idea of how similar samples are among each other. Cohen’s ds are computed here for combinations A–B, A–C and B–C in terms of the two Arrhenius parameters. Cohen’s distances show that the reference bulk decay coefficient varies widely, as expected given the wide dispersion of bulk decay parameters previously described in the literature [8,27,42]. However, the probabilistic distribution of the activation coefficient changes less clearly among different grab samples. This reinforces the idea that assuming one a priori estimation of the activation coefficient (and high standard deviation) is reasonable (see Table 3). It also shows that Cohen’s d is a useful tool to assess the degree of similarity among distributions both for replications of the same bottle test (as discussed when presenting individual temperature SE results) and for comparison among different water samples (as illustrated in Table 8).
Table 8. Comparison of ensemble temperature state estimation results for bottle tests A, B and C.
The ensemble temperature state estimation approach goes one step beyond previous approaches and ensures that there are no inconsistencies among free chlorine residual bulk decay coefficient values, with quantification of the associated uncertainty. In other words, the new method ensures that the bulk decay component is correctly characterized, and this has direct practical implications for the management of free chlorine residuals in water distribution networks. This approach can be applied to characterize the bulk decay component at any distribution network. As explained in the Introduction, the bulk decay component is typically characterized at the entrance to the network and considered constant throughout the system [26]. Therefore, once hydraulic results (i.e., velocities and thus residence times or water ages) and water temperatures (according to any available temperature engine, e.g., [17,25]) are known at each pipe, the free chlorine residual level according to a bulk decay model only can be obtained through the adjusted reference bulk decay and activation coefficients. Furthermore, there may be deviations between chlorine measurements and chlorine simulations according to the bulk decay model due to the wall effect. The wall effect, which coexists with bulk decay along a pipe network, may be characterized at a second stage by comparing chlorine measurements at different network positions with modeled values according to the first-order bulk decay model adjusted for different temperatures. Another question is if running the ensemble temperature SE approach to characterize bulk decay is truly needed at all networks. The answer is that it depends. Depending on the source water characteristics and the thermal amplitude in the network, it may be worth (or not) evaluating changes in the bulk decay coefficient. According to the Arrhenius formula (Equation (1)), if the activation coefficient and/or temperature gradients are low, it may not be worth going through the trouble/expense of characterizing the dependency with temperature. Improvements are still needed to monitor temperature at water supply networks [16] and/or implement robust temperature engines in hydraulic network calculations [17,25], but this paper provides a methodology to determine whether the sensitivity of the bulk decay coefficient will be high enough to care about temperature changes in the network. In a similar fashion, at the moment (and to the best of the authors’ knowledge) there is no explicit relationship between the bulk decay coefficient and other water quality parameters, e.g., TOC, ionic strength, specific ions, alkalinity. If any explicit relationships were derived for a specific case, the state estimation approach could be adapted to cope with these additional equation/s and compute the uncertainty of the corresponding parameters. Therefore, the ensemble temperature SE approach constitutes a tool (i.e., methodological contribution) to determine how important temperature modeling is in a specific network.

5. Conclusions

This work presents a new methodology (ensemble temperature state estimation approach) to compute Arrhenius equation parameters (reference bulk decay coefficient and activation coefficient) from bottle test data at different temperatures. This formulation constitutes an improvement with respect to previous works because it ensures the best possible fit of the Arrhenius equation considering the uncertainty of the bulk decay coefficient estimation process. The method has been applied in this work to water samples from different sources and temperatures, and bottle tests have been replicated to better understand the application possibilities of the methodology. This assessment has enabled us to identify Cohen’s distance as an interesting parameter to compare replicated bottle tests and/or water samples from different sources.
Results show that embracing the ensemble temperature SE approach implies a reduction in the standard deviation of the estimated bulk decay coefficients for bottle tests at different temperatures. Moreover, this approach represents an improvement with respect to previous works because it guarantees that bulk decay coefficients increase with temperature as expected based on evidence from the physical phenomenon itself. Uncertainty assessment is particularly important because it allows us to determine, based on the available measurements, whether Arrhenius parameters obtained for water samples from different sources are clearly different (or not). This helps us to understand the ranges of variation for both the reference bulk decay and activation coefficients (currently very wide according to the existing literature), which are determined by both the water source characteristics and the available measurements. Uncertainty analysis is also essential for identifying the experimental characteristics required in bottle tests (number of measurements, number of replications, bottle test temperatures, etc.) to achieve the desired level of certainty. Once both the mean and standard deviation of Arrhenius parameters are known (and as long as temperature through the water supply network is available, either measured or simulated), free chlorine residual values can be modeled (considering temperature) according to a bulk decay model only. This should improve the chances of better understanding and explaining the wall contribution to chlorine decay and quantifying the impacts of climate change on the management of water supply systems.

Author Contributions

Conceptualization, S.D. and J.G.; methodology, E.C., S.D. and J.G.; investigation, E.C.; visualization, E.C. and S.D.; writing—original draft preparation, E.C. and S.D.; writing—review and editing, J.G. All authors have read and agreed to the published version of the manuscript.

Funding

The authors thank the financial support provided by the Spanish Ministry of Science, Innovation and Universities—State Research Agency (Grant TED2021-131136B-I00 funded by MCIU/AEI/10.13039/501100011033 and European Union NextGenerationEU/PRTR; Grant PID2023-152371OB-I00 funded by MICIU/AEI/10.13039/501100011033 and ERDF “A way of making Europe”), and the Department of Civil and Building Engineering at UCLM. Elena Cejas thanks the support of FPI Grant PRE2020-095769 funded by MCIN/AEI/10.13039/501100011033 and ESF “Investing in your future”.

Data Availability Statement

The original contributions presented in this study are included in the article (and Appendix A). Further inquiries can be directed to the corresponding author.

Conflicts of Interest

The authors declare no conflicts of interest.

Appendix A. Additional Results

Appendix A.1. Free Chlorine Residual Measurements

Table A1 gathers free chlorine residual measurements over time for the five parallel bottle tests carried out with grab samples from sources A, B and C. Measurements for the first average time are represented in gray and are excluded for the k b analysis as explained in Cejas et al. [27]. The number of average times ( n t i m e s j ) is not the same for each water source nor for each temperature within the same source, due to differences in water characteristics and the dependence of chlorine decay on temperature. Furthermore, chlorine decays faster for sample A due to its higher TOC.
Table A1. Free chlorine residual measurements at three different temperatures (with replications) during parallel bottle tests for treatment works A, B and C. Measurements from the first average time are in gray and will be disregarded for the analyses (fast decay process, see [27]).

Appendix A.2. Ensemble Temperature State Estimation Approach (Before Removing Outliers)

This Appendix also includes ensemble temperature SE approach results for grab samples B and C before removing the outliers. Figure A1 is equivalent to Figure 3 for grab samples B. Figure A1a,c show that there is one outlier, which corresponds to measurement 2 in B-E02, as was already identified in the individual analysis. Figure 4 updates Figure A1 by removing this outlier from the analysis. Figure A2 is equivalent to Figure 3 for grab samples C. According to Figure A2a,c, there are three outliers: measurement 16 in C-E01, measurement 17 in C-E02 and measurement 19 in C-E03bis. This is one outlier more than that obtained in the individual analysis (only C-E01 and C-E03bis). Figure 5 updates Figure A2 by removing the three outliers.
Figure A1. Ensemble temperature state estimation results for treatment works B: (a) free chlorine residual measurements and adjusted first-order decay model, (b) standardized pseudomeasurement errors, and (c) standardized measurement errors.
Figure A2. Ensemble temperature state estimation results for treatment works C: (a) free chlorine residual measurements and adjusted first-order decay model, (b) standardized pseudomeasurement errors, and (c) standardized measurement errors.

References

  1. Fish, K.E.; Reeves-McLaren, N.; Husband, S.; Boxall, J. Uncharted waters: The unintended impacts of residual chlorine on water quality and biofilms. npj Biofilms Microbiomes 2020, 6, 34. [Google Scholar] [CrossRef] [Scilit]
  2. Onyutha, S.; Kwio-Tamale, J.C. Modelling chlorine residuals in drinking water: A review. Int. J. Environ. Sci. Technol. 2022, 19, 11613–11630. [Google Scholar] [CrossRef] [Scilit]
  3. Ma, C.; Shi, W.; Wang, L.; Zhao, X.; Zhao, B.; Guo, X.; Zhang, Z.; Zhang, H. Effect of disinfection method on odor and disinfection byproduct control in drinking water treatment. Desalin. Water Treat. 2016, 57, 7753–7762. [Google Scholar] [CrossRef] [Scilit]
  4. WHO. Principles and Practices of Drinking-Water Chlorination; A Guide to strengthening Chlorination Practices in Small- to Medium-Sized Water Supplies; World Health Organization: Geneva, Switzerland, 2017. [Google Scholar]
  5. WHO. Guidelines for Drinking Water Quality; 4th Edition Incorporating the 1st and 2nd Addenda; World Health Organization: Geneva, Switzerland, 2022. [Google Scholar]
  6. Feben, D.; Taras, M.J. Studies on chlorine demand constants. J. Am. Water Work. Assoc. 1951, 43, 922–932. [Google Scholar] [CrossRef] [Scilit]
  7. Jadas-Hécart, A.; El Morer, A.; Stitou, M.; Buillot, P.; Legube, B. The chlorine demand of a treated water. Water Res. 1992, 26, 1073–1084. [Google Scholar] [CrossRef] [Scilit]
  8. Vasconcelos, J.J.; Rossman, L.A.; Grayman, W.M.; Boulos, P.F.; Clark, R.M. Kinetics of chlorine decay. J. Am. Water Work. Assoc. 1997, 89, 54–65. [Google Scholar] [CrossRef] [Scilit]
  9. Powell, J.C.; Hallam, N.B.; West, J.R.; Forster, C.F.; Simms, J. Factors which control bulk chlorine decay rates. Water Res. 2000, 34, 117–126. [Google Scholar] [CrossRef] [Scilit]
  10. Fisher, I.; Kastl, G.; Sathasivan, A. A suitable model of combined effects of temperature and initial condition on chlorine bulk decay in water distribution systems. Water Res. 2012, 46, 3293–3303. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  11. Zhang, X.; Li, Y.; Chen, J.; Wang, H. Effects of heating temperature and water age on the formation of disinfection by-products in drinking water. Environ. Sci. Water Res. Technol. 2025, 11, 1285–1295. [Google Scholar] [CrossRef] [Scilit]
  12. Fogler, H.S. Elements of Chemical Reaction Engineering, 5th ed.; Prentice Hall: Hoboken, NJ, USA, 2016. [Google Scholar]
  13. Blokker, M.; Vreeburg, J.; Speight, V. Residual chlorine in the extremities of the drinking water distribution system: The influence of stochastic water demands. Procedia Eng. 2014, 70, 172–180. [Google Scholar] [CrossRef] [Scilit]
  14. Díaz, S.; González, J. The importance of water temperature in water supply systems. Ing. Del Agua 2022, 26, 107–123. (In Spanish) [Google Scholar] [CrossRef] [Scilit]
  15. Furst, K.E.; Graham, K.E.; Weisman, R.J.; Adusei, K.B. It’s getting hot in here: Effects of heat on temperature, disinfection, and opportunistic pathogens in drinking water distribution systems. Water Res. 2024, 260, 121913. [Google Scholar] [CrossRef] [Scilit]
  16. Agudelo-Vera, C.; Avvedimento, S.; Boxall, J.; Creaco, E.; de Kater, H.; Di Nardo, A.; Djukic, A.; Douterelo, I.; Fish, K.E.; Iglesias-Rey, P.L.; et al. Drinking water temperature around the globe: Undertansing, Policies, challenges and opportunities. Water 2020, 12, 1049. [Google Scholar] [CrossRef] [Scilit]
  17. Díaz, S.; Boxall, J.; Lamarche, L.; González, J. The impact of ground heat capacity on drinking water temperature. J. Water Resour. Plan. Manag. 2023, 149, 04023012. [Google Scholar] [CrossRef] [Scilit]
  18. van Summeren, J.; Raterman, B.; Vonk, E.; Blokker, M.; van Erp, J.; Vries, D. Influence of temperature, network diagnostics, and demographic factors on discoloration-related customer reports. Procedia Eng. 2015, 119, 416–425. [Google Scholar] [CrossRef] [Scilit]
  19. Cook, D.; Husband, S.; Boxall, J. Operational management of trunk main discolouration risk. Urban Water J. 2015, 13, 382–395. [Google Scholar] [CrossRef] [Scilit]
  20. Calero, C.; Boxall, J.; Soria-Carrasco, V.; Martínez, S.; Douterelo, I. Implications of climate change: How does increased water temperature influence biofilm and water quality of chlorinated drinking water distribution systems? Front. Microbiol. 2021, 12, 658927. [Google Scholar] [CrossRef] [Scilit]
  21. Blokker, M.; Pieterse-Quirijns, E. Modeling temperature in the drinking water distribution system. J. Am. Water Work. Assoc. 2013, 105, 19–28. [Google Scholar] [CrossRef] [Scilit]
  22. De Pasquale, A.M.; Giostri, A.; Romano, M.C.; Chiesa, P.; Demeco, T.; Tani, S. District heating by drinking water heat pump: Modelling and energy analysis of a case study in the city of Milan. Energy 2017, 118, 246–263. [Google Scholar] [CrossRef] [Scilit]
  23. Hubeck-Graudal, H.; Kirstein, J.K.; Ommen, T.; Rygaard, M.; Elmegaard, B. Drinking water supply as low-temperature source in the district heating system: A case study for the city of Copenhagen. Energy 2020, 194, 116773. [Google Scholar] [CrossRef] [Scilit]
  24. Hypolite, G.; Ferrasse, J.H.; Boutin, O.; del Sole, S.; Cloarec, J.F. Dynamic modeling of water temperature and flow in large water system. Appl. Therm. Eng. 2021, 196, 117261. [Google Scholar] [CrossRef] [Scilit]
  25. Blokker, M.; Pan, Q.; van Laarhoven, K. Validation of an enhanced drinking water temperature model during distribution. Water 2024, 16, 2796. [Google Scholar] [CrossRef] [Scilit]
  26. Vieira, P.; Coelho, S.T.; Loureiro, D. Accounting for the influence of initial chlorine concentration, TOC, iron and temperature when modelling chlorine decay in water supply. J. Water Supply Res. Technol.–AQUA 2004, 53, 453–467. [Google Scholar] [CrossRef] [Scilit]
  27. Cejas, E.; Díaz, S.; González, J. Bottle test free chlorine bulk decay coefficient statistical fitting for water supply systems via state estimation techniques. Water 2025, 17, 2990. [Google Scholar] [CrossRef] [Scilit]
  28. Fisher, I.; Kastl, G.; Sathasivan, A. Evaluation of suitable chlorine bulk-decay models for water distribution systems. Water Res. 2011, 45, 4896–4908. [Google Scholar] [CrossRef] [Scilit]
  29. Fawzer, M.F.; Kastl, G.; Krishna, K.C.B.; Fisher, I.; Sathasivan, A. Bulk water microbes could accelerate chlorine decay at low chlorine concentrations. Water 2025, 17, 624. [Google Scholar] [CrossRef] [Scilit]
  30. Monteiro, L.; Figuereido, D.; Covas, D.; Menaia, J. Integrating water temperature in chlorine decay modelling: A case study. Urban Water J. 2017, 14, 1097–1101. [Google Scholar] [CrossRef] [Scilit]
  31. Kennedy, L.C.; Miller, S.E.; Kantor, R.S.; Nelson, K.L. Effect of disinfectant residual, pH, and temperature on microbial abundance in disinfected drinking water distribution systems. Environ. Sci. Water Res. Technol. 2021, 7, 78–92. [Google Scholar] [CrossRef] [Scilit]
  32. Hallam, H.B.; West, J.R.; Forster, C.F.; Simms, J. The potential for biofilm growth in water distribution systems. Water Res. 2001, 35, 4063–4071. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  33. Pick, F.C.; Fish, K.E.; Husband, S.; Boxall, J.B. Non-invasive biofouling monitoring to assess drinking water distribution system performance. Front. Microbiol. 2021, 12, 730344. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  34. McNeill, L.S.; Edwards, M. Iron pipe corrosion in distribution systems. J. Am. Water Work. Assoc. 2001, 93, 88–100. [Google Scholar] [CrossRef] [Scilit]
  35. McNeill, L.S.; Edwards, M. The importance of temperature in assessing iron pipe corrosion in water distribution systems. Environ. Monit. Assess. 2002, 77, 229–242. [Google Scholar] [CrossRef] [Scilit]
  36. Jun, H.J.; Park, J.K.; Bae, C.H. Factors affecting steel water-transmission pipe failure and pipe-failure mechanisms. J. Environ. Eng. 2020, 146, 04020034. [Google Scholar] [CrossRef] [Scilit]
  37. Coulson, J.M.; Richardson, F.J. Chemical Engineering, 2nd ed.; Pergamon Press: Oxford, UK, 1964. [Google Scholar]
  38. Schweppe, F.C.; Wildes, J. Power system static state estimation. Part I: Exact model. IEEE Trans. Power Appar. Syst. 1970, 89, 120–125. [Google Scholar] [CrossRef] [Scilit]
  39. Abur, A.; Expósito, A.G. Electric Power System State Estimation; Theory and Implementations; Marcel Dekker: New York, NY, USA, 2004. [Google Scholar]
  40. Díaz, S.; González, J.; Mínguez, R. Observability analysis in water transport networks: Algebraic approach. J. Water Resour. Plan. Manag. 2015, 142, 04015071. [Google Scholar] [CrossRef] [Scilit]
  41. Ruiz, E.; Díaz, S.; González, J. State variable implications on hydraulic state estimation. Water Resour. Manag. 2022, 36, 2549–2569. [Google Scholar] [CrossRef] [Scilit]
  42. Speight, V.; Boxall, J. Current perspectives on disinfectant modelling. Procedia Eng. 2015, 119, 434–441. [Google Scholar] [CrossRef] [Scilit]
  43. Kohpaei, A.J.; Sathasivan, A.; Aboutalebi, H. Evaluation of second order and parallel second order approaches to model temperature variation in chlorine decay modelling. Desalin. Water Treat. 2011, 32, 100–106. [Google Scholar] [CrossRef] [Scilit]
  44. Díaz, S.; González, J.; Mínguez, J. Uncertainty evaluation for constrained state estimation in water distribution systems. J. Water Resour. Plan. Manag. 2016, 142, 06016004. [Google Scholar] [CrossRef] [Scilit]
  45. Díaz, S.; Mínguez, R.; González, J. Probabilistic leak detectability assessment via state estimation in water transport networks. Stoch. Environ. Res. Risk Assess. 2018, 32, 2111–2128. [Google Scholar] [CrossRef] [Scilit]
  46. Bargiela, A.; Hainsworth, D. Pressure and flow uncertainty in water systems. J. Water Resour. Plan. Manag. 1989, 115, 212–229. [Google Scholar] [CrossRef] [Scilit]
  47. ISO 7393-1:2000; Water Quality. Determination of Free Chlorine and Total Chlorine. Part 1: Titrimetric Method Using N,N-diethyl-1,4-phenylenediamine. AENOR: Madrid, Spain, 2000; (In Spanish). Available online: https://tienda.aenor.com/p/norma-une-en-iso-7393-1-2000-n0023489 (accessed on 2 June 2026).
  48. Fundación Canal. Drinking Water Disinfection Treatment. 2005. (In Spanish) Available online: https://www.fundacioncanal.com/canaleduca/wp-content/uploads/2015/08/Tratamiento-de-desinfeccion-del-agua-potable2.pdf (accessed on 17 February 2025).
  49. European Comission. Directive (EU) 2020/2184 of the European Parliament and of the Council of 16 December 2020 on the Quality of Water Intended for Human Consumption. 2020. Available online: https://eur-lex.europa.eu/eli/dir/2020/2184/oj (accessed on 14 May 2026).
  50. Cohen, J. Statistical Power Analysis for the Behavioral Sciences, 2nd ed.; Lawrence Erlbaum Associates: New York, NY, USA, 1988. [Google Scholar]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Article Metrics

Citations

Article Access Statistics

Multiple requests from the same IP address are counted as one view.