SimulationRun

@Serializable
class SimulationRun

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) where 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

Link copied to clipboard
constructor(experimentRunParameters: ExperimentRunParameters, inputs: Map<String, Double> = mapOf(), runId: String? = null, runName: String? = null)

Properties

Link copied to clipboard
var beginExecutionTime: Instant
Link copied to clipboard
var endExecutionTime: Instant
Link copied to clipboard
val id: String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

Use primarily for printing out run results

Link copied to clipboard
fun toJson(): String
Link copied to clipboard
open override fun toString(): String