[ieee 2011 european modelling symposium (ems) - madrid, spain (2011.11.16-2011.11.18)] 2011 uksim...

8
Confidence Limit Analysis of Water Distribution Systems based on a Least Squares Loop Flows State Estimation Technique Corneliu T.C. Arsene, David Al-Dabass, Joanna Hartley School of Science and Technology Nottingham Trent University Nottingham, United Kingdom [email protected], [email protected], [email protected] Abstract—This paper presents a novel algorithm for uncertainty quantification in water distribution systems, which is termed also Confidence Limit Analysis (CLA), in the context of a Least Squares (LS) state estimator based on the loop corrective flows and the variation of nodal demands as state variables. The confidence limits predicted with the novel algorithm called Error Maximization (EM) method are evaluated with respect to two other more established CLA algorithms based on an Experimental Sensitivity Matrix (ESM) and on a sensitivity matrix obtained with the LS nodal heads equations state estimator. The predicted confidence limits show that the novel EM algorithm is comparable to the other CLA algorithms shown in the paper and due to its computational efficiency renders it suitable for online decision support systems for water distribution systems. Keywords-confidence limit analysis, water distribution systems, loop corrective flows algorithms, modelling and simulation, state estimation I. INTRODUCTION The existence of water distribution systems has been paramount in the human civilization since thousands of years ago. These systems are large, complex and highly non-linear and they include pipes, pumps, valves, reservoirs and nodal consumptions representing the water consumers. The loose of energy by water in a pipe is called pipe head loose and the sum of all the head looses in a loop formed of pipes is called loop head losses. In order to provide water to consumers without any disruption in service, the state of the water distribution system has to be monitored. This can be achieved by using state estimators that provide a means of combining diverse measurements (e.g. pressure, pipe flow) by relating them to the mathematical model of the system [2][5][9][10][13][14]. Although the mathematical model may be accurate, the state estimates are based on input data that contain a significant amount of uncertainty [1][2][6][7]. The uncertainty in input data associated with the real measurements, flows and pressures, and the pseudo-measurements (i.e. estimation of the water consumptions), is discussed here in the context of a loop flows state estimation technique [1][2][3][4]. The measurement uncertainty has an impact on the accuracy with which the state estimates are calculated [1][6][7]. It is important, therefore, that the system operators are given not only the values of flows and pressures in the network at any instant of time but also that they have some indications of how reliable these values are. The procedure for the quantification of the inaccuracy of the state estimates caused by the input data uncertainty was developed in the late 1980s and termed Confidence Limit Analysis (CLA) [6][11]. Rather than a single deterministic state estimate, the CLA enables the calculation of a set of all feasible states corresponding to a given level of measurement uncertainty [6][11]. The set is presented in the form of upper and lower bounds for individual variables and hence provide limits on the potential error of each variable. A decision system build on the concept of CLA has been further developed [7][11]. It performed like a fault detection and identification system being able to distinguish between different types of errors that are occurring in water networks. Although a great amount of work has been done, and significant results have been delivered in the area of uncertainty analysis of water networks, most of these algorithms were obtained with the nodal heads network equations [6][9][11]. This raises the question of the potential benefits of using the loop equations for CLA. Employing the loop corrective flows variables for the numerical simulations (i.e. simulator algorithms or state estimators), has received an increased attention in the last years [3][4][5][8]. As it has been shown in the hydraulics literature, satisfactory convergence and good numerical stability have been achieved for the loop corrective flows based simulations [2][3][4][5]: a simulation algorithm solves the water network solves a water network only for a set of pseudo-measurements and fixed-head nodes. In spite of the work in water networks state estimation and simulation, the results in the area of CLA when using the loop flows algorithms are very scarce [1][8]. 2011 UKSim 5th European Symposium on Computer Modeling and Simulation 978-0-7695-4619-3/11 $26.00 © 2011 IEEE DOI 10.1109/EMS.2011.11 94

Upload: joanna

Post on 18-Dec-2016

217 views

Category:

Documents


4 download

TRANSCRIPT

Page 1: [IEEE 2011 European Modelling Symposium (EMS) - Madrid, Spain (2011.11.16-2011.11.18)] 2011 UKSim 5th European Symposium on Computer Modeling and Simulation - Confidence Limit Analysis

Confidence Limit Analysis of Water Distribution Systems based on a Least Squares Loop Flows State Estimation Technique

Corneliu T.C. Arsene, David Al-Dabass, Joanna Hartley School of Science and Technology

Nottingham Trent University Nottingham, United Kingdom [email protected], [email protected], [email protected]

Abstract—This paper presents a novel algorithm for uncertainty quantification in water distribution systems, which is termed also Confidence Limit Analysis (CLA), in the context of a Least Squares (LS) state estimator based on the loop corrective flows and the variation of nodal demands as state variables. The confidence limits predicted with the novel algorithm called Error Maximization (EM) method are evaluated with respect to two other more established CLA algorithms based on an Experimental Sensitivity Matrix (ESM) and on a sensitivity matrix obtained with the LS nodal heads equations state estimator. The predicted confidence limits show that the novel EM algorithm is comparable to the other CLA algorithms shown in the paper and due to its computational efficiency renders it suitable for online decision support systems for water distribution systems.

Keywords-confidence limit analysis, water distribution systems, loop corrective flows algorithms, modelling and simulation, state estimation

I. INTRODUCTION The existence of water distribution systems has been paramount in the human civilization since thousands of years ago. These systems are large, complex and highly non-linear and they include pipes, pumps, valves, reservoirs and nodal consumptions representing the water consumers. The loose of energy by water in a pipe is called pipe head loose and the sum of all the head looses in a loop formed of pipes is called loop head losses. In order to provide water to consumers without any disruption in service, the state of the water distribution system has to be monitored. This can be achieved by using state estimators that provide a means of combining diverse measurements (e.g. pressure, pipe flow) by relating them to the mathematical model of the system [2][5][9][10][13][14]. Although the mathematical model may be accurate, the state estimates are based on input data that contain a significant amount of uncertainty [1][2][6][7]. The uncertainty in input data associated with the real measurements, flows and pressures, and the pseudo-measurements (i.e. estimation of

the water consumptions), is discussed here in the context of a loop flows state estimation technique [1][2][3][4].

The measurement uncertainty has an impact on the accuracy with which the state estimates are calculated [1][6][7]. It is important, therefore, that the system operators are given not only the values of flows and pressures in the network at any instant of time but also that they have some indications of how reliable these values are. The procedure for the quantification of the inaccuracy of the state estimates caused by the input data uncertainty was developed in the late 1980s and termed Confidence Limit Analysis (CLA) [6][11]. Rather than a single deterministic state estimate, the CLA enables the calculation of a set of all feasible states corresponding to a given level of measurement uncertainty [6][11]. The set is presented in the form of upper and lower bounds for individual variables and hence provide limits on the potential error of each variable. A decision system build on the concept of CLA has been further developed [7][11]. It performed like a fault detection and identification system being able to distinguish between different types of errors that are occurring in water networks. Although a great amount of work has been done, and significant results have been delivered in the area of uncertainty analysis of water networks, most of these algorithms were obtained with the nodal heads network equations [6][9][11]. This raises the question of the potential benefits of using the loop equations for CLA. Employing the loop corrective flows variables for the numerical simulations (i.e. simulator algorithms or state estimators), has received an increased attention in the last years [3][4][5][8]. As it has been shown in the hydraulics literature, satisfactory convergence and good numerical stability have been achieved for the loop corrective flows based simulations [2][3][4][5]: a simulation algorithm solves the water network solves a water network only for a set of pseudo-measurements and fixed-head nodes. In spite of the work in water networks state estimation and simulation, the results in the area of CLA when using the loop flows algorithms are very scarce [1][8].

2011 UKSim 5th European Symposium on Computer Modeling and Simulation

978-0-7695-4619-3/11 $26.00 © 2011 IEEE

DOI 10.1109/EMS.2011.11

94

Page 2: [IEEE 2011 European Modelling Symposium (EMS) - Madrid, Spain (2011.11.16-2011.11.18)] 2011 UKSim 5th European Symposium on Computer Modeling and Simulation - Confidence Limit Analysis

This paper addresses the problem of CLA based on a Least Squares (LS) loop flows state estimator which was comprehensibly presented in [1][2][3][4]. The respective LS loop flows state estimator uses the loop corrective flows and the variation of nodal demands as state variables and optimizes the LS criteria. This paper presents two CLA algorithms based on the LS loop flows state estimator: the Experimental Sensitivity Matrix (ESM) method and the novel Error Maximization (EM) method. The confidence intervals predicted by these two CLA algorithms will be compared with the confidence intervals predicted with a CLA algorithm which is using the nodal heads equations for the implementation of the state estimation procedure. The performances of the ESM and the novel EM algorithms will be also assessed with respect to computational time required by the respective algorithms.

The paper is organized as follows: next section presents the background and the methodology used in the uncertainty analysis of water networks. This is followed by a section in which is described the calculation of the ESM. Next section presents the ESM method for CLA. The ESM method will give a reference point for interpreting the results obtained in the following section with the novel EM technique. The last section is reserved for several conclusions.

II. UNCERTAINTY ANALYSIS IN WATER NETWORKS

It has been shown that in water networks state estimation for a given set of input data and estimation criterion there is one optimal solution [2][5][9][10][13]. However due to the inaccuracies in the input data, there are many possible, different combinations of such input data and therefore there are many feasible, different state estimate vectors. As a result, the uncertainty analysis becomes an inevitable part of the water distribution systems since it is very important, from the safety of the system operational control point of view, to know how the inaccuracies can affect the estimated solution. Extensive work on the quantification of the influence of measurements and pseudo-measurements uncertainties in water distribution system has been done [6][8][9][11][12] and is based on the principle of unknown-but-bounded errors for the set of measurements: z=g(x)+r , |ri| ≤ |ei| , i=1,…,m (1) where e is the vector representing the maximum expected measurement errors, z is the measurement vector, g is the network function and x are the state variables. The knowledge of statistical properties of errors is not required and the only restriction imposed was the one of errors falling within a range bounded by e. Several CLA algorithms were proposed but the most successful ones in terms of computational complexity were based on the linearized model of the water network [7][11]. The linearized model of the water network was used to obtain a

sensitivity matrix S. The sensitivity matrix was the pseudo-inverse of the Jacobian matrix calculated for the state estimates by using the LS nodal heads state estimator. A state estimate was produced on the assumption that the measurement vector zt is correct and the possible error of the measurement set Δz was considered and used together with the sensitivity matrix S in order to predict the resulting error in the state vector. This approach was facilitated by the use of the nodal heads equations in the LS state estimator. Because of this, the (i,j)-th element sij of the pseudo-inverse of the Jacobian matrix relates the sensitivity of the i-th element, xi, of the state vector, xt, to the j-th element, zj, of the measurement vector. Calculating the confidence limits for the state variables xi was produced as: x icl = max(siΔz) (2) where si is the i-th row of the sensitivity matrix S and Δz represents the perturbations in the vector of measurements. The underlying principle of the CLA is to consider the worst possible case for the perturbations in the vector of measurements (i.e. the maximum variability of water consumptions and inaccuracies for real meters). The method was very efficient and flexible since in the LS nodal heads state estimator any combination of real measurements could be used in conjunction with the water consumptions in order to obtain the confidence limits on the state variables (i.e. nodal heads and pipe flows). The CLA method described above is difficult to follow within the loop equations framework. The equation which calculates the loop corrective flows in a simulator algorithm [1][2][3][4]:

HQ

HQ

ll Δ

Δ∂

Δ∂−=Δ

⎥⎦

⎤⎢⎣

⎡1

(3)

where element sij of the inverse of the Jacobian matrix

1−

⎥⎥⎦

⎢⎢⎣

Δ∂

Δ∂

lQ

H relates the sensitivity of the i-th element, il

QΔ , of

the vector of loop corrective flows, lQΔ , to the j-th

element, ΔHj, of the vector of loop head losses residuals. The relationship carried out by the inverse of the Jacobian matrix from (3) between the measurement vector (i.e. water consumptions) and the loop corrective flows is not straight forward as in nodal heads equations simulator algorithm. It is made through the mean of the loop head losses residuals (i.e. vector ΔH). These loop head losses are implemented with non-linear equations and each of them represents a summation over the head losses in pipes belonging to a loop. Therefore, for a variation in the vector of measurements is not possible to use (3) in order to determine the confidence limits for the state variables.

95

Page 3: [IEEE 2011 European Modelling Symposium (EMS) - Madrid, Spain (2011.11.16-2011.11.18)] 2011 UKSim 5th European Symposium on Computer Modeling and Simulation - Confidence Limit Analysis

In the next section an ESM is constructed with the LS loop flows state estimator, which matrix has the properties of the pseudo-inverse of the Jacobian matrix from the LS nodal heads equations state estimator.

III. EXPERIMENTAL SENSITIVITY MATRIX

In normal use, deterministic state estimators produce one set of state variables for one measurement vector [2][5][14]. Used in this way, they give no indication of how the state variables may be affected by the fuzziness of input data. Alternatively, if a deterministic state estimator is used repeatedly for each measurement modified with its defined maximum variability, then a matrix Se can be determined as:

j

ie

z

xS

Δ

Δ= i=1,…n; j=1,…m (4)

where i=1,…n is the index for the state vector xt, that is nodal heads and in/out flows, and j=1,…m is the index for the measurement vector zt. The measurement vector zt comprises the estimates for the water consumptions and the values of the fixed-head nodes. It can be augmented with real pressure/nodal heads and flow meters. The LS loop flows state estimator is the deterministic state estimator used to obtain the ESM. Matrix Se is the ESM since resembles the characteristics of the pseudo-inverse of the Jacobian matrix from the nodal heads state estimator. It is obtained through a number of successive simulations. It expresses the variation, Δx, of the i-th element, xi, of the true state vector, xt, because of a perturbation, Δz, in the j-th element, zj, of the true measurement vector zt. The true state of the system is not known but instead the best state vector available x is used in the process of determining the sensitivity matrix and the confidence limits. The method is applied for the water network shown at Fig. 1. For real measurements and pseudo-measurements an interval is defined [zl ,zu] according to the relative variability of zt. The variability of the pseudo-measurements is ±20% and the accuracy of the fixed-head nodes is ±0.01 [m]. In real water networks, the true measurement vector zt rarely coincides with the observed measurement vector zo. This discrepancy is caused by meter noise or meter error in the case of real measurements, and because of the difficulty in predicting demand in the case of nodal consumptions. Because of this, the measurement values used (i.e. the observed measurement values in Table 1 and Table 2) are not the same as the true measurement values that would be expected for the true operating state and are listed on the

2-nd column of Table 1 and the 2-nd and 5-th column of Table 2.

Figure 1. Realistic water network.

The observed measurement values, zo, were selected randomly from within the range specified by the following upper and lower limits: zl = zt-Δzl (5) zu=zt-Δzu (6) An interval has been determined for the true measurement vector, zt-Δzl ≤ zt

≤ zt-Δzu, that corresponds to the real-life situation where measurement values are not exact but are contained in a range specified by the accuracy of the real meters and the accuracy of the pseudo-measurements values.

The state vector x shown in columns 3 and 6 of Table 3 are the state variables (i.e. nodal heads and in/out flows) calculated for the observed measurement vector using the LS loop flows state estimator.

TABLE I. TRUE AND OBSERVED FIXED-HEAD NODES

Fixed-head nodes [m] True Obs.

27 -15.1991 -15.1991 28 -33.4879 -33.4978 29 31.7221 31.7221 30 43.5619 43.5819 31 44.1710 44.1703 32 -46.3814 -46.3814 33 -36.5470 -36.5478 34 -12.1990 -12.1963

96

Page 4: [IEEE 2011 European Modelling Symposium (EMS) - Madrid, Spain (2011.11.16-2011.11.18)] 2011 UKSim 5th European Symposium on Computer Modeling and Simulation - Confidence Limit Analysis

TABLE II. TRUE AND OBSERVED NODAL CONSUMPTIONS

Nodal consumptions [l/s] Node True Obs. Node True Obs.

1 52.6 57.5 18 12.1 13.2 2 2.7 3.0 19 4.5 4.9 3 19.2 21 20 12.1 13.2 4 5.9 6.5 21 22.3 24.4 5 1.1 1.23 22 32.4 35.4 6 2.1 2.3 23 38.2 41.7 7 3.0 3.3 24 5.0 5.5 8 69.4 75.8 25 9.0 9.8 9 8.1 8.9 26 11.1 12.1

10 3.8 4.2 27 6.2 6.8 11 1.9 2.1 28 0 0 12 10.2 11.1 29 22.9 25 13 21.2 23.2 30 39.5 43.1 14 10.3 11.21 31 39.3 42.9 15 22.2 24.3 32 0 0 16 4.7 5.12 33 0 0 17 2.4 2.6 34 0 0

The difference between the observed state variable x and the true state xt should be noted. It is caused solely by the addition of the simulated measurement errors and shows how corrupted measurement data can affect deterministic state variables. In order to test the efficacy of the ESM the following simulation is performed: first, considering vector x as being the observed/optimal state vector (i.e. columns 3 and 6 of Table 3), then the observed measurement data zo is randomly modified Δz according to the accuracy of the water consumptions/pseudo-measurements and the fixed-head nodes. For the randomly generated measurement data Δz the LS loop flows state estimator produces a new state vector

1x and a variation of the state vector

1xΔ , which is

shown at Fig. 2.

1xΔ =

1x - x (7)

Second, the observed measurement vector zo is used to obtain the ESM denoted as Se the same as in (4): for each maximum variation in the observed measurement vector zj is obtained a variation in the observed state vector xi and the element sij of the matrix Se is calculated as the division xi /zj. The resulted matrix Se is multiplied with a random variation of the measurement values Δz, which gives a variation of the state vector

2xΔ shown also at Fig. 2:

2xΔ =SeΔz (8)

The maximum differences between the two sets of curves

1xΔ and

2xΔ are of 0.05 m which is obtained for the

nodal heads 7 and 8. It can be concluded that for a given set

of measurements and level of errors associated with the set of measurements, the ESM is an effective way of determining the state variables for a given variation in the input data measurements.

TABLE III. TRUE AND OBSERVED STATE VARIABLES

True and observed state variables Nodal pressures [m] Nodal pressures [m]

Node True Obs. Node True Obs. 1 31.1852 31.0577 23 44.0663 43.9127 2 43.3886 43.2835 24 42.9028 42.7773 3 44.2289 44.1968 25 42.0751 41.7974 4 44.3191 44.2706 26 31.3306 31.2399 5 42.8133 42.6358 27 -15.1991 -15.1991 6 42.6765 42.5082 28 -33.4879 -33.4966 7 41.8478 41.5228 29 31.7221 31.7242 8 41.7190 41.3762 30 43.5619 43.5819 9 43.0165 42.8746 31 44.1710 44.1715

10 41.6933 41.1195 32 -46.3814 -46.3798 11 43.5925 43.5813 33 -36.5470 -36.5457 12 43.5845 43.5817 34 -12.1990 -12.1942 13 45.3550 45.2569 Inflows [l/s] 14 40.1661 39.2083 Node True Obs. 15 43.0940 39.1235 27 34.0 35.2 16 43.4858 43.0441 28 96.5 96.6 17 43.9047 43.7263 29 64.3 73.4 18 44.7605 44.5342 30 106.3 130.2 19 44.3638 44.1934 31 38.9 48.7 20 44.1362 44.0702 32 6.0 6.0 21 43.6560 43.6053 33 121.7 121.7 22 43.8080 43.7161 34 21.6 22.8

Figure 2. Variation of the state variables obtained with the ESM method

(2

xΔ ) and the LS loop flows state estimator (1

xΔ ).

1-34: variation of nodal heads [m] at nodes 1-34. 35-42: variation of fixed-head nodes in/out flows [m3/s] at nodes 27-34.

IV. CLA BASED ON ESM METHOD

Having found the matrix Se, the maximization process is carried out in order to obtain the confidence limits for the state variables as in (2). For the i-th state variable, calculating its error bound is done by maximizing the product between the i-th row of the ESM (Se) and the vector Δz. The maximization process is performed separately for each row of the sensitivity matrix determined in the previous section. The confidence limits for the state

1xΔ

2xΔ

97

Page 5: [IEEE 2011 European Modelling Symposium (EMS) - Madrid, Spain (2011.11.16-2011.11.18)] 2011 UKSim 5th European Symposium on Computer Modeling and Simulation - Confidence Limit Analysis

variables (nodal heads and in/out flows) are shown on the 4-th column of Table 4. The results have been obtained for the variability of consumptions ±20% and the accuracy of fixed-head nodes ±0.01 [m]. In the 5-th and 6-th column of Table 4 are shown the state variables and the confidence limits (CLA) calculated with the Jacobian matrix from the LS state estimator based on the nodal heads equations.

TABLE IV. STATE VARIABLES AND CONFIDENCE LIMITS FOR THE 34-NODE WATER NETWORK

State

var

Exact State

LS loop flows

state est.

CLA obtained

with ESM

LS nodal heads eqs.

CLA obtained with LS nodal eqs.

1 31.1852 31.0577 0.3007 31.0566 0.3002 2 43.3886 43.2835 0.2557 43.2818 0.2604 3 44.2289 44.1968 0.0667 44.1960 0.0618 4 44.3191 44.2706 0.1013 44.2702 0.0965 5 42.8133 42.6358 0.4212 42.6336 0.4377 6 42.6765 42.5082 0.3971 42.5048 0.4166 7 41.8478 41.5228 0.7570 41.5214 0.8001 8 41.7190 41.3762 0.7925 41.3748 0.8441 9 43.0165 42.8746 0.3423 42.8282 0.3544

10 41.6933 41.0095 1.3561 40.9050 1.5754 11 43.5925 43.5813 0.0117 43.5815 0.0130 12 43.5845 43.5817 0.0033 43.5818 0.0035 13 45.3550 45.2569 1.3782 44.3555 1.9953 14 40.1661 39.3083 2.2626 39.5726 2.8137 15 43.0940 39.2235 2.2657 39.4799 2.8731 16 43.4858 43.0441 1.0413 43.1425 0.9928 17 43.9047 43.7263 0.4081 43.6956 0.3504 18 44.7605 44.5342 0.5268 44.5576 0.4893 19 44.3638 44.1934 0.3900 44.2076 0.3748 20 44.1362 44.0702 0.1410 44.0704 0.1360 21 43.6560 43.6053 0.1006 43.6056 0.0938 22 43.8080 43.7161 0.1993 43.7192 0.1899 23 44.0663 43.9127 0.3484 43.9223 0.3344 24 42.9028 42.7773 0.3027 42.7718 0.3119 25 42.0751 41.7974 0.6471 41.7951 0.6847 26 31.3306 31.2399 0.2259 31.2384 0.2096 27 -15.1991 -15.1991 0.0000 -15.1991 0.0185 28 -33.4879 -33.4966 0.0151 -33.4978 0.0191 29 31.7221 31.7242 0.0196 31.7221 0.0116 30 43.5619 43.5819 0.0004 43.5819 0.0102 31 44.1710 44.1715 0.0151 44.1703 0.0183 32 -46.3814 -46.3798 0.0151 -46.3810 0.0197 33 -36.5470 -36.5457 0.0161 -36.5478 0.0142 34 -12.1990 -12.1942 0.0135 -12.1963 0.0159 35 34.0 35.2 3.1 35.6 3.7 36 96.5 96.6 0.1 97.0 0.1 37 64.3 73.4 21.4 73.4 21.5 38 106.3 130.2 56.9 130.1 56.2 39 38.9 48.7 22.8 48.3 22.0 40 6.0 6.0 0 6.0 0 41 121.7 121.7 0 121.7 0 42 21.6 22.8 2.6 22.8 2.6

1-34: nodal heads [m] at nodes 1-34; 35-42: fixed-head nodes in/out flows [m3/s] at nodes 27-34. In the absence of real measurements, the confidence limits obtained with the ESM method and the pseudo-inverse of the Jacobian matrix from the LS nodal heads state

estimator show similarity: the average difference between the 2 methods over all the nodal heads is 0.0725 [m] and 0.2715 [l/s] for the in/out flows. Matrix Se resembles the properties of the pseudo-inverse of the Jacobian matrix from the LS nodal heads state estimator and it can be used in order to determine the state variables and the confidence limits. However, no pressure or flow measurements have been used in the numerical simulations shown at Table 4.

Although the ESM method and Se matrix are effective in providing realistic state vectors and confidence limits, they require as many simulations as the number of real measurements and pseudo-measurements. Therefore the computational complexity tends to be a major drawback because even for a small-sized water system, the number of feasible measurements is great, rendering this approach difficult to use in on-line decision support system. In view of these limitations, an alternative method has been developed which solves the linearized model of the water network for the maximum of errors in the estimated measurement vector corresponding to the observed estimated state vector x .

V. ERROR MAXIMIZATION METHOD

The novel EM method stands that for a Maximization (M) of the uncertainties/Errors (E) in the input measurement data of the water distribution system, it is obtained suitable confidence limits for the state variables and hence the EM term. The experimental matrix Se calculated for the state vector x and the upper zu and the lower bounds zl of the observed measurement vector zo were used in the ESM method as shown in Fig. 6. On the other hand, the novel EM method considers the maximum variability of water consumptions and accuracy of meters for the estimated measurement vector z (i.e. calculated from the state vector x ) instead of the observed measurement vector zo. Then,

the upper or the lower measurement limits [ lz uz ] of the estimated measurement vector z modified with the measurement accuracy, are used again in the LS loop flows state estimator. It results a new state vector x1 which is used for determining the confidence limits on the state variables (nodal heads, in/out flows) with the equation: x icl = abs( x1- x ) (9)

where i

clx is the confidence limit on the i-th state variable,

x is the state vector obtained for the observed measurement vector zo, x1 is the state vector obtained for the maximum

level of errors (i.e. lz or uz ) in the estimated measurement vector z , abs is the absolute value.

98

Page 6: [IEEE 2011 European Modelling Symposium (EMS) - Madrid, Spain (2011.11.16-2011.11.18)] 2011 UKSim 5th European Symposium on Computer Modeling and Simulation - Confidence Limit Analysis

Figure 6. EM and ESM methods.

At Fig. 7 is shown the EM method.

Figure 7. CLA based on EM method.

Calculating the confidence limits with the EM method, is possible to be implemented only with the LS loop flows state estimator and it does not work with other state estimators which are not based on the loop corrective flows and the variation of nodal demands such as the LS nodal heads state estimator. In this context can be identified two situations for the determination of the confidence limits with the EM method: in the first case (I) the LS loop flows state estimator modifies the in/out flows into the fixed-head nodes so that to match the sum of the estimated nodal demands z obtained with the LS loop flows state estimator. This means that if the estimated nodal water consumptions

z are moved to their lower lz or upper limit uz then the mass balance of the water network will still be satisfied by the in/out flows which are modified during the Newton-Raphson optimization method. In this case the fixed-head nodes are the measurement data and are used to form a pseudo-loop together with the main source node. The main source node is the root node from where a spanning tree is built in order to devise the topological incidence matrixes necessary to the loop based simulator algorithms or the LS loop flows state estimator [1][2][3][4]. In the second case (II), the in/out flows into the fixed-head nodes represent the measurements. The in/out flows are known and kept constant during the Newton-Raphson iteration method. The flow mass balance of the water network is still satisfied in the LS loop flows state estimator because there is the main source node where the in/out flow can vary. The two cases are shown in the Fig. 8. It shows the spanning tree of a small water network. The black

square represents the main source node where the in/out flow is not maintained constant during the Newton-Raphson method. The circles are the network nodes while the empty squares are the fixed-head nodes. A pressure measurement is indicated with the letter P. The measurement uncertainty has been represented in the figure by the means of an arrow with two wedge-shape ends. The white arrows define the accuracy of the water nodal consumptions, while the black arrows represent the maximum variability of the fixed-head nodes and the pressure measurements.

Figure 8. a) Fixed-head nodes used to form the pseudo-loops (I), b) Inflows

are measurement data (II).

In Fig. 8a is shown the first case where the fixed-head nodes are part of the measurement data and their head values are considered known and used to form the pseudo-

loops (i.e. the dashed lines). The lower lz or the upper limit uz of the nodal consumptions are considered and the LS

loop flows state estimator is used to obtain the confidence limits. The fixed-head nodes and the real meters can be also modified according to their maximum measurement accuracy. In Fig. 8b is shown the second case where the values of the fixed-head nodes are not known and instead the in/out flows are used as measurements and kept constant during the Newton-Raphson method. If all the measurements are brought to their lower or upper limit then the mass balance equation of the network is satisfied by the in/out flow from the main source node. It is clear that the EM method works only with the LS loop flows state estimator. This is based on the existence of the main source node where the value of in/out flow can not be maintained at a fixed value and it varies according to the water demands and the other measurements from the water network during the Newton-Raphson method. This is in contrast with the LS nodal heads state estimator in which if all measurements are brought to their lower or upper limit according to the measurement accuracy, there is no valuable

99

Page 7: [IEEE 2011 European Modelling Symposium (EMS) - Madrid, Spain (2011.11.16-2011.11.18)] 2011 UKSim 5th European Symposium on Computer Modeling and Simulation - Confidence Limit Analysis

information obtained within the aim of calculating the confidence limits.

In order to test the efficacy of the novel EM algorithm, a comparison of the confidence limits produced by the ESM method and the EM method is shown at Table 5. The confidence limits are calculated for the observed measurement vector shown on the columns 3 and 6 of Table 2 and column 3 of Table 1.

TABLE V. CONFIDENCE LIMITS OBTAINED WITH THE ESM AND

EM METHODS

State variables

Exact state

State variables

C.L. with ESM

method

C.L. with EM

method 1 31.1852 31.0577 0.3007 0.2893 2 43.3886 43.2835 0.2557 0.2381 3 44.2289 44.1968 0.0867 0.1056 4 44.3191 44.2706 0.1213 0.1505 5 42.8133 42.6358 0.4212 0.4010 6 42.6765 42.5082 0.3971 0.3785 7 41.8478 41.5228 0.7570 0.7302 8 41.7190 41.3762 0.7925 0.7700 9 43.0165 42.8746 0.3423 0.3233

10 41.6933 41.1195 1.3561 1.3034 11 43.5925 43.5813 0.0117 0.0511 12 43.5845 43.5817 0.0033 0.0152 13 45.3550 45.2569 1.0782 0.9456 14 40.1661 39.2083 2.2626 2.1782 15 43.0940 39.1235 2.2657 2.1947 16 43.4858 43.0441 1.0413 1.0164 17 43.9047 43.7263 0.4081 0.4438 18 44.7605 44.5342 0.5268 0.5347 19 44.3638 44.1934 0.3900 0.4137 20 44.1362 44.0702 0.1410 0.1951 21 43.6560 43.6053 0.1006 0.1476 22 43.8080 43.7161 0.1993 0.2445 23 44.0663 43.9127 0.3484 0.3746 24 42.9028 42.7773 0.3027 0.2826 25 42.0751 41.7974 0.6471 0.6240 26 31.3306 31.2399 0.2259 0.1880 27 -15.1991 -15.1991 0.0000 0.0000 28 -33.4879 -33.4966 0.0151 0.0112 29 31.7221 31.7242 0.0196 0.0112 30 43.5619 43.5819 0.0004 0.0000 31 44.1710 44.1715 0.0151 0.0141 32 -46.3814 -46.3798 0.0151 0.0139 33 -36.5470 -36.5457 0.0201 0.0121 34 -12.1990 -12.1942 0.0199 0.0141 35 34.0 35.2 3.1 2.9 36 96.5 96.6 0.1 0.2 37 64.3 73.4 21.4 21.9 38 106.3 130.2 56.9 55.5 39 38.9 48.7 22.8 23.9 40 6 6 0 0 41 121.7 121.7 0 0 42 21.6 22.8 2.6 2.6

1-34: nodal heads [m] at nodes 1-34; 35-42: fixed-head nodes in/out flows [m3/s] at nodes 27-34.

The confidence limits obtained with the ESM and EM methods are similar because the average difference between the 2 methods over all the nodal heads is 0.0280 [m] and 0.4125 [l/s] for the in/out flows. For example, an inflow at node 38 is of 160 [l/s] with a confidence interval of 56.9

[l/s]. The average difference for the confidence limits between the EM method and the sensitivity matrix method based on the LS nodal heads equations shown on the 6-th column of Table 4 is 0.1 [m] for the nodal heads and 0.4875 [l/s] for the in/out flows.

The computational load associated with the ESM method is over 15 seconds, which is far higher than the less of 0.5 second obtained with the EM method. This is due to the computational time required for calculating the ESM. In order to obtain the ESM, the LS loop flows state estimator was run for a number of times equal to the number of pseudo-measurements and real measurements. A higher number of measurements will require an equal amount of additional state estimations of the water network which will increase the computational time necessary to calculate the ESM in special for large water networks. The EM method can include pressure and flow measurements as well. A pressure measurement is introduced at node 14 of the water network from Fig. 1 (i.e. C.L case 2 in Table 6). For simplicity the estimated measurement vector is considered to be the same as the observed measurement data from Tables 1 and 2. The maximum variability of the pressure meters is ±30%. On the 3-rd column of Table 6 are shown the confidence limits obtained with the EM method for the variability of pseudo-measurements and accuracy of the fixed-head nodes but no other real meters are included. By calculating the confidence limits, it is obtained an information about how far from the real state the estimated values could be in the worst case scenario. Having the state variables as close as possible to the real state is similar to having confidence limits as tight as possible. This is achieved by introducing additional accurate real meters into the system. Therefore, on the 4-th column of Table 6 are shown the confidence limits when a pressure measurement is at node 14. There is an improvement (i.e. smaller confidence limits of -1 [m]) not only in the node where the pressure measurement was introduced (i.e. columns 3 and 4 for node 14) but also in the adjacent nodes (i.e. node 15 and 16). The same logic is applied for the flow measurements: a flow measurement with the accuracy ±20% is introduced between nodes 22 and 23. On the 5-th column of Table 6 an improvement (i.e. smaller confidence limits) is noticed in the region where the flow measurement was placed (i.e. nodes 22 and 23, and columns 4 and 5). Finally, with bigger number of accurate measurements, the reliability of estimation increases. However, introducing a new measurement it is possible to introduce a new source of inconsistency which is given by the variability of the meter. Therefore, the addition of a new measurement for the i-th state variable can have the tightening effect on the confidence limit of the respective state variable only if the error resulted from the inaccuracy of the meter is smaller than the confidence limit calculated for the existing set of meters. If the previous condition is satisfied then the confidence limits for the nodal heads and in/out flows become tighter as well.

100

Page 8: [IEEE 2011 European Modelling Symposium (EMS) - Madrid, Spain (2011.11.16-2011.11.18)] 2011 UKSim 5th European Symposium on Computer Modeling and Simulation - Confidence Limit Analysis

TABLE VI. CONFIDENCE LIMITS OBTAINED WITH THE EM METHOD WHEN REAL METERS ARE PRESENT

State variab

les

State variables

C.L. (case 1)

C.L. (case 2)

C.L. (case 3)

1 31.0577 0.2893 0.2801 0.2593 2 43.2835 0.2381 0.2448 0.2234 3 44.1968 0.1056 0.0842 0.0455 4 44.2706 0.1505 0.1123 0.0636 5 42.6358 0.4010 0.4042 0.3824 6 42.5082 0.3785 0.3832 0.3616 7 41.5228 0.7302 0.7254 0.7030 8 41.3762 0.7700 0.7641 0.7416 9 42.8746 0.3233 0.1553 0.1201

10 41.1195 1.3034 0.7980 0.8301 11 43.5813 0.0511 0.0401 0.0098 12 43.5817 0.0152 0.0199 0.0028 13 45.2569 0.9456 1.0041 1.4464 14 39.2083 2.1782 1.1753 1.1761 15 39.1235 2.1947 1.1631 1.1638 16 43.0441 1.0164 0.5342 0.4530 17 43.7263 0.4438 0.1043 0.0991 18 44.5342 0.5347 0.2145 0.0141 19 44.1934 0.4137 0.2307 0.0485 20 44.0702 0.1951 0.1397 0.0789 21 43.6053 0.1476 0.1026 0.0484 22 43.7161 0.2445 0.1737 0.0931 23 43.9127 0.3746 0.2432 0.0869 24 42.7773 0.2826 0.2916 0.2703 25 41.7974 0.6240 0.6224 0.6002 26 31.2399 0.1880 0.1988 0.1780 27 -15.1991 0.0000 0.0100 0.0100 28 -33.4966 0.0112 0.0095 0.0112 29 31.7242 0.0112 0.0087 0.0122 30 43.5819 0.0000 0.0100 0.0100 31 44.1715 0.0141 0.0095 0.0113 32 -46.3798 0.0139 0.0095 0.0112 33 -36.5457 0.0121 0.0087 0.0122 34 -12.1942 0.0141 0.0087 0.0122 35 35.2 2.9 1.5 0.4 36 96.6 0.2 0.1 0.1 37 73.4 21.9 18.4 16.5 38 130.2 55.5 46.1 41.1 39 48.7 23.9 20.8 18.8 40 6 0 0 0 41 121.7 0 0 0 42 22.8 2.6 2.6 2.6

VI. CONCLUSIONS

This paper presents 2 CLA algorithms based on an existent LS loop flows state estimator: ESM algorithm and a novel EM algorithm. Both algorithms are tested comprehensibly on a realistic water network and the results are cross-checked with the results produced by an established CLA algorithm based on the LS nodal heads state estimator. The EM algorithm is superior in terms of computational time in comparison to the ESM method. The confidence limits produced with the EM algorithm are similar with the confidence limits produced with the ESM method and the CLA algorithm based on the LS nodal heads state estimator. It is shown that the EM algorithm is able to use the LS loop

flows state estimator so that there is not necessary more than one simulation for any water network in order to calculate the confidence limits for the state variables. Because of its superiority in terms of computational time, the novel EM method is suitable to be included in on-line decision support systems for water distribution systems.

ACKNOWLEDGMENT Dr. Corneliu T.C. Arsene thanks to the School of Science

and Technology, Nottingham Trent University, U.K. who supported this work through a PhD studentship. Prof. Andrzej Bargiela supported this work through useful comments.

REFERENCES [1] C.T.C. Arsene, “Operational Decision Support in the Presence of

Uncertainties”, Nottingham Trent University, PhD thesis, 2004. [2] C.T.C. Arsene, and A. Bargiela, “Decision support for forecasting and

fault diagnosis in water distribution systems – robust loop flows state estimation”, Water software systems: theory and applications, In B. Coulbeck, and B. Ulanicki (Series Eds.), vol. 1, 2001, UK.

[3] C.T.C. Arsene, A. Bargiela, and D. Al-Dabass, “ Simulation of Network Systems based on Loop Flows Algorithms”, IJSSST, Vol.5, No. 1 & 2, pp 61-72, 2004.

[4] C.T.C. Arsene, A. Bargiela, and D. Al-Dabass, “Simulation of Network Systems based on Loop Flows Algorithms”, In the proc. of the 7th Sim. Soc. Conf. - UKSim 2004, Oxford, U.K., 2004.

[5] J.H. Andersen, and R.S. Powell, “Implicit state-estimation technique for water network monitoring”, J. Urban Water, vol. 2, 2000.

[6] A. Bargiela, and G.D. Hainsworth, “Pressure and Flow Uncertainty in Water Systems”, J. Wat. Resour. Plann. and Manage., vol.115, 1989.

[7] B. Gabrys, “Neural network based decision support”, Ph.D. Thesis, Nottingham Trent University, 1997.

[8] S.M. Kumar, S. Narasimhan, and S.M. Bhadllamudi, “State estimation in water distribution networks using graph-theoretic reduction strategy”, J. Wat. Resour. Plan. and Manag., vol. 134, pp. 395-403, 2008.

[9] A.K. Nagar, J.H. Andersen, and R.S. Powell, “Mixed Uncertainty Analysis for State Estimation of Water Distribution Systems” Water software systems: theory and applications, In B. Coulbeck, and B. Ulanicki (Series Eds.), vol. 1, pp. 133-145, 2001.

[10] M.J.H. Sterling, and A. Bargiela, “Minimum Norm State Estimation for Computer Control of Water Distribution Systems’, IEE Proceedings, vol.131, no.2, 1984.

[11] B. Gabrys, and A. Bargiela, ”Neural networks based decision support in presence of uncertainties“, J. of Water Res. Plan. and Manage., ASCE, vol.125, no. 5, pp 272-280, September 1999.

[12] Brdys, M.A., and K. Chen, “Joint state and parameter estimation of dynamic water supply systems with unknown but bounded uncertainty”, Computer Applications in Water Supply, In B.Coulbeck and C.H.Orr (Series Ed.), pp.289-296, Res. Stud. Pres. Ltd., 1993.

[13] Bargiela, A., On-line monitoring of water distribution networks, Ph.D. Thesis, University of Durham, 1984.

[14] Powell, R.S., M.R. Irving, M.J.H. Sterling and A. Usman, “A comparison of three real-time state estimation methods for on-line monitoring of water distribution systems”, in Computer Applications in Water Supply. Volume 1: Systems Analysis and Simulation, Ed. B.Coulbeck and C.H.Orr, pp.333-348, Res. Stud. Pres. Ltd.,1988.

101