question

Maria_susana Mn avatar image
0 Likes"
Maria_susana Mn asked Jeanette F commented

Statistics Collector (Date time) using a separator and combiner

Cycletime_Statistics Collector.fsmcycletime-statistics-collector.png

Hello,

I am interested in getting the time a batch spends in the process since it enters the "separator" until it exits the "combiner". For that, I am using a Statistics Collector. However, I have a hard time linking the exit time to the entry time for each batch.

The data for the event On Exit is being recorded in a different row. What am I missing or needs to be changed in the model?

Many thanks for considering my request.

FlexSim 23.0.5
statistics collector
· 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.

Jeanette F avatar image Jeanette F ♦♦ commented ·

Hi @Maria_susana Mn, was Jordan Johnson's answer helpful? If so, please click the "Accept" button at the bottom of their answer. Or if you still have questions, add a comment and we'll continue the conversation.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always unaccept and comment back to reopen your question.

0 Likes 0 ·

1 Answer

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

The issue is that the pallet associated with the row goes to a sink at the Separator, and an entirely different pallet is created and goes to the combiner.

My suggestion is to use a Queue for the pallets between the separator and combiner, instead of a Sink and a Source:

1679697046622.png

The pallet that "drops off" the items at the Separator "picks them up" at the Combiner, because this system is FIFO. The Statistics Collector can now recognize that the entry and exit time belong on the same row.


1679697046622.png (109.6 KiB)
· 3
5 |100000

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

Maria_susana Mn avatar image Maria_susana Mn commented ·

Thank you very much, Jordan.

It works well. However, I am working with an extensive system where many operations have the same layout as the one I shared.

What other options should I have to monitor the cycle time of a batch (keeping the same configuration)?. Could you please give me some insights of how it could work using labels in the Statistics Collector?

Thank you.

0 Likes 0 ·
Joerg Vogel avatar image Joerg Vogel Maria_susana Mn commented ·
@Maria_susana Mn, perhaps you have noticed it, @Jordan Johnson answer is about keeping data of a table row. Instead of storing this data on a pallet item, you can store it at a label at your items. Please test it on your own, which separated or packed item is best to get evaluated for your purpose to get your data for your statistic collector.
0 Likes 0 ·
Felix Möhlmann avatar image Felix Möhlmann Maria_susana Mn commented ·
You can use one of the boxes as the row value in the Statistics Collector. You just have to make sure to refer to the same object in both events. Because the separator will unload items in reverse order, the first item on the pallet in the separator will be the last item on the pallet in the combiner. So you can use "current.first.last" in one event and "current.first.first" in the other to refer to the same object in both cases.
0 Likes 0 ·

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.