Model

constructor(simulationName: String = "Simulation", pathToOutputDirectory: Path = KSL.createSubDirectory(simulationName.replace(" ", "_") + "_OutputDir"), autoCSVReports: Boolean = false, eventCalendar: CalendarIfc = PriorityQueueEventCalendar())(source)

Parameters

simulationName

the name of the simulation model. This name must be unique within the context of the elements in this model. A unique name is assigned by default.

pathToOutputDirectory

the path specifying the location where simulation output files will be stored. By default, this is the simulation name augmented by "_OutputDir".

autoCSVReports

if true the simulation output results will automatically be stored in comma separated value files. The default is false.

eventCalendar

the event calendar to use for holding events. By default, this is a PriorityQueueEventCalendar.