question

milton-mario avatar image
0 Likes"
milton-mario asked milton-mario commented

Please, how to get each flowitem's Lead Time?

How to obtain the time for each flowitem, from when it enters the first queue until it exits through the sink, in order to calculate the average of these times and determine the Lead Time? Please, this is very important. I’ve attached the model here. Thank you!

Note: the model includes a warm-up time.

FlexSim 24.1.1
lead timeflowitems time
flex-model.fsm (131.4 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 milton-mario commented

The "Composite Staytime" chart template measures the time spend between an entrance and an exit object (which would be the first queue and sink in your case).

As a bar chart it will show you the average value of all items. And you can also add it as a histogram to see the distribution of staytimes.

1736861367333.png


1736861367333.png (15.3 KiB)
· 4
5 |100000

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

milton-mario avatar image milton-mario commented ·

Thank you, sir. However, I had already tried exploring this option, but the problem is that it considers the times of the flowitems that are still in the process at the end of the simulation. For example, if there are 100 flowitems in queues or processors at the end of the process, their times will be included in the statistics, whereas it should only consider the times of those that have exited through the sink.

0 Likes 0 ·
Felix Möhlmann avatar image Felix Möhlmann milton-mario commented ·

I just double checked and the charts definitely only show data for items that have reached the "exit object". What makes you think that it considers WIP items as well?

0 Likes 0 ·
milton-mario avatar image milton-mario Felix Möhlmann commented ·
Thank you very much. I was considering the first queue as the entrance object, for the composite staytime. This time, I considered the source as the entrance object, and apparently it worked. Again, thank you.
1 Like 1 ·
Joerg Vogel avatar image Joerg Vogel milton-mario commented ·
@Milton_Mario, you can store in a label of each item the entering time of a queue and build a difference to the entry time of a sink. This was a standard method a long time ago.
0 Likes 0 ·
Adna Lima avatar image
0 Likes"
Adna Lima answered milton-mario commented

Hello, Mario!


I think you may use the Statistics to collect this information, I made an example at your model above. At Statistics Collector I checked each flowitem arriving and leaving the system and then, calculeted the leadtime for each one.

1736951397444.png

In addiction, you can calculate the leadtime average using the Calculted table, the unit used it's in minutes.

1736951689666.png

However, when you are using the WarmUp time, the time before the warmup time can't be considered. Just check it.

You can see more about it in this link: The Statistics Collector


I hope that help you!

flex-model_1_leadtime_collect.fsm


· 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.

milton-mario avatar image milton-mario commented ·

Hi, Adna.

I just used the composite staytime, and comparing the results with the data I have, the average leadtime shown is apparently correct.

However, I am extremely interested in seeing the settings you made in the statistics collector. Unfortunately, the model you sent cannot be opened, as I am using version 24.1.1 and cannot update it due to the license. So, if you could somehow share the settings made in the statistics collector, I would be very grateful.

Thank you.

0 Likes 0 ·