
Create an iterator based on sens of the current iteration within a scenario (DSA)
Source:R/input_f.R
sens_iterator.Rd
Create an iterator based on sens of the current iteration within a scenario (DSA)
Details
In a situation like a DSA, where two (low and high) scenarios are run, sens will go from 1 to n_sensitivity*2. However, this is not ideal as the parameter selector may depend on knowing the parameter order (i.e., 1, 2, 3...), which means resetting the counter back to 1 once sens reaches n_sensitivity (or any multiple of n_sensitivity) is needed.