question

Fakhrusy Sf avatar image
0 Likes"
Fakhrusy Sf asked Felix Möhlmann commented

How to record Idle of token in process flow?

Greetings,

I need some help..

1656517984660.png

currently, I want to record the idle time of token as there are being restricted by the zone(Only one token at one time) by using the statistics collector. How??

Thanks

FlexSim 18.2.3
processflowFloWorksstatistic collector
1656517984660.png (99.0 KiB)
5 |100000

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

Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered Felix Möhlmann commented

Your statistics collector is already close to what you need. To update a previous row on a later event, you need to define a 'Row Value'. This serves as an identifier for each row. When an event happens and the row value already exists, FlexSim will update that row instead of creating a new one.

When you only want to track statistics for one activity, the token(-id) can be used as the row value. In the attached example I track the staytime for two activities. To have those in separate rows, I create a row value label, that is a combination of the activity name and the token id, on the events tab.

1656570229087.png

1656570253129.png

Then you just have to set which columns should be updated by what event(s). In this case, the ExitTime is determined by the exit event. The wait time can also be calculated as soon as the exit time is known.

1656570378493.png

StaytimeByToken_fm.fsm


1656570229087.png (43.1 KiB)
1656570253129.png (37.8 KiB)
1656570378493.png (36.0 KiB)
· 8
5 |100000

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

Jonah K avatar image
1 Like"
Jonah K answered Fakhrusy Sf commented

Select the zone statistics. From there you can pin the Request Staytime.1656534721123.png


1656534721123.png (14.2 KiB)
· 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.