
Compute baseline avoided impacts per stake and flood scenario
sa_set_impact_base.RdCalculate the reference avoided damage vector across all flood scenarios and stakes, weighted by nominal hydraulic efficiency.
Arguments
- sa_input
A list of prepared sensitivity analysis inputs as returned by
prepare_sa().
Value
A named numeric vector of length length(stake) * length(scenario)
giving the reference avoided impacts for each stake-scenario combination.
Details
Extracts flood scenarios from sa_input[["flood"]][["scenario"]], stakes
from sa_input[["impact"]][["stake"]], and nominal hydraulic efficiency from
sa_input[["flood"]][["hydraulic_nominal"]].
Avoided damage values from sa_input[["impact"]] are scaled column-wise by
hydraulic efficiency, flattened into a vector, and named using the format
<stake>_<scenario>.
Author
Frédéric Grelot, frederic.grelot.1994_cran@m4x.org