question

Quynh Tran avatar image
0 Likes"
Quynh Tran asked Joerg Vogel commented

Entry and Exit time for a batch

Hi all,

I'd like to record entry and exit time for each batch in the system. Entry time of a batch means the time 1st unit in a batch enters the system and Exit time of a batch means last unit of a batch exits the system.

Currently, I only can record entry and exit time of each object. How can I add "Batch" as 1 more constraint to be considered? And how can I take 1st and last unit of a batch for consideration only?


Thank you.

1695096688539.png 1695096617297.png entry and exit times trial.fsm

FlexSim 23.0.8
batchexit timeentry time
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

Joerg Vogel avatar image
0 Likes"
Joerg Vogel answered Joerg Vogel commented

here is an example:

It shows entry time and end collecting time in a trigger source code of a queue-

staytime_batch_of_queue.fsm


· 2
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Quynh Tran avatar image Quynh Tran commented ·

Thank you Joerg.

I have tried your way to trigger to Queue 5 but it shows stay time of each item only, not by batch. Moreover, is there any way to record it in the statistics collector?

1695108633400.pngentry and exit times trial.fsm


0 Likes 0 ·
Joerg Vogel avatar image Joerg Vogel Quynh Tran commented ·
@Quynh Tran, I activated perform batching in queue!
0 Likes 0 ·