Skip to contents

Apply vulnerability reduction measures on the model

Usage

apply_measure(
  model,
  strategy_name,
  selection,
  hazard_range = getOption("floodam_building_hazard_range"),
  graph = getOption("floodam_building_graph"),
  save_pdf = FALSE,
  save_values = FALSE
)

Arguments

model

the model to which measures will be applied

strategy_name

the list of measures to apply

selection

the rooms where measures will be applied

hazard_range

list, default to getOption("floodam_building_hazard_range")

graph

boolean, default to getOption("floodam_building_graph")

save_pdf

boolean, default to FALSE

save_values

boolean, default to FALSE

Value

a list with all elements related to the implementation of the measures (the model without and with measures, the list of the measures, the costs and the efficiency)