Good Morning! I have a question about consolidating data in a table using statistics collector.
A short description of the model and it's logics:
The boxes are created with the labels:
- Material: Gold, Silver, Copper
- Destination, 1, 2, 3 or 4
- Weight: duniform(1,10,getstream(current))
Depending on which system each box pass through it'll get a label System: S1, S2 or S3.
At the event "on entry" of each queue destination, I would like to collect the Weight from each item, sorted by the system's and material's labels.
I attached an exemple of the type of table I would like to have at the end (red box). The lines are the destination of the item and every time a new box entry on a destination queue, the table will add the value of it's weight on the proper column System+Material.
My question is: is there a way for doing this in statistics collector? Or I'll necessary have to use the calculated tables?
The model is attached.
question_statistics-collector.fsm
Thanks in advance!
Best Regards