question

Pablo Abia avatar image
0 Likes"
Pablo Abia asked tannerp commented

Get an "Input per hour" statistic from a list content sorted by partitions ?

Hi all,


I'd want to get some statistics from a list in which items are sorted by partitions. One of this stats is a ratio "Item inputs per hour". I'm using a Statistic Collector to do so, but I'm not getting to find a good combination of events to listen to. Is there maybe a better way to get this statistics ?

Bar_Chart_By_List_Partitions.fsm


Thank you very much for your help,




Pablo

FlexSim 19.1.0
flexsim 19.1.0
· 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.

tannerp avatar image tannerp commented ·

Hi @Pablo Abia, was Regan Blackett's or tanner.p's answer helpful? If so, please click the red "Accept" button on one of their answers. Thanks!

0 Likes 0 ·
Regan Blackett avatar image
1 Like"
Regan Blackett answered

I edited Tanner's model to include a third stats collector for partition based input stats.

byPartition.fsm


bypartition.fsm (27.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.

tannerp avatar image
0 Likes"
tannerp answered

Hi @Pablo Abia,

I apologize for the long wait for a response to your question. I took a look at what you were doing with your model and I think we can make it work. I added a new Stats Collector (StatisticsCollector2) that listens to changes in input for the list in your Process Flow. The Stats Collector counts the input and also records the model time, which is then used to calculate the input per hour. Hopefully this helps. You can put this in a bar chart or whatever you'd like. Let me know if this is what you wanted and if you have any questions about it. Here's a screenshot of the data I was getting in the Stats Collector table.

Model: input per hour.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.

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.