1. Introduction
Open-channel conveyance systems, including irrigation canals, drainage channels, and flood conveyance structures, represent fundamental infrastructure supporting agricultural productivity, urban stormwater management, and flood risk mitigation. The hydraulic performance and long-term functionality of these systems are intrinsically governed by boundary stability, rendering lining selection a critical design decision with significant economic, hydraulic, and environmental implications [
1].
Historically, channel linings have been dominated by rigid materials such as concrete and masonry, owing to their low hydraulic roughness and predictable performance [
1]. However, extensive field experience has revealed notable limitations. Rigid linings are prone to cracking due to settlement and thermal stress, act as barriers to groundwater recharge, provide negligible ecological value, and exhibit brittle, catastrophic failure modes when distressed [
2,
3]. These shortcomings have motivated a paradigm shift toward flexible lining systems that offer enhanced adaptability and environmental compatibility.
Flexible linings, most notably loose rock riprap and vegetative covers, have emerged as sustainable alternatives capable of accommodating minor deformations while maintaining structural integrity. Unlike rigid systems, they permit infiltration and exfiltration processes, fail progressively rather than abruptly, and can support ecological functions such as riparian habitat development [
2,
4,
5]. Properly graded riprap provides robust erosion protection under a wide range of hydraulic conditions [
6], whereas vegetated linings contribute to both hydraulic stability and environmental enhancement.
Despite these advantages, the design of flexible-lined channels introduces substantial engineering complexity. Their significantly higher hydraulic roughness relative to rigid linings necessitates larger cross-sectional dimensions to convey equivalent discharges, thereby increasing excavation volumes, land requirements, and overall construction costs [
7]. This challenges the common assumption that flexible linings are inherently more economical [
1]. Furthermore, vegetated linings exhibit strongly stage-dependent hydraulic behavior. During establishment, temporary protection measures may be required [
8], while in mature stages, flow resistance varies dynamically with vegetation properties such as stiffness, density, and submergence, rendering the use of constant Manning’s coefficients inadequate [
9,
10].
Riprap-lined channels are subject to equally complex stability considerations. Their performance depends not only on median stone size but also on angularity, gradation, layer thickness, and slope geometry [
11]. Steep longitudinal and side slopes introduce additional destabilizing forces that are not fully captured by conventional one-dimensional assumptions, often leading to inaccurate predictions of incipient motion thresholds [
12]. These complexities highlight the limitations of simplified design methodologies when applied to flexible systems.
Conventional design practice relies predominantly on empirical approaches based on permissible velocity or tractive force concepts [
6,
13], as codified in widely adopted agency manuals [
8,
14]. While these methods are straightforward and practical, they treat alignment selection, cross-sectional design, and stability verification as sequential and largely independent processes. This fragmented approach typically results in conservative designs that satisfy constraints but do not achieve true optimality.
To overcome these limitations, significant research efforts have been directed toward integrated and optimization-based design methodologies. Early developments introduced direct analytical and graphical solutions for grass-lined channels [
15] and optimal stable trapezoidal sections [
16], along with hydraulic efficiency relationships for riprap-lined channels [
17]. These approaches were later extended into cost-minimization frameworks incorporating practical constraints such as freeboard, velocity limits, and flow regime conditions, often solved using evolutionary and stochastic optimization techniques [
18,
19]. Particle swarm optimization models further expanded these formulations by incorporating factors such as stone angularity, sediment-laden flow, and land acquisition costs [
20,
21].
In parallel, advances in geospatial analysis enabled the integration of terrain data into channel design. Geographic Information Systems (GIS) have been employed to optimize canal alignments and earthwork volumes [
22], with subsequent developments introducing three-dimensional heuristic optimization models that incorporate terrain constraints directly into the design process [
23]. These studies emphasize the importance of transitioning from isolated hydraulic optimization toward holistic, project-level optimization frameworks.
Simultaneously, substantial progress has been made in understanding the physical mechanisms governing flow resistance and stability. Biomechanical models have linked vegetation properties to hydraulic resistance [
24,
25], with real-scale experimental studies confirming the strong dependence of roughness on vegetation configuration and flow conditions [
9,
10]. For riprap, incipient motion theories have been extended to account for non-horizontal slopes [
26,
27], protection length effects [
28], and critical movability conditions under steep configurations [
12,
29]. Additional constraints arise from sediment transport considerations, where maintaining self-cleansing velocities is essential to prevent deposition [
30], and from hydraulic instabilities associated with near-critical flow regimes, including oscillations and wave formations [
31,
32].
Recognizing the inherent variability in flexible-lined systems, probabilistic approaches have been introduced to quantify design reliability. Multi-mode reliability frameworks accounting for overtopping, erosion, and sedimentation have demonstrated that uncertainty-aware designs can yield significantly different performance predictions compared to deterministic approaches [
33,
34]. Field observations further confirm the non-equilibrium behavior of vegetated and gravel-bed channels, where morphological adjustments may occur even under relatively stable flow conditions [
35]. More recently, predictive capabilities have been enhanced through data-driven and hybrid approaches, including neuro-fuzzy models for incipient motion prediction [
36] and advanced turbulence characterization for vegetated flows [
37].
Despite these substantial advancements across hydraulic theory, optimization methods, and probabilistic design, a critical gap remains in current practice. Existing studies largely address individual aspects of the design problems such as cross-sectional optimization, stability analysis, or alignment planning, without integrating them into a unified computational framework. In particular, the coupling of terrain-driven longitudinal profile optimization, least-cost cross-sectional design, and multi-mode reliability analysis remain unresolved. Moreover, the trade-off between economic efficiency and failure risk is seldom quantified explicitly, limiting the ability of practitioners to make informed, risk-calibrated decisions.
To address this gap, the present study introduces VegyRap, an open-source, QGIS-based computational framework that integrates these traditionally disjointed components within a single geospatial environment. The framework combines terrain-driven longitudinal optimization using dynamic programming, least-cost cross-sectional design for both riprap and vegetated linings, and probabilistic reliability analysis incorporating multiple failure modes. By embedding these capabilities within a unified platform and enabling Pareto-based cost–risk trade-off evaluation, the proposed approach facilitates a transition from conservative, sequential design practices toward integrated, performance-based optimization. This advancement enables practitioners to identify not only hydraulically feasible solutions but also economically efficient and reliability-informed design alternatives, thereby directly addressing the key research gaps identified in the literature.
The primary objective of this study is to develop VegyRap, an integrated GIS-based computational framework designed for the optimal hydraulic design of flexible-lined trapezoidal channels. This framework simultaneously determines the optimal cross-sectional geometry for vegetated channels, as well as the optimal geometry and required median stone size for riprap-lined channels, to minimize total construction costs while adhering to strict hydraulic and geometric constraints. Furthermore, the research aims to couple longitudinal terrain-driven optimization with cross-sectional hydraulic design, which facilitates alignment and bed-profile refinement based on minimum earthwork principles within a unified workflow. To account for hydrologic, geometric, and roughness uncertainties, the study incorporates a multi-mode probabilistic reliability analysis using Monte Carlo simulation (MCS) that evaluates risks such as overtopping, erosion, sedimentation, and near-critical flow oscillation. Finally, the research seeks to quantify the marginal risk–cost efficiency of key design parameters to identify the most cost-effective levers for reducing failure probabilities, culminating in the implementation of a Pareto-based dual-objective optimization that explicitly evaluates cost–risk trade-offs and supports the selection of a preferred solution beyond the deterministic least-cost design
The remainder of this paper is structured as follows:
Section 2 outlines the theoretical background and methodology, describing the hydraulics of open channels, Manning’s equation, roughness coefficients and allowable shear stress for riprap and vegetated linings.
Section 3 discusses nine design examples of using the created tools to get the optimum design for riprap lining with high and low flow rates and vegetation lining.
Section 4 presents the key findings extracted from the results, highlighting the advantages and potential limitations of the proposed tool. Finally,
Section 5 presents the study’s limitations, and suggested future research topics aimed at further enhancing the optimal design of channel lining.
3. Results and Discussion of Least-Cost Optimization Cases
3.1. Overview of Design Examples
To systematically examine and verify the VegyRap plugin, nine design examples were considered, shown in
Table 1. Some examples have only a single run case, while others include up to seven different run cases, resulting in a total of 27 modeling case-runs (
Table 2). These cases were selected to span a wide range of hydraulic, geometric, and material conditions.
The examples are systematically selected to encompass a broad spectrum of hydraulic and lining conditions, including varying flow regimes, slope gradients, riprap and vegetation linings, and design constraints, while benchmarking the tool’s performance against established methods and published studies to ensure reliability and accuracy. The progression moves from theoretical least-cost optimization to an integrated real-world application, culminating in a detailed case study that incorporates terrain analysis, reliability, and sensitivity assessments. The examples are organized into two main groups: Examples 1–8 focus on least-cost optimal design validation, using the VegyRap plugin under diverse hydraulic and geometric scenarios to isolate the influence of specific parameters (e.g., flow rate, slope, lining type, and constraints) on design outcomes; Example 9 then presents an integrated case study for Wadi Al-Arja, demonstrating a holistic application of the toolset by combining SpatialRap for terrain and slope optimization with VegyRap for hydraulic design, and further incorporating reliability and sensitivity analyses to support risk-informed decision-making.
The first eight design examples focus on least-cost deterministic optimization under varied flow regimes, lining types, and benchmark comparisons in addition to investigating parametric sensitivities; the ninth example is an integrated real-world case study (Wadi Al-Arja, Saudi Arabia) that incorporates terrain-driven longitudinal profile optimization, probabilistic reliability analysis, and Pareto-based cost–risk trade-off evaluation.
Table 1 presents an overview of these nine examples, listing for each the hydraulic and characteristic input parameters including: the design discharge, longitudinal slope, lining type, primary objective, any benchmark reference, and the distinguishing feature that the example is intended to test.
The compiled numerical results of the least-cost optimization for the nine design examples, including optimized median stone size (d
50), bed width (b), flow depth (y), side slope (m), freeboard (FB), total depth (Y
t), lining thickness, unit cost, Froude number, velocity, and Manning’s coefficient, are presented in
Table 2.
3.2. Design Trajectories Governing Riprap-Lined Channel Optimization
Figure 5 illustrates the typical design output trajectories for a riprap-lined channel (Design Example 1, Case 1), mapping hydraulic, geometric, and economic responses as a function of
. The total cost curve (
Figure 5a) exhibits convexity, reflecting competing excavation and lining costs. For small
, limited permissible shear stress forces a wide, shallow geometry, making excavation cost dominant. As
increases, higher allowable shear stress reduces bed width and excavation, lowering cost. Beyond a threshold (~130 mm), further enlargement yields diminishing geometric returns; the marginal decrease in excavation no longer offsets the rise in lining cost, defining a global minimum, an equilibrium between excavation and lining expenditures.
Figure 5a,b reveal that the lower feasibility bound is set by a spatial constraint, not shear stress alone. Below a critical
(100–110 mm), the required bed width exceeds the 10 m maximum, rendering designs infeasible even when shear stress is adequate. Once
enters the feasible domain, enhanced boundary roughness and higher permissible shear stress allow a more compact geometry: bed width decreases rapidly, flow remains subcritical, and larger stone sizes permit steeper side slopes, progressing from 3:1 to 2.5:1 (
Figure 5c), governed by angle-of-repose characteristics.
These geometric step-changes drive the cost trend. Initial cost reduction (
Figure 5a) stems from narrower beds and steeper slopes, but this advantage is progressively offset by thicker lining material. The global minimum emerges where marginal savings from geometric compactness exactly balance the marginal cost of additional riprap.
The global minimum cost solution emerges precisely at d50 = 130 mm. At this specific inflection point, the marginal savings generated from reduced excavation and a narrower channel footprint are perfectly offset by the marginal cost increases of the thicker stone lining. Crucially, the exact location of this global minimum is intrinsically dependent on the unit cost ratio of excavation to lining material . The optimum is established exactly where the marginal reduction in excavation cost equals the marginal increase in lining cost. Beyond this optimum, the cost penalty of the thicker riprap layer disproportionately dominates the objective function, rendering larger rock sizes economically inefficient despite their superior hydraulic stability and allowance for a steeper bank angle.
The parametric variations examined in Cases 2 through 7 of Design Example 1 (
Table 1) reveal that the optimal channel geometry is highly dynamic, governed by the shifting gradients of hydraulic loading, material properties, and boundary constraints. As summarized in
Table 2, increasing hydraulic loading, either through higher flow rate or steeper slope, amplifies boundary shear stress, forcing the system to adopt larger stone sizes and shifting the optimum toward a costlier, wider geometry. Conversely, the use of highly angular riprap increases the material’s internal friction angle, permitting steeper side slopes and more compact designs without requiring oversized stones. Notably, excessive flattening of the longitudinal slope diminishes flow kinetic energy; to convey the required discharge at such low velocities, the channel undergoes substantial cross-sectional expansion. This cross-sectional “bloat” causes earthwork costs to surge, demonstrating that maintaining sufficient specific energy is as critical to cost efficiency as managing shear stress.
In contrast, low-discharge, width-restricted channels (exemplified by Design Example 2, with a maximum bed width of 5 m) operate within a fundamentally different, constraint-dominated regime. Here, the hydraulic radius and total excavation volumes are inherently small, rendering the economic leverage of rock angularity and steeper side slopes virtually negligible. Instead, the design is governed by non-negotiable kinetic thresholds, specifically, the minimum velocity required to prevent sediment deposition. Although unconstrained optimization algorithms mathematically favor channel widening to enable the use of smaller, cheaper rocks, such lateral expansion dissipates flow energy and reduces velocities below the permissible limit for sediment transport, risking siltation. Consequently, in very low-flow environments (Q ≤ 0.5 m3/s) the physical requirement of maintaining adequate specific energy strictly overrides direct cost minimization, rendering least-cost geometries physically infeasible.
3.3. Design Trajectories Governing Vegetation-Lined Channel Optimization
Design Examples 1 and 2 dealt with rigid riprap linings, where the median stone size can be increased continuously to resist higher tractive forces. In contrast, Design Example 4 introduces the fundamentally different behavior of a vegetated (flexible) lining, where optimization is constrained by a fixed permissible shear stress (biologically controlled) and the dual-state hydraulic response of vegetation. Vegetated channels require a two-condition analysis. Condition 1 (stability phase) represents newly established or freshly mowed vegetation, which offers low flow retardance (low Manning’s ). This state produces the highest flow velocities and the maximum boundary shear stress . Condition 2 (capacity phase) represents mature, uncut vegetation with maximum retardance, which generates the greatest flow depth and determines the total required channel depth .
The optimization trajectories in
Figure 6 are nonlinear and effectively convex with respect to
.
Figure 6a shows that the mathematical algorithm strongly favors a compact channel, identifying a theoretical global minimum cost at a bed width of exactly
. At this narrow width, the lateral footprint is minimized, offering theoretical savings in excavation and seeding. However, forcing the discharge through such a narrow section makes the flow deep. During the critical Condition 1 stability phase, this depth produces a severe bed shear stress of
N/m
2. Unlike riprap channels, where stone size can simply be increased to handle such stress, the chosen vegetation has a fixed permissible shear stress of only 16.7 N/m
2 (
Figure 6c). Therefore, the mathematically “cheapest” solution at
is physically infeasible: the concentrated hydraulic forces would scour the vegetation from the soil matrix. To achieve hydraulic stability, the channel must be systematically widened to dissipate the tractive forces. As the bed width increases, the flow becomes shallower, and the bed shear stress progressively declines. The data indicates that the feasible design domain is only reached when
. At this spatial threshold, the flow is shallow enough that
drops below the permissible limit.
Just as minimum velocity constraints overrode cost optimization in the low-flow environment of Example 2, the fixed permissible shear stress (biologically controlled) overrides cost optimization in Example 4. The physical need to shallow the flow forces a large lateral expansion, from 4 m to 12 m, raising the final feasible cost well above the unconstrained mathematical minimum.
3.4. Benchmarking VegyRap: Economic Efficiency and Geometric Flexibility
To validate both the economic efficiency and numerical accuracy of the VegyRap plugin, the optimization outcomes were directly benchmarked against established design methodologies and published literature (Examples 3, 5, 6, 7, and 8). The comparative analysis, illustrated in
Figure 7, demonstrates that VegyRap consistently generates solutions that are either economically superior to, or directly comparable with, the benchmark designs. The magnitude of these cost reductions, however, is fundamentally contingent upon the governing design conditions and the allowable degree of geometric flexibility.
For rigid-boundary, riprap-lined channels (Examples 3, 6, and 7), the algorithm yielded notable cost reductions of up to 12%. This efficiency is achieved primarily through a mechanism of geometric redistribution. For instance, in the high-discharge scenario (Example 6: FHWA HEC-11, Q = 141.6 m3/s), VegyRap widened the channel from 6.1 m to 13.5 m, concurrently reducing the flow depth from 3.6 m to 2.48 m. Because boundary shear stress scales nonlinearly with flow depth (), this shallower profile precipitated a substantial 34% reduction in the required median stone size (, from 290 mm to 190 mm) and an 8.7% reduction in total cost.
Furthermore, Example 7 ( m3/s) demonstrated that fully lining the perimeter yielded a lower total cost ($447/m) than a partially lined configuration ($464/m). The partially lined channel, constrained by the weaker permissible shear stress of the native soil bed, is forced into a deeper, narrower section requiring substantial toe embedment. Conversely, full lining allows shear redistribution across the entire wetted perimeter, facilitating a wider, shallower section with thinner armor and the elimination of toe reinforcement.
These behaviors underscore the fundamental limitation of conventional sequential design, where geometry is predefined and lining is subsequently sized. Such traditional approaches inherently favor deeper sections that amplify applied shear and necessitate overly conservative, costly lining. By simultaneously optimizing geometry and boundary resistance, VegyRap actively exploits geometry–resistance coupling to bypass this inefficiency.
In contrast, the vegetated channel comparisons (Examples 5 and 8) exhibited near-identical economic performance between VegyRap and the benchmark solutions. For the Bermuda grass channel (Example 5, m3/s), VegyRap produced a distinctly wider and shallower geometry ( m, m) compared to the reference ( m, m), yet resulted in a virtually identical cost ($105.1/m vs. $105.5/m). A similar marginal variance (a 1.6% reduction) was observed for the higher-discharge grass–legume mix (Example 8).
This tight economic parity, despite geometric variance, confirms that multiple cross-sectional configurations can achieve equivalent economic performance, indicating that the optimization surface for vegetated channels is relatively flat near the global minimum. This flatness is a direct consequence of the stringent permissible shear constraints imposed during the critical vegetation establishment phase, which heavily restrict the feasible design space and limits the algorithmic flexibility seen in riprap channels.
It is imperative to interpret these benchmark comparisons with appropriate engineering context. Reference designs in published literature are rarely intended to represent absolute mathematical least-cost solutions. They frequently incorporate unquantified, site-specific practicalities—such as maintenance access, strict right-of-way limitations, constructability constraints, ecological targets, or agency-specific safety margins. Consequently, identifying a lower-cost optimized configuration does not imply a flaw in the benchmark design. Rather, it underscores that, within a strictly defined envelope of modeled constraints, integrated optimization leverages the critical interaction between channel geometry and boundary resistance to isolate the absolute economic floor of the design space.
3.5. Integrated Real-World Application: Wadi Al-Arja Case Study (Design Example 9)
3.5.1. Site Context and Ecological Engineering Objectives
Wadi Al-Arja is a medium-sized ephemeral wadi located in the Tabuk Region of northwestern Saudi Arabia. The system extends from the southwestern margins of the Prince Mohammad bin Salman Nature Reserve (PMBNR) toward the Red Sea coastal plain near Al-Wajh Governorate (
Figure 8). Functionally, the wadi acts as both a hydrological and ecological corridor, linking interior desert ecosystems with coastal environments. Flash floods generated by short-duration, high-intensity rainfall events dominate the flow regime, providing episodic groundwater recharge within alluvial deposits and facilitating sediment and nutrient redistribution across an arid landscape.
Morphologically, the wadi transitions from confined bedrock reaches upstream to broader alluvial and depositional zones downstream, where finer sediments and shallow groundwater support relatively dense riparian vegetation. Recent development pressures in the PMBNR–Al-Wajh transition zone, including transport infrastructure and eco-tourism facilities, have increased the need for flood risk mitigation and channel stabilization.
The proposed intervention consists of reshaping hydraulically sensitive reaches into a stabilized trapezoidal configuration. This measure is not intended to fully channelize the system but rather to regulate flood conveyance while preserving longitudinal connectivity and allowing controlled interaction between flow, sediment, and subsurface processes.
Riprap lining was selected as the primary stabilization measure due to its hydraulic robustness and hydro-ecological compatibility. Unlike impermeable linings, riprap provides high resistance to boundary shear during flash floods while maintaining permeability. The interstitial voids promote localized energy dissipation, extended residence time, and enhanced infiltration into underlying alluvial aquifers, an important consideration in ephemeral systems where flood events represent the primary recharge mechanism.
A design discharge of 40 m
3/s was adopted, together with a Log-Pearson Type III distribution (coefficient of variation = 0.5, skewness coefficient = 0.2), to reflect the strongly skewed flood behavior typical of arid catchments. Within this framework, VegyRap was employed to optimize cross-sectional geometry and riprap sizing under combined hydraulic, economic, and environmental criteria. Refer to the
Supplementary Materials for more information about VegyRap and its GUI.
3.5.2. Spatial Analysis and Longitudinal Profile Optimization
To minimize construction impacts, the longitudinal bed alignment was optimized to reduce total earthwork volume and achieve near-balanced cut–fill conditions. Discretizing the reach into 23 linear slope segments resulted in a minimum total earthwork volume of approximately 22.9 × 10
3 m
3 per meter width, with close equilibrium between cut and fill quantities (
Figure 9b). This step ensures geometric feasibility prior to cross-sectional hydraulic optimization.
3.5.3. Cross-Sectional Optimization
Following longitudinal alignment, the VegyRap plugin (
Figure 10a) was used to determine the least-cost stable trapezoidal cross-section and required riprap size. A uniform slope equal to the reach-average value was adopted. Hydraulic constraints included a minimum cleansing velocity of 0.7 m/s and exclusion of the transitional flow range (0.8 < Fr < 1.2).
The resulting design satisfies all hydraulic and stability criteria while minimizing total construction cost (
Figure 10b). The solution reflects the typical optimization trend observed in earlier examples: redistribution toward a geometrically efficient section that balances excavation and lining demand.
3.5.4. Reliability and Risk Assessment
The reliability analysis evaluated four distinct failure mechanisms, overtopping (capacity exceedance), erosion, siltation, and near-critical oscillation, which were assigned relative weighting factors of 0.75, 0.10, 0.10, and 0.05, respectively. The results indicate that the deterministic least-cost design yields a weighted failure probability of approximately 4.89% (
Figure 11a), with comprehensive statistical details for the adopted distributions provided in
Figure S14. Furthermore, a convergence analysis tracking the aggregated risk metric (RFM_all) demonstrates that the failure probability estimates successfully stabilize over the course of the 20,000 Monte Carlo iterations executed (
Figure 11b).
To explore mitigation options, geometric parameters were adjusted manually (e.g., increasing bed width), followed by re-evaluation. Increasing bed width to 7.5 m reduced the weighted probability of failure to 0.0453, demonstrating the trade-off between economic optimality and reliability (
Figure S15).
Sensitivity analysis was conducted to quantify the effectiveness of alternative design adjustments in reducing risk per unit cost increase (
Figure S16). Starting from the least-cost configuration, individual parameters were perturbed locally while holding others constant. A marginal efficiency metric was defined as
where
represents the aggregated failure index.
The reliability assessment activated three stochastic variables simultaneously, while the sensitivity analysis systematically perturbed four geometric and material parameters: channel bed width, depth, side slope, and riprap size (see
Figure 12 and
Figure S16).
The results (
Figure 12 and
Figure S17) show that both bed width and riprap median size significantly influence reliability; however, their cost efficiencies differ substantially. Increasing bed width from 7 to 8 m reduced risk by approximately 0.085 at a cost increase of 18 USD/m. In contrast, increasing
from 130 to 150 mm reduced risk by approximately 0.175 at a cost increase of 13 USD/m. Thus, riprap size increases yield nearly three times greater risk reduction per unit cost compared with geometric widening (
Table 3).
This indicates that once minimum hydraulic capacity is satisfied, incremental improvements in lining resistance provide the most cost-effective risk mitigation strategy.
To formalize the cost–risk trade-off, a multi-objective Pareto optimization was conducted (GUI tab,
Figure S18). Total construction cost and aggregated failure risk were treated as competing objectives. The horizontal axis in
Figure 13 represents the normalized cost ratio relative to the least-cost design, while the vertical axis represents the corresponding normalized risk ratio. The Pareto front exhibits a strongly nonlinear relationship: small increases in cost beyond the minimum-cost design yield disproportionately large reductions in system risk. This behavior reflects the proximity of least-cost solutions to hydraulic constraint boundaries. Under a predefined affordability constraint of a maximum 5% cost increase, a compromise solution was selected.
The adopted configuration (green marker in
Figure 13) corresponds to a bed width of 7.25 m, a flow depth of 2.60 m, a side slope of 2.5H:1V, and a riprap median size d
50 = 140 mm. This solution achieves a substantial reduction in aggregated failure probability while maintaining acceptable economic performance, yielding a marginal efficiency metric of 7.11 as computed from Equation (35).
4. Conclusions
This study presents the development and validation of VegyRap, an integrated open-source QGIS-based computational framework that automates and unifies three traditionally disjointed sequential tasks in flexible-lined channel design: terrain-driven longitudinal profile optimization, least-cost cross-sectional design for riprap and vegetated linings, and multi-mode probabilistic reliability analysis coupled with Pareto-based cost–risk trade-offs.
The systematic evaluation of the tool across diverse hydraulic regimes, benchmark comparisons, and the Wadi Al-Arja case study demonstrates that the explicit integration of spatial constraints, boundary resistance, and parameter uncertainty is essential for generating robust, site-adaptive engineering solutions.
Several substantive findings arise from the validation analyses and the deterministic least-cost optimization performed on the design cases. First, for riprap-lined channels, the optimization yields a convex total cost curve, which mirrors the competing demands of excavation and lining expenditures. The global least-cost solution occurs at a specific median stone size where the marginal saving from reduced excavation exactly balances the marginal cost of additional riprap. Stone angularity plays a decisive role: transitioning from very rounded to angular or crushed riprap increases the angle of repose by approximately 5–8°, permitting steeper stable side slopes (e.g., 2.5:1 instead of 3:1). This geometric adjustment reduces both excavation volume and wetted perimeter, yielding measurable construction cost reductions of 4–6% while sometimes even lowering the required d50. Second, for vegetated channels, the analysis demonstrates that a hierarchical two-phase design logic is essential: dimensions must first satisfy establishment-phase stability (Class E retardance) before long-term conveyance (Class B retardance) can be verified. Designs that ignore this sequence are hydraulically infeasible or prone to failure during vegetation maturation. Third, benchmarking against established methodologies shows that VegyRap consistently achieves cost reductions of 10–15% over traditional design practices, primarily by allowing geometric redistribution and wider, shallower sections that reduce boundary shear and thus required stone size, rather than by simply minimizing wetted perimeter.
Beyond deterministic optimization, the incorporation of Monte Carlo-based reliability analysis exposed the inherent fragility of absolute least-cost designs. Because optimization algorithms naturally drive geometries to the very margins of allowable shear and spatial constraints, the Wadi Al-Arja application demonstrated that relying solely on a deterministic optimum yields non-negligible failure probabilities, predominantly driven by scour. Through marginal risk–cost efficiency evaluations, this research established a critical principle for risk mitigation: once minimum hydraulic conveyance is achieved, augmenting boundary shear resistance (e.g., increasing median stone size) provides a risk reduction per unit cost nearly three times greater than geometric channel widening.
Ultimately, the implementation of Pareto-based dual optimization formalizes the critical trade-off between construction cost and system reliability. The strongly nonlinear Pareto fronts generated by the framework confirm that minor incremental investments slightly beyond the absolute minimum cost yield disproportionately massive reductions in failure probability. By providing continuous trade-off surfaces rather than a singular discrete output, VegyRap empowers decision-makers to navigate affordability constraints and stakeholder risk tolerance, culminating in defensible, resilient engineering configurations. Future research will focus on extending this framework to accommodate gradually varied flow conditions, incorporating climate non-stationarity into hydrologic inputs, and deploying machine learning surrogates to further accelerate probabilistic evaluations within the geospatial environment.
5. Limitations and Future Research Directions
Despite its demonstrated capabilities, the current version of the VegyRap framework possesses several limitations that warrant acknowledgment. Hydraulically, the tool assumes uniform steady-state flow within a standard, symmetrical trapezoidal cross-section, restricting its applicability in trans-critical reaches, transitions near hydraulic structures, or rapidly varied flow conditions. Additionally, while the tool assesses the probabilistic risk of sedimentation and active scour via boundary thresholds, it does not perform continuous morphodynamic routing or explicitly solve for bed-level changes driven by upstream sediment supply imbalances. Furthermore, the current workflow optimizes a single representative section per reach, meaning spatial variability in hydraulic or geotechnical conditions along the longitudinal profile is not explicitly modeled. Materially, the framework is currently parameterized exclusively for riprap and vegetative (Bermuda grass) linings. Finally, while depth-dependent, the freeboard formulation relies on empirical equations that do not account for complex dynamic factors such as wave run-up, debris blockage, or climate change adjustments.
Addressing these constraints forms the basis of the future research and development trajectory. To broaden its engineering utility, subsequent versions will extend the hydraulic engine beyond uniform flow assumptions to accommodate gradually varied and mixed flow conditions. This expansion will also encompass a wider array of cross-sectional profiles, specifically integrating capabilities for unsymmetric and compound trapezoidal geometries, alongside the development of optimal channel layout pathing directly within the SpatialRap module. The material scope will be expanded to include synthetic mats, gabions, and bio-engineered composites. Furthermore, the framework’s probabilistic capacity will be significantly elevated. While the current sensitivity and stochastic modules effectively handle up to five key variables, future iterations will accommodate a wider array of random variables to capture deeper systemic uncertainties. To manage the increased computational demand introduced by advanced gradually varied flow solvers, future work will upgrade the plugin architecture to support parallel computing and integrate efficient analytical reliability algorithms, such as the First-Order Reliability Method (FORM) and Second-Order Reliability Method (SORM). By drastically reducing computational overhead compared to traditional Monte Carlo simulations, these methodologies will ensure the framework remains highly responsive during intensive optimizations. Finally, deploying machine learning surrogates, embedding climate non-stationarity via non-parametric discharge distributions, coupling baseline geometries with dedicated 1D/2D morphodynamic solvers for long-term bed evolution modeling, and expanding the Pareto optimization to include socio-environmental externalities will transition the tool into a fully comprehensive decision-support environment.