Model
constructor(simulationName: String = "Simulation", pathToOutputDirectory: Path = KSL.outputSubPath(simulationName.replace(" ", "_") + "_OutputDir"), autoCSVReports: Boolean = false, eventCalendar: CalendarIfc = PriorityQueueEventCalendar())(source)
Parameters
simulation Name
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.
path To Output Directory
the path specifying the location where simulation output files will be stored. By default, this is the simulation name augmented by "_OutputDir".
auto CSVReports
if true the simulation output results will automatically be stored in comma separated value files. The default is false.
event Calendar
the event calendar to use for holding events. By default, this is a PriorityQueueEventCalendar. Supply another if that one's handling of canceled events doesn't suit: it keeps them until their time comes, so a model canceling very many events far in the future holds on to them. Use one instance per model.