question

olivier T avatar image
0 Likes"
olivier T asked olivier T commented

How to get entry and exit time from a processor with statistic collector ?

trest-2-2.fsm

I would like to get the entry and exit time from a processor using statistic collector
I tried with the

manual but it didn,t work

FlexSim 18.1.1
statistic collectorevent listdata recording
trest-2-2.fsm (148.1 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.

1 Answer

Clair A avatar image
3 Likes"
Clair A answered olivier T commented

Hi @olivier T,

Please find attached a sample model (entry-and-exit-times-for-1-processor.fsm):

The Statistics Collector listens to 2 events on the Processor:

For both events, I renamed the label name of the entering / exiting simply as item:

This label name is then used in the Data Recording tab to create unique rows for each item:

The Object and EntryTime columns are updated when a new row is added in the statistic collector:

And the ExitTime column is updated by event dependency:

This column's data is updated only when On Exit is fired:

As a bonus, I attach another sample model (entry-and-exit-times-for-a-group-of-processors.fsm) if you want to to track the entry and exit times for a group of processors:

Hope this helps.


1.png (29.7 KiB)
2.png (3.5 KiB)
3.png (1.7 KiB)
4.png (3.2 KiB)
5.png (4.9 KiB)
6.png (5.0 KiB)
7.png (4.4 KiB)
8.png (37.8 KiB)
· 1
5 |100000

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

olivier T avatar image olivier T commented ·

Thank you Sir for your answer and your time !

0 Likes 0 ·