Next Article in Journal
Making Different Decisions: Demonstrating the Influence of Climate Model Uncertainty on Adaptation Pathways
Previous Article in Journal
Optimizing Filter Element Seepage Well Layouts for Urban Flood Mitigation: A Multi-Objective Genetic Algorithm Approach
Previous Article in Special Issue
Application of the JDL Model for Care and Management of Greenhouse Banana Cultivation
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Linear Model for Irrigation Canals Operating in Real Time Applied in ASCE Test Cases

by
Enrique Bonet
*,
Maria Teresa Yubero
,
Marc Bascompta
and
Pura Alfonso
Department of Mining, Industrial and ICT Engineering, Universitat Politécnica de Catalunya (UPC), Les Bases Avenue 61-73, 08242 Manresa, Spain
*
Author to whom correspondence should be addressed.
Water 2025, 17(9), 1368; https://doi.org/10.3390/w17091368
Submission received: 4 March 2025 / Revised: 24 April 2025 / Accepted: 27 April 2025 / Published: 1 May 2025

Abstract

:
In the context of irrigation canal flow, numerical models developed to accurately estimate canal behavior based on gate trajectories are often highly complex. Consequently, hardware limitations make it significantly more challenging to implement these models locally at gate devices. In this regard, one of the most significant contributions of this paper is the concept of the hydraulic influence matrix (HIM) and its application as a linear model to estimate the water surface flow in irrigation canals, integrated within an irrigation canal controller to facilitate real-time operations. The HIM model provides a significant advantage by quickly and accurately computing water level and velocity perturbations in open-flow canals. This capability empowers watermasters to apply this linear free-surface model in both unsteady and steady flow conditions, enabling real-time applications in control algorithms. The HIM model was validated by comparing water-level estimates under various perturbations with results from software using the full Saint-Venant equations. The test involved introducing a 10% perturbation in gate movement over a specified time period in two different test cases, resulting in a flow discharge increase of more than 10% in each test case. The results showed maximum absolute errors below 7 cm and 0.2 cm, relative errors of 0.7% and 0.023%, root mean square errors ranging from 2.4 to 0.07 cm, and Nash–Sutcliffe efficiency values of approximately 0.95 in the first and second test cases, respectively, when compared to the full Saint-Venant equations. This highlights the high precision of the HIM model, even when subjected to significant disturbances. However, larger gate movement disturbances (exceeding 10%) should be planned in advance rather than managed in real time.

1. Introduction

Climate change has a negative impact on the quantity and quality of available water needed to meet global human needs, according to UNESCO [1]. The global population is rapidly growing, with expectations of reaching 8 billion people in 2030 and being just shy of 10 billion people in 2050, according to the United Nations [2], both of which are figures that suggest an imminent surge in global food demand. Irrigated agriculture is the most water-intensive sector, consuming around of 60–80% of water resources in a country [3,4,5,6,7,8]. Moreover, irrigation water distribution systems are the infrastructure by which one-third of water resource losses take place. Monitoring and controlling operations in irrigation canals are essential for mitigating leakages and water waste in operational actions [9,10,11].
The problem of adjusting the discharges of an irrigation canal to meet demands by farmers at outlets requires a certain ability to control the canal. Once farmers’ demands are scheduled, gate movements must be defined to deliver the required discharge on time. This control problem is divided into two steps: the off-line feedforward stage (planification stage) [12] and the real-time feedback stage (operational stage) [13].
The first step is solved by means of a feedforward control algorithm, such as volume compensation algorithms [14], PID [15,16,17] or more sophisticated ones from the nonlinear optimization problem, with constraints such as PILOTE [18], LQR optimal control [19,20], LQ [21], and predictive algorithms such as [22,23,24] “GoRoSo” in [12]; the second step could be solved by a feedback control algorithm such as “GoRoSoBo” [13], PID [25], or dynamic boundary controllers [26].
In this context, the study of flow transients in an irrigation canal can be performed using the complete Saint-Venant equations, but these require significant computation time. However, in the context of feedback control used in real-time applications, there is not enough time to predict flow behavior based on the complete Saint-Venant model. Additionally, hardware limitations make it challenging to deploy such models in the electronic devices and local control systems that operate the gates. To address these issues, the primary objective of this study is to develop and validate the hydraulic influence matrix (HIM) as a fast and accurate linear model of free-surface flow behavior in irrigation canals, enabling its implementation in real-time canal control algorithms.
The HIM model is based on the linearization of the Saint-Venant equations. The linear model around of an unsteady state is based on the HIM matrix, which is able to estimate the influence of any disturbance introduced in the irrigation canal in its behavior, which is an useful to apply with a feedback control to operate canal gates in real time.

2. Methodology: The Him Model

2.1. Free Surface Flow Equations

The equations of Barré de Saint-Venant (1871) [27] describe the free-surface flow in prismatic canals and are the result of the application of the principles of mass conservation and of the quantity of movement in a controlled volume of short length in the direction of flow. A rigorous deduction of these equations for prismatic canals can be found in [27], resulting in the following:
y t + v y x + A y T y v x = 0 v t + v v x + g y x = g S 0 S f y , v
where x and t are the independent space and time variables, y is the level of the free-surface from canal bottom, v is the average velocity of all particles of a cross section of the flow, A(y) is the area of wet section which depends on the depth, T(y) is the maximum width also dependent on the depth, S0 is the canal bottom slope, and, finally, Sf (y, v) is the slope friction. These equations cannot be solved analytically, only numerically. Thus, a variety of numerical methods exist, which can be found, among others, in [28].
Usually, Equation (1) is expressed in the classical space and time (x/t) axes, but in the case that we use the so-called characteristic curves, these equations are represented in two curves or characteristics curves, expressed parametrically with x + (t) (downstream curve) and x − (t) (upstream curve), which locally satisfy the two following differential equations:
d x + d t = v + c y d x d t = v c y   d v d t + g c y d y d t = g S 0 S f y , v d v d t g c y d y d t = g S 0 S f y , v c y = g A y T y
The nice effect of the transformation of the method of characteristics is that the partial differential Equation (1) becomes an ordinary differential equation system. The difficulty of the method lies in the fact that Equation (1) has to be solved along the characteristic curves or the local axes that are the solution of (2). As the latter is a set of non-linear equations, it obliges us to solve the four equations simultaneously. Fortunately, the curves x + (t) and x − (t) always intersect, although they are not orthogonal, and therefore assure hyperbolicity. The system (2) can be represented in the graph x/t as in Figure 1, where, at the point of intersection R, the four equations are satisfied, and therefore, the four unknowns x, t, y, and v can be found theoretically. This way, if flow conditions at points P and Q are known, the position of point R can be found and integrated numerically, along with the flow conditions.

2.2. The Discretization of the Characteristic Equations

As previously mentioned, the system (1) and the equivalent (2) have no known analytical solution, and therefore, the use of numerical techniques has, until present, been compulsory. In this paper, we prefer to use a specific discretization and make the appropriate mathematical developments based on the result of this discretization. In order to have the longest possible integration time period without loss of precision, we adopted a discretization in finite differences of second order, called in [29] as “the method of characteristic curves” applying to a structured grid.
In Figure 2, once can see how by placing the characteristic curves net (Figure 2a) on top of a structured net (Figure 2b), a new scheme is obtained where the variables for points P and Q are interpolated at time step k (Figure 2c). In this way, we can obtain the flow conditions for the fixed-point R at a time step k + 1.
In any case, the irrigation canals are controlled by control structures that are built along the canal (see [30,31,32]). There are many flow control structures in canals, which allow flow modeling according to the specification of the watermaster. The individual study of each of these structures is impossible in this work and does not fall within its aims. However, we present as an example a commonly found structure. It is a checkpoint with a sluicegate, a lateral weir outlet, and a pumping, as seen in Figure 3a. The interaction of this control structure with the flow can be described according to the principles of mass and energy conservation. These principles establish two mathematical relationships between the flow conditions just upstream and downstream of the checkpoint:
S y e d y e d t = A y e v e q b q s y e A y s v s q o f f t a k e y e q o f f t a k e ( y e ) = C d A 0 2 g y e A y s v s = k c u y e y s + d
where regarding the first equation; S(ye) is the horizontal surface of the reception area in the checkpoint; A(ye)ve is the incoming flow to checkpoint, defined in terms of water depth and velocity; A(ys)vs is the outgoing flow to checkpoint which continues along the canal, described in terms of water depth and velocity; qb is the pumping offtake, which is predetermined as qs(ye) = Cs as (ye − y0)3/2 is the outgoing lateral flow via the weir, where Cs is the discharge coefficient, as is the width of the lip, and y0 is the height of the lip measured from the bottom. Considering the second equation, qofftake is the outgoing offtake orifice flow where Cd is the discharge coefficient, A0 is the area of the offtake orifice, d is the checkpoint drop, and u is the sluicegate opening. Regarding the last equation, kc = √2g Cc ac, where Cc is the discharge coefficient of the sluicegate, ac is the sluice gate width, and d is the canal step height between pools.
The presence of checkpoints, where water level sensors are deployed, in the middle of a canal leads to the sub-division of this canal into canal pools, in a way that there is a canal pool between two checkpoints, and there is a checkpoint between two pools. The checkpoints are located at and aligned with the positions of the control structures (see Figure 3b). Therefore, ynk+1 represents the water level at node n in the section upstream of the control point at time k + 1, that is to say, the incoming water level ye (Figure 3b).
If discretization is carried out with time, and we rewrite the control structures (3), join them with the characteristics of (2), and then change the nomenclature considering a structured grid, the step-by-step derivation of Equation (4) can be found in [13], so we arrive at the following system of six equations:
M = f 1 , f 2 , f 3 , f 4 , f 5 , f 6 x P , y n k + 1 , v n k + 1 , y 1 k + 1 , v 1 k + 1 , x Q N = f 1 , f 2 , f 3 , f 4 , f 5 , f 6 x P , y P , v P , y Q , v Q , x Q L = 0 0 0 0 0 f u T S = x P , y P , v P , y Q , v Q , x Q x P , y n 2 k , v n 2 k , y n 1 k , v n 1 k , y n k , v n k , y 1 k , v 1 k , y 2 k , v 2 k , y 3 k , v 3 k , x Q
f 1 x n x P 1 2 Δ t v n k + 1 + c n k + 1 + v P + c P = 0 f 2 v n k + 1 v P + g 2 c n k + 1 + c P c n k + 1 c P y n k + 1 y P g Δ t S f n k + 1 + S f P 2 S 0 = 0 f 3 v 1 k + 1 v Q g 2 c 1 k + 1 + c Q c 1 k + 1 c Q y 1 k + 1 y Q g Δ t S f 1 k + 1 + S f Q 2 S 0 = 0 f 4 x 1 k + 1 x Q 1 2 Δ t v 1 k + 1 c 1 k + 1 + v Q c Q = 0 f 5 A y n k + 1 v n k + 1 q b q s y n k + 1 A y 1 k + 1 v 1 k + 1 q o f f t a k e ( y n k + 1 ) = 0 f 6 A y 1 k + 1 v 1 k + 1 k c u y n k + 1 y 1 k + 1 + d = 0
where Δt = tk+1 − tP = tk+1 − tQ, yP(xP) = s(xP, yn−2k, yn−1k, ynk), yQ(xQ) = s(xQ, y1k, y2k, y3k), vP(xP) = s(xP, vn−2k, vn−1k, vnk), vQ(xQ) = s(xQ, v1k, v2k, v3k), cnk+1 = c(ynk+1), c1k+1 = c(y1k+1), Sfnk+1 = Sf(ynk+1,vnk+1), and Sf1k+1 = Sf(y1k+1,v1k+1), where the unknowns are xP, ynk+1, vnk+1, y1k+1, v1k+1, and xQ. In order to continue with the calculation of the influences of a general parameter φ, it is necessary to assume that this parameter defines the opening of the gate; this is u(φ). Therefore, applying once more the implicit function theorem to (4), with the assumption that yi−1k, vi−1k, yik, vik, yi+1k, vi+1k, yi+1k+1, and vi+1k+1 now depend on a general parameter φ, we can rebuild the equation systems (4) and obtain the next expression:
M u ϕ x P y 1 k + 1 v 1 k + 1 y n k + 1 v n k + 1 x Q = N S ϕ y n 2 k v n 2 k y n 1 k v n 1 k y n k v n k y 1 k v 1 k y 2 k v 2 k y 3 k v 3 k + L u ϕ
where the control variable (φ) could be the gate trajectory or pump flow trajectory, that is, another operating variable according to [33,34]. In (6) for the first time, the gate opening u(φ) explicitly appears in the description. Despite the fact that the specific form of this function is still unknown (19), it shows that the influence of the parameter φ on flow conditions at time k + 1 is the sum of the indirect influence of the conditions at instant k and the direct influence of the opening at instant k + 1 through the term ∂u/∂φnk+1.

3. The Linear Hydraulic Model

If all the matrix files (4) of all the state variables (water level “y” and velocity “v”) of any j-gate trajectory ( X U ) are organized and lumped together in a single matrix, the following hydraulic influence matrix, denoted by HIM X(U), is obtained, which defines the behavior of the irrigation canal (y and v) in every section regarding control operation variables (u):
H I M X U = X 1 k F U u j 1 X 1 k F U u j K X 1 k F U u j K F = x 1 U u j 1 x 1 U u j K F x k U u j K x k F U u j 1 x k F U u j K F
The HIM matrix already calculates the water velocity perturbation introduced by gate movements. However, it is not included in this manuscript because common control algorithms typically estimate gate movements based on water levels at checkpoints. Therefore, control algorithms only require water level estimation from models. This is because velocity sensors are usually more expensive and harder to calibrate.

4. Results: Verification of the Linear Hydraulic Model

4.1. First Test Case: Irrigation Canal with Two Pools

In order to show the accuracy of our HIM model (linear model) and V.S., a model using the Saint-Venant in its complete form, we evaluated both models taking account a disturbance introduced in a canal in a steady state. This test is explained using an illustrative example. The geometry and features of the irrigation canal (pool length, canal sections, and Manning’s coefficient; see Table 1) or water control infrastructure features (gate discharge coefficient and gate width; see Table 1) proposed in this test case are based on [35]. A similar canal was also used by different authors, such as [36,37]. The canal geometry adopted in our examples is based on Liu’s example. We can further illustrate the concept of the influence of a gate trajectory variable on the state vector. To do this, consider a numerical example based on a simulation carried out on a 5 km long canal with two pools and three checkpoints (see Figure 4 and Table 1). Each pool is divided into 125 numerical cells, and therefore, there are 126 computational nodes, and nS = nI + nII = 126 + 126 = 252 (cross sections). In this manner, the state vector has 504 components. The boundary conditions are steady: the upstream boundary condition (upstream gate 1) is a constant water level H, and the downstream boundary condition (outlet) is a specified discharge Q (checkpoint 2). Pump station and orifice offtake features are detailed in Table 2. The initial conditions for this test case are provided in Table 3.
In these examples, we considered an upstream large reservoir, whose water level Hreservoir is 3 m and constant throughout the test. At the middle of the canal (end of the pool 1), there is a control structure (checkpoint 1) with a gate and an orifice offtake (3) (see Table 2), whose discharge is 5 m3/s.
Here, Cd is the discharge coefficient for an offtake orifice, and A0 is the area of the offtake orifice, where y is the water level in canal at offtake, and y0 is the orifice offtake height. At the end of the last pool, there is a control structure with a pump station, which discharges 5 m3/s. The flow through the orifice depends on the level over the orifice and the disturbance. This example starts from an initial steady state (Table 3) with a specific demand delivery constant at the checkpoint 1 (5 m3/s through the orifice offtake) and a constant discharge of 5 m3/s by the pump station at checkpoint 2 (see Figure 4). The disturbance is not introduced initially.
The error between both models (HIM model vs. Saint-Venant in complete form) is estimated using four metrics: the maximum absolute error (I1), the maximum relative error (I2), root mean square error (I3), and Nash–Sutcliffe efficiency (I4). These indices quantify the deviation of the HIM model from the complete Saint-Venant model at different checkpoints along the canal and at multiple time steps.
(A) Maximum Absolute Error (I1):
This index represents the maximum absolute difference in water level predictions between both models at any given time step:
Maximum   Absolute   error   or   I 1   ( cm ) :   m a x   i 1 , n y p i j y i j
where ypij is the water level obtained by the HIM model at time step i at the checkpoint j. yij is the water level obtained by the complete Saint-Venant model at time step i at checkpoint j. n is the total number of time steps in the simulation.
(B) Mean Relative Error (I2):
This index expresses the maximum relative deviation between both models as a percentage of the Saint-Venant model’s water level, across all time steps and checkpoints:
Maximum   relative   error   or   I 2   ( % ) :   1 n   i 1 n y p i j y i j y i j × 100
where all variables are defined as in the previous equation.
(C) Root Mean Square Error (RMSE):
This indicator quantifies the average magnitude of the error between the water level predictions of the simplified model and the complete Saint-Venant model across all time steps:
Root   mean   square   error   or   I 3   ( cm ) :   1 n   i = 1 n y p i j y i j 2
where all other variables are defined as above.
(D) Nash–Sutcliffe Efficiency (NSE):
This dimensionless indicator evaluates the predictive performance of the simplified model compared to the variability of the observed data from the Saint-Venant model. Its values range from −∞ to 1:
Nash-Sutcliffe   Efficiency   or   I 4   ( dimensionless ) :   1   i = 1 n y p i j y i j 2   i = 1 n y i j y j ¯ 2
where ȳj is the mean of the Saint-Venant model water levels at checkpoint j.
A value of NSE = 1 indicates a perfect match, while NSE ≤ 0 suggests that the model performs worse than simply using the mean of observed values. For this study, the simulation was run with a time step of 300 s over a total duration of 4 h, and the error was evaluated at multiple checkpoints along the canal.
These performance indicators (I1, I2, I3, and I4) provide a quantitative measure of the accuracy of the HIM model compared to the complete Saint-Venant model, indicating how closely the simplified model approximates the full hydraulic behavior at different locations and times.
The gate movement is set based on a maximum flow disturbance assumed for the system in the context of feedback control in real time. In other words, the criterion was to limit the maximum permissible perturbation for real-time operation according to [36,37,38]. In this context, four different scenarios were proposed, each considering different disturbance values in gate 2 movement: 10% (25 cm), 5% (12.5 cm), 1% (2.5 cm), and 0.5% (1.25 cm). The gate movement conditions are addressed to simulate the impact of disturbances in inflow conditions.
For that reason, it would be useful show the initial and the perturbed discharge under the last sluice gate. The flow discharge by the gate 2 (checkpoint 1) is 5 m3/s in a steady state, and the flow discharge introducing by a gate movement of 10% over the gate height is 5.8 m3/s. In other words, this gate movement involves an incremental discharge of more than 10%. For that reason, introducing a gate-movement higher 10% is not the target of this paper since the HIM simulated lineal model is used in real time, and this sort of disturbance is quite difficult to manage in real time just by feedforward controls. This is why the gate movement disturbance was established to range between 10% and 0.5% (see [39,40]).
The test was performed for four cases; nevertheless, the position of the disturbance in time was always the same (the range step from 300 s to 600 s). The differences between the cases depended on the magnitude of the disturbance. The results obtained using both models are shown in Figure 5.
The results obtained in the four cases are shown in Table 4. It can be observed that the error in the first index is significant only in checkpoint 2 of case 1, where the disturbance is 10% above the canal flow. In contrast, the values of the second and third indices are less critical. On the other hand, the fourth index at checkpoint 2 is quite high. This is because the water level at checkpoint 2 remains constant over time, meaning that the average water level equals the observed value throughout the entire period (see, Y (Target 2) Saint-Venant in Figure 5). As a result, when there is a small error between the predicted and the Saint-Venant solution, dividing by a denominator that is close to zero causes the value of the fourth index to increase significantly. Notably, the HIM (linear model) proves to be an excellent tool for understanding flow behavior in real-time scenarios, particularly when flow disturbances are small, and a quick and accurate estimation of the simulated flow state is required.
The computational time for the test cases, considering a PC with an i5 processor and 8 GB of RAM, was significantly different for the two models. For the HIM model, the computational time was 0.01 s, whereas for the full Saint-Venant equations, it was 30 s.

4.2. Second Test Case: ASCE Test Cases

In this numerical example, our goal was to assess the HIM model in a long irrigation canal located in California (USA) within a canal system featuring multiple pools, each experiencing simultaneous flow extractions. To achieve this, we utilized the test cases proposed by the ASCE committee to evaluate control algorithms.
The ASCE Task Committee [41] examines two canals (Maricopa Stanfield and Corning Canal) under various scenarios. In this manuscript, we tested the HIM simulator only on the Corning Canal because this canal exhibits geometric and operational features significantly different from those of the canal tested in the first test cases. The geometry and features of the Corning Canal (pool length, canal sections, and Manning’s coefficient; see Table 5) or water control infrastructure features (gate discharge coefficient and gate width; see Table 5 and Table 6) proposed in this test case are based on [42]. The geometric properties of the Corning Canal are detailed in Table 5 and illustrated in Figure 6. In each canal, gravity outlet orifices are located at the downstream end of every pool.
The ASCE committee suggests the initial conditions provided in Table 6. In this test, two cases were performed involving a disturbance introduced into the system by the first gate, which changed its position between time steps 0 s and 900 s. In this context, two different scenarios were proposed, each considering different disturbance values in gate 1 movement: 10% (23 cm) and 5% (12.5 cm), according to [39,40].
The results obtained considering performance indicators I1 and I2 are the following (Table 7 and Table 8).
Errors in the first, second, third, and fourth performance indicators were consistently low across all checkpoints, even with a 10% increase in canal flow. In this second test case, all results improved compared to the last test case due to the geometric features of the canal, which help reduce perturbation effects at the checkpoints. A geometry with large cross-sections helps to mitigate the side effects of the water wave by storing the excess water without significantly increasing water levels (see Figure 7).
The computational time for the test cases, considering a PC with an i5 processor and 8 GB of RAM, was quite different for the two models. For the HIM model, the computational time was 0.05 s, whereas for the full Saint-Venant equations, it was 100 s. As the irrigation canal systems became more complex, the computational time for the full Saint Venant models increased, making the HIM matrix increasingly useful for real-time control algorithms. However, it is important to keep in mind that the microprocessors deployed in low-power control algorithms for irrigation gates are not as advanced as the processors found in current laptops.

5. Discussion

5.1. Evaluation and Comparison

The numerical approach presented in this paper employs a second-order finite difference discretization, known as the “method of characteristic curves”, applied to a structured grid. This discretization provides a practical framework for iteratively solving the equations, enabling accurate prediction of flow behavior over extended time periods. Integrating characteristic curves with the structured grid improves numerical precision, especially during flow interpolation at fixed points.
A key contribution of this study is the development of the linear hydraulic model (HIM), which consolidates all state variables, namely water level (y) and velocity (v), into a single matrix. This model is valuable for irrigation control, where real-time water level predictions matter more than accurate velocity measurements due to sensor cost and calibration complexity.
Numerous previous studies [42,43,44,45,46,47,48,49,50,51] have employed high-order models based on the Saint-Venant equations to simulate the behavior of irrigation canals. However, these models involve a high computational cost, particularly in real-time applications. In contrast, the HIM model offers a significant advantage in terms of simulation time, suggesting its feasibility for real-time control contexts without sacrificing accuracy.
Other authors have proposed approximated models, such as the Muskingum model, the integrator delay (ID) model, gray-box models, and black-box models, which have been developed using practical assumptions, fundamental physical principles, empirical observations, and heuristic knowledge [52]. Specifically, the Muskingum–Cunge and integrator delay (ID) models offer high computational efficiency, often requiring computation times comparable to those of the HIM. However, these models make strong assumptions about the flow behavior (e.g., linear storage–discharge relationships), which limits their ability to accurately capture the transient dynamics in open-channel systems, especially near gates or pumps where localized nonlinearities are significant. In contrast, HIM, although linear, preserves a spatially distributed description of the flow, allowing it to better capture the dynamics along the canal while still maintaining a low computational cost, especially in real-time applications.
Similarly, solutions dedicated to real-time simulation, such as those presented in [53,54,55,56,57,58], propose simplified versions of the Saint-Venant equations. While these approaches improve computational speed, they fail to fully capture the complex interactions between various hydraulic variables in irrigation canals. The HIM model, designed to handle free-surface conditions and nonlinear terms in water dynamics, represents a more robust solution for dynamic and complex scenarios.
On the other hand, studies such as [59] compare models based on neural networks, fuzzy systems, and linear systems. In particular, some authors [60] utilized pattern search methods for the online identification of time-varying delays. These models function as black-box approaches, relying on extensive datasets and parallel processing capabilities. However, a major limitation of these methods is their difficulty in learning all possible scenarios and potential states of an irrigation system, leading to “blind spots” where the model’s predictive capability is compromised. In this sense, data-driven models (e.g., black-box or grey-box approaches) can offer good performance and capture nonlinear effects, but their accuracy and generalization capability depend heavily on the quantity, quality, and representativeness of the available training data. Moreover, they often require a substantial amount of data preprocessing, calibration, and validation, which can be a limitation in real-time control where not all scenarios could be preprocessed.

5.2. HIM Limitations

As a linear model, HIM is well suited for scenarios where flow changes are gradual and where the hydraulic system is operating under normal conditions. In particular, it performs reliably when gate movements, pump operations, and downstream demands evolve smoothly, as is typically expected in real-time operational contexts. In contrast, when large and abrupt changes occur, such as sudden gate openings or pump activations, nonlinear effects become more significant, and these events are better addressed through offline planning strategies. Attempting to manage such drastic transitions in real time is inherently complex and may not yield optimal results.
Moreover, even under smooth operational regimes, some level of nonlinearity persists due to the intrinsic behavior of hydraulic structures like gates and pumps. These residual nonlinearities, although moderate, can lead to deviations in the free surface profile that the HIM model does not capture. This divergence becomes more noticeable over time or when structural transitions introduce localized effects not represented in the linear formulation.
This phenomenon is observable in our results. In both case studies, the control targets are located just upstream of gates, where sudden changes in water depth caused by wave propagation are more pronounced. For example, in Figure 5 (target level 1), the highest error between the HIM and the reference model occurs around 600 s, coinciding with the moment of greatest free surface variation, which is not a coincidence, as it coincides with the wave crest arriving at target point 1. On the other hand, when the system stabilizes and these nonlinear effects diminish, both models produce increasingly similar results.
Additionally, the impact of these nonlinearities is not solely dependent on the perturbation introduced (e.g., gate movement or pumping variation) but also on the geometry of the canal and the prevailing hydrodynamic conditions before the disturbance. Therefore, it is important to evaluate in each specific case how and when the HIM model loses accuracy with respect to more comprehensive models, such as the full Saint-Venant equations. This evaluation can help determine when a recalibration or update of the HIM parameters is necessary, based on the actual operating conditions of the system. For instance, if we look at examples 1 and 2, the errors between the HIM model and the complete Saint-Venant equations are greater in the first test case than in the second test case, even though the perturbations are similar in both test cases. This is because, as previously mentioned, the geometry of the canals and the hydrodynamic conditions are very different in both test cases.

5.3. Future Research

While the HIM model demonstrates significant improvements in simulating irrigation canals compared to traditional methods, particularly in real-time control applications, several areas require further investigation in future research:
  • The accuracy of the HIM model could be enhanced by refining its boundary condition formulations, particularly for systems with more complex geometries;
  • Although the HIM model significantly reduces simulation time, further research is required to evaluate the propagation of small errors, particularly under extreme or highly nonlinear conditions. Recalculating the HIM model should be considered only in cases of discrepancies between the Saint-Venant complete model and the HIM model due to nonlinearity;
  • It is expected that future research could improve the HIM model by integrating machine learning techniques to adjust parameters in real time, leading to even faster and more accurate simulations;
  • Testing a real-time controller using the HIM model and the complete Saint-Venant equations and analyzing the gate control trajectories in both models and estimating the final control precision would be helpful;
  • Future work should also include testing the HIM model in a real-world irrigation system to assess its practical performance and applicability. Despite its promising performance, applying the HIM model to real-world agricultural irrigation systems presents several challenges:
    • Data availability and quality: Accurate simulations require detailed input data, including terrain features, water sources, soil properties, and crop types. Obtaining and maintaining such datasets can be challenging, particularly in remote or less-documented regions. For instance, high-quality topographical and hydrological data might not always be readily available, which can impact the model’s precision. In some cases, satellite imagery or remote sensing technologies may help to mitigate data scarcity, but their accuracy still needs to be validated for specific environments;
    • Calibration and validation: The model must be calibrated and validated using real field data to ensure its reliability in practice. While several methods exist in the literature to address this challenge [61], further empirical studies are necessary to refine the HIM model for use in several environments. Ideally, calibration should involve long-term field studies that capture the dynamic changes in the irrigation system, where coefficients involved in the Saint-Venant equations, such as the Manning coefficient, gate coefficient, or orifice off-take coefficient, may change over time. The lack of such data can hinder the validation process and lead to potential inaccuracies in real-world application;
    • Model adaptability: Agricultural fields are inherently heterogeneous, with varying weather conditions, water availability, and crop growth affecting irrigation dynamics. These factors pose a significant challenge for the HIM model, which must be adaptable to such variability to ensure long-term applicability. The model should integrate real-time seasonal variations in water demand and assess its accuracy in this new environment, which may require additional modifications or extensions;
    • Operational challenges: Besides technical hurdles, implementing the HIM model in real-world irrigation systems also requires addressing practical issues such as the cost and time associated with data collection, model deployment, and continuous monitoring. Operators may face difficulties in integrating the model into existing infrastructure, especially if they lack the necessary technical expertise or resources. Therefore, developing user-friendly interfaces and automated systems for real-time model application and feedback could facilitate the adoption of the model in operational settings.

6. Conclusions

The development of the HIM model was driven by a clear objective: to create a hydraulic modeling framework capable of delivering accurate results while meeting the strict computational demands of real-time control systems. By linearizing the Saint-Venant equations in the unsteady state, the HIM achieves precisely that—a linear yet robust model that significantly reduces computation time without compromising its ability to represent the essential dynamics of open-channel flow. This balance between simplicity and reliability makes the HIM particularly well suited for implementation in irrigation networks, where decisions must be made rapidly and efficiently.
To validate its performance, the HIM model was tested in two contrasting scenarios by introducing perturbations ranging from 10% to 0.5% in gate movement height. The first test was properly conducted, and the predictions made by the HIM were nearly indistinguishable in almost all cases from those of the full Saint-Venant equations. The error metrics confirmed this precision: the maximum absolute error (I1) ranged between 7 cm and 0.2 cm, while the relative error (I2) remained between 0.7% and 0.023%. Further supporting the model’s accuracy, the root mean square error (I3) ranged from 2.4 cm to 0 cm. The Nash–Sutcliffe efficiency (I4) reached a minimum of 0.96 at checkpoint 1, indicating near-perfect agreement with the reference model. At checkpoint 2, however, the mean water level during the test was very close to the reference level, which caused the denominator of the indicator to approach zero. This led to a situation where even small discrepancies resulted in poor I4 scores, making the indicator unreliable in this specific case.
The second test case focused on the Corning Canal, a benchmark scenario proposed by the ASCE committee to evaluate control algorithms in irrigation systems. Unlike the first test case, this scenario involves a long canal divided into multiple interconnected pools with simultaneous downstream withdrawals an operationally more complex setup that reflects real-world irrigation challenges. The objective was to determine whether the HIM model could accurately capture the hydraulic dynamics of such a system, which includes varied geometries and multiple withdrawal points. To simulate disturbances, flow variations were introduced by adjusting gate 1 during the first 900 s of the simulation. Two scenarios were considered: one with a 10% variation (corresponding to a 23 cm gate displacement) and another with a 5% variation (12.5 cm). Initial conditions and geometric parameters were set according to the ASCE’s standard specifications for the Corning Canal.
The results confirmed that the HIM model maintained high accuracy even under these more demanding conditions. In the 10% disturbance scenario, the maximum absolute error (I1) at the four monitoring checkpoints ranged from 0.1 to 0.2 cm, while the maximum relative error (I2) remained between 0.018% and 0.023%. In the 5% disturbance case, these values dropped even further absolute errors ranged from 0.01 to 0.02 cm, and relative errors were below 0.01%. The root mean square error (I3) remained low throughout: for the 10% disturbance case, values ranged from 0.006 to 0.07 cm, while for the 5% case, they stayed between 0.004 and 0.04 cm. Lastly, the Nash–Sutcliffe efficiency (I4), which measures how well the model replicates observed data, remained consistently high. In the 10% disturbance scenario, all points scored above 0.95, and in the 5% case, values were still around 0.95.
These findings underscore the robustness of the HIM model in replicating the hydraulic behavior of the Corning Canal, even in the presence of significant flow changes and geometric complexities. While the full Saint-Venant equations require around 30 s per regulation period, the HIM completes the same simulation in just 0.01 s. This computational efficiency, combined with the model’s demonstrated accuracy, makes it a practical and powerful tool for predictive control in irrigation canals.

Author Contributions

Conceptualization, E.B.; methodology, E.B.; software, E.B. and M.T.Y.; validation, E.B., M.T.Y., and M.B; formal analysis, E.B. and M.T.Y.; investigation, E.B.; resources, P.A.; data curation, M.T.Y.; writing—original draft preparation, E.B., M.T.Y., P.A., and M.B.; writing—review and editing, E.B. and M.T.Y.; visualization, E.B. and M.T.Y.; supervision, E.B., M.T.Y., M.B., and P.A.; project administration, E.B. and M.T.Y.; funding acquisition, P.A. All authors have read and agreed to the published version of the manuscript.

Funding

The APC was funded by RIIS research group and Alectores grant from Polytechnic University of Catalonia (UPC).

Data Availability Statement

Data available on request due to restrictions, e.g., privacy or ethical. The data presented in this study are available on request from the corresponding author. The data are not publicly available due to institutional confidentiality policies.

Acknowledgments

We would like to express my sincere gratitude to the RIIS group and UPC for their generous support in covering the APC fees for this publication. Their continued encouragement and financial assistance have played a crucial role in making this work possible. I deeply appreciate their commitment to advancing research and fostering a collaborative environment.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. UNESCO, 2021. United Nations World Water Development Report 2021: Valuing Water; Facts and Figures. Available online: https://unesdoc.unesco.org/ark:/48223/pf0000375751.locale=en (accessed on 16 December 2024).
  2. United Nations, 2024. The Sustainable Development Goals Report 2023, United Nations Department of Economic and Social Affairs. [Online]. Available online: https://unstats.un.org/sdgs/report/2023/The-Sustainable-Development-Goals-Report-2023.pdf (accessed on 10 March 2025).
  3. Ingrao, C.; Strippoli, R.; Lagioia, G.; Huisingh, D. Water scarcity in agriculture: An overview of causes, impacts and approaches for reducing the risks. Heliyon 2023, 9, e18507. [Google Scholar] [CrossRef]
  4. Mekonnen, M.M.; Hoekstra, A.Y. Four billion people facing severe water scarcity. Sci. Adv. 2016, 2, e1500323. [Google Scholar] [CrossRef] [PubMed] [PubMed Central]
  5. Jägermeyr, J.; Pastor, A.; Biemans, H.; Gerten, D. Reconciling irrigated food production with environmental flows for Sustainable Development Goals implementation. Nat. Commun. 2017, 8, 15900. [Google Scholar] [CrossRef]
  6. Qin, J.; Duan, W.; Zou, S.; Chen, Y.; Huang, W.; Rosa, L. Global energy use and carbon emissions from irrigated agriculture. Nat. Commun. 2024, 15, 3084. [Google Scholar] [CrossRef] [PubMed] [PubMed Central]
  7. Tzanakakis, V.A.; Paranychianakis, N.V.; Angelakis, A.N. Water Supply and Water Scarcity. Water 2020, 12, 2347. [Google Scholar] [CrossRef]
  8. Dinar, A.; Tieu, A.; Huynh, H. Water scarcity impacts on global food production. Glob. Food Secur. 2019, 23, 212–226. [Google Scholar] [CrossRef]
  9. Aiswarya, L.; Siddharam; Gaddikeri, V.; Jatav, M.S.; Dimple; Rajput, J. Canal Automation and Management System to Improve Water Use Efficiency. In Recent Advancements in Sustainable Agricultural Practices; Yasheshwar, Mishra, A.K., Kumar, M., Eds.; Springer: Singapore, 2024. [Google Scholar] [CrossRef]
  10. Kadpan, W.R.; Mustafa, F.F.; Kadhim, H.T. A review of control automatically water irrigation canal using multi controllers and sensors. J. Eur. Des Systèmes Automatisés 2024, 57, 717–727. [Google Scholar] [CrossRef]
  11. Abioye, E.A.; Abidin, M.S.Z.; Aman, M.N.; Mahmud, M.S.A.; Buyamin, S. A model predictive controller for precision irrigation using discrete lagurre networks. Comput. Electron. Agric. 2021, 181, 105953. [Google Scholar] [CrossRef]
  12. Soler, J.; Gómez, M.; Rodellar, J. A control tool for irrigation canals with scheduled demands. J. Hydraul. Res. 2008, 46, 152–167. [Google Scholar] [CrossRef]
  13. Bonet Gil, E. Experimental Design and Verification of a Centralized Controller for Irrigation Canals. Tesi Doctoral, UPC, Escola Tècnica Superior d'Enginyers de Camins, Canals i Ports de Barcelona, 2015. Available online: http://hdl.handle.net/2117/95654 (accessed on 3 March 2025). [CrossRef]
  14. Liao, W.; Guan, G.; Tian, X. Exploring Explicit Delay Time for Volume Compensation in Feedforward Control of Canal Systems. Water 2019, 11, 1080. [Google Scholar] [CrossRef]
  15. Huang, M.; Tian, M.; Liu, Y.; Zhang, Y.; Zhou, J. Parameter optimization of PID controller for water and fertilizer control system based on partial attraction adaptive firefly algorithm. Sci. Rep. 2022, 12, 12182. [Google Scholar] [CrossRef]
  16. Chen, P.C.; Luo, Y.; Peng, Y.B.; Chen, Y.Q. Optimal robust fractional order (PID)-D-lambda controller synthesis for first order plus time delay systems. ISA Trans. 2021, 114, 136–149. [Google Scholar] [CrossRef]
  17. Arauz, T.; Maestre, J.M.; Tian, X.; Guan, G. Design of PI controllers for irrigation canals based on linear matrix inequalities. Water 2020, 12, 855. [Google Scholar] [CrossRef]
  18. Malaterre, P.O. PILOTE: Optimal control of irrigation canals. In Proceedings of the First International Conference on Water Resources Engineering, Irrigation and Drainage, San Antonio, TX, USA, 14–18 August 1995. [Google Scholar]
  19. Malaterre, P.O. Modelisation, Analysis and LQR Optimal Control of an Irrigation Canal. Ph.D. Thesis, LAAS-CNRS-ENGREF-Cemagref, Etude EEE nº14. FR. École Nationale du Génie Rural, des Eaux et des Forêts, Paris, France, 1994. [Google Scholar]
  20. Durdu, O.F. Optimal control of irrigation canals using recurrent dynamic neural network (RDNN). Crit. Transit. Water Environ. Resour. Manag. 2012, 1–12. [Google Scholar] [CrossRef]
  21. Heyden, M.; Pates, R.; Rantzer, A. A Structured Optimal Controller for Irrigation Networks. In Proceedings of the 2022 European Control Conference (ECC), London, UK, 11–14 July 2022; IEEE: Piscataway, NJ, USA, 2022. [Google Scholar]
  22. Gómez, M.; Rodellar, J.; Mantecón, J. Predicitve control method for decentralized operation of irrigation canals. Appl. Math. Model. J. 2001, 26, 1039–1056. [Google Scholar] [CrossRef]
  23. Rodellar, J.; Gómez, M.; Martín, J.P. Stable Predictive Control of Open-Channel Flow. J. Irrig. Drain. Eng. 1989, 115, 701–713. [Google Scholar] [CrossRef]
  24. Gejadze, I.; Malaterre, P.O. Discharge estimation under uncertainty using variational methods with application to the full Saint-Venant hydraulic network model. Int. J. Numer. Meth. Fluids 2016, 83, 405–430. [Google Scholar] [CrossRef]
  25. Hernández López, Y.; Rivas-Pérez, R.; Feliu-Batlle, V. IMC-PID controller with fractional-order filter for a main irrigation canal section. Rev. Científica De Ing. Electrónica Automática Comun. 2021, 42, 74–88. [Google Scholar]
  26. Alla, A.; Berardi, M.; Saluzzi, L. A feedback control strategy for optimizing irrigation in a Richards’ Equation framework. arXiv 2024, arXiv:2407.06477. [Google Scholar]
  27. Walker, W.R.; Skogerboe, G.V. Surface Irrigation: Theory and Practice; Prentice-Hall, Inc.: Englewood Cliffs, NJ, USA, 1987. [Google Scholar]
  28. Wylie, E.B. Control of transient free-surface flow. J. Hydr. Div. (ASCE) 1969, 40, 347–361. [Google Scholar] [CrossRef]
  29. Gómez, M. Contribución al Estudio del Movimiento Variable en Lámina Libre, en las Redes de Alcantarillado. Ph.D. Thesis, UPC, Barcelona, Spain, 1988. [Google Scholar]
  30. Ames, W.F. Numerical Methods for Partial Differential Equations; Academic Press Inc.: Orlando, FL, USA, 1977. [Google Scholar]
  31. Ducheteau, P.; Zachmann, D.W. Ecuaciones Diferenciales Parciales; McGraw-Hill Interamericana de México: Ciudad de México, Mexico, 1988. [Google Scholar]
  32. Crandall, S.H. Engineering Analysis—A Survey of Numercial Procedures; Wiley (Interescience): New York, NY, USA, 1956. [Google Scholar]
  33. Bonet, E. Experimental Design and Verification of a Centralize Controller for Irrigation Canals. Ph.D. Thesis, UPC, Technical University of Catalonia, Barcelona, Spain, 2015. [Google Scholar]
  34. Soler, J.; Gómez, M.; Bonet, E. Canal monitoring algorithm. J. Irrig. Drain. Eng. 2016, 142, 04015058. [Google Scholar] [CrossRef]
  35. Bautista, E.; Clemmens, A.J.; Strelkoff, T. Comparison of numerical procedures for gate stroking. J. Irrig. Drain. Eng. ASCE 1997, 113, 129–136. [Google Scholar] [CrossRef]
  36. Liu, F.; Feyen, J.; Berlamont, J. Computation method for regulating unsteady flow in open channels. J. Irrig. Drain. Eng. ASCE 1992, 118, 674–689. [Google Scholar] [CrossRef]
  37. Chevereau, G. Contribution à L’étude de la Régulation dans les Systems Hydrauliques à Surface Libre. Ph.D. Thesis, de l’Institut National Polytechnic de Grenoble, Grenoble, France, 1991. [Google Scholar]
  38. Litrico, X.; Fromion, V. Tuning of Robust Distant Downstream PI Controllers for an Irrigation Canal Pool. I: Theory. J. Irrig. Drain. Eng. 2006, 132, 359–368. [Google Scholar] [CrossRef]
  39. Aguilar, J.V.; Langarita, P.; Rodellar, J.; Linares, L.; Horváth, K. Predictive control of irrigation canals robust design and real-time implementation. Water Resour Manag. 2016, 30, 3829–3843. [Google Scholar] [CrossRef]
  40. Wu, Y.; Li, L.; Liu, Z.; Chen, X.; Huang, H. Real-Time Control of the Middle Route of South-to-North Water Diversion Project. Water 2021, 13, 97. [Google Scholar] [CrossRef]
  41. Clemmens, A.J.; Kacerek, T.F.; Grawitz, B.; Schuurmans, W. Test Cases for Canal Control Algorithms. J. Irri. Drain. ASCE 1998, 124, 23–30. [Google Scholar] [CrossRef]
  42. Durdu, O. Regulation of irrigation canals using a two-stage linear quadratic reliable control. Turk. J. Agric. For. 2004, 28, 111–120. [Google Scholar]
  43. Durdu, O. Control of transient flow in irrigation canals using Lyapunov fuzzy filter-based gaussian regulator. Int. J. Numer. Methods Fluids 2006, 50, 491–509. [Google Scholar] [CrossRef]
  44. Feng, X.; Wang, K. Stability analysis on automatic control methods of open canal. Wuhan Univ. J. Nat. Sci. 2011, 16, 325–331. [Google Scholar] [CrossRef]
  45. Garcia, A.; Hubbard, M.; De Vries, J. Open channel transient flow control by discrete time LQR methods. Automatica 1992, 28, 255–264. [Google Scholar] [CrossRef]
  46. Bonet, E.; Gómez, M.; Yubero, M.; Fernández-Francos, J. GoRoSoBo: An overall control diagram to improve the efficiency of water transport systems in real time. J. Hydroinformatics 2017, 19, 364–384. [Google Scholar] [CrossRef]
  47. Breckpot, M.; Agudelo, O.; Moor, B.; De Moor, B. Flood control with model predictive control for river systems with water reservoirs. J. Irrig. Drain. Eng. 2013, 139, 532–541. [Google Scholar] [CrossRef]
  48. Cen, L.; Wu, Z.; Chen, X.; Zou, Y.; Zhang, S. On modeling and constrained model predictive control of open irrigation canals. J. Control. Sci. Eng. 2017, 2017, 6257074. [Google Scholar] [CrossRef]
  49. Lacasta, A.; Morales-Hernández, M.; Brufau, P.; García-Navarro, P. Application of an adjoint-based optimization procedure for the optimal control of internal boundary conditions in the shallow water equations. J. Hydraul. Res. 2018, 56, 111–123. [Google Scholar] [CrossRef]
  50. Shang, Y.; Liu, R.; Li, T.; Zhang, C.; Wang, G. Transient flow control for an artificial open channel based on finite difference method. Sci. China Technol. Sci. 2011, 54, 781–792. [Google Scholar] [CrossRef]
  51. Xu, M.; Negenborn, R.; van Overloop, P.; van de Giesen, N. De saint-venant equations-based model assessment in model predictive control of open channel flow. Adv. Water Resour. 2012, 49, 37–45. [Google Scholar] [CrossRef]
  52. McCarthy, G. The Unit Hydrograph and Flood Routing; U.S. Engineer Office: Providence, RI, USA, 1939. [Google Scholar]
  53. Koenig, D.; Bedjaoui, N.; Litrico, X. Unknown input observers design for time-delay systems application to an open-channel. In Proceedings of the 44th IEEE conference on decision and control, Seville, Spain, 15 December 2005; pp. 5794–5799. [Google Scholar]
  54. Litrico, X.; Fromion, V. Modeling and Control of Hydrosystems; Springer: London, UK, 2009; pp. 1–409. [Google Scholar]
  55. Horváth, K.; Galvis, E.; Rodellar, J.; Valentín, M. Experimental comparison of canal models for control purposes using simulation and laboratory experiments. J. Hydroinformatics 2014, 16, 1390–1408. [Google Scholar] [CrossRef]
  56. Puig, V.; Ocampo-Martinez, C.; Negenborn, R. Transport of water versus transport over water: Model predictive control for combined water supply and navigability/sustainability in river systems. In Transport of Water Versus Transport Over Water; Ocampo-Martinez, C., Negenborn, R.R., Eds.; Springer International Publishing: Berlin/Heidelberg, Germany, 2015; pp. 13–32. [Google Scholar]
  57. Van Overloop, P.; Horvath, K.; Ekin, B. Model predictive control based on an integrator resonance model applied to an open water channel. Control. Eng. Pract. 2014, 27, 54–60. [Google Scholar] [CrossRef]
  58. Zheng, Z.; Wang, Z.; Zhao, J.; Zheng, H. Constrained model predictive control algorithm for cascaded irrigation canals. J. Irrig. Drain. Eng. 2019, 145, 04019009. [Google Scholar] [CrossRef]
  59. Tavares, I.; Borges, J.; Mendes, M.; Botto, M. Assessment of data-driven modeling strategies for water delivery canals. Neural Comput. Appl. 2013, 23, 625–633. [Google Scholar] [CrossRef]
  60. Herrera, J.; Ibeas, A.; De La Sen, M. Identification and control of integrative MIMO systems using pattern search algorithms: An application to irrigation channels. Eng. Appl. Artif. Intell. 2013, 26, 334–346. [Google Scholar] [CrossRef]
  61. Bonet, E.; Russo, B.; González, R.; Yubero, M.T.; Gómez, M.; Sánchez-Juny, M. The FC Algorithm to Estimate the Manning’s Roughness Coefficients of Irrigation Canals. Agriculture 2023, 13, 1351. [Google Scholar] [CrossRef]
Figure 1. The domain of dependence of point R with respect to water perturbations (y, v) originating from points P or Q.
Figure 1. The domain of dependence of point R with respect to water perturbations (y, v) originating from points P or Q.
Water 17 01368 g001
Figure 2. The steps for the interpolation onto a structured grid.
Figure 2. The steps for the interpolation onto a structured grid.
Water 17 01368 g002
Figure 3. (a) Diagram of a checkpoint with gate, lateral weir, and pumping. (b) Graph with discretization of checkpoints.
Figure 3. (a) Diagram of a checkpoint with gate, lateral weir, and pumping. (b) Graph with discretization of checkpoints.
Water 17 01368 g003
Figure 4. Sketch of the numerical example based on canal with two pools and two checkpoints. In the superior part, we can see a water depth profile corresponding to a backwater curve with H as the upstream water level and Q as the downstream discharge.
Figure 4. Sketch of the numerical example based on canal with two pools and two checkpoints. In the superior part, we can see a water depth profile corresponding to a backwater curve with H as the upstream water level and Q as the downstream discharge.
Water 17 01368 g004
Figure 5. Water level vs. time comparing HIM simulation and complete Saint-Venant equations in the first test case with a 10% gate movement disturbance at checkpoints 1 and 2 in the first test case.
Figure 5. Water level vs. time comparing HIM simulation and complete Saint-Venant equations in the first test case with a 10% gate movement disturbance at checkpoints 1 and 2 in the first test case.
Water 17 01368 g005
Figure 6. Corning Canal profile. The red lines mark the position of checkpoints. The first pool is number I, and the first checkpoint is number 1.
Figure 6. Corning Canal profile. The red lines mark the position of checkpoints. The first pool is number I, and the first checkpoint is number 1.
Water 17 01368 g006
Figure 7. Water level vs. time comparing HIM simulation and complete Saint-Venant equations in the first test case with a 10% gate movement disturbance at checkpoints 1 and 2 in second test cases.
Figure 7. Water level vs. time comparing HIM simulation and complete Saint-Venant equations in the first test case with a 10% gate movement disturbance at checkpoints 1 and 2 in second test cases.
Water 17 01368 g007
Table 1. Canal and gates features.
Table 1. Canal and gates features.
Pool
Number
(nº)
Pool
Length
(km)
Bottom
Slope
(%)
Side
Slopes
(H:V)
Manning’s
Coefficient
(n)
Bottom Width
(m)
Canal Depth
(m)
Gate Discharge Coefficient
(-)
Gate
Width
(m)
Gate
Height
(m)
Step
(m)
I2.50.11.5:10.02552.50.615.02.50.6
II2.50.11.5:10.02552.50.615.02.50.6
Table 2. Pump station/orifice offtake features.
Table 2. Pump station/orifice offtake features.
Number of Control Structure or Checkpoint
(nº)
Discharge Coef./
Diameter
Orifice Offtake
(m)
Orifice
Offtake Height
(m)
Pump
Flow
(m3/s)
12/0.850.8-
2--5.0
Table 3. Initial conditions in the canal.
Table 3. Initial conditions in the canal.
Control StructureInitial
Flow Rate (m3/s)
Control
Structure
(nº)
Initial Water Level Upstream (m)/
Offtake Orifice Outflow
(m3/s)
Control
Structure
(nº)
Pump Flow Discharge (m3/s)
Gate 110.0Checkpoint 12.0/5.0Checkpoint 25.0
Table 4. Index error between Linear Hydraulic Model and the Saint-Venant in their complete form.
Table 4. Index error between Linear Hydraulic Model and the Saint-Venant in their complete form.
I1
(cm)
I2
(%)
I3
(cm)
I4
(Dimensionless)
Checkpoint 1Checkpoint 2Checkpoint 1Checkpoint 2Checkpoint
1
Checkpoint
2
Checkpoint
1
Checkpoint
2
Case 14.06.70.170.650.92.410.96−137.2
Case 20.93.30.030.320.181.20.99−73.9
Case 30.10.700.060.0140.230.999−35.02
Case 400.400.0300.0121−12.1
Table 5. Features of Corning Canal pools.
Table 5. Features of Corning Canal pools.
Pool/Checkpoint Number
(nº)
Pool Length
(km)
Bottom Slope
(-)
Side
Slopes
(H:V)
Manning’s
Coefficient (n)
Bottom Width
(m)
Canal
Depth
(m)
Gate Width
(m)
Gate Height
(m)
Gate Discharge Coefficient
(-)
Step (m)Length from Gate 1 (km)Orifice Offtake Height (m)Lateral Spillway Height
(m)
000000072.30.610.20-3
I710−41.5:10.0272.572.30.610.271.052.5
II310−41.5:10.0272.572.30.610.2101.052.5
III310−41.5:10.0272.572.30.610.2131.052.5
IV410−41.5:10.0262.362.10.610.2170.952.3
V410−41.5:10.0262.362.10.610.2210.952.3
VI310−41.5:10.0252.351.80.610.2240.851.9
VII210−41.5:10.0251.951.80.610.2260.851.9
VIII210−41.5:10.0251.9----280.851.9
Table 6. Corning Canal control structures (Gate 1 is located at the upstream end of the canal).
Table 6. Corning Canal control structures (Gate 1 is located at the upstream end of the canal).
Offtake Initial Flow
(m3/s)
Check Initial Flow
(m3/s)
Heading-13.7
11.712.0
21.810.2
32.77.5
40.37.2
50.27.0
60.86.2
71.25.0
82.32.7
Table 7. Index error between HIM model and the Saint-Venant in their complete form (I1 and I2).
Table 7. Index error between HIM model and the Saint-Venant in their complete form (I1 and I2).
I1 (cm)I2 (%)
Checkpoint 1Checkpoint 2Checkpoint 3Checkpoint 4Checkpoint 1Checkpoint 2Checkpoint 3Checkpoint 4
Case 10.20.10.10.10.0230.0200.0180.022
Case 20.010.010.020.020.0080.010.0070.01
Table 8. Index error between HIM model and the Saint-Venant in their complete form (I3 and I4).
Table 8. Index error between HIM model and the Saint-Venant in their complete form (I3 and I4).
I3
(cm)
I4
(Dimensionless)
Checkpoint 1Checkpoint 2Checkpoint 3Checkpoint 4Checkpoint 1Checkpoint 2Checkpoint 3Checkpoint 4
Case 10.070.060.0060.0060.990.980.980.95
Case 20.040.040.0040.0040.990.980.950.90
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Bonet, E.; Yubero, M.T.; Bascompta, M.; Alfonso, P. A Linear Model for Irrigation Canals Operating in Real Time Applied in ASCE Test Cases. Water 2025, 17, 1368. https://doi.org/10.3390/w17091368

AMA Style

Bonet E, Yubero MT, Bascompta M, Alfonso P. A Linear Model for Irrigation Canals Operating in Real Time Applied in ASCE Test Cases. Water. 2025; 17(9):1368. https://doi.org/10.3390/w17091368

Chicago/Turabian Style

Bonet, Enrique, Maria Teresa Yubero, Marc Bascompta, and Pura Alfonso. 2025. "A Linear Model for Irrigation Canals Operating in Real Time Applied in ASCE Test Cases" Water 17, no. 9: 1368. https://doi.org/10.3390/w17091368

APA Style

Bonet, E., Yubero, M. T., Bascompta, M., & Alfonso, P. (2025). A Linear Model for Irrigation Canals Operating in Real Time Applied in ASCE Test Cases. Water, 17(9), 1368. https://doi.org/10.3390/w17091368

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop