Decentralized ellipsoidal state estimation for linear model predictive control of an irrigation canal
Abstract
A centralized linear MPC is used to stabilize an irrigation system whose operation is represented by an integrator-delay model. Since not all the state variables can be measured, a decentralized ellipsoidal estimation strategy is proposed. This approach keeps the quality of a centralized estimation and reduces significantly the computation time for the systems considered. An adaptation of Test Canal 1, developed by the ASCE Task Committee on Canal Automation Algorithms, is used as a case study to show the performance of the proposed methodology.
Full text
This is a repository copy of. “Decentralized Ellipsoidal State Estimation for Linear Model Predictive Control of an Irrigation Canal, in the Depósito de Investigación de la Universidad de Sevilla Version: Author Accepted Version Citation: L.P. Rodriguez· J.M. Maestre*· E.F. Camacho · M.C. Sánchez, Decentralized Ellipsoidal State Estimation for Linear Model Predictive Control of an Irrigation Canal, Journal of Hydroinformatics (2020) 22 (3): 593–605. 10.2166/hydro.2020.150 To cite this publication, please use the final published version (if applicable). Please check the document version above. Copyright: Other than for strictly personal use, it is not permitted to download, forward or distribute the text or part of it, without the consent of the author(s) and/or copyright holder(s), unless the work is under an open content license such as Creative Commons. Takedown policy: Please contact us ([email protected]) and provide details if you believe this document breaches copyrights. We will remove access to the work immediately and investigate your claim
Decentralized ellipsoidal state estimation for linear model predictive control of an irrigation canal L. P. Rodriguez, J. M. Maestre, E. F. Camacho and M. C. Sánchez ABSTRACT A centralized linear MPC is used to stabilize an irrigation system whose operation is represented by an integrator-delay model. Since not all the state variables can be measured, a decentralized ellipsoidal estimation strategy is proposed. This approach keeps the quality of a centralized estimation and reduces significantly the computation time for the systems considered. An adaptation of Test Canal 1, developed by the ASCE Task Committee on Canal Automation Algorithms, is used as a case study to show the performance of the proposed methodology. L. P. Rodriguez National Scientific and Technical Research Council, (CONICET), San Juan, Argentina J. M. Maestre (corresponding author) E. F. Camacho Departament of Ingeniera de Sistemas y Automática, Universidad de Sevilla, Sevilla, Spain E-mail: [email protected] M. C. Sánchez Planta Piloto de Ingeniera Química (UNS –CONICET), Bahía Blanca, Argentina Key words |decentralized, ellipsoidal state estimation, irrigation canal model, predictive control INTRODUCTION Irrigation is the application of controlled amounts of water to crops at established intervals. It is a necessary activity in dry areas and during periods of below-average rainfall. In these areas the irrigation water consumption competes directly with the municipal and industrial ones. Since the use of water for agriculture constitutes the largest consumer of fresh water, the modernization and automation of irrigation systems can largely improve the conservation of this resource. The water usually comes from a river, lagoon, or is pumped from underground aquifers and is distributed through a system of irrigation canals. In this context, the use of control strategies allows maintaining the water levels in their desired values in each section of the irrigation system, while using the smallest possible changes in the configuration of the structures, and using the least amount of energy for water pumping. Model Predictive Control (MPC) presents important advantages over traditional control methods such as Proportional Integral Differential (PID) controllers (see Malaterre et al. ()for a survey on this topic). The MPC allows simultaneously dealing with multiple objectives, constraints, delay times and uncertainties in the variables (Camacho & Bordons ). Regarding irrigation systems, Van Overloop ()compared the performance of classic feedback and feedforward controllers and MPC, demonstrating the superiority of the latter. Within the framework of distributed control, a control strategy in two levels was developed (Núñez et al. ). The upper layer follows a risk management strategy to cope with unexpected changes in demand, failures and additional maintenance costs, and the lower layer optimizes the value of water flows using a distributed MPC. Likewise, Fele et al. ()presented a flexible hierarchical scheme of MPC which reorganizes the agent priorities for optimizing their control actions according to different operating conditions in a hydropower valley. Likewise, a distributed MPC strategy where local controllers exchange information aiming for a trade-off between global performance and cooperation costs was proposed for a system of irrigation canals (Fele et al. ). The so-called coalitional control technique used a linear Kalman filter to estimate the coupling dynamics between the different clusters of controllers. Concerning centralized control strategies, an MPC technique was applied to control the water levels of irrigation systems and its performance was compared with that obtained using Gaussian linear quadratic regulators (LQR) 593 © IWA Publishing 2020 Journal of Hydroinformatics |22.3 |2020 doi: 10.2166/hydro.2020.150 Downloaded from http://iwaponline.com/jh/article-pdf/22/3/593/692893/jh0220593.pdf by guest on 06 May 2021
(Van Overloop et al. ). To improve the operation of irrigation canals, an MPC strategy that maintains the water level of the canals within a target band between the maximum and minimum predefined water levels was proposed (Hashemy et al. ). Likewise, centralized MPC was applied for human-in-the-loop control of irrigation systems (Van Overloop et al. ). Furthermore, Hashemy et al. ()presented a centralized control strategy to satisfy a fair distribution of water between users downstream and upstream of an irrigation canal when water is scarce. A new way of calculating the error associated with the difference in water level was introduced. The heart of the controller is a centralized MPC that accelerates the equal exchange of level errors between all sections of the canals. Recently, an MPC strategy that maximizes the net income derived from existing agricultural economic activities was developed (Hashemy et al. ). To this end, the authors used an economic model based on positive mathematical programming to determine the economic value of water for each extraction point along the irrigation canal. This information is compared with an operating model of the irrigated district, and the water deficit is proportionally divided along the canal, maximizing the district’s economic gains. The application of MPC to irrigation systems with important fluctuations in the water supply was studied (Hashemy et al. ). The control system allows adjusting the regulators in such a way that the irrigators take water continuously and at a satisfactory flow during fluctuations. Water is stored during the excesses and distributed when there is a shortage. Previous works showed that key operational problems of irrigation systems could be effectively solved applying MPC. In the same way for any control strategy, the availability of reliable knowledge of the system state is crucial for MPC because the measurement of all the state variables is not possible. As is well known, MPC uses models to perform its calculations of future states and inputs. While irrigation canal dynamics are highly nonlinear and may evolve with time, the use of very accurate models, such as the Saint– Venant equations which are widely used in literature for describing the behavior of canal reaches and simulating water levels and flows, may result in long computation times of the control actions, which are inappropriate for real-time applications. As a consequence, simplifying assumptions to make the solution method easier and more tractable are common, for example, a linear model with a quadratic cost function that leads to a convex optimization problem. In particular, we focus here on the linear and time-invariant Integrator-Delay (ID) model, which captures the delay time steps and the storage by which the backwater area moves up and down. Due to its simplicity, the ID model is very compact and fast for computations, thus being a popular choice for MPC. Nevertheless, the values of its parameters (delay time and storage area) are valid at given operation point and these may change when the flow changes (Van Overloop ). Moreover, the simplifications introduced also generate uncertainty in the model predictions. For these reasons, it is crucial to implement estimation methods that can explicitly handle uncertainty and several operation points, which, as will be seen later, are features of the method proposed in this article. In the literature dealing with MPC for irrigation canals, stochastic observers, such as the Kalman filter (Kalman ), were used. These assume that the probability distribution of the disturbances and the noise of the measurements are known. In practice, these perturbations are not always known, and it is more natural that they belong to compact sets without assumptions about their distribution (Fogel & Huang ). These sets guarantee to contain the states that are consistent with the system model, the measurements, the noise of the measurements and the bounded perturbations. Generally, the compact set that contains the states has a particular geometric shape. Alamo et al. ()and Le et al. ()developed estimation techniques based on zonotopes. Other types of widely used sets are the ellipsoids due to the simplicity of their formulation and the resulting stability of the estimates (Durieu et al. ;Polyak et al. ; Daryin et al. ;Daryin & Kurzhanski ;Chabane et al. ). Two different methodologies to reduce the size of the estimation set have been proposed. The first one uses a criterion based on the determinant of the shape matrix, while the second one minimizes the trace of this matrix. Durieu et al. ()showed that the computational complexity of these two methods is low at the expense of a loss of accuracy in comparison with the polytopic estimation. The radius of the ellipsoid estimation set is minimized at each time instant by solving a Linear Matrix Inequality (LMI) optimization problem (Chabane et al. ). The estimates 594 L. P. Rodriguez et al. |Decentralized ellipsoidal state estimation for linear MPC of an irrigation canal Journal of Hydroinformatics |22.3 |2020 Downloaded from http://iwaponline.com/jh/article-pdf/22/3/593/692893/jh0220593.pdf by guest on 06 May 2021
precisions are similar or greater than the ones provided by the zonotopic estimation, but the computation time increases considerably with the size of the model. Likewise, note that there are other alternatives available in the literature. For example, there is a growing interest in data assimilation procedures that do not require assumptions related to probability distribution of noise measurements, and they can be also used in combination with deterministic models (Sun et al. ;Wang et al. ), for example, these techniques have been applied for real-time correction of deviations between the simulation model forecast and the observed variables. The same holds for optimization-based control methods. Besides the previously mentioned LQR and MPC, other approaches can be found in the literature, for example, genetic algorithms, which provide an optimization framework that is suitable for complex problems with variables of continuous and discrete nature, for example Tian et al. ()used it to find Pareto optimal solutions for a multi-scenario operational water resources management problem and Li & Lian ()for PID parameter tuning. Arauz et al. ()optimized the coefficients of PI controllers for irrigation canals using LMI constraints to guarantee the stability of the overall system and minimize undesired mutual interactions. Also, more recently, data-based methods have also appeared in this context. For example, in Salvador et al. (), previous trajectories of the system were optimized to calculate control actions for a water system, and Barreiro-Gomez et al. ()used them in combination with evolutionary games, which are a valuable tool for resource allocation optimization. As can be seen, optimization and control strategies may be essential in many areas of the water domain, from the mitigation of severe droughts in many regions of the planet up to control of urban floods, which are increasing on a worldwide scale. Also, model-based decision-making methods are sensitive to model simplifications and inaccuracies, for example, in Diogo & do Carmo (), the influence of boundary conditions in peak flows is assessed via numerical integration of the Saint–Venant equations. To deal with these issues, we develop a decentralized ellipsoidal estimation methodology suitable for linear models of irrigation canals. This is relevant for control methods that require an estimate of the state such as MPC, where the use of this type of model is common to increase the computation speed and guarantee the convexity of the resulting optimization problem, for example, the ID model (Schuurmans ;Van Overloop et al. ;ZafraCabeza et al. ;Fele et al. ,;Hashemy et al. ,,, ;Maestre et al. ). In general, this type of model does not intend to be accurate from a hydraulic viewpoint and clearly its simplicity generates mismatches with the real dynamics of the canal. Indeed, it is a Markov-type model, i.e. it is a stochastic model where future states depend only on the current state and not on previous events. The same holds for the exogenous inputs considered in the model update, which are simplified and treated as random disturbances, thus ignoring issues such as the water demand can be highly affected by the wateravailability and the precipitation-drought behavior, which exhibit a long-term persistent behavior –the so-called Hurst phenomenon or Hurst–Kolmogorov behavior. These phenomena can be detected by performing auto-correlation analysis and may be relevant to avoid failures in extreme events such as severe droughts (Koutsoyiannis ; Dimitriadis & Koutsoyiannis ;Tyralis et al. ). Despite all the simplifications performed, the proposed framework has been shown to provide good performance for canal regulation purposes and can benefit from a significant advantage of the method proposed in the article, which is that the estimation process can handle explicitly mismatches and disturbances as long as they are bounded. Indeed, throughout the article we apply the decentralized estimator in combination with MPC to show its applicability. The proposed approach has several appealing features: (i) it deals explicitly with uncertainty in the system evolution, thus accounting for possible model misspecifications and errors, which are typical issues when simple models are used to capture nonlinear systems dynamics and/or different operation points; (ii) the computation is decentralized so that it can be implemented in real world problems where local controllers and observers may exist for different part of the canal; (iii) the exploitation of the structure of irrigation canals allows significant speeding up of the computations in comparison with that of Chabane et al. (). To this end, the developed procedure takes advantage of the structure of the matrices that model the system evolution, the measurements, the weight of the 595 L. P. Rodriguez et al. |Decentralized ellipsoidal state estimation for linear MPC of an irrigation canal Journal of Hydroinformatics |22.3 |2020 Downloaded from http://iwaponline.com/jh/article-pdf/22/3/593/692893/jh0220593.pdf by guest on 06 May 2021
disturbances, and the weight of the measurements noise, which can be arranged in block diagonal form. Each block may represent one or more sections of the irrigation canal, and sub-systems are connected through the input-to-state matrix. The nominal state of the system is estimated using a Luenberger observer, which is calculated by means of an LMI optimization problem solved in parallel for each subsystem. The resulting local observer gains are then gathered into a single global gain matrix. After accomplishing the estimation step, the system is regulated using a centralized MPC controller. An adaption of the Test Canal 1, developed by the ASCE Task Committee on Canal Automation Algorithms, is used as a case study. The rest of the paper is organized as follows. Next, the formulation of the ad-hoc decentralized ellipsoidal state estimation and the centralized MPC used to stabilize the irrigation system are presented. The performance of the proposed methodology for different simulated scenarios of the ASCE Test Canal 1 is discussed in the following section. Finally, conclusions and hints about future works are discussed. PROBLEM FORMULATION System model We consider canals that transport water for irrigated agriculture. In particular, a canal is composed of several sections separated by gates, which can be moved to control the water volume stored in each section of the canal. From a mathematical viewpoint, we are interested in the more simple internal models used by many control methods such as LQR and MPC, so we consider an irrigation canal represented by the following discrete-time linear time-invariant (LTI) system: xkþ1¼AxkþBukþEwk(1) yk¼CxkþFwk(2) where xk∈Rnxis the discrete state vector of the system, uk∈Rnuis the input vector, yk∈Rnyis the measured output vector, wk∈Rnw(nw¼nxþny)containsthestate and measurements perturbations (noise, offset, etc.) that are considered bounded by unitary boxes, and A∈Rnx:nx, B∈Rnx:nu,C∈Rny:nx,E∈Rnx:nw,F∈Rny:nw,beingthe pair (A,C) detectable and the pair (A,B) stabilizable. As can be seen, the starting LTI model is very general. Without loss of generality, we will work in this article with the particular case of the previously mentioned ID model, a simple AR(1) model that provides us with a low frequency approximation of canal dynamics introduced by Schuurmans (), which has become a popular choice as a control model for MPC controllers that regulate average water levels in irrigation canals. Since estimators are needed for state space MPC controllers, the choice of this simple approximation was straightforward, but note that more sophisticated linear models can be used, for example, higher-order Markov models and linearized versions of Saint–Venant equations. In the chosen model, the state vector x k contains water levels (or errors with respect to the operation point) and delayed flows, which are provided by the input vector u k . More information in this regard is provided below under ‘Case study’, where the model is explained for the considered case study. The methodology proposed in this paper is based on a decentralized ellipsoidal state estimation technique, which assumes that the noise of the disturbances and the measurements are unknown but bounded. Moreover, a centralized MPC is used to stabilize the whole system. Decentralized ellipsoidal state estimation Recently, a centralized ellipsoidal state estimation strategy for LTI discrete-time systems based on the minimization of the ellipsoidal estimation set radius at each time instant k was developed (Chabane et al. ). The estimation is computed by solving an LMI optimization problem. Although the strategy shows good performance for small systems, the computation time increases considerably with the size of the model. Here, we demonstrate how the efficiency of the estimation technique can be significantly improved. It should be noticed that matrices A,C,E,Fof the irrigation canal have a block diagonal structure, and each block represents the ith section of the irrigation canal. Each section may represent one or more reaches, and all sections are coupled by the matrix B. Therefore, the system state vector xkcan be represented by xk¼x1 k... xi k... xp kg , where xi k∈Rni xis the state vector corresponding to the ith 596 L. P. Rodriguez et al. |Decentralized ellipsoidal state estimation for linear MPC of an irrigation canal Journal of Hydroinformatics |22.3 |2020 Downloaded from http://iwaponline.com/jh/article-pdf/22/3/593/692893/jh0220593.pdf by guest on 06 May 2021
section of the irrigation canal, and pis the total number of sections. In the same way, the measurement vector ykis yk¼y1 k... yi k... yp kg ,(yi k∈Rni y), and the disturbance vector is wk¼w1 k... wi... wp kg ,(wi k∈Rni w). Moreover the state transition matrix, the measurements matrix, the process noise matrix and the measurements noise matrix of the ith section of the irrigation canal are, respectively, Ai∈Rnxi:nxi,Ci∈Rnyi:nxi,Ei∈Rnxi:nwi,Fi∈Rnyi:nwi. In this work the following assumptions are considered: Assumption 1. Bounded disturbances: vector wkis bounded by the unitary interval Mnxþny. Assumption 2. Bounded Initial State: the initial state vector xi 0,i¼1, ...pis bounded by the ellipsoid ε(Pi, xi o,ρi 0)¼{xi∈Rni x:(xi xi o)TPi(xi xi o)ρi 0}, where xi ois the initial nominal state of the ith section, Piis the shape matrix of the ith ellipsoid, and ρi 0represents its initial radius (recall that in its simplest form the quadratic form of an ellipsoid can be expressed in matrix form as xTPx <ρ, with Pbeing a positive definite matrix). Given an ε(Pi, xi k,ρi k)forxi k,where xi kis its center and ρi kis its radius at time kand k>0, the ellipsoid ε(Pi, xi kþ1,ρi kþ1)canbecalculatedforxi kþ1using an ellipsoidal state estimation (Chabane et al. )insuchawaythat: ρi kþ1βiρi k>0 (3) where βi∈(0, 1). In particular, ρi kþ1and βiare minimized at kþ1 to guarantee a non-increasing ellipsoidal radius. The decentralized ellipsoidal state estimation technique developed in this work is based on the following theorem. Theorem 1. Consider that at time k, the state vector of the ith section of the irrigation canal xi kbelongs to the ellipsoid ε(Pi, xi k,ρi k), with a symmetric positive definite matrix Pi¼PiT ≻0. If there exists a matrix Ξi k∈Rnxi:nyi, a scalar βi∈(0, 1) and a radius ρi kþ1satisfying the following LMI optimization problem for all wi k∈Mnxiþnyi: min Ξi k,βi,ρi kþ1 ρi kþ1(4) s:t: βiPiAiT PiCiΞi k0 PiAiΞi kCiPiPiEiΞi kFi 0EiT PiFiT Ξi kΦi 2 6 4 3 7 5 ≻0 ρi kþ1βiρi k>0 Then, the system state xi kþ1at time kþ1 belongs to ε(Pi, xi kþ1,ρi kþ1) for all wi k∈Mnxiþnyi. The proof of Theorem 1 is beyond the scope of this work, and can be found in Chabane et al. (). In contrast to the centralized estimation technique proposed by Chabane et al. (), which updates the radius ρk of the ellipsoid εthat contains the state vector xkand the gain of estimator Gkat each time instant kfor the whole irrigation canal system, the decentralized estimation updates the radius and the gain for each canal section individually. In this way, the state vector xi kþ1corresponding to the ith section of the irrigation canal belongs to the ellipsoid εi(Pi, xi kþ1,ρi kþ1) for all wi k∈Mni xþni yand the gain of ith section, Gi k, can be calculated from: PiGi k¼Ξi k(5) In particular, Equations (4) and (5) are used to compute ρi kþ1and Gi kfor each section of the irrigation system. After that, the radius and gain for the overall system, ρkþ1and Gk, are computed as follows: Gk¼ G1 k0 000 . . .. . . . . . . . .. . . 00 Gi k00 . . .. . .. . . . . .. . . 00 00Gp k 2 6 6 6 6 6 6 6 6 6 4 3 7 7 7 7 7 7 7 7 7 5 (6) ρkþ1¼max ρ1 k;... ;ρi k; ;ρp kÞ (7) where Gk∈Rnx:ny, is a block diagonal matrix and ρkþ1is the largest ellipsoid radius. Finally, the nominal state vector of the system xkþ1∈Rnxat time instant kþ1 is calculated by using the following equation: xkþ1¼A xkþBukþGk(ykC xkDuk) (8) In summary, the steps for updating the state vector are: •Solve the LMI Optimization Problem (4) for each section by obtaining ρi kþ1and the matrix Ξi kfor each ith section of the canal. 597 L. P. Rodriguez et al. |Decentralized ellipsoidal state estimation for linear MPC of an irrigation canal Journal of Hydroinformatics |22.3 |2020 Downloaded from http://iwaponline.com/jh/article-pdf/22/3/593/692893/jh0220593.pdf by guest on 06 May 2021
•Obtain Gi kfor each section of the canal by solving Equation (5). •Obtain Gkfor the whole system through the block diagonal matrix (6). •Calculate the radius of the ellipse that contains the states of the system, ρkþ1, by means of Equation (7). •Update the states of the whole system, xkþ1, through Equation (8). Remarkably, this procedure can be performed in a decentralized fashion which allows parallelizing the computation of the solution. In this regard, the structure of irrigation canals and their relatively low coupling between different subsystems is key in distributing the computation of the ellipsoids. As a consequence, the resulting problems to solve are smaller, also providing additional gains in the time required for the computation. As will be shown later, all these elements provide a significant reduction of computation time with respect to the original method proposed in Chabane et al. (). After updating xkþ1, the control action is calculated in a centralized way by solving a centralized MPC regardless of the configuration chosen to estimate the states of the system. Centralized model predictive control Management of irrigation canals systems can be described by a set of logical and mathematical rules within a controller. These can be classified according to the property of the irrigation system that is controlled as flow control, water level control and volume control. Also, rules can be classified according to the relative position of the controlled water level in the reach as downstream control and upstream control. Finally, the controller may be classified based on general control theory feedback control, feedforward control, optimal control and heuristic control (Van Overloop ), the MPC technique proposed in this work has elements of the feedback control, feedforward and optimal control. The objective of the proposed controller is to maintain a constant level at offtakes, which are located at the downstream end of each canal reach. A centralized MPC is developed to stabilize the system by maintaining state variables and inputs within specified ranges. The control signal ukis calculated by minimizing a quadratic criterion subject to a set of constraints. The optimization problem is stated as follows (Camacho & Bordons ;Van Overloop ): arg min ukjkX L1 l¼0 xT kþlþ1jkQx kþlþ1jkþuT kþlþ1jkRu kþlþ1jk(9) s:t: xmin xkþljkxmax umin ukþljkumax where xkþljkand ukþljkare the states and inputs predicted at time kþl(l:1...L), Lis the prediction horizon, Q ∈Rnx:l and R ∈Rnu:lare the weighting matrices, (xmin,xmax)and (umin,umax) are the limits on the state variables and the control actions, respectively, chosen taking into account safety and performance specifications. The particular specifications of the case study will be discussed below under ‘Case study’. The control signal uk, applied to the system, is composed by the first nuelements of the solution vector ukjk∈Rnu:Lcorresponding to the current time. For kþ1, ukþ1is obtained by solving the MPC with the updated process information again. CASE STUDY The case study used in this paper is an adaption of the Test Canal 1 of the ASCE Task Committee on Canal Automation Algorithms, based on lateral canal WM within the Maricopa–Stanfield Irrigation and Drainage District in central Arizona. Additional details about the Test Canal 1 can be found elsewhere (Clemmens et al. ,,). The length of the original canal is 9.5 km, the maximum capacity at the head gate is 2.8 m 3 /s and the irrigation canal supplies water to a number of large farms. The canal is characterized by high Froude numbers and little storage. Many pools have an initially very steep slope, followed by a mild slope, which was simplified to a single slope. It is assumed that each canal reach has an unsubmerged vertical sluice gate and the regulation time step is equal to 5 minutes. While the original system consists of eight pools, here we use 24 pools by concatenating three times the original 598 L. P. Rodriguez et al. |Decentralized ellipsoidal state estimation for linear MPC of an irrigation canal Journal of Hydroinformatics |22.3 |2020 Downloaded from http://iwaponline.com/jh/article-pdf/22/3/593/692893/jh0220593.pdf by guest on 06 May 2021
system to have a larger system for our tests (see Figure 1). The irrigation canal is fed by a constant water level reservoir at its head and the flow released to the canal is controlled by a gate. The canal reaches are separated by control structures and each one consists of an adjustable undershot control gate in parallel with weirs. A fixed crest level at both sides of the undershot gate is assumed. To the extreme of each reach (5 m from the downstream end) are located the offtake undershot gates and the offtake flows are conveyed to the secondary canals by a culvert. The canal has almost no flow at the downstream end. To model the canal, some assumptions were made: sections with supercritical slopes were modeled with a drop followed by a subcritical slope. These approximations result in slower canal response to upstream flow changes than the prototype canal. The mains characteristics of the case study were taken from Clemmens et al. ()and are shown in Tables 1–3. Nevertheless, note that the level of detail of the real canal, including its multiple reaches between pools, culverts, and supercritical flow sections, is not necessary for a general evaluation of canal control algorithms via simulation (Clemmens et al. ). Thus, single canal reaches and subcritical flow were considered for simplicity. Also, the bottom slope is 0.002, the Manning coefficient is 0.014, the side slope is 1.5, and the drop at the gate expressed in meters is 1.0 for all the pools. The original test was adapted to consider that the elements of wkare bounded in the range [1,–1]. Also, the case study was simulated using (1) and (2) for k¼[0; 1; …; 287; 288]. The measurements trajectories were obtained from simulations. A linear response model in open irrigation canals can be obtained by linearizing the Saint–Venant equations over a bounded range of operating conditions. The model is linearized around stationary flow Figure 1 |Profiles of case study. Table 1 |Main characteristics of the case study Pool # Pool length (m) Bottom width (m) Canal depth (m) Capacity flow (m 3 /s) Design flow (m 3 /s) 1, 9, 17 100 1.0 1.1 2.0 0.8 2, 10, 18 1,200 1.0 1.1 2.0 0.7 3, 11, 19 400 1.0 1.0 2.0 0.6 4, 12, 20 800 0.8 1.1 1.6 0.5 5, 13, 21 2,000 0.8 1.1 1.6 0.4 6, 14, 22 1,700 0.8 1.0 1.6 0.3 7, 15, 23 1,600 0.6 1.0 1.3 0.2 8, 16, 24 1,700 0.6 1.0 1.1 0.1 599 L. P. Rodriguez et al. |Decentralized ellipsoidal state estimation for linear MPC of an irrigation canal Journal of Hydroinformatics |22.3 |2020 Downloaded from http://iwaponline.com/jh/article-pdf/22/3/593/692893/jh0220593.pdf by guest on 06 May 2021
conditions, while the flow regimen considered along the canal and along the time is not stationary. A linear ID model assumes that each canal reach is formed by two different parts: the integrator and reservoir sections (Schuurmans ), as illustrated in Figure 2.Thefirst one acts as a water reservoir without delay time (τ). The second section is represented by its delay time, which is the time necessary to go from one steady-state flow to another one. Note that this model is not accurate from a hydrological viewpoint and simply captures the transport and storage of water for average water level regulation purposes. As was said before, linear models are convenient for the sake of computation and the proposed estimation method can handle this loss of information as long as it is bounded, as is the case. The ID model for each canal reach can be described by the following equation: dei dt ¼1 Abi [qin,i(kτ)qout,i(k)qofftake,i(k)] (10) For the ith canal reach, eiis the deviation of the water level iwith respect to the set one in the reservoir section, qin,iand qout,iare the deviations of inflow and outflow from their initial values, respectively, and Abiis the surface of the reservoir section (see Figure 2). Both τand Abican be determined by unsteady flow simulation, (10) can be formulated in state-space form (1) and (2) (Van Overloop Figure 2 |ID model of the ith canal reach. Table 3 |Offtake discharges Pool # Discharges (m 3 /s) initial Discharges (m 3 /s) final Target level (m) Offset (m) Head discharge exponent 1, 9, 17 0.16 0.16 0.90 0.3 0.6 2, 10, 18 0.0 0.0 0.90 –– 3, 11, 19 0.10 0.10 0.80 0.2 0.5 4, 12, 20 0.21 0.21 0.90 0.36 0.6 5, 13, 21 0.0 0.0 0.90 –– 6, 14, 22 0.19 0.19 0.80 0.24 0.6 7, 15, 23 0.0 0.14 0.80 0.0 0.2 8, 16, 24 0.19 0.19 0.80 0.0 0.5 Table 2 |Check structures properties Pool # Gate width (m) Gate height (m) Weir height (m) Weir width (m) Inlet 1.5 1.0 No weir No weir 1, 9, 17 1.5 1.0 0.99 4.5 2, 10, 18 1.5 1.0 0.99 4.5 3, 11, 19 1.5 0.9 0.91 4.2 4, 12, 20 1.2 1.0 1.07 4.4 5, 13, 21 1.2 1.0 0.91 3.9 6, 14, 22 1.2 0.9 0.90 3.7 7, 15, 23 1.0 0.9 0.91 3.3 8, 16, 24 –– 0.95 4.0 600 L. P. Rodriguez et al. |Decentralized ellipsoidal state estimation for linear MPC of an irrigation canal Journal of Hydroinformatics |22.3 |2020 Downloaded from http://iwaponline.com/jh/article-pdf/22/3/593/692893/jh0220593.pdf by guest on 06 May 2021