Process Flow Utilization Statistics Using Statistics Collector?

Process Flow Utilization Statistics Using Statistics Collector?

rajankur6494
Collaborator Collaborator
803 Views
3 Replies
Message 1 of 4

Process Flow Utilization Statistics Using Statistics Collector?

rajankur6494
Collaborator
Collaborator

[ FlexSim 21.0.10 ]

Hi Team,

I want to create utilization for 3 machines having process flow activity reference using statistics collector. I am using enumerate object to create activity names as row value and average content as column event.

1657018509604.png1657018634575.png


I think there is syntax issue. Can you help to know the issue?

05.07.2022_ProcessFlow_Statistics.fsm

Thank you!


0 Likes
Accepted solutions (1)
804 Views
3 Replies
Replies (3)
Message 2 of 4

moehlmann_fe
Collaborator
Collaborator
Accepted solution

When using enumerate rows, the update timing of the measured value (utilization) should be set to 'When the value is accessed'. Trying to update the value when the row is created (on reset) is causing the error message.

1657021261447.png

'getactivity()' expects the name of the activity as a string as the second parameter. The row value is a treenode, so you have to add '.name' to get the activity's name.

1657021231976.png

0 Likes
Message 3 of 4

rajankur6494
Collaborator
Collaborator
0 Likes
Message 4 of 4

JordanLJohnson
Autodesk
Autodesk

Agreed, thanks @Felix Möhlmann, this is a great answer. Minor detail: if data.rowValue is an activity, then you don't need to use the getactivity() command. In the popup, you can just specify data.rowValue .

.


Jordan Johnson
Principal Software Engineer
>

0 Likes