question

KHAIRUL MUAZ avatar image
0 Likes"
KHAIRUL MUAZ asked Felix Möhlmann commented

how to track the entry and exit time of items from processor

Is there any way to add the tracking for entry and exit time of items from the processor based on the item labels which is their 'WOROUTERNO'. If possible, the table needs to display the 'WOROUTERNO', which processor the item is being process at and the entry and exit time. I have added a dashboard named "Entry/Exit Time.

SV3_17.04.2024.fsm


FlexSim 19.1.2
item tracking
sv3-17042024.fsm (188.2 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

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

Use the item as the row value in the Statistics Collector so the correct row can be identified and updated when the Exit event happens. In the option "Edit row tracking options...", set the row become untracked after the exit event (so a new row will be created when the item enters a processor again).

You can have the collector listen to the whole group of processors. The processor the current event belongs to will be accessible as current.

The processor, item type and entry time can be written when the row is first created. The exit time and duration are written when the row is updated.

sv3-17042024_1.fsm


sv3-17042024-1.fsm (431.1 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.

KHAIRUL MUAZ avatar image KHAIRUL MUAZ commented ·

When I run the simulation, it shows the entry and exit time but for the duration it seems that there is an error with the code and does not allow to show it and it shows 0 value.

0 Likes 0 ·
Felix Möhlmann avatar image Felix Möhlmann KHAIRUL MUAZ commented ·

It works correctly when I run the model.

1713346445496.png

What exact version are you running? I'm build and tested this in 19.2.4.

Did you run the model I uploaded or did you implement the Statistics Collector in your model?

0 Likes 0 ·
1713346445496.png (21.0 KiB)
KHAIRUL MUAZ avatar image KHAIRUL MUAZ Felix Möhlmann commented ·

Mine is version 19.1.2.

error.png

0 Likes 0 ·
error.png (67.6 KiB)
Show more comments

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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