General Simulation options

Stats Start Time: Use this setting to determine the model statistics start date and time. For Simulation, you may use a warm up period, where the Simulation starts on the model horizon date, and then statistics are accumulated starting on a later date on (the Stats Start Time) when the model has reached a steady state. For example, the work center utilized time starts at the Stats Start Time, rather than the start of the model horizon.

Number of Replications: Select the number of times the simulation should run, to recreate the situation with different random values if probability distributions were utilized in the model structure. To set this value in a scenario, select the “Number of Replications” Simulation Options field and enter the number of reps you want to use.

Scripting Debug Level: Custom scripts can produce optional output, which can be monitored based on a script debug level for different levels of detail. To set this value in a scenario, select the “Scripting Debug Level” Simulation Options field and enter the number representing the trace level you want to use.

Several debug trace-level values have special meanings that will cause additional trace data to be written to the log automatically. These levels are listed in the following table.

Trace Level Description
0 Turns tracing off
9 Writes a line when a script is called and another when a script terminates
10 Echoes to the log every line of intermediate code as it is executed
11 Echoes to the log every line of simulation script as it is executed
12 Echoes to the log every line of intermediate code and every line of simulation script as it is executed.

Trace data is written to the script log. The location of the script log is specified in the MCD file by setting the ScriptLog property as shown in the following example:

Scripts.ScriptLog = C:\Coupa\Logs\ScriptLog.txt

Python Script Folder: Use this option to set the folder in which Python scripts for use in Simulation are located. To set this value in a scenario, select the “Select Python Script Folder” Simulation Options field and enter the path definition for the folder containing Python scripts.

Python scripts are not supported when uploading to or solving on the Cloud.

Last modified: Wednesday May 15, 2024

Is this useful?