simulation Results
Appends a complete simulation results report as a sequence of sections inside the current builder scope, in the following order:
Simulation Summary — experiment metadata (when model is non-null) and across-replication statistics half-width summary table
Histograms — one section per histogram (omitted when none exist)
Frequencies — one section per integer-frequency response (omitted when none)
Time-Series Responses — one section per TimeSeriesResponse (omitted when model is
nullor no time-series responses exist)
Usage:
model.simulate()
val doc = report("Drive-Through Pharmacy") {
simulationResults(model.simulationReporter, model)
}
doc.showInBrowser()
doc.writeMarkdown()Parameters
the simulation reporter providing statistics, histograms, and frequency distributions
optional model reference; required for metadata and time-series sections; pass null to skip both
confidence level for all statistical tables; must be in (0, 1)