Model Expressions
End Simulation
aWait, bWait, cWait : REAL;
aWait := GetEntityStatistic("Product A", "tokenwaitdelay", "Avg", Replication);
bWait := GetEntityStatistic("Product B", "tokenwaitdelay", "Avg", Replication);
cWait := GetEntityStatistic("Product C", "tokenwaitdelay", "Avg", Replication);
Model.TotalWait := aWait + bWait + cWait;