Previous approaches to flexible-lined channel design typically isolate least-cost cross-section optimization from parameter uncertainty, or restrict reliability analysis to specific cases, limited failure modes, and proprietary codes. This paper presents VegyRap, an open-source QGIS-based plugin with an intuitive graphical user interface that unites these traditionally disjointed, sequential tasks into a single computational framework. The tool guides designers sequentially through: (i) terrain-driven longitudinal profile optimization using dynamic programming; (ii) least-cost cross-sectional optimization for riprap and vegetated linings; and (iii) multi-mode probabilistic reliability analysis coupled with dual risk–cost Pareto optimization. To seamlessly handle the stochastic behavior of uncertain variables, the framework features built-in statistical distributions and allows users to flexibly evaluate up to four distinct failure modes: overtopping, erosion, sedimentation, and near-critical flow oscillation. The framework’s capabilities are demonstrated through nine diverse design examples, incorporating benchmark validations against published studies and a comprehensive real-world case study in Wadi Al-Arja, Saudi Arabia. Results highlight that for vegetated channels, a hierarchical two-phase design logic is essential to satisfy both establishment-phase stability (Class E) and long-term conveyance (Class B). While benchmark comparisons show VegyRap achieves consistent cost reductions of 10–15% over traditional methods, the case study demonstrates that deterministic least-cost solutions can carry non-negligible failure probabilities. By utilizing marginal efficiency analysis to identify cost-effective enhancements, the integrated Pareto-based dual optimization produces transparent trade-off surfaces, empowering practitioners to transition from a single least-cost solution to a defensible, risk-calibrated preferred alternative.
Tawfik et al. (Fri,) studied this question.