Reputation: 73
Im currently building a Anylogic model and want to calculate average time spent by customer in different flow paths (I have added the process flow below). In the picture i have named the paths i want to calculate the average time as path A and path B
Upvotes: 0
Views: 67
Reputation: 358
Anyligic has dedicated blocks for this (although it can be done simply in code). See in detail here.
The TimeMeasureEnd
block contains a dataset.
The following code returns the average of the Y-axis values:
timeMeasureEnd.dataset.getYMean();
Good luck!
Upvotes: 1