weightedStatistics

Appends a single ksl.utilities.io.report.ast.ReportNode.WeightedStatTable for a list of WeightedStatistic instances.

All statistics are combined into one table, making it easy to compare time-weighted utilisation across multiple resources side-by-side.

Usage:

val doc = report("Resource Utilization Summary") {
section("Time-Weighted Statistics") {
weightedStatistics(model.simulationReporter.acrossReplicationWeightedStatisticsList())
}
}

Parameters

stats

weighted statistics to tabulate; empty list is silently ignored

caption

optional caption displayed above the table