Simulation Run
A SimulationRun represents the execution of a simulation with inputs (controls and parameters), and output (results). A run consists of a number of replications that were executed with the same inputs and parameters, which cause the creation of results for each response within each replication. The main purpose of SimulationRun is to transfer data about the execution of a simulation. It acts as a data transfer class.
After the simulation run is executed, the 'results' property will hold pairs (response name, array). The response name is the name of the model element associated with the response, and the array contains the observations of the response for each replication.
Constructors
Properties
true if the run has been executed (i.e. beginExecutionTime has been set from its initial sentinel value of Instant.DISTANT_PAST).
true if the run produced results (i.e. results is non-empty). Will be false after a fatal run error.
Returns the replication identifiers used during execution, or null if the run has not been executed.
Returns the per-replication wall-clock execution times in milliseconds as recorded by ksl.observers.SimulationTimer, or null if the run has not been executed.
The number of model responses recorded in results, excluding the internal bookkeeping keys "repNumbers" and "repTimings". Equivalent to responseNames.size.
The names of the model responses recorded in results, excluding the internal bookkeeping keys "repNumbers" and "repTimings".
Functions
Returns the across-replication StatisticIfc for a single responseName, or null when responseName is absent or is an internal bookkeeping key.
Returns a map from each response name to its across-replication StatisticIfc, computed from the per-replication observations in results.
Returns the per-replication observations for responseName, or null if the name is absent from results or is one of the internal bookkeeping keys ("repNumbers", "repTimings").
Returns a StatisticReporter containing the across-replication summary statistics for every response in this run.
Builds a ReportNode.Document containing a full simulation run report via simulationRun.