tuneKawaii UwU
tuneKawaii UwU

Reputation: 73

Find Average time in different flow paths

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 Process flow

Upvotes: 0

Views: 67

Answers (1)

Yossi Benagou
Yossi Benagou

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

Related Questions