Skip to contents

Update the configuration with min and max volumes to be simulated according to path ID

Usage

update_volume(scenario)

Arguments

scenario

dataframe scenario obtained with function create_scenario

Value

scenario_updated list configuration updated with the min and max volumes to be simulated

Examples

scenario_example <- create_scenario(
  system.file("input_1culture_2pop.xlsx", package = "ambre")
)
scenario_updated <- update_volume(scenario_example)
scenario_updated$config[[1]]$exposure
#> # A tibble: 3 × 10
#>   name                 type    value   min   max mode  mean  sd    meanlog sdlog
#>   <chr>                <chr>   <dbl> <dbl> <dbl> <lgl> <lgl> <lgl> <lgl>   <lgl>
#> 1 number_of_repeatings value    1000 NA    NA    NA    NA    NA    NA      NA   
#> 2 number_of_exposures  value     365 NA    NA    NA    NA    NA    NA      NA   
#> 3 volume_perEvent      triang…    NA  1e-3  1e-3 NA    NA    NA    NA      NA