Configuring the Monte Carlo Execution Options

You can use the execution options in the Monte Carlo Simulation adapter to optimize the simulation performance.

See Also
An Overview of the Optimization Techniques
About the Convergence Check
Configuring the Termination Criteria
Mapping Options and Attributes to Parameters
  1. From the Design Exploration section of the action bar, click Monte Carlo Simulation and drop it on the process diagram.
  2. Double-click Monte Carlo Simulation on the process diagram.
    The Monte Carlo Editor appears with the General tab selected. The Execution Options section is in the lower left.
  3. Optional: Select Execute in parallel to run sample points in parallel. For more information, see Parallel Execution of Workflows.

    The convergence check interval might limit the number of sample points that run in parallel to batches that are the size specified for the convergence check interval.

  4. Optional: Select After execution, reset to mean value point and run to reset random variables to their mean values after running all the Monte Carlo simulation points and the Monte Carlo subflow reruns.

    • If you select this option, the adapter retains the Monte Carlo parameters (inputs and outputs) at the values calculated for the mean value point.
    • If you clear this option, the Monte Carlo parameters retain the values associated with the last (random) Monte Carlo simulation point after execution.

  5. Optional: Enter a value for the Convergence check interval, which is the frequency at which the adapter checks if the Monte Carlo response statistics (low order—mean and standard deviation) have converged.

    By default, the adapter checks the convergence of the response statistics after every 25 sample points.

    Decreasing this value might result in premature convergence because the sample points are random or in random order/combinations. Sufficient sample points are required to determine if the response statistics are estimated accurately.

    Setting this value to zero disables the convergence check.

  6. Optional: Enter a value for the Convergence tolerance, which specifies the fractional change in the response mean and standard deviation that causes the simulation to stop before reaching the number of simulations specified in the Convergence check interval.

    For example, enter a value of 0.05 to stop the simulation process if the change in the response statistics goes below 5%.

    The adapter checks convergence after each set of simulations defined by the Convergence check interval. The default Convergence tolerance is 0.001.

    Setting this value to zero disables the convergence check.

  7. Optional: Select Execute subflow only once to limit the subflow execution to a single run.

    This option is useful in simulation processes that need to turn on or turn off the driver logic parametrically. In addition, this option is helpful in the debugging process if the simulation process does not run successfully.

  8. Optional: Under Activate Boolean parameters for, select one or more parameters to activate:
    OptionDescription
    Random variables

    Activates parameters for determining if the execution can use the variables listed in the Random variables tab.

    For more information, see Configuring the Random Variables.

    Responses

    Activates parameters for determining if the execution can use the responses listed in the Responses tab.

    For more information, see Configuring the Responses.

  9. Optional: Configure the adapter for database lookup.
    1. Click Advanced.
    2. From the Database Source options, click Create a new parameter and add to list .

      For more information, see About Database Lookup.

    3. In the Create New Parameter dialog box that appears, click to search for and select an analytics case.

      For more information, see Creating Activity Parameters.

    4. Click OK.
  10. Click OK.