Documente Academic
Documente Profesional
Documente Cultură
Design
X. Litrico1 and V. Fromion2
Abstract: The integrator delay zero (IDZ) model presented by Litrico and Fromion is a simple way to model a canal for control purposes
that extends the classical integrator delay model. This analytical model gives a very good frequency domain approximation of the
Saint-Venant transfer matrix for a pool possibly in backwater conditions. The present paper shows how this model can be used to model
an irrigation canal for control design. The IDZ model is analyzed and its accuracy evaluated in the frequency and time domain on two
ASCE test canals for high and low flow conditions.
DOI: 10.1061/(ASCE)0733-9437(2004)130:5(373)
CE Database subject headings: Open channel flow; Hydraulic models; Analytical models; Laplace transform; Frequency response;
Canals; Irrigation.
冦
dh共t兲 integrator delay model. However, its parameters are obtained in a
Âd = q共0,t − ˆ d兲 − q共X,t兲 different way from Schuurmans et al. (1999a). The physical in-
dt 共4兲
terpretation of each term is examined in the following.
y共X,t兲 = h共t兲 + p̂21⬁q共0,t − ˆ d兲 − p̂22⬁q共X,t兲
where h共t兲 is an intermediate variable (initialized by h共0兲 Time Delay. A classical approach followed by many authors
= 0 ; y共X , t兲=output, and q共0 , t兲 and q共X , t兲=inputs. The delay ˆ d (Corriga et al. 1988; Ermolin 1992; Litrico and Georges 1999;
only occurs on the upstream discharge q共0 , t兲, while the down- Schuurmans et al. 1999a) is to approximate the frequency re-
stream discharge has a direct impact on the downstream water sponse of the system by its Taylor development in s = 0. This leads
level. to a model that fits the low frequency response of the system. If
The procedure to follow in order to obtain the model param- the approximations proposed by Schuurmans et al. (1999a) seem
eters is described subsequently; before frequency domain inter- to be efficient for time-domain simulations, they may not be
pretations of the model are given. The model is obtained by first suited for control design. From a control point of view, it is very
computing parameters for each part of the pool (the upstream part important to evaluate precisely the delay of a system, since it
in uniform flow, and the downstream part under backwater), then limits the achievable closed loop bandwidth, which is directly
using the adequate formulas for interconnection. This is summa- linked to the real-time performance (Astrom 2000). For a canal in
rized as follows, with references to the complete equations given uniform flow, we have shown that the time delay (in terms of
in the appendices. automatic control) is equal to X / 共V0 + C0兲, where X=length of the
To obtain the parameters of this approximate model, one needs pool; V0=water velocity; and C0=celerity (Litrico and Fromion
to 2002). The time delay T obtained by Schuurmans et al. (1999a) is
1. Compute the hydraulic exponent N (exponent for convey- equal to 2X / 共1 + 0兲V0, where 0 is a geometric coefficient linked
ance as a function of depth) to obtain an analytical approxi- to the form of the section (0 = 7 / 3 in a large rectangular canal).
mation for uniform depth computation, using Eqs. (37) and This time delay T can be much larger than . Such a mismatch
(38) in Appendix II; may lead to poorly tuned controllers, which will not have suffi-
2. Compute x1, delimitating uniform and backwater flow parts, cient performance when applied on the real system.
using Eqs. (39)–(42) in Appendix III; In the following, the theoretical value of the time delay d is
3. Compute Ad , d , Au , u, and pij⬁, parameters for uniform evaluated by computing the integral:
冕
flow, using Eqs. (49), (50), (53), (54), and (61)–(65) in Ap- X
dx
pendix IV; d = 共9兲
V0共x兲 + C0共x兲
4. Compute Ād , ¯d , Āu , ¯u, and p̄ij⬁, parameters for backwater 0
flow, using Eqs. (49), (50), (55), (56), (61)–(64), and (66) in This corresponds to the minimum time required for a perturbation
Appendix IV; and to travel from upstream to downstream of the pool. This is the
5. Compute the interconnection, leading to Âd , ˆ d , Âu , ˆ u, and minimum time delay of the system.
p̂ij⬁, using Eqs. (47), (48), (51), (52), and (57)–(60), in Ap- The time delay u can be evaluated in a similar way:
冕
pendix IV. X
The whole approximate model is given by explicit analytical dx
u = 共10兲
expressions that enable its coding in any computer language. The 0 C0共x兲 − V0共x兲
model is interpreted in the frequency domain, before being evalu-
ated. It corresponds to the minimum time required for a perturbation to
travel from downstream to upstream. In both cases, we recover
the classical value in the uniform case when V0 and C0 are con-
Frequency Domain Interpretations stant: d = X / 共V0 + C0兲 and u = X / 共C0 − V0兲.
Low Frequencies Approximation Integrator Gain. In the uniform case, analytical expressions are
For low frequencies, the behavior of the transfer matrix is domi- available for the transfer matrix P共s兲. Then, the integrator gain
nated by the integrator and the delays. In this case, the approxi- 1 / Ad is obtained as the value of sp21共s兲 for s = 0, which leads to
mation of the elements of transfer matrix P共s兲 reads
T20共C20 − V20兲 2 2
1 Ad = 关1 − e−␥0X/T0共C0−V0兲兴 共11兲
p11共s兲 = 共5兲 ␥0
A us
where T0=top width, ␥0 = gT0共1 + 0兲Sb; and Sb= bed slope (gen-
eral expressions for the backwater case are given in Appendix I).
e−us This result is well known, as it has been obtained by many
p12共s兲 = − 共6兲
A us authors previously (Corriga et al. 1979; Ermolin 1992). When
Table 4. IDZ Model Parameters for ASCE Test Canal 1, Low Flow
Table 5. IDZ Model Parameters for ASCE Test Canal 1, High Flow
Table 6. IDZ Model Parameters for ASCE Test Canal 2, Low Flow
ing is simulated. Three different models for canal dynamics are IDZ model estimates much better the discharge over time. This
considered: (1) the proposed approximate IDZ model; (2) an ID shows the use of the IDZ model for time-domain simulation and
model, obtained from the IDZ model by keeping only the integra- for possible use as an internal model in an advanced controller
tor and the delay (to see the impact of the zero on the time using the gate opening as the control variable.
response); and (3) a complete linear model obtained from an ac-
curate frequency modeling of linearized Saint-Venant equations
(Litrico and Fromion 2002). Model for a Real Canal
The gate coefficients are obtained by differentiating Eq. (17).
Fig. 6 depicts q共X1 , t兲, the downstream discharge of pool one and We briefly describe the method to obtain the simplified model for
water level variations for a sudden opening of gate one of test a real canal (i.e., with complex geometry, intermediate hydraulic
canal two, in high flow conditions; y 1共X1 , t兲=water level upstream structures, etc.). The method applies directly to parts of the canal
from the gate and y 2共0 , t兲=water level downstream of the gate. pool with uniform geometry and bed slope. We assume that the
The figure clearly shows that the IDZ model reproduces more canal can be decomposed into such parts that may be separated by
accurately the time response of the system, because of the instan- fixed hydraulic structures (not used for control). If this is not the
taneous impact of the gate opening on the water levels (and on the
discharge), which is not taken into account by the ID model. In
this case, the ID model leads to a 25% overestimation of the
instantaneous discharge flowing through the gate, whereas the
Fig. 6. Time domain response for first two pools of test canal two,
high flow conditions: reaction of local discharge and water levels to
gate opening [q共X1 , t兲 = discharge at gate; y 1共X1 , t兲 = water level up-
stream of gate; and y 2共0 , t兲 = water level downstream of gate.]; com-
Fig. 4. Bode diagram for pool 1 of test canal one, low flow condi- parison between complete model (SV —), IDZ model (– –), and ID
tions: complete model (—) and IDZ model (– –) model 共. . .兲
共24兲
Obtaining IDZ Model Parameters
The following steps can be followed to obtain the model param-
eters for a real canal:
y 共2兲
X =
k1 p̂共1兲
1 − k1 p̂共1兲
共2兲
21 p̂21
22 − k2 p̂11
共1兲 共2兲
共2兲 q0 + p̂22 + 冋 k2 p̂共2兲
1 − k1 p̂共1兲
共2兲
21 p̂12
共2兲
22 − k2 p̂11
册 q共2兲
X
1. Decompose the canal pool into k parts with uniform geom- 共25兲
etry and bed slope, with a discharge Q共k兲 0 for each part. This is the general equations giving the simplified model for a
2. Given the downstream water elevation of the pool Y 共k兲 X , com- canal pool separated into two parts interconnected by a fixed hy-
pute the IDZ model parameters for the kth part. This leads to draulic structure. As can be deduced from Eqs. (24) and (25), the
ˆ 共k兲 ˆ 共k兲 共k兲 共k兲 共k兲
u , d , Âu , Âd , and p̂ij⬁ If k = 1, this is the upstream end
total delays can be computed directly as the sum of the partial
of the pool, and all the parameters have been obtained; else, delays, but this is not the case for the integrator gains (the equiva-
go to step 3. lent backwater areas). Indeed, the interconnected model is no
3. If there is no hydraulic structure, Y 共k−1兲 = Y 共k兲
0 ; else, use the
longer an IDZ model, because the interconnection leads to a se-
X
ries of an IDZ model and a first-order model (the transfer function
upstream water level of part k denoted by Y 共k兲 0 , the discharge is the multiplication of an IDZ model and a first-order model).
Q共k兲 , and the hydraulic structure equation to compute the
0 This is due to the fact that the hydraulic structure imposes a local
downstream water level of part k − 1; i.e., Y 共k−1兲 X . feedback between the water level and the discharge.
4. Do k : = k − 1 and go to step 2.
The overall linear dynamic system is obtained by computing Case of a Simple Interconnection
the interconnection of all IDZ models with the linearized hydrau- The same procedure can be applied in the case of two parts with
lic structures equations. We describe in the following the inter- a simple connection. Eq. (22) is here replaced by the equation
connection of two IDZ models. The interconnection can be gen-
eralized to any number of intermediate models. y 共1兲 共2兲
X = y0 共26兲
This leads to the following equation for the discharge at the in-
Computing the Interconnection terconnection:
Consider a canal pool separated into two parts with uniform ge- p̂共1兲 p̂共2兲
q共1兲 共2兲 共1兲
q共2兲
21 12
ometry and bed slope. The preceding algorithm gives IDZ model X = q0 = 共1兲 q0 − 共27兲
p̂共2兲 p̂共2兲 共1兲 X
11 − p̂22 11 − p̂22
parameters denoted by ˆ 共k兲 ˆ 共k兲 共k兲 共k兲 共k兲
u , d , Âu , Âd , and p̂ij⬁, with k = 1 for
the first upstream part and k = 2 for the downstream part. The IDZ In that case, the overall model of the complete pool is given by
model equations lead to
y 共k兲
0 = p̂共k兲 共k兲
11 共s兲q0 + p̂共k兲 共k兲
12 共s兲qX 共20兲
y 共1兲 冋
共1兲
0 = p̂11 +
p̂共1兲
p̂共2兲
11 −
共1兲
12 p̂21
p̂共1兲
22
册 q共1兲
0 −
p̂共1兲
p̂共2兲
共2兲
12 p̂12
共1兲
11 − p̂22
q共2兲
X 共28兲
where k = 1 for the first upstream part and k = 2 for the second In this case, the obtained model is close to an IDZ model: the
downstream part. total delays can also be computed directly as the sum of the
partial delays, and the equivalent backwater areas are obtained
Case of a Fixed Hydraulic Structure with equations similar to Eqs. (47) and (48). Indeed, there is no
The parts are interconnected with a fixed hydraulic structure, local feedback between the water level and the discharge in this
whose linearized equation is written as case.
In both cases, the interconnection can be easily written in a
q共1兲 共2兲 共1兲 共2兲
X = q0 = k1y X + k2y 0 共22兲 computer program, leading to an automatic computation of the
model.
where y 共1兲 共2兲
X =downstream water level of part 1; and y 0 =upstream
water level of part 2. k1 ⬎ 0 and k2 ⬍ 0 are the coefficients of the
linearized structure equation (k2 = 0 for free flow). Conclusion
Interconnecting Eqs. (20) and (21) with Eq. (22) leads to the
following expression for the discharge at the interconnection (the The paper has evaluated the accuracy of a new simple model for
dependence in s is omitted for readability): an open-channel pool subject to backwater, presented by Litrico
and Fromion (2004a). This integrator-delay-zero (IDZ) model is
k1 p̂共1兲 k2 p̂共2兲 simple and models the complete transfer matrix (i.e., the down-
q共1兲 共2兲 共1兲
q共2兲
21 12
X = q0 = 共2兲 q0 +
stream influence is also taken into account). The inputs are the
1 − k1 p̂共1兲 1 − k1 p̂共1兲 共2兲 X
22 − k2 p̂11 22 − k2 p̂11 upstream and downstream discharges, and its outputs are the up-
共23兲 stream and downstream water levels.
The model has been validated in the frequency and time do-
The overall model of the complete pool (interconnection of the mains using the exact transfer matrix obtained following Litrico
two parts) is then given by and Fromion (2002) on the ASCE tests canals for both flow con-
再 冎
This work was partially supported by the joint research program
INRA/Cemagref ASS AQUAE No. 02, on the control of delayed T0 Y0
hydraulic systems. ␥0 = V20 + gT0 共1 + 0兲Sb − 关1 + 0 − 共0 − 2兲F20兴
x x
共34兲
冉 冊
Notation
2g Y0
0 = − Sb − 共35兲
The following symbols are used in this paper: V0 x
Ad ⫽ downstream backwater area in m2; where 0 = 7 / 3 − 4A0 / 共3T0 P0兲 P0 / Y.
Au ⫽ upstream backwater area in m2; The boundary conditions are then given by q共0 , t兲 = q0共t兲 and
j ⫽ complex number j2 = −1; q共X , t兲 = qX共t兲.
pij共s兲 ⫽ Saint-Venant transfer functions;
pij⬁ ⫽ gains for high frequencies;
p̂ij共s兲 ⫽ approximated Saint-Venant transfer functions;
Appendix II. Computation of the Uniform Depth Yn
Q0 ⫽ steady-state discharge in m3s−1;
q ⫽ relative discharge in m3s−1;
To obtain an analytical model, it is necessary to have an analytical
s ⫽ Laplace variable in s−1;
expression for the uniform depth Y n. The uniform depth is com-
x ⫽ longitudinal abscissa in m;
puted from the solution of the algebraic equation J0 = I, with J0 the
Y 0 ⫽ steady-state water depth in m;
friction slope given by the Manning-Strickler formula, Eq. (33).
y ⫽ relative water elevation in m;
In the general case, J0 is not a simple function of Y 0; therefore,
d ⫽ time delay for downstream propagation in s;
there is no analytical solution of this equation. The hydraulic
u ⫽ time delay for upstream propagation in s; and
exponent method (Chow 1988) enables one to obtain a good ana-
⫽ frequency in rad/s.
lytical approximation of the uniform depth in prismatic channels.
In this method, the conveyance K0 = Q0 / 冑J0 is assumed to be a
power function of the depth of flow Y 0:
Appendix I. Linearized Saint-Venant Model
K20 = CY N0 共36兲
For a prismatic channel, linearized Saint-Venant equations around
a given steady flow regime (including backwater curves) are where C is a coefficient; and N=hydraulic exponent for uniform
given by the following equations (Litrico and Fromion 2004b), flow computation.
where the values of parameters for the steady-state regime are A good approximation of N is obtained by computing the uni-
denoted with an underscored zero: form depth for two different discharges Q1 and Q2. N is then
given by
y q
T0共x兲 + =0 共30兲 log共Q1/Q2兲
t x N=2 共37兲
log关Y n共Q1兲/Y n共Q2兲兴
q q y Given the uniform flow depth Y n共Q1兲 corresponding to a dis-
+ 2V0共x兲 − 0共x兲q + 关C0共x兲2 − V0共x兲2兴T0共x兲 − ␥0共x兲y = 0
t x x charge Q1 (e.g., the maximum discharge for the considered pool),
共31兲 the value of the uniform flow depth Y n共Q0兲 for another discharge
Q0 can be approximated by
冉 冊
where y = Y − Y 0 is the variation of water depth (m); and q = Q 2/N
− Q0 is the variation of flow rate 共m3 / s兲 from the steady-state Q0
Y n共Q0兲 ⬇ Y n共Q1兲 共38兲
regime, defined by Q1
冦 再 冎
YX − Yn ˆ d = d + ¯d 共52兲
max X − ,0 if SX ⫽ 0
x1 = SX 共40兲 with
X if SX = 0
x1
Then, the approximate backwater curve satisfies the equation d = 共53兲
C0共0兲 + V0共0兲
Y1 = 再 Yn if x1 ⫽ 0
Y X − XSX if x1 = 0
共42兲 ¯d =
X − x1
V0共x2兲 + C0共x2兲
共55兲
冉 冊
p̂21⬁ =
1 p̄11⬁ + p22⬁
p̂12共s兲 = − + p̂12⬁ e −ˆ us
共44兲
Âus p̄12⬁ p̄21⬁
p̂22⬁ = p̄22⬁ + 共60兲
冉 冊
p̄11⬁ + p22⬁
1
p̂21共s兲 = + p̂21⬁ e−ˆ ds 共45兲 The parameters pij⬁ are obtained by the following equations:
冑
Âds
p̂22共s兲 = −
1
− p̂22⬁ 共46兲 p11⬁ =
1
1+ 冉 冊
1 − F0 2 ␣x
1 + F0
e
共61兲
Âds T0C0共1 − F0兲 1 + e␣x
冉 冊
2
p12⬁ = 共62兲
Āu T0C0共1 − F20兲 冑1 + e␣x
Âu = Au 1 + 共47兲
Ad
e␥0 Ⲑ 2T0共C0−V0兲x
2 2
2
冉 冊
p21⬁ = 共63兲
Ad T0C0共1 − F20兲 冑1 + e␣x
Âd = Ād 1 + 共48兲
冑 冉 冊
Āu
1 + F0 2 ␣x
where, for the upstream uniform flow part 1+ e
1 1 − F0
p22⬁ = 共64兲
T0C0共1 + F0兲 1 + e␣x
Ad =
T20共C20
␥0
− V20兲
关1 − Ⲑ 2
e−␥0 T0共C0−V0兲x
2
兴 共49兲
where, in the upstream uniform part:
再 冋
Litrico, X., and Fromion, V. (2002). “Infinite dimensional modelling of
T0 open-channel hydraulic systems for control purposes.” Proc. 41st
¯␣ = 关2 + 共0 − 1兲F20兴Sb − 2 + 共0 − 1兲F20
A0F0共1 − F20兲 Conf. on Decision and Control, 1681–1686.
− 冉 A0 dT0
T20 dY
冊册
+ 0 − 2 F40 SX 冎 共66兲
Litrico, X., and Fromion, V. (2004). “Analytical approximation of open-
channel flow for controller design.” Appl. Math. Model., 28(7), 677-
395.
Litrico, X., and Fromion, V. (2004). “Frequency modeling of open chan-
and all the variables with their values taken at x2 = 共x1 + X兲 / 2. nel flow.” J. Hydraul. Eng., 130(8), 806–815.
Litrico, X., Fromion, V., Baume, J.-P., and Rijo, M. (2003). “Modelling
and PI controller design for an irrigation canal.” Proc., European
References Control Conf., Cambridge, IEE, London.
Litrico, X., and Georges, D. (1999). “Robust continuous-time and
Aström, K. (2000). “Limitations on control system performance.” Eur. J. discrete-time flow control of a dam-river system. I: Modelling.” Appl.
Control, 6, 1–19. Math. Model., 23(11), 809–827.
Balogun, O. (1985). “Design of real-time feedback control for canal sys- Malaterre, P.-O. (1998). “PILOTE: linear quadratic optimal controller for
tems using linear quadratic regulator theory.” PhD thesis, Dept. of irrigation canals.” J. Irrig. Drain. Eng., 124(4), 187–194.
Mechanical Engineering, Univ. of California, Davis., Calif. Rogier, D., Coeuret, C., and Brémond, J. (1987). “Dynamic regulation on
Chow, V. (1988). Open-channel hydraulics, McGraw-Hill, New York. the Canal de Provence.” Proc. ASCE Symposium, ASCE, New York,
Clemmens, A. J., Kacerek, T. F., Grawitz, B., and Schuurmans, W. 180–200.
(1998). “Test cases for canal control algorithms.” J. Irrig. Drain. Schuurmans, J., Clemmens, A. J., Dijkstra, S., Hof, A., and Brouwer, R.
Eng., 124 (1), 23–30. (1999a). “Modeling of irrigation and drainage canals for controller
Corriga, G., Patta, F., Sanna, S., and Usai, G. (1979). “A mathematical design.” J. Irrig. Drain. Eng., 125 (6), 338–344.
model for open-channel networks.” Appl. Math. Model., 3, 51–54. Schuurmans, J., Hof, A., Dijkstra, S., Bosgra, O. H., and Brouwer, R.
Corriga, G., Salembeni, D., Sanna, S., and Usai, G. (1988). “A control (1999b). “Simple water level controller for irrigation and drainage
method for speeding up response of hydroelectric stations power ca- canals.” J. Irrig. Drain. Eng., 125(4), 189–195.
nals.” Appl. Math. Model., 12, 627–633. Shand, M. (1971). “Automatic downstream control systems for irrigation
Deltour, J.-L. (1995). “The Canal de Provence dynamic regulation sys- canals.” PhD thesis, Univ. of California, Berkeley, Calif.
tem: a safe and suitable process for operating water conveyance struc- Strelkoff, T. S., Deltour, J. L., Burt, C. M., Clemmens, A. J., and Baume,
tures.” Proc., 1st Int. Conf. on Water Resources Engineering, ASCE, J. P. (1998). “Influence of canal geometry and dynamics on control-
New York, 56–60. lability.” J. Irrig. Drain. Eng., 124(1), 16–22.
Ermolin, Y. (1992). “Study of open-channel dynamics as controlled pro- Zhou, K., and Doyle, J. (1998). Essentials of robust control, Prentice-
cess.” J. Hydraul. Eng., 118(1), 59–72. Hall, Upper Saddle River, N.J.