How do I plot my operators' average speed in a graph?

How do I plot my operators' average speed in a graph?

Zakir
Not applicable
30 Views
5 Replies
Message 1 of 6

How do I plot my operators' average speed in a graph?

Zakir
Not applicable

[ FlexSim 23.1.3 ]

PlotMaxSpeed - FlexSim Answers.fsm

I have operators changing their max speed based on which coloured plane have to pass through. These planes also change colours based on the time in the simulation.

How do I collect data of my operators' max speeds throughout the simulation?



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

jason_lightfootVL7B4
Autodesk
Autodesk

The question title asks for average but then you ask about the maximum speed - which is it?

0 Likes
Message 3 of 6

Zakir
Not applicable

The average 'Max Speed' in the properties. Do let me know if there is a different term to describe this. Thank you.1688871526298.png

0 Likes
Message 4 of 6

jason_lightfootVL7B4
Autodesk
Autodesk
Accepted solution

You can find the average speed using the distance travelled/time travelling. The total travel distance is :

taskExecuter.stats.totalTravelDistance

You can also pin the statistics to a dashboard:

1688921325708.png

Then you can install the chart you chose an either edit the stats collector or use a calculated table to transform the stats_collector's data.

0 Likes
Message 5 of 6

moehlmann_fe
Explorer
Explorer
A good template to track the maximum speed might be the State Gantt collector. (Install the chart to see the statistics collector behind it.) Instead of the state it would record the maximum speed. The proximity trigger of the agent system could send a message to the ship whose max. speed was changed which the collector can then react to and update the data. (The OnStateChange event from the State Gantt collector would be replaced with OnMessage.)

With this data of how long each ship was assigned which max. speed, you can use a Calculated Table to compute the average.

Message 6 of 6

Zakir
Not applicable
Thank you. This works for me
0 Likes