question

Ale avatar image
0 Likes"
Ale asked Jordan Johnson commented

Statistics collector output per hour when batching

How can I make the statistics collector output per hour to give me the Qty of batched parts in a tote. In the example below its given me Qty 2 but I want the output to be Qty 10 thats is triggered by label MO QTY .

Thanks in advanced

Thanks!

FlexSim 17.2.2
statistics collector
qjaqw.png (347.2 KiB)
· 3
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Jacob Gillespie avatar image Jacob Gillespie ♦ commented ·

Here is the previous question that led to this question.

0 Likes 0 ·
Ale avatar image Ale Jacob Gillespie ♦ commented ·

@jordan.johnson could you help me with this?

0 Likes 0 ·
Jordan Johnson avatar image Jordan Johnson ♦♦ Ale commented ·

Sam Stubb's answer is the correct one.

1 Like 1 ·

1 Answer

·
Sam Stubbs avatar image
1 Like"
Sam Stubbs answered Jordan Johnson commented

Hey Alejandra. In order to get the number of items in each tote, instead of just the number of totes , you'll need to set up the variable in your stats collector as follows:

When getting the Output in your stats collector instead of getting just getting the basic output. Create a new column that has the value of : data.exitingItem.subnodes.length

This will grab all the "subnodes," in this case items, inside the exitingItem which is your Tote. Here is an example for you:

statscollectortotestats.fsm


· 11
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Ale avatar image Ale commented ·

@Sam Stubbs I'm getting an error and no value. On the sample you sent you are using a combiner and gives you an option for "event : on Exit" but I'm not using any. I Think that's why I am getting the error.

0 Likes 0 ·
gtdex.png (135.5 KiB)
e4ned.png (127.9 KiB)
Sam Stubbs avatar image Sam Stubbs ♦ Ale commented ·

Ah I see, what are you gathering the Output table from in your first picture? (Also perhaps if you can, send me the model, and indicate which statistic you're trying to gather from what object. IE the Outflow of QueueX, or the number of items passing into ProcessorY etc.) I'll take a look at it.

0 Likes 0 ·
Jacob Gillespie avatar image Jacob Gillespie ♦ Sam Stubbs ♦ commented ·

@Sam Stubbs The model was attached in the previous question I linked.

0 Likes 0 ·
Show more comments
Show more comments

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.