question

Cameron Pluim avatar image
0 Likes"
Cameron Pluim asked Jordan Johnson answered

Question about Staytime by Type graph

I'm trying to understand how the "Staytime by Type" graph interprets Type. In the attached model a source creates 5 items of type 1, 3 of type 2, and 2 of type 3 and then it resets. I would expect this pattern to show up in the "Staytime by Type" graph, but the pattern seems random.

How should I set up the "Type" in the graph settings to get the correct pattern?

staytime-by-type-graph.fsm

FlexSim 18.0.2
statistics collector
· 4
5 |100000

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

Cameron Pluim avatar image Cameron Pluim commented ·

@jordan.johnson Can you help me understand what's going on here?

0 Likes 0 ·
Jordan Johnson avatar image Jordan Johnson ♦♦ Cameron Pluim commented ·

I took a look at the model, but it's just creating random types, using duniform() for type and color. Is it the right model?

0 Likes 0 ·
Jacob Gillespie avatar image Jacob Gillespie ♦ Jordan Johnson ♦♦ commented ·

@jordan.johnson The issue seems to be that an exiting flowitem is recorded as the Type of the most recent entering flowitem.

1 Like 1 ·
Show more comments

1 Answer

Jordan Johnson avatar image
2 Likes"
Jordan Johnson answered

Yup, that's a bug. I'll get that fixed in the next bug fix release. It will affect all Throughput templates, and all By Type templates. For now, you can install the template, and change the four activities called Log Event to "Read" rather than "Label Access on Parent Only".

5 |100000

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