Spectral Decomposition of Open Channel Flow Xavier Litrico (Cemagref, UMR G-EAU, Montpellier) with Vincent Fromion (INRA MIG, Jouy-en-Josas)
Motivation Agriculture = 70% of fresh water world consumption Irrigated agriculture = 17% of agricultural area, 40% of food production Water for agriculture Large operational losses: 20% to 70% Strong incentives to limit them: save water in summer and users requiring a better service Towards automatic management Improve water resource management Improve service to user Facilitate irrigation canal operational management
Objective Canal dynamics are complex Represented by nonlinear PDE: Saint-Venant equations Linear approach leads to effective results But no existing classification for canal dynamics Objective: understand the dynamics of linearized Saint- Venant equations Frequency domain approach Poles Spectral decomposition From horizontal frictionless canal to uniform and non uniform cases
Different views of irrigation canals
Outline Introduction Modeling of open channel flow Spectral decomposition Time domain response Illustrations Horizontal frictionless case Uniform flow case Non uniform flow case Analysis of Preissmann discretization scheme A link between Riemann invariants and frequency domain approaches Conclusion
Main irrigation canal Series of canal pools We consider a single pool of length L
Modeling of open-channel flow Saint-Venant equations Mass conservation Momentum conservation Initial condition Boundary conditions Friction slope:
Linearized Saint-Venant equations Linearized around (non uniform) steady flow
Frequency response Laplace transform leads to a distributed transfer matrix: Poles p k in the horizontal frictionless case
Spatial Bode plot (horizontal frictionless case)
Uniform flow case Poles
Spatial Bode plot (Uniform flow case)
Non uniform flow case Compute the distributed transfer function using an efficient numerical procedure (Litrico & Fromion, J. of Hydraulic Engineering 2004) Compute the poles using this numerical method Conclusion: non uniform flow is qualitatively similar to uniform flow Question: can we decompose the system along the poles? Answer: Yes!
Main result: spectral decomposition The elements g ij (x,s) of the distributed transfer matrix G(x,s) can be decomposed as follows: a ij (k) (x) is the residue of g ij (x,s) at the pole p k
Spatio-temporal representation of g ij (x,s)
Sketch of proof Define gives Apply the Cauchy residues theorem to on a series of nested contours C N
Implications SV transfer matrix belongs to the Callier-Desoer class of transfer functions Nyquist criterion provides a necessary and sufficient condition for input-output stability Link with exponential stability using dissipativity approach (see Litrico & Fromion, Automatica, 2009, in press)
Horizontal frictionless case Residues a ij (k) (x)
x abscissa (m) |a 11 (k) (x)| k=0 k=1 k=2 k=3
Coeff a ij (k) (x), Non uniform case, canal 1
Bode plot: approximations with different numbers of poles Gain (dB) p Freq. (rad/s) Phase (deg) Gain (dB) p Freq. (rad/s) Phase (deg)
Time response Rational approximations Unit step response
Step response (horizontal frictionless case) time (s) y time (s) y time (s) y time (s) y 22
Step response (uniform flow) time (s) p time (s) p time (s) p time (s) p 22
Spatial Bode plot (Uniform flow case, canal 2)
Coeff a ij (k) (x), Non uniform case, canal 2
Applications Preissmann scheme = Classical numerical scheme used to solve the equations We study the scheme on the linearized equations We relate the discretized poles to the continuous ones Poles location as a function of t, x and Root locus with a downstream controller
Preissmann scheme
Study of the discretized system The linearized SV equations discretized with this scheme give Assuming, the condition for the existence of a non trivial solution is with
Study of the discretized system (cont’d) or with And finally This equation is formally identical to the one obtained in the continuous time case!!! One may show that the poles can be computed in two steps: first compute the continuous time poles obtained due to the spatial discretization then compute the discrete time poles
Example: effect of spatial discretization Horizontal frictionless case
Effect of parameter theta
Bode plot of discretized system
A link between frequency domain and Riemann invariants methods For horizontal frictionless canals, Riemann invariants and frequency domain methods lead to the same result: Open-channel flow can be represented by a delay system How to extend this to the case of nonzero slope and friction? For nonzero slope and friction, Riemann coordinates are no longer invariants! But frequency domain methods enable to diagonalize the system…
Riemann invariants (horizontal frictionless case) SV equations Diagonalize matrix A Laplace transform This is a delay system!
Uniform flow case (with slope and friction) Laplace transform + diagonalize matrix A -1 (sI+B): SV equations New variables:
Uniform flow case (cont’d) Solution in the Laplace domain: « generalized » delay system We have: with and
Solution in the time domain Time evolution of generalized characteristics with Change of variables
Solution in the time domain (cont’d) Change of variables Inverse Laplace transform
Solution in the time domain Inverse transform (time)
Application: motion planning We want to find the controls steering the system from 0 to a desired state in a given time T r. The evolution equation leads to:
Feedback control Controller or with System Closed-loop system Sufficient stability condition
Control of SV oscillating modes: root locus
Control of SV oscillating modes
Conclusion Analysis of linearized Saint-Venant equations Poles and spectral decomposition Analytical results in horizontal frictionless and uniform cases Numerical method in non uniform cases Rational models Complete characterization of the flow dynamics Analysis of Preissmann discretization scheme Generalized characteristics (using Bessel functions) More details and applications in the book « Modeling and control of hydrosystems », Springer, to appear in 2009.