How is the parameter p_steps evaluated in Morris method?

It is not clear from the tutorial how the p_steps parameter is evaluated in Morris method. Usually, the parameters that are defined are the total number of trajectories and the number of trajectories with the highest spread.


That is the step size through parameter space, i.e. how large of steps it should be exploring during the calculation. It’s a parameter of the Morris method that requires user input.

It is not clear to me how it requires user input since it runs fine without it, so I was wondering if it is calculated internally or there is a default value assigned

m = gsa(funcM,Morris(total_num_trajectory=20000,num_trajectory=2000),param_ranges; batch = false);

It defaults to 100 evenly spaced points.