traceDataMap

fun traceDataMap(repNum: Double, time: Double = Double.MAX_VALUE): Map<String, DoubleArray>(source)

Returns a map that has the times and values for the provided replication repNum up to and including the time. The default value of time is Double.MAX_VALUE, which will result in all values for the replication. Element "times" holds the times that the variable changed Element "values" holds the values associated with each time change.


fun traceDataMap(repNum: Int, startTime: Double = 0.0, endTime: Double = Double.MAX_VALUE): Map<String, DoubleArray>(source)

Returns a map containing the times and values for replication repNum within the time window [startTime, endTime].

The default window covers the entire replication. Setting startTime to the model warm-up length excludes transient data from the plot or analysis.

Element "times" holds the simulation times at which the variable changed. Element "values" holds the corresponding values.

Parameters

repNum

replication number; must be > 0

startTime

lower bound of the time window (inclusive); defaults to 0.0

endTime

upper bound of the time window (inclusive); defaults to Double.MAX_VALUE