question

Daniel C avatar image
0 Likes"
Daniel C asked Joshua S answered

Percentage of queue items

Hi,

I'm trying to get a statistical distribution on mi queue. I have it set with a max capacity and I know which part and how many are in my queue at all times.

i.e. data that would help me see the percentage of how many times my queue had 4 or 10 parts (from 1 to 10).

Also if you consider a Statistics Collector please elaborate a bit since I haven't use that much.

Thanks

ipk-part-count.fsm

FlexSim 18.2.2
global tablequeuesattistics collector
ipk-part-count.fsm (19.8 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

Joshua S avatar image
1 Like"
Joshua S answered

This uses the stat collector and process flow. In process flow, a label "Count" is assigned a tracked variable. Then every time the content changes in the queue, The tracked variable is updated. Then in the stats collector, it adds rows 1-10 then in the stats collector it tells it to read the total time it is at each of those specific values (1-10). @jordan.johnson helped me with a lot of the stats collector part if you are looking for more resources into how to use the stats collector.

stats-collector.fsm


stats-collector.fsm (29.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.