scenario

fun ReportBuilder.scenario(scenario: Scenario, confidenceLevel: Double = 0.95, showTimings: Boolean = false, caption: String? = null)(source)

Appends a section reporting the configuration and results of scenario.

Produces (inside a section titled caption or the scenario name):

  1. Scenario OverviewDataTable (Property | Value): scenario name, model name, configured replications, run length, warm-up period, and execution status

  2. Simulation Results sub-section — full simulationRun detail (run identity, run parameters, inputs, optional timing, response statistics); present only when the scenario has been executed

  3. Paragraph notice when the scenario has not yet been executed

Parameters

scenario

the Scenario to report

confidenceLevel

confidence level for response statistics; defaults to 0.95

showTimings

true includes the Replication Timing sub-section in the embedded simulation run report; defaults to false

caption

optional section title; defaults to the scenario name