Question about Staytime by Type graph

Question about Staytime by Type graph

cameron_pluim
Not applicable
30 Views
5 Replies
Message 1 of 6

Question about Staytime by Type graph

cameron_pluim
Not applicable

[ FlexSim 18.0.2 ]

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

0 Likes
Accepted solutions (1)
31 Views
5 Replies
Replies (5)
Message 2 of 6

cameron_pluim
Not applicable

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

0 Likes
Message 3 of 6

JordanLJohnson
Autodesk
Autodesk

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?

.


Jordan Johnson
Principal Software Engineer
>

0 Likes
Message 4 of 6

cameron_pluim
Not applicable

It is the correct model. I changed the code where the duniform() is located, without actually removing the duniform(). The functionality is what I've stated above.

0 Likes
Message 5 of 6

Jacob_Gillespie
Autodesk
Autodesk

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

Message 6 of 6

JordanLJohnson
Autodesk
Autodesk
Accepted solution

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".

.


Jordan Johnson
Principal Software Engineer
>