Acessibilidade / Reportar erro

Control of transients in water distribution networks by H<FONT FACE=Symbol>¥</FONT> Control

Abstract

In this work, a controller for regulating the transients in water distribution networks is established. The control technique is the H<FONT FACE=Symbol>¥</FONT> Control. The developed controller is applied to a water distribution network and the results of this application demonstrate that the technique allowed the establishment of a robust controller, capable of attenuating the disturbances in a suitable way, being effective in controlling the oscillations of the state variables in question.

Hydraulics transients; water distribution networks; H-infinity control


Control of transients in water distribution networks by H¥ Control

M. H. TerraI; J. A. T. dos ReisII; F. H. ChaudhryIII; R. Schiavetto de SouzaIV

IDepartment of Electric Engineering – EESC/USP Av. Trabalhador Sãocarlense, 400, Centro 13566-590 São Carlos, SP. Brazil terra@sel.eesc.sc.usp.br IIFederal Center for Technical Education of Espírito Santo - CEFETES Av. Vitória, 1729,Jucutuquara 29040-333 Vitória, ES. Brazil tosta@sc.usp.br IIIDepartment of Hydraulic and Sanitary Engineering EESC/USP fazal@sc.usp.br IVDepartment of Hydraulics/ Transportation - UFMS 79070-900 Campo Grande, MS. Brazil rssouza@nin.ufms.br

ABSTRACT

In this work, a controller for regulating the transients in water distribution networks is established. The control technique is the H¥ Control. The developed controller is applied to a water distribution network and the results of this application demonstrate that the technique allowed the establishment of a robust controller, capable of attenuating the disturbances in a suitable way, being effective in controlling the oscillations of the state variables in question.

Keywords: Hydraulics transients, water distribution networks, H-infinity control

Introduction

With the increase in the levels of urbanization and consequent growth in the demands for water, the water distribution systems have become more encompassing and their operation more complex. At the same time, the lack of sources that offer water in suitable quantity and quality has forced a search for alternatives that allow better management of the available water resources.

In the last few years, several attempts have been carried made to establish control systems applicable to water distribution networks (Miyaoka & Funabash, 1984; Ormsbee & Lansey, 1994; Souza & Chaudhry, 1999; Cembrano, et al., 2000). The water distribution networks control systems have been implemented seeking to fulfill different objectives, amongst which hydraulic performance and economic effectiveness stand out. The hydraulic performance measures include the pressure levels, water quality and the determination of system reliability parameters; the economic effectiveness, in turn, is defined by distribution system operation and maintenance costs. The H¥" Control (Doyle et al., 1989; Safonov et al., 1989; Doyle et al., 1992; Zhou et al., 1995; Terra et al., 2000) constitutes a technique that allows the development of robust automatic controllers, capable of assuring the fulfillment of criteria of hydraulic and economic effectiveness in water distribution systems, attenuating disturbances between input and output.

In this work, the problem of transient control in water distribution systems is discussed. A rigid model, used frequently for the evaluation of network transients, is presented and is used as a basis for the development of a H¥" controller. After a brief presentation of H¥" controllers design, a controller is established and applied to a hydraulic network.

This article is organized in the following way: item 2 discusses the problem of water distribution system transients, showing the hydraulic model and its linearization; item 3 presents the H¥ Control technique; an example of H¥ controller application to a water distribution network is presented in item 4, where the example network features are presented and the results discussed.

Nomenclature

at = cross-sectional area, m2

Ai = incidence matrixA = plant matrix of a finite-dimensional linear differential system

A= plant matrix of a fineite-dimensional linear differential system

Â¥= auxiliary matrix

B = input matrix of a finite-dimensional linear differential system

C = output matrix of a finite-dimensional linear differential system

Cd = auxiliary matrix

d = diameter, m

EI = auxiliary matrix

f = friction factor, dimensionless

fv = valve head-loss coefficient, dimensionless

f(q) = vector of head- losses

F = auxiliary matrix

F¥ = auxiliary matrix

g = acceleration of the gravity, m/s 2hI = vector of independent heads

hi = head vector

H¥= Hamiltonian matrix

I = identity matrix

qI = vector of independent pipe discharges

K = compensator

LI , L¥, M, QT = auxiliary matrices

Qi = water demand vector

R = auxiliary matrix

t = time, s

u = vector of input perturbation

U = input vector

Uf = vector of the final equilibrium input

x = vector of state perturbations

X = vector of the state variables

Xf = vector of final equilibrium state variables

X¥ = Riccati matrix

w = vector of input perturbation

WI ,WD = auxiliary matrices

y = vector of output signals

Y¥= Riccati matrix

z = vector of output signals

Z ¥ = auxiliary matrix

Greek Symbols

s max = maximum singular value

g = upper limit to the closed loop gain

r = spectral radius

l = eigenvalue

Hydraulic Transients in Water Distribution Networks

Transient flow in a network occurs when it changes from one permanent state to another. A flow change in a conduit system occurs due to a change or variation in the boundary conditions. Amongst the several boundary conditions that can introduce transients, the most usual and that require analysis frequently are:

  • Starting or stopping the pumps;

  • Variations in the demands or consumptions;

  • Accidental or programmed changes in the valves regulations;

  • Change in a reservoir rise.

Two different models have been commonly used for the analysis of transient flows in distribution networks: the rigid column models that do not take into account the water and conduit elastic effects and the models of elastic column, that consider such effects. The rigid models are usually employed for the description of the mass oscillation phenomena (Onizuka, 1986; Shimada, 1989); the elastic models, in turn, are used frequently for the analysis of water hammer studies (Chaudhry, 1979;Wylie and Streeter,1978). In this work, a rigid column model will be used following the proposed analysis.

Transients in Rigid Conduits

Transient flow in a closed conduit is described by nonlinear partial differential equations corresponding to conservation of mass and linear momentum (Chaudhry, 1979). The application of optimal control method adopted here requires, however, that these equations be formulated or transformed into linear ordinary differential equations. For the case of transients in rigid conduits, the momentum equation for a single pipe of length l reduces to the following ordinary differential equation:

where L' = l / g and the Fw = f l / (2 g d at2). In this equation, g is the acceleration of gravity, at the cross-sectional area of the conduit, t the time, f the friction factor and d the diameter of the conduit. The continuity equation (1) and the equations that establish the boundary conditions describe the hydraulic transients according to the rigid column model. Three types of boundary conditions are expected in hydraulic problems: nodes denoting surge tanks with free surface levels that will be defined in the following by [1]; nodes with a known flow vector and unknown heads denoted by [2]; and finally the nodes having unknown water consumptions but specified heads denoted by [3].

Network Equations

For a network consisting of different kinds of elements and specifications, the following system of state-space was proposed by Shimada (1992) for the vectors of independent pipe discharges (qI) and heads (hI) :

where

and

* denotes complex conjugate transpose matrix, f(q) is the vector of head-losses whose j-th element is given by

Fj qj |qj|

where

fj is the friction factor, fvjis the valve head-loss coefficient, dj is the diameter and atj is cross-sectional area of the j-th pipe, L1 is a diagonal matrix whose j-th element L1,jj = lj / (g atj), Cd is the diagonal matrix whose i-th diagonal element Cd,ii corresponds to the water elevation of variable level reservoir at the i-th node,

I is the identity matrix, is a linear transformation matrix, qI is the vector of independent discharges, and, finally, A1, A2, A3, h1, h2, h3, Q1, Q2, Q3are respectively the incidence matrices, head and water demand vectors for nodes [1] with unknown head and demand, nodes with known demands but heads unknown [2] and nodes with heads known but demands unknown [3].

State-Space Equations and Linearizations

The nonlinear equations (02) and (03) of the continuous system in the state-space form can be arranged as:

where f is a nonlinear vector function, U is the input vector as the control mechanism and X the vector of the state variables expressed as:

In order to analyze the transient states near the final equilibrium state, the system in Eq.(4) is linearized as:

with the following definitions for the perturbed state and control variables:

Here, x is the vector of state perturbations, u is the vector of input perturbations. The final equilibrium states Xf and Uf satisfy the following relationships:

Note that the constraints x < Xf and u < Uf must be met, where . denotes the norm of a vector.

H¥ Control Design

H¥ is a controller design method based on optimization, which guarantees stability and controlled system performance robustness. The purpose of this section is to describe the design procedure of an H¥ controller (Chiang & Safonov ,1992; Doyle et al.,1992; Doyle et al., 1989; Francis, 1987; Maciejowski, 1989; Safonov et al., 1989; Zhou et al., 1995; Terra et al.,2000).

The H¥ norm of a multivariable transfer function G is given by:

where sup denotes the supremum of s max(.) and s max denotes the maximum singular value. The H¥ norm can be used to "shape" or to "restrict" transfer functions.

The Generalized Regulator Problem

Many control problems can be viewed as H¥ control problems. In practice, one wishes to find a controller that satisfies simultaneously some objectives, such as disturbance rejection and sensor noise attenuation. Consider a linear system, described by the transfer function P (see Fig.1).


System P has two sets of input signals, w and u. The vector u contains all control inputs which can be manipulated in such a way that the objectives are reached. The vector w contains all other inputs, such as reference signals, disturbances, and sensor noises. System P has two sets of output signals, z and y. The vector z contains all other variables that one wishes to control. Mathematically we have:

The generalized regulator problem consists of designing a linear system K such that, with u = K y, the closed loop system (Fig. 1) from w to z, has the following properties:

1. The closed loop is internally stable;

2. The H¥ norm of the closed loop is less than or equal to 1, i.e., ½½Á(P,K)½½¥ < 1, where:

H¥ Control Solution

The solution described here is a result obtained by Doyle et al. (1989). This solution makes use of two algebraic Riccati equations and designs a controller with the same number of states of the plant.

Given a block system P(2x2) and an upper limit g to the closed loop gain, the solution returns a compensator K(s) that stabilizes the system such that ½½Á(P,K)½½¥ <g.

The following result is based on certain constraints on matrix D of the transfer function matrix of the plant P. These constraints may be ignored when applying the results of Safonov et al. (1989). The transfer matrix P is of the form

which represents the following set of equations:

The following assumptions are made:

1.

(A,B1)

and

(A,B2)

are stabilizable;

2.

(C1,A)

and

(C2,A)

are detectable;

3.

4.

The H¥ solution involves two Hamiltonian matrices, given by (18) and (19):

Theorem 1: There exists an admissible controller such that ½½Tzw½½¥ < g if and only if the following three conditions hold:

1. H¥ Î dom(Ric) and X¥ := Ric(H¥ ) > 0;

2. J¥ Î dom(Ric) and Y¥ := Ric(J¥ ) > 0;

3. r (X¥Y¥ ) < g 2

where is the spectral radius of X¥ Y¥, li(X¥Y¥) is the i-th eigenvalue of X¥Y¥ and the notation X = Ric(H) is used to denote a solution for the algebraic Riccati equation that makes E-RX stable (all of its eigenvalues are on the left half plane). The algebraic Riccati equations associated with Hamiltonian matrices (18) e (19) are defined by:

The process of finding a sub-optimal H¥ controller is iterative. Beginning with an arbitrary value of g , e. g., g = 1, if one of the conditions above fails, then g is too small and a solution does not exist; therefore, g should be increased.

Moreover, when these conditions hold, one such controller is given by

where , and

Results and Discussion

This section presents the distribution network in which the H¥" control was applied, the established controller and some of the results obtained from the application of this controller to the distribution network.

Distribution Network Under Study

The simple network used by Shimada (1992) is chosen for implementing the H¥" control formulations presented in this paper. The formulation is quite general, however, for the application to large size networks. The example network (Fig. 2) has 5 pipes, 2 variables level reservoirs with overflow weirs (nodes 1 and 2), 2 demands nodes (3 and 4), 2 constant level reservoirs (nodes 5 and 6) and 4 pressure reducing valves in pipes 1, 3, 4 and 5.


The pipe and node data are presented in Tables 1, 2 and 3. Tables 4 and 5 present the initial and final states of the network.

The H Control

For the H controller design, the matrices of state A, B, C and D were defined as follows:

The five selected state variables represent the deviations, in relation to the nominal conditions, of flows in conduits 2, 4 and 5 (Fig. 2) and of energies at nodes 1 and 2. To minimize these deviations, the system is controlled by closing or opening the pressure-reducing valves. The disturbances, in turn, are caused by the changes in demand outflows at nodes 3 and 4. In this design example, the state observer is not calculated.

The application of H¥" Control leads to the dynamic controller solution (17), with the following solution to the algebraic equation of Riccati:

with g = 0.57, Y¥" = [0] and L¥" = [0].

These different disturbances are graphically represented in Fig. 3


Response of Controlled Network

The performance of the designed controller was evaluated through the analysis of temporal behavior of the controlled system state variables. The gain matrix presented in the last section, was used in the simulations of the system behavior for different external disturbances. In the simulations carried out, it was assumed that all the states were measured and that the system was initially in equilibrium (tables 4 and 5).

The external disturbances have been caused by variation in the water consumption presented in the distribution network nodes 3 and 4. Three different patterns of consumption variation have been considered:

1. A step function of 0.03 m3/s at the consumption nodes;

2. A step function of 0.06 m3/s at the consumption nodes;

3. An outflow variation at the consumption nodes in the form of a damped sine wave;

4. An outflow variation at the consumption nodes according to the daily variation pattern water consumption established after a proposed hydrogram by Yassuda and Nogami (1987).

The behavior of state variables x1, x2 and x3, which correspond to the flow variations in relation to the equilibrium conditions in pipes 2, 4 and 5 of the network being considered, are graphically represented in Fig. 4 for each of the assumed disturbances in the outputs.


An examination of the graphs presented in Fig. 4 shows the disturbance evolution in the different state variables. One can observe that, after an initial period with large disturbances around the equilibrium condition, the designed controller leads the state variables to their nominal values (tables 4 and 5), regardless of the pattern of disturbances acting on the system. In all the simulations, the equilibrium condition was reached after a period of approximately 10 minutes (in all the graphs the convergence time is of approximately 600s). It is important observe that the H¥ Control aims at attenuating disturbances with limited L2-norm (). This is the case of the third disturbance, in which H¥ Control shows the best performance. For instance, in the other two disturbance classes (step function and the hydrogram proposed by Yassuda and Nogami) the H¥ Control attenuates the disturbances but not with the same performance.

Additionally, it is worth noting that the flow behavior in pipes 2, 4 and 5 of the network (respectively variables x1, x2 e x3) is different, for all the scenarios used in the simulations; in all the cases, the removal of water through the consumption nodes initially causes a decrease in the pipe 2 discharge and a large increase in the discharges in pipes 4 and 5 of the network. Further along time, however, this behavior periodically alternates itself until the equilibrium condition is reached.

Conclusions

This work demonstrated the application of the H¥ Control technique to control transients in water distributions networks submitted to external disturbances. In the simulations carried out, the disturbances represented sudden removal of water at different points of the distribution network and followed different temporal variation patterns.

The results showed that the computed controller is effective in controlling the discharge oscillations in different parts of the network, being capable of suitably rejecting the disturbances and of quickly conducting the system back to the desired condition.

It should be observed that the H¥ computational procedure for identifying the controller applied here to a simple hydraulic network can be usefully applied to larger networks once the rigid column conditions and those imposed by linearization are met with.

Article received December, 2001

Technical Editor: Atila P. Silva Frire

  • Cembrano, G., Wells, G., Quevedo, J., Pérez, R. and Argelaguet, R., 2000, "Optimal control of a water distribution network in a supervisory control system", Control Engineering Practice, No. 8, pp. 1177-1188.
  • Chaudhry, M. H., 1979, "Applied Hydraulic Transients", Van Nostrand Reinhold, New York.
  • Chiang, R.Y. and Safonov, M.G., 1992, "Robust control toolbox", The Mathworks, New York.
  • Doyle, J. C., Francis, B. A. and Tannenbaum A.R., 1992, "Feedback control theory", Maxwell Macmillan, New York.
  • Doyle, J. C., Glover, K., Khargonekar, P. P. and Francis, B.A., 1989, "State space solutions to standard H2 and H¥ control problems", IEEE Transactions on Automatic Control, Vol. 34, No. 8, pp. 831-847.
  • Francis, B. A., 1987, "A course in H¥ control theory", Springer, New York.
  • Maciejowski, J. M., 1989, "Multivariable feedback design", Addison-Wesley, Wokingham.
  • Miyaoka, S. and Funabashi, M., 1984, "Optimal control of water distribution systems by Network Flow Theory", IEEE Transactions on Automatic Control, Vol. AC-29, No. 4, pp. 303-311.
  • Onizuka, K., 1986, "System dynamics approach to pipe networks analysis", Journal of Hydraulic Engineering, Vol. 112, No. 8, pp. 728-749.
  • Ormsbee, L. E. and Lansey, K. E., 1984, "Optimal control of water supply pumping systems", Journal of Water Planning and Management, Vol. 120, No. 4, pp. 237-252.
  • Safonov, M.G., Limebeer, D. J .N. and Chiang, R.Y., 1989, "Simplifying the H¥ theory via loop-shifting, matrix-pencil and descriptor concepts", International Journal of Control, Vol. 50, No. 6, pp. 2467-2488.
  • Shimada, M., 1989. "Graph-theorical model for slow transient analysis of pipe networks", Journal of Hydraulic Engineering, Vol. 115, No. 9, pp. 1165-1183.
  • Shimada, M., 1992. "State-space analysis and control of slow transients in pipes", Journal of Hydraulic Engineering, Vol. 118, No. 9, pp. 1287-1304.
  • Souza, R. S. and Chaudry, F. H., 1999, "Optimal control of slow transients in water distribution systems using linear quadratic regulator". In: Water Industry Systems: Modeling and Optimization applications, Research Studies Press, Hertfordshire, England.
  • Terra, M. H., Maciel, B. C. O., Nakashima, P. and Bergerman, M., 2000, "Underactuated manipulator robot control by state feedback linearization via H-infinity control". Symposium on Robust Control – IFAC ROCOND 2000, Czceh Republic, pp.1-6.
  • Wylie, E. B. and Streeter, V. L., 1978, "Fluid transients", McGraw-Hill, New York.
  • Yassuda, R. E. and Nogami, P. S., 1987, "Consumo de Água". In: Azevedo Netto, J. M. (org.) . Técnicas de Tratamento e Abastecimento de Água. São Paulo, CETESB, pp. 107-134.
  • Zhou, K., Doyle, J. C. and Glover, K., 1995, "Robust and optimal control", Prentice Hall, Englewood Cliffs, New Jersey.

Publication Dates

  • Publication in this collection
    08 Sept 2003
  • Date of issue
    Nov 2002

History

  • Accepted
    Dec 2001
  • Received
    Dec 2001
The Brazilian Society of Mechanical Sciences Av. Rio Branco, 124 - 14. Andar, 20040-001 Rio de Janeiro RJ - Brazil, Tel. : (55 21) 2221-0438, Fax.: (55 21) 2509-7128 - Rio de Janeiro - RJ - Brazil
E-mail: abcm@domain.com.br