question

Maria B6 avatar image
0 Likes"
Maria B6 asked Jeanette F commented

Total throughput time using Statistics Collectors and/or Calculated Tables

Hi,

I have two Statistics Collectors, one to save item arrival time (Source - On Creation) and the other for the time when it finalizes its process (Sink - On Entry). My first question is if it is necessary to have two different Statistics Collectors for this use or if I can save this data using only one? My second question is what do I need to write on the "Query" space of Calculated Table to calculate staytime per item?

Thank you!

FlexSim 18.2.3
statistics collectorcalculated tableflexsim 18.2.3
· 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.

Joerg Vogel avatar image Joerg Vogel commented ·

You can compute the staytime by the command getentrytime(obj) in the sink. Then you don’t depend on two tables anymore.

0 Likes 0 ·
Jeanette F avatar image Jeanette F ♦♦ commented ·

Hi @Maria B6, was Eric M's answer helpful? If so, please click the red "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

Eric M avatar image
0 Likes"
Eric M answered

Hi @Maria B6, the milestone collectors are ideal for calculating the staytime of items as they travel throughout the model. They are very similar to stats collectors except for they only measure the time when the milestone happens. I made a small example of a milestone collector that measures when an item is created and when it is destroyed. You can then see the table of times for each item and also make plots in the dashboard using those staytimes.

milestone-collector.fsm


5 |100000

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