Monte-Carlo simulations can generate resource overallocations due to changes in activity durations. When these newly generated overallocations should be avoided, each newly simulated schedule can be the subject to a new resource leveling. However, automatic resource leveling during simulation runs is often a complex task. It can be CPU intensive and can also lead to infeasible solutions in case not enough resources are available. The automatic leveling search engine during the simulation runs works with the following parameters from the
P2Schedule:level_resources function: