set_ rs_max_deviation

Set the maximum deviation for the simulated activity durations below or above their baseline duration when doing a random simulation run.

This function should only be used when the scenario parameter of the P2Simulator:run_simulation function is set to 10 (i.e. random simulation) in combination P2Simulator:set_rs_percentage_early with the function.

Parameters: 
I/O Type Name Description
input integer percentage maximum percentage deviation from baseline, between 0 and 100
Example: 
function ()
        io.write('\n')
end
Class: 
P2Simulator