StatisticalBatchingElement

class StatisticalBatchingElement @JvmOverloads constructor(model: Model, batchInterval: Double = 0.0, name: String? = null) : ModelElement(source)

When added to a Model, this class will cause batch statistics to be collected for Response and TWResponse variables. It uses the TWBatchingElement and the ResponseBatchingElement to perform this functionality.

Time weighted variables are first discretized using a supplied batch interval. Then, observation-based batching is applied to the discretized batches. Response variables are batched by observation number.

Author

rossetti

Parameters

model

the model for the batching

batchInterval

the discretizing interval for TWResponse variables

name

the name of the model element

Constructors

Link copied to clipboard
constructor(model: Model, batchInterval: Double = 0.0, name: String? = null)

Properties

Link copied to clipboard

Returns a list of summary statistics on all Response variables The list is a copy of originals.

Link copied to clipboard

A map of all batch statistics with the ResponseVariable variable as the key

Link copied to clipboard

Returns a list of the batch statistics in the form of StatisticIfc

Link copied to clipboard

A map of all batch statistics with the TimeWeighted variable as the key

Link copied to clipboard

Returns a StatisticReporter for reporting the statistics across the batches.

Functions

Link copied to clipboard
Link copied to clipboard

Returns a statistical summary BatchStatistic on the Response variable across the observed batches. This returns a view of the summary statistics.

Link copied to clipboard

Look up the BatchStatisticObserver for the ResponseVariable

Link copied to clipboard
fun remove(response: ResponseCIfc)

Removes the supplied ResponseVariable variable from the batching

Link copied to clipboard
fun removeAll()

Removes all previously added responses from the batching