question

Jayson K avatar image
0 Likes"
Jayson K asked Ben Wilson commented

Sum the content from a group of rack (2 racks in group) in statistic collector?

I have 2 racks/members in group, i would like to sum up the content of both racks by using Statistic collectors and present the data in dashboard. How can i do that?

Storage Utilization Simulation_17 Tester.fsm

FlexSim 21.0.2
statistics collectorflexsim 21.0.2groupmember
· 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.

Ben Wilson avatar image Ben Wilson ♦♦ commented ·

Hi @Jayson K, was Jordan Johnson'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

·
Jordan Johnson avatar image
0 Likes"
Jordan Johnson answered

In the Statistics Collector, you can listen to an event for all objects in a group. In your case, it sounds like you'd want to listen to OnEntry and OnExit for all racks in the group. To do this, you can use the sampler. Be sure the toolbox is open, and that the Groups section is expanded so that you can see your group. Then you can use the sampler to sample the group, and choose the event you want. The stats collector will listen to that event for all objects in the group.

The steps after this depend on whether you want the Statistics Collector to show a single number, with the total number of items in it, or if you want to see that "total content" over time.

As a side note, you can make table charts and history charts that show this data. Any chart with the word "composite" in its name will get you this kind of data. Just add your group to both the entry and exit objects.

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.