question

Dmytro avatar image
0 Likes"
Dmytro asked Dmytro commented

Average, Maximum by type in statistics collectors

Hello everyone.

I have a Queue (Type B).

2 elements pass through this queue (Type_B and Type_C).

I need to put on the dashboard the average and maximum value for each type in this queue.

I'm confused, I can't do it.

model_3_3.fsm

FlexSim 25.1.0
statistics collectoraverageby type
model-3-3.fsm (58.0 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

Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered Dmytro commented

If there are only two possible types, I would create a tracked variable label for each on the queue. A Statistics Collector can then read the current/average/maximum value from those labels.

model-3-4.fsm


model-3-4.fsm (58.1 KiB)
· 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.

Dmytro avatar image Dmytro commented ·

This is a perfect solution. Thank you very much.

0 Likes 0 ·