create

open override fun create(node: Container<*>, scenario: Scenario): MetricGroup

Creates an arrival rate metric for a specific node (uses default time unit of hours).

Return

a metric group containing the arrival rate and its statistical moments

Parameters

node

the container to track arrival rate for

scenario

the scenario containing all nodes


Creates an arrival rate metric for a specific node with optional time unit.

Return

a metric group containing the arrival rate and its statistical moments

Parameters

node

the container to track arrival rate for

unit

the time unit for the rate (default: hours)


open override fun create(scenario: Scenario): MetricGroup

Creates a global arrival rate metric across the entire scenario (uses default time unit of hours).

Return

a metric group containing the global arrival rate and its statistical moments

Parameters

scenario

the scenario to create a global metric for


fun create(scenario: Scenario, unit: DurationUnit): MetricGroup

Creates a global arrival rate metric across the entire scenario with optional time unit.

Return

a metric group containing the global arrival rate and its statistical moments

Parameters

scenario

the scenario to create a global metric for

unit

the time unit for the rate (default: hours)