Skip to main content
Proceedings. Mathematical, Physical, and Engineering Sciences logoLink to Proceedings. Mathematical, Physical, and Engineering Sciences
. 2019 Oct 16;475(2230):20190291. doi: 10.1098/rspa.2019.0291

Dynamical stability of water distribution networks

Naoki Masuda 1,†,, Fanlin Meng 2
PMCID: PMC6834022  PMID: 31736644

Abstract

Water distribution networks are hydraulic infrastructures that aim to meet water demands at their various nodes. Water flows through pipes in the network create nonlinear dynamics on networks. A desirable feature of water distribution networks is high resistance to failures and other shocks to the system. Such threats would at least transiently change the flow rate in various pipes, potentially undermining the functionality of the whole water distribution system. Here we carry out a linear stability analysis for a nonlinear dynamical system representing the flow rate through pipes that are interconnected through an arbitrary pipe network with reservoirs and consumer nodes. We show that the steady state is always locally stable and develop a method to calculate the eigenvalue that corresponds to the mode that decays the most slowly towards the equilibrium, which we use as an index for resilience of the system. We show that the proposed index is positively correlated with the recovery rate of the pipe network, which was derived from a realistic and industrially popular simulator. The present analytical framework is expected to be useful for deploying tools from nonlinear dynamics and network analysis in the design, resilience management and scenario testing of water distribution networks.

Keywords: network, water distribution systems, dynamics, transient flow

1. Introduction

Water distribution systems aim to securely provide drinking water to consumers and for firefighting and hence are key infrastructures in our society. They are subject to drastic changes in demand on daily and seasonal time scales [1] and to various threats such as contamination [2] and power outage [3]. For a safe and secure water supply, it is important that a water distribution system is well designed and is operated in such a way that potential failures are minimized.

In risk management in water engineering, the risk is estimated to be equal to the product of the probability of failure and the consequence of the failure [4,5]. In contrast to risk management, resilience management is a relatively new framework that can be used to prepare for potential failures in water distribution systems. Resilience is a broad concept and its definition varies according to studies in engineering [6] and in other fields [7]. The concept of resilience is equally wide for water distribution systems; it is construed as the general capacity of a system to resist, absorb, withstand and recover from stresses [6,8]. It is a useful complement to risk management, as many failures that happen in real life are unforeseeable and are not targeted in traditional risk management because of the low estimated probability.

Water distribution systems are composed of pipes combined with other functional structures, such as reservoirs, pumps and valves. Network dysfunctions such as pipe failure are an obvious threat to the functionality of the water distribution system. Network science has accumulated knowledge on how network structure shapes the network's capacity to withstand random failures and intentional attacks [9,10]. Therefore, there has been a surge of interest in the water engineering community to deploy network analysis to assess the degree of resilience of water distribution networks. However, to the best of our knowledge, most of the existing proposals of resilience measures for water distribution networks are based on the network structure [1118] or steady-state or quasi-steady-state flow rates [1924]; as such, the dynamic, transient water flows in the pipe network cannot be represented, which is in fact the key to the resilience performance of a water distribution system. Furthermore, one needs to apply stresses to the system to measure resilience [18], which cannot exhaustively include all failures that might occur in a system. Therefore, it is necessary to examine the transient dynamics to reveal many of the resilience features of the system, in addition to the static network structure or flow. In fact, the transient dynamics of water flow in pipe networks are not a new issue in water engineering. The examination of transient flows is also a practical requirement because live water distribution networks are constantly undergoing changes because of, for example, routine operational adjustments, breakdowns of their elements or human error. In turn, transient water flows are known to cause various problems in water distribution systems, such as pump failure, the collapse of vapour cavities and compromised water quality. Motivated by these needs, various methods to simulate and understand transient flows have been developed [2529]. While useful, these developments consist of mathematical modelling of the transient water dynamics and their numerical simulation methods. These methods do not themselves provide a measure of resilience.

In the present study, we propose an index of resilience via linear stability analysis of a standard set of dynamical equations modelling steady-state flow in a given water distribution network. The equations are equivalent to a type of nonlinear electric circuit system. The proposed resilience index is defined in terms of the dominant eigenvalue of the Jacobian matrix around the steady state. Therefore, the index corresponds to the speed at which the transient dynamics decay towards the steady state in response to a small perturbation in the flow rate. The index is calculated from the structure of the network, the diameter and length of the individual pipes, and other constraints such as the energy level at the reservoir nodes and water demand at individual consumer nodes. We test the proposed index against different resilience measures that we previously proposed based on realistic numerical simulations of water distribution systems. The Matlab code for calculating the so-called local stability index is available at Github (https://github.com/naokimas/LSI_water_distribution_net).

2. Model

Consider a connected and undirected network of pipes. By definition, a pipe connects two nodes, where nodes are junctions, reservoirs and households. A dead-end node that is only connected to a single pipe (hence, the node's degree is equal to 1) corresponds to a consumer node such as a household. It should be noted that nodes whose degree is larger than 1 are junction nodes but can also demand water if they are connected to households. Let us denote by N and M the number of nodes and edges, respectively. Each edge has its own diameter and length, assuming a circular shape of the pipe. These properties affect how much water flows through the pipe under a given condition, thus effectively specifying the weight (i.e. capacity) of the edge. However, we consider the network to be an unweighted network and explicitly model the effect of the pipe diameter and length.

We consider a rigid water column model of pipe networks under the assumption that flows in a pipe vary slowly in time [25,3032]. The dynamical equation representing transient flow through the mth pipe (1≤mM), which connects the ith and jth nodes, is given by

ImdQmdt=hihjRmQm|Qm|u(Qm). 2.1

Nodes i and j depend on edge m. However, unless we state otherwise, we use i and j here and in the following text to avoid notational abuse. In equation (2.1), Qm is the time-dependent flow rate through the mth pipe, in the direction from the ith node to the jth node; t represents the time; hi represents the total energy at the ith node, which depends on the time; Rm is a constant called the pipe coefficient containing information on the diameter, length and roughness of pipe m; RmQm|Qm| accounts for the nonlinear head loss across the mth pipe; u(Qm) is the input term which comes from a valve or other structure located on the mth pipe; Im is the pipe inertia constant. The dynamical system given by equation (2.1) is equivalent to that of a nonlinear resistor–inductor electrical circuit, where Qm is the current, hi is the voltage, Im is the inductance, Rm is a nonlinear resistance and u(Qm) is other nonlinear elements placed on the mth edge.

The pipe coefficient is given by

Rm=8fmmgπ2dm5, 2.2

where fm is the dimensionless Darcy–Weisbach friction factor for the mth pipe and depends on the flow regime (see below for the equation) and other factors, ℓm is the length of the mth pipe, g is the gravitational acceleration and is equal to 9.81 m s−2 and dm is the diameter of the mth pipe [26]. More generally, if the nonlinear head loss term is given by RmQm|Qm|γ−1, one obtains Rm=fmm/2gdmAmγ, where Am is the cross-sectional area of the mth pipe, i.e. Am=πdm2/4 [26,33]. The pipe inertia constant is given by Im=m/(gAm).

There are various equations to approximate the friction factor, fm, as a function of the pipe diameter, dm, the roughness coefficient of the pipe (which is determined by the pipe's material, age and other factors), Reynolds number and so forth. Because the Reynolds number is a function of the flow rate, Qm, the friction factor also depends on Qm. Our index, which is developed in §3, involves differentiation of the right-hand side of equation (2.1) with respect to Qm, which requires the derivative of fm with respect to Qm. In fact, many equations for fm can only be applicable to particular flow regimes; the flow regime is specified by the value of the Reynolds number. Because fm may depend on pipes, different pipes may be in different flow regimes and some pipes may be situated near the boundary of two flow regimes. Therefore, we select the equation proposed in [34] that is applicable in all flow regimes including laminar and turbulent flows and gives fm as a continuous function of the Reynolds number (and hence continuous in Qm). This is given by

fm=(64Rm)a(0.75lnRm5.37)2(a1)b(0.88ln6.82dmϵ)2(a1)(1b). 2.3

In equation (2.3), the Reynolds number for the mth pipe is equal to

Rm=|Qm|dmAmv, 2.4

where v = 1.007 × 10−6 m2 s−1 is the kinematic viscosity of water, assuming a temperature of 20°C. Furthermore, ϵ = 2.591 × 10−4 m is the roughness coefficient of cast iron [35] (also see [26] for a similar value), and

a=[1+(Rm2712)8.4]1 2.5

and

b=[1+(ϵRm150dm)1.8]1. 2.6

3. Local stability index

In this section, we carry out the linear stability analysis of the steady state of the nonlinear dynamical system given by equation (2.1). The system turns out to be always linearly stable, and we propose a local stability index as the magnitude of the eigenvalue corresponding to the most slowly decaying mode. This task is non-trivial because some nodes act as a reservoir of water, other nodes act as a consumer of water and the friction factor, fm, depends on the dynamical variable, Qm.

(a). Removing redundancy from the dynamical equations

Assume that the total energy at N0 nodes is fixed. The N0 nodes are typically reservoirs whose altitude is higher than that of the typical consumer and junction nodes. Without loss of generality, we assume that hNN0 + 1, hNN0 + 2, …, hN are fixed. Then, the set of equation (2.1) has N − N0 + M unknowns, i.e. hi (1≤iN − N0) and Qm (1≤mM), whereas equation (2.1) only provides M differential equations. The remaining constraints come from Kirchhoff's current law (i.e. conservation of water mass) at each of the N − N0 nodes whose total energy is not fixed. In other words, we obtain

j=1;jiNAijQij=Q~iext(i=1,2,,NN0), 3.1

where Qij is the flow rate through pipe (i, j) from the ith to jth nodes; Q~iext is the external demand (i.e. withdrawal) of water at the ith node; and Aij( = Aji) is the element of the adjacency matrix. In other words, Aij = 1 if there is a pipe between the ith and jth nodes. Otherwise, Aij = 0.

Equations (2.1) and (3.1) imply that there are N − N0 + M unknowns and the same number of equations for solving the steady state and its linear stability. Now we erase hi (1≤iN − N0) from equation (2.1) using equation (3.1) to derive a self-contained M-dimensional dynamical system. It should be noted that we do not have to erase hi (N − N0 + 1≤iN) from equation (2.1) because these hi's are constant. To erase hi (1≤iN − N0), we differentiate equation (3.1) to obtain

j=1;jiNAijdQijdt=0(i=1,2,,NN0). 3.2

By substituting equation (2.1) in equation (3.2), one obtains

j=1;jiNAijhihjRijQij|Qij|u(Qij)Iij=0(i=1,2,,NN0), 3.3

where Iij is the inertia constant of pipe (i, j). Note that equation (2.2) implies that Rij = Rji.

We define the M-dimensional diagonal matrix D by the diagonal elements Dmm = 1/Im (1≤mM). We also denote the head vector by h = (h1, …, hN) → p, where → p denotes the transposition. Furthermore, we denote q = (q1, …, qM) → p, of which the mth element is given by

qm(Qm)RmQm|Qm|+u(Qm). 3.4

To rewrite equation (3.3), we introduce the incidence matrix, denoted by C, which is an N × M matrix. By definition, corresponding to each mth edge (i, j), the entries of the mth column of C are given by Ci,m = 1, Cj,m =  − 1 and Cℓ,m = 0 (1≤ℓ≤N, ℓ≠i, j). Although the edges are undirected, we assign +1 and −1 to i and j, respectively, by arbitrarily selecting either node forming the mth edge to which +1 is assigned, for later convenience. We represent C in block form, given by

C=(C(1)C(2)), 3.5

where the (N − N0) × M matrix C(1) is the part of the incidence matrix corresponding to the nodes whose total energy is not fixed, and the N0 × M matrix C(2) is the part of the incidence matrix corresponding to the nodes whose total energy is fixed.

We further denote the N × N combinatorial Laplacian matrix of the network by

Lij={j=1;jiNAij(i=j),Aij(ij). 3.6

Using

L=CC, 3.7

we obtain the following block format of the Laplacian matrix:

L=(L(11)L(12)L(21)L(22))=(C(1)C(1)C(1)C(2)C(2)C(1)C(2)C(2)), 3.8

where L(11) is the (N − N0) × (N − N0) matrix corresponding to the nodes whose total energy is not fixed, L(12) is an (N − N0) × N0 matrix and so forth.

The combinatorial Laplacian matrix for the network with the same set of edges but with the edge weight given by Dmm = 1/Im is called the conductance matrix in electrical circuit theory [36]. We denote the conductance matrix by Lw. The conductance matrix is given by

Lw=(Lw(11)Lw(12)Lw(21)Lw(22))=CDC. 3.9

Then, we can rewrite equation (3.3) as

(Lw(11)Lw(12))hC(1)Dq=0. 3.10

With the notation

h=(h(1)h(2)), 3.11

where h(1) = (h1, …, hNN0) → p and h(2) = (hNN0 + 1, …, hN) → p, equation (3.10) is equivalent to

C(1)DC(1)h(1)=C(1)DC(2)h(2)+C(1)Dq. 3.12

Matrix C(1)DC(1) → p is the so-called loopy Laplacian matrix [36]. Because all of its eigenvalues are positive if the network is a connected network, which we have assumed, C(1)DC(1) → p has the inverse and one obtains

h(1)=(C(1)DC(1))1(C(1)DC(2)h(2)+C(1)Dq). 3.13

This procedure is essentially the same as the network Kron reduction [36].

By substituting equation (3.13) in equation (2.1), one obtains

dQdt=DC((C(1)DC(1))1(C(1)DC(2)h(2)+C(1)Dq(Q))h(2))Dq(Q), 3.14

where Q≡(Q1, …, QM) → p. Equation (3.14) is an M-dimensional dynamical system. However, it should be noted that the dynamics are confined on an (M − N + N0)-dimensional hyperplane specified by equation (3.1), respecting Kirchhoff's current law.

(b). Local stability analysis

In this section, we derive the eigenequation that determines the conventional local linear stability of the steady state of the nonlinear dynamics given by equation (2.1). We use the combination of equations (2.1) and (3.1) for solving the steady state and equation (3.14) to perform the local stability analysis around the obtained steady state.

The steady state is given by setting the left-hand side of equation (2.1) to zero. By combining the resulting M constraints with the N − N0 constraints provided by equation (3.1), one can obtain the steady state, which consists of the N − N0 + M unknowns, i.e. hi (1≤iN − N0) and Qm (1≤mM).

To set up the Newton–Raphson iteration scheme (e.g. [26]), we rewrite equation (3.1) as

Finode(Q)j=1;jiNAijQij+Q~iext=0(i=1,2,,NN0). 3.15

We set the left-hand side of equation (2.1) to 0 to obtain

Fmpipe(h(1),Q)himhjmRmQm|Qm|u(Qm)=0, 3.16

where im and jm are the two nodes connected by the mth pipe; we use im and jm instead of i and j to avoid possible notational conflict with equation (3.15). The Jacobian of the right-hand side of equations (3.15) and (3.16) with N + M unknowns, h1, …, hNN0, Q1, …, QM, is given by

J=(OC(1)(C(1))diag(qm(Qm))), 3.17

where diag(qm(Qm)) is the diagonal matrix whose diagonal elements are given by

qm(Qm)=2Rmsgn(Qm)Qm+u(Qm). 3.18

The updating equation for the Newton–Raphson method is given by

(h(1)(n+1)Q(n+1))=(h(1)(n)Q(n))J1(F1node(Q(n))FNN0node(Q(n))F1pipe(h(1)(n),Q(n))FMpipe(h(1)(n),Q(n))). 3.19

Denote the obtained steady state by (h*1, …, h*NN0, Q*1, …, Q*M). We now carry out the local stability analysis around this steady state. The Jacobian matrix of the right-hand side of equation (3.14), denoted by Jdyn = (Jdynmm), is given by

Jdyn=[DC(1)(C(1)DC(1))1C(1)DD]diag(qm(Qm)). 3.20

Proposition 3.1. —

Matrix BDC(1) → p(C(1)DC(1) → p)−1C(1)D − D has (N − N0)-fold zero eigenvalues and M − N + N0 negative eigenvalues.

Proof. —

A direct substitution verifies

B(C(1))=0. 3.21

Therefore, B has (N − N0)-fold zero eigenvalues, and the corresponding N − N0 right eigenvectors are the columns of (C(1)) → p.

Because (C(1)DC(1) → p)−1 is an (N − N0) × (N − N0) matrix, its rank is at most N − N0. Therefore, the M × M matrix B′≡C(1) → p(C(1)DC(1) → p)−1C(1)D has at most rank N − N0 and therefore has at least M − N + N0 zero eigenvalues.

We denote the eigenvalues of a symmetric matrix X by λ1(X)≤ · s≤λM(X). Using the fact that D is positive definite because all its diagonal elements are positive (i.e. =1/Im), Weyl's theorem on eigenvalues applied to the sum of B′ and −D, which is equal to B, implies that

λm(B)<λm(B). 3.22

Note that λm0(B′) = λm0 + 1(B′) =  · s = λm0 + M − N + N0 − 1(B′) = 0 for an m0 (1≤m0N − N0 + 1). Therefore, equation (3.22) yields λm0(B), …, λm0 + M − N + N0 − 1(B) < 0. Because this relationship must be consistent with the fact that B has (N − N0)-fold zero eigenvalues, we obtain m0 = 1 and λ1(B), …, λMN+N0(B) < 0, λMN+N0 + 1(B) =  · s = λM(B) = 0. □

Let us assume for any pipe m that qm(Q*m) > 0, which means that the head loss owing to friction along the pipe increases as the steady-state flow rate, Q*m, increases. We verified that qm(Q*m) > 0 held true in all the numerical simulations carried out in the next section. Then, Jdyn has M − N + N0 negative eigenvalues and N − N0 zero eigenvalues, as matrix B does (appendix A).

Therefore, the dynamics given by equation (3.14) are locally neutrally stable in the subspace spanned by the column vectors of [diag(qm(Q*m))]−1(C(1)) → p. However, perturbations along these directions are infeasible because such a perturbation is not on the hyperplane defined by equation (3.1) on which the dynamics are constrained. Note that the normal vectors of the hyperplane are given by the row vectors of C(1), i.e. column vectors of (C(1)) → p. Therefore, in the local stability analysis, we should ignore these N − N0 zero eigenvalues and inspect the other M − N + N0 eigenvalues. With this consideration, we conclude that the steady state constrained by Kirchhoff's current law (i.e. equation (3.1)) is always locally stable.

To define a local stability index, we calculate the largest eigenvalue of Jdyn except the (N − N0)-fold zero eigenvalue. Note that all eigenvalues of Jdyn are real, although Jdyn is not a symmetric matrix in general (appendix A). We consider the largest non-zero eigenvalue of Jdyn (which is negative) and refer to its absolute value as the local stability index, denoted by ρ. A large ρ-value implies that dynamics perturbed by a small amount from the steady state would rapidly return to the steady state. Mathematically, the perturbations are given to the flow rate for some pipes. However, we expect that ρ serves as an index that can characterize dynamical stability of water distribution networks in wider contexts.

4. Numerical results

In this section, we calculate the local stability index for various networks and examine its relevance to stability and resilience in simulated dynamics of water flow.

We use the synthesized networks used in our previous study [18]. As supplementary materials to [18], the full network structure and properties of system components (e.g. pipes, nodal demands, elevations) were made open to the public in EPANET2 format, except for one network. For completeness, we have made the complete data for all networks and their system components used in the present study available in Matlab format at Github, alongside the code for calculating the local stability index.

Of the 85 networks used in our previous study [18], five networks included pumps, which would pin the flow rate to a constant value. Because our formalism does not directly cover the case of the pinned flow rate, we exclude these five networks. Of the remaining 80 networks, 10 networks have N = 102 nodes, N0 = 2 reservoir nodes among the N nodes and M = 110 pipes; 11 networks have (N, N0, M) = (102, 2, 130); 10 networks have (N, N0, M) = (204, 4, 223); 10 networks have (N, N0, M) = (204, 4, 263); nine networks have (N, N0, M) = (306, 6, 335); nine networks have (N, N0, M) = (306, 6, 395); five networks have (N, N0, M) = (404, 4, 443); five networks have (N, N0, M) = (404, 4, 523); five networks have (N, N0, M) = (406, 6, 525); five networks have (N, N0, M) = (408, 8, 447); and one network has (N, N0, M) = (506, 6, 554). We calculated ρ for each of the 80 networks.

The diameter of a majority of the pipes was equal to 400 mm. There were also a few larger values of the diameter (e.g. 900 mm). Such wider pipes were incident (i.e. directly connected) to a reservoir. The diameter of the pipes was automatically generated by the software [37].

We set the total energy of all the N0 reservoirs in each network to 65 m [37]. In addition to these N0 nodes, some nodes in each network had zero water demand (i.e. Q~iext=0), because they were pure junctions connecting different pipes. We set u(Qm) for each pipe to zero because the data were from the 80 networks that do not have valves or pumps.

In our previous study, we numerically simulated the dynamics of water flow in these networks using the software EPANET2 [23,38] and measured six strain indices to characterize the resilience of the water distribution systems. These indices are as follows (see [18] for fuller definitions). First, the time to strain is defined as the time between the application of stress and the start of service failure, which is when the level of service at a node drops below a predefined threshold. Second, the failure duration is defined as the time needed for the system to recover to normal performance since the service failure triggered by the application of stress. Third, the failure magnitude is defined as the most severe drop at a node in terms of the system service performance as a result of the administered stress, averaged over all the nodes. Fourth, the failure rate is defined as the failure magnitude divided by the time between the start of the failure and the occurrence of the worst system performance. Fifth, the recovery rate is defined as the failure magnitude divided by the time between the worst system performance and the return to the performance threshold value used in the definition of the time to strain. Sixth, the severity is defined as the threshold minus the system performance (which is positive during the system failure) integrated with respect to time over the period of system failure.

The relationship between each of the six strain indices and the local stability index, ρ, is shown in figure 1. In the figure, each circle represents one of the 80 networks, r represents the Pearson correlation coefficient and p represents the p-value for the Pearson correlation coefficient. We found a positive correlation between ρ and the recovery rate (figure 1e). This result is intuitive because the recovery rate quantifies how the system returns to normal performance after being perturbed by external stress, which agrees with the concept of linear stability when the given external stress is infinitesimally small. The obtained correlation is only moderate (i.e. r = 0.420, p ≈ 1.04 × 10−4), probably because of various nonlinearities of the system, which our linear stability analysis does not aim to explain. However, we consider that ρ captures a strain index derived from EPANET2, which is an involved numerical simulation package, reasonably well.

Figure 1.

Figure 1.

Relationship between each of the strain indices and the local stability index. (a) Time to strain, (b) failure duration, (c) failure magnitude, (d) failure rate, (e) recovery rate and (f ) severity. A circle represents a network and its colour represents the number of nodes. The lines represent the linear regression. The Pearson correlation coefficient and its p-value are denoted by r and p, respectively. (Online version in colour.)

Figure 1 also indicates that ρ is strongly correlated with the failure magnitude (figure 1c) and the failure rate (figure 1d). We do not have an active interpretation of this result. In fact, it appears contradictory that a large ρ-value, which predicts that the network is resilient, is associated with a large failure magnitude and failure rate. However, the failure magnitude and failure rate quantify the magnitude of failure response induced by the external stress, which is not related to our local stability analysis even in the limit of infinitesimally small external stress. Therefore, we conclude that the failure magnitude and the failure rate characterize different aspects of the system's resilience from what the recovery rate and ρ do. This view is consistent with our additional observation that, within our previous numerical results [18], there is positive correlation between the failure magnitude and the recovery rate (r = 0.917, p < 10−32) and between the failure rate and the recovery rate (r = 0.677, p ≈ 5.60 × 10−12).

In our previous study, we measured eight structural properties of the water distribution network and examined the association between each of them and each of the six strain indices [18]. Here we measured the Pearson correlation coefficient between each of these structural properties, whose definitions are in appendix B, and the recovery rate. We found that none of the eight structural properties of the network was as strongly correlated with the recovery rate as ρ was (link density: r = 0.145, p = 0.204; algebraic connectivity: r = 0.114, p = 0.316; diameter: r =  − 0.143, p = 0.207; average path length: r =  − 0.204, p = 0.0717; central point dominance: r =  − 0.0515, p = 0.652; heterogeneity: r = 0.335, p = 0.0026; spectral gap: r =  − 0.0509, p = 0.656; clustering coefficient: r = 0.198, p = 0.0798). Therefore, the local stability index is better at capturing the recovery rate than these structural properties. This is probably because these structural properties do not directly quantify the speed at which the water distribution network responds to a perturbation in the steady state.

5. Discussion

We carried out a local stability analysis of water flow in pipe networks including reservoir nodes and consumer nodes. The steady state was shown to be always linearly stable. We used the eigenvalue corresponding to the slowest relaxation mode as the local stability index. The proposed index was moderately correlated with the recovery rate in response to external stress, which was numerically obtained from an involved simulator commonly used in the water engineering research community.

We used a particular equation for the friction factor [34]. However, the present framework accepts other equations for the friction factor. Because the differentiation of the friction factor with respect to the Reynolds number is used in calculating the local stability index and the value of the friction factor depends on the pipe in general, one should use an equation that is continuous and covers a wide range of the Reynolds number and hence different flow schemes. Some possible choices of the equation different from the one used in the present paper are found in the literature [3941]. It is straightforward to extend our local stability index to the case of different functional forms of the friction factor.

In 1972, May proposed to examine the eigenvalue spectra of interaction networks to characterize the dynamical stability of complex systems, in particular ecological systems [42]. This is a landmark example of local stability analysis. While the original analysis and many studies that ensued were for random networks [42], the understanding has been extended to the case of interaction networks with general network structure [43,44]. This family of methods is similar to the one proposed in the present study. The main differences are that we have started from a particular set of hydraulic equations modelling water flow in pipe networks and that we have found that our system is always locally stable and hence used the relaxation mode to quantify the extent of the local stability of the system.

The proposed local stability index was significantly correlated with the recovery rate, which was obtained from numerical simulations in which the applied shock was not necessarily small. However, because the present analysis is a local stability analysis, it does not tell us the behaviour of the system when a shock injected to the steady state is not small. In water engineering applications, the magnitude of perturbation is not necessarily small [3]. A recent study in network science has developed a formalism that reduces a class of dynamical systems on interaction networks into a one-dimensional effective dynamical system and assesses the resilience of the dynamical system against a perturbation that is not necessarily small [45]. Therefore, adapting this resilience formalism to the case of transient and steady-state dynamics of water flow in pipe networks is of practical relevance. In equation (2.1), there are usually only a fraction of nodes whose energy value is fixed (i.e. reservoirs) and different nodes have different water demands. In this sense, the flow dynamics on pipe networks are heterogeneous in addition to being heterogeneous in the network structure and edge weight. Other structures such as valves would add more complexity and heterogeneity to the system. For such a heterogeneous system, it is unclear whether one can transform equation (2.1) into a form that is compatible with the resilience function formalism [45,46]. This issue is left as future work.

Appendix A. Eigenvalues of Jdyn

Here we provide an elementary proof that Jdyn has M − N + N0 zero eigenvalues and N − N0 negative eigenvalues when qm(Q*m) > 0, 1≤mM.

Let us introduce a short-hand notation D¯diag(qm(Qm)). Then, one obtains Jdyn=BD¯. Because Jdyn is similar to the symmetric matrix D¯1/2BD¯1/2, the min–max theorem for the kth smallest eigenvalue implies that

λk(Jdyn)=λk(D¯1/2BD¯1/2)=minSRMdim(S)=k[maxxS{0}(D¯1/2BD¯1/2x,x)(x,x)]=minSRMdim(S)=k[maxxS{0}(D¯1/2BD¯1/2x,x)(D¯1/2x,D¯1/2x)(D¯x,x)(x,x)]minSRMdim(S)=k[maxxS{0}(D¯1/2BD¯1/2x,x)(D¯1/2x,D¯1/2x)maxxRM{0}(D¯x,x)(x,x)]=λk(B)λM(D¯). A 1

Similarly, one obtains

λk(Jdyn)=minSRMdim(S)=k[maxxS{0}(D¯1/2BD¯1/2x,x)(D¯1/2x,D¯1/2x)(D¯x,x)(x,x)]minSRMdim(S)=k[maxxS{0}(D¯1/2BD¯1/2x,x)(D¯1/2x,D¯1/2x)minxRM{0}(D¯x,x)(x,x)]=λk(B)λ1(D¯). A 2

By combining λ1(D¯)>0, λM(D¯)>0 and λ1(B), …, λMN+N0 < 0, λMN+N0 + 1 =  · s = λM = 0, one obtains λ1(Jdyn), …, λMN+N0(Jdyn) < 0, λMN+N0 + 1(Jdyn) =  · s = λM(Jdyn) = 0.

Appendix B. Structural properties of networks

The eight structural properties of the network that we measured in our previous study [18] and were used in the present article for comparison purposes are as follows.

The link density is given by 2M/[N(N − 1)]. The algebraic connectivity is the smallest positive eigenvalue of the Laplacian matrix, L, of the undirected and unweighted network. The version of the clustering coefficient used in [18] is given by 3 × (number of triangles in the network)/(number of connected triples of nodes in the network). The average path length is equal to the shortest path length between two nodes, which is averaged over all the possible N(N − 1)/2 node pairs. The central point dominance is given by i=1N(bmaxbi)/(N1), where bi is the betweenness centrality of the ith node and bmax=maxj=1,,Nbj. The heterogeneity is that in the degree and is given by i=1N(kik)2/k, where ki is the degree of the ith node and k=i=1Nki/N is the average degree of the node. The version of the spectral gap used in [18] is given by the difference between the two largest eigenvalues of L. The modularity is a quantity representing the quality of community structure detected in the network and approximate modularity maximization was carried out using Newman's algorithm [47].

Data accessibility

The data on the network structure and system components are available on Github.

Competing interests

We declare we have no competing interests.

Author's contributions

N.M. and F.M. conceived of and designed the study, discussed the results and drafted the manuscript. F.M. provided the data on the network structure and system components. N.M. carried out the theoretical analysis and performed the data analysis. Both authors read and approved the manuscript.

Funding

N.M. and F.M. acknowledge the support provided through the BRIM (Building Resilience into Risk Management) project, EPSRC (grant no. EP/N010329/1).

References

  • 1.Butler D, Memon FA. 2006. Water demand management. London, UK: IWA Publishing. [Google Scholar]
  • 2.Rasekh A, Brumbelow K. 2014. Drinking water distribution systems contamination management to reduce public health impacts and system service interruptions. Environ. Model. Softw. 51, 12–25. ( 10.1016/j.envsoft.2013.09.019) [DOI] [Google Scholar]
  • 3.Gullick RW, LeChevallier MW, Case J, Wood DJ, Funk JE, Friedman MJ. 2005. Application of pressure monitoring and modelling to detect and minimize low pressure events in distribution systems. J. Water Supply Res. Tech. Aqua 54, 65–81. ( 10.2166/aqua.2005.0007) [DOI] [Google Scholar]
  • 4.Jun H, Loganathan GV, Deb AK, Grayman W, Snyder J. 2007. Valve distribution and impact analysis in water distribution systems. J. Environ. Eng. 133, 790–799. ( 10.1061/(ASCE)0733-9372(2007)133:8(790)) [DOI] [Google Scholar]
  • 5.Giustolisi O, Savic D. 2010. Identification of segments and optimal isolation valve system design in water distribution networks. Urban Water J. 7, 1–15. ( 10.1080/15730620903287530) [DOI] [Google Scholar]
  • 6.Hosseini S, Barker K, Ramirez-Marquez JE. 2016. A review of definitions and measures of system resilience. Reliab. Eng. Syst. Safety 145, 47–61. ( 10.1016/j.ress.2015.08.006) [DOI] [Google Scholar]
  • 7.Xue X, Wang L, Yang RJ. 2018. Exploring the science of resilience: critical review and bibliometric analysis. Nat. Hazards 90, 477–510. ( 10.1007/s11069-017-3040-y) [DOI] [Google Scholar]
  • 8.Butler D, Ward S, Sweetapple C, Astaraie-Imani M, Diao K, Farmani R, Fu G. 2017. Reliable, resilient and sustainable water management: the Safe and SuRe approach. Global Chall. 1, 63–77. ( 10.1002/gch2.1010) [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 9.Newman MEJ. 2010. Networks: an introduction. Oxford, UK: Oxford University Press. [Google Scholar]
  • 10.Barabási AL. 2016. Network science. Cambridge, UK: Cambridge University Press. [Google Scholar]
  • 11.Yazdani A, Jeffrey P. 2011. Complex network analysis of water distribution systems. Chaos 21, 016111 ( 10.1063/1.3540339) [DOI] [PubMed] [Google Scholar]
  • 12.Yazdani A, Otoo RA, Jeffrey P. 2011. Resilience enhancing expansion strategies for water distribution systems: a network theory approach. Environ. Model. Softw. 26, 1574–1582. ( 10.1016/j.envsoft.2011.07.016) [DOI] [Google Scholar]
  • 13.Yazdani A, Jeffrey P. 2012. Water distribution system vulnerability analysis using weighted and directed network models. Water Resour. Res. 48, W06517 ( 10.1029/2012WR011897) [DOI] [Google Scholar]
  • 14.Shuang Q, Zhang M, Yuan Y. 2014. Performance and reliability analysis of water distribution systems under cascading failures and the identification of crucial pipes. PLoS ONE 9, e88445 ( 10.1371/journal.pone.0088445) [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 15.Herrera M, Abraham E, Stoianov I. 2016. A graph-theoretic framework for assessing the resilience of sectorised water distribution networks. Water Resour. Manage. 30, 1685–1699. ( 10.1007/s11269-016-1245-6) [DOI] [Google Scholar]
  • 16.Pandit A, Crittenden JC. 2016. Index of network resilience for urban water distribution systems. Int. J. Crit. Infrastruct. 12, 120–142. ( 10.1504/IJCIS.2016.075865) [DOI] [Google Scholar]
  • 17.Hwang H, Lansey K. 2017. Water distribution system classification using system characteristics and graph-theory metrics. J. Water Resour. Plann. Manage. 143, 04017071 ( 10.1061/(ASCE)WR.1943-5452.0000850) [DOI] [Google Scholar]
  • 18.Meng F, Fu G, Farmani R, Sweetapple C, Butler D. 2018. Topological attributes of network resilience: a study in water distribution systems. Water Res. 143, 376–386. ( 10.1016/j.watres.2018.06.048) [DOI] [PubMed] [Google Scholar]
  • 19.Todini E. 2000. Looped water distribution networks design using a resilience index based heuristic approach. Urban Water 2, 115–122. ( 10.1016/S1462-0758(00)00049-2) [DOI] [Google Scholar]
  • 20.Zhuang B, Lansey K, Kang D. 2013. Resilience/availability analysis of municipal water distribution system incorporating adaptive pump operation. J. Hydraul. Eng. 139, 527–537. ( 10.1061/(ASCE)HY.1943-7900.0000676) [DOI] [Google Scholar]
  • 21.Yannopoulos S, Spiliotis M. 2013. Water distribution system reliability based on minimum cut—set approach and the hydraulic availability. Water Resour. Manage. 27, 1821–1836. ( 10.1007/s11269-012-0163-5) [DOI] [Google Scholar]
  • 22.Zhao X, Chen Z, Gong H. 2015. Effects comparison of different resilience enhancing strategies for municipal water distribution network: a multidimensional approach. Math. Probl. Eng. 2015, 438063 ( 10.1155/2015/438063) [DOI] [Google Scholar]
  • 23.Diao K, Sweetapple C, Farmani R, Fu G, Ward S, Butler D. 2016. Global resilience analysis of water distribution systems. Water Res. 106, 383–393. ( 10.1016/j.watres.2016.10.011) [DOI] [PubMed] [Google Scholar]
  • 24.Liu H, Walski T, Fu G, Zhang C. 2017. Failure impact analysis of isolation valves in a water distribution network. J. Water Resour. Plann. Manage. 143, 04017019 ( 10.1061/(ASCE)WR.1943-5452.0000766) [DOI] [Google Scholar]
  • 25.Islam MR, Chaudhry MH. 1998. Modeling of constituent transport in unsteady flows in pipe networks. J. Hydraul. Eng. 124, 1115–1124. ( 10.1061/(ASCE)0733-9429(1998)124:11(1115)) [DOI] [Google Scholar]
  • 26.Boulos PF, Lansey KE, Karney BW. 2006. Comprehensive water distribution system analysis handbook for engineers and planners, 2nd edn Pasadena, CA: NWH Soft. [Google Scholar]
  • 27.Todini E. 2011. Extending the global gradient algorithm to unsteady flow extended period simulations of water distribution systems. J. Hydroinfo. 13, 167–180. ( 10.2166/hydro.2010.164) [DOI] [Google Scholar]
  • 28.Nault JD, Karney BW. 2016. Improved rigid water column formulation for simulating slow transients and controlled operations. J. Hydraul. Eng. 142, 04016025 ( 10.1061/(ASCE)HY.1943-7900.0001145) [DOI] [Google Scholar]
  • 29.Jung BS, Karney B. 2017. A practical overview of unsteady pipe flow modeling: from physics to numerical solutions. Urban Water J. 14, 502–508. ( 10.1080/1573062X.2016.1223323) [DOI] [Google Scholar]
  • 30.Wylie EB. 1983. The mircocomputer and pipeline transients. J. Hydraul. Eng. 109, 1723–1739. ( 10.1061/(ASCE)0733-9429(1983)109:12(1723)) [DOI] [Google Scholar]
  • 31.Ghidaoui MS, Zhao M, McInnis DA, Axworthy DH. 2005. A review of water hammer theory and practice. Appl. Mech. Rev. 58, 49–76. ( 10.1115/1.1828050) [DOI] [Google Scholar]
  • 32.Chaudhry MH. 2014. Applied hydraulic transients, 3rd edn Cambridge, UK: Springer. [Google Scholar]
  • 33.Todini E, Pilati S. 1988. A gradient algorithm for the analysis of pipe networks. In Computer applications in water supply, vol. 1 - Systems analysis and simulation (eds B Coulbeck, CH Orr), pp. 1–20. New York, NY: John Wiley and Sons Inc.
  • 34.Bellos V, Nalbantis I, Tsakiris G. 2018. Friction modeling of flood flow simulations. J. Hydraul. Eng. 144, 04018073 ( 10.1061/(ASCE)HY.1943-7900.0001540) [DOI] [Google Scholar]
  • 35.Rossman L. 2000. EPANET2 users' manual. Cincinnati, OH: Drinking Water Research Division, Risk Reduction Engineering Laboratory, Office of Research and Development, U. S. Environmental Protection Agency.
  • 36.Dörfler F, Simpson-Porco JW, Bullo F. 2018. Electrical networks and algebraic graph theory: models, properties, and applications. Proc. IEEE 106, 977–1005. ( 10.1109/JPROC.2018.2821924) [DOI] [Google Scholar]
  • 37.De Corte A, Sörensen K. 2014. HydroGen: an artificial water distribution network generator. Water Resour. Manage. 28, 333–350. ( 10.1007/s11269-013-0485-y) [DOI] [Google Scholar]
  • 38.Mugume SN, Gomez DE, Fu G, Farmani R, Butler D. 2015. A global analysis approach for investigating structural resilience in urban drainage systems. Water Res. 81, 15–26. ( 10.1016/j.watres.2015.05.030) [DOI] [PubMed] [Google Scholar]
  • 39.Swamee PK. 1993. Design of a submarine oil pipeline. J. Transp. Eng. 119, 159–170. ( 10.1061/(ASCE)0733-947X(1993)119:1(159)) [DOI] [Google Scholar]
  • 40.Cheng NS. 2008. Formulas for friction factor in transitional regimes. J. Hydraul. Eng. 134, 1357–1362. ( 10.1061/(ASCE)0733-9429(2008)134:9(1357)) [DOI] [Google Scholar]
  • 41.Brkić D, Praks P. 2018. Unified friction formulation from laminar to fully rough turbulent flow. Appl. Sci. 8, 2036 ( 10.3390/app8112036) [DOI] [Google Scholar]
  • 42.May RM. 1972. Will a large complex system be stable? Nature 238, 413–414. ( 10.1038/238413a0) [DOI] [PubMed] [Google Scholar]
  • 43.Okuyama T, Holland JN. 2008. Network structural properties mediate the stability of mutualistic communities. Ecol. Lett. 11, 208–216. ( 10.1111/j.1461-0248.2007.01137.x) [DOI] [PubMed] [Google Scholar]
  • 44.Allesina S, Tang S. 2012. Stability criteria for complex ecosystems. Nature 483, 205–208. ( 10.1038/nature10832) [DOI] [PubMed] [Google Scholar]
  • 45.Gao J, Barzel B, Barabási AL. 2016. Universal resilience patterns in complex networks. Nature 530, 307–312. ( 10.1038/nature16948) [DOI] [PubMed] [Google Scholar]
  • 46.Tu C, Grilli J, Schuessler F, Suweis S. 2017. Collapse of resilience patterns in generalized Lotka-Volterra dynamics and beyond. Phys. Rev. E 95, 062307 ( 10.1103/PhysRevE.95.062307) [DOI] [PubMed] [Google Scholar]
  • 47.Newman MEJ. 2004. Fast algorithm for detecting community structure in networks. Phys. Rev. E 69, 066133 ( 10.1103/PhysRevE.69.066133) [DOI] [PubMed] [Google Scholar]

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Data Availability Statement

The data on the network structure and system components are available on Github.


Articles from Proceedings. Mathematical, Physical, and Engineering Sciences are provided here courtesy of The Royal Society

RESOURCES