Configuring the Execution Options

You can edit the execution options for a simulation process, activity, or step.

Note: You cannot modify the execution options for a simulation process, activity, or step while the simulation process is running.

This task shows you how to:

Configure the Simulation Process Execution Options

  1. From the Simulate section of the action bar, click Execution Options .
    The Execution Options dialog box appears.
  2. From the tree in the left pane of the Execution Options dialog box, select the simulation process, and specify the following:
    OptionDescription
    Job Title Enter a title for the job.
    Job Description Enter a description of the job.
    Log Level

    Specify the level at which to log messages.

    You can choose from the following:

    • Debug: Developers use these messages for debugging system or adapter code. This log level generates a high volume of messages, potentially impacting system performance. This is the highest log level and sends all six types of messages (Debug, Info, Message, Warning, Error, or System Error) to your file.
    • Info: These messages contain routine status or other informational items that are not generally significant.
    • Message: These messages contain information considered relevant to the app running in the step, including output from the app itself.
    • Warning: These messages indicate a condition that you must be aware of but do not generally indicate a failure.
    • Error: These messages indicate an error condition caused by usage, operational data, or some other condition that you can correct.
    • System Error: These messages indicate a software system failure, such as an unusable infrastructure component or a programming error. Report these errors to system administrators for analysis. This is the lowest log level, sending only system error messages to your log file.

    Use Fixed Seed

    Select True to use a fixed seed to manually set the seed for the random number generator, or select False to use a random seed.

    Model Seed Value Enter a value for the model seed, which initializes the random number generator used in various adapters.
  3. Click OK to close the Execution Options dialog box.
  4. In the Execution Options Toolbar, you can perform the following actions:

    Option Description
    Searches the activities and steps in the process tree.
    Expands all the activities in the process tree.
    Collapses all the activities in the process tree.
    Sets the local host station or 3DOrchestrate Stations for all the activities. For more information see, 3DOrchestrate Stations.

Configure the Activity Execution Options

  1. From the Simulate section of the action bar, click Execution Options .
    The Execution Options dialog box appears.
  2. From the tree in the left pane of the Execution Options dialog box, select the activity, and specify the following:
    OptionDescription
    Cleanup

    Select when you want to clean up the files in the working directory. Some activities can leave files in the working directory for archiving or troubleshooting.

    You can choose from the following:

    • Always: Always clean up the files in the working directory.
    • On success: Clean up the files in the working directory if the activity runs successfully.
    • Never: Never clean up the files in the working directory.

    Execute this Activity Select True to run the activity, or select False to skip the activity.
    Monitor Files Allows Performance Study to monitor the files of the activity.
    Use fast-flow execution Choose whether or not to use fast flow execution. Fast flow execution improves the performance of the subflows under a process adapter.
    Note: Fast-flow execution is available only for an empty activity or an activity containing an Optimization adapter, DOE adapter, Monte Carlo Simulation adapter, or Loop adapter.

    Enabling this option overrides the Pause Before and Pause After step settings and runs the entire subflow on a single 3DOrchestrate Station without pausing before or after the step. You must disable this option to use the Pause Before or Pause After options.

    Max Run Time Specify a time limit (in seconds of wall-clock time) for when to end the simulation activity.

    In most cases, the default value of zero (no time limit) is the best choice. However, if you think the simulation might have issues completing, specify a limit much longer than the expected completion time to avoid incorrect termination.

    Save Iteration History Select True to save the history of the activity, or select False to discard it.
    Max Batch Size

    Maximum number of parallel simulations that Performance Study submits at the same time while the activity is running.

    For example, if an activity contains a DOE adapter running 100 simulations, Performance Study can submit all simulations at once and consume all available 3DOrchestrate Stations. Setting a maximum batch size protects against consuming all the available stations.

    However, not all algorithms reach the maximum batch size. Most optimizers do not reach a high maximum batch size, and the actual batch size is often a function of the number of design variables.

    Note: If you are running a job using the Loop adapter or the Design Exploration adapters on the 3DOrchestrate cloud environment connected to the desktop client, the 3DOrchestratecloud administrator can set a maximum batch size. If you specify a Max batch size value greater than the value set by the administrator, the app issues a warning and resets the value to the value set by the administrator.
  3. Click OK.

Configure the Step Execution Options

  1. From the Simulate section of the action bar, click Execution Options .
    The Execution Options dialog box appears.
  2. From the tree in the left pane of the Execution Options dialog box, select the simulation process, and specify the following:
    OptionDescription
    Execute this Step Select True to run this step or False to skip this step.
    Pause Before Select True to pause the execution before this step, or select False to continue the execution.
    Pause After Select True to pause the execution after this step or False to continue the execution.
    Max run-time

    Specify a time limit (in seconds of wall-clock time) for when to end the simulation activity.

    In most cases, the default value of zero (no time limit) is the best choice. However, if you think the simulation might have issues completing, specify a limit much longer than the expected completion time to avoid incorrect termination.

    Continue on Error Select True to have the simulation process ignore a failure of this step and continue running or select False to stop the simulation process when the step fails.
  3. Click OK.