Record the current speed of Task Executor at specific point in time?

Record the current speed of Task Executor at specific point in time?

noah_zenker
Not applicable
16 Views
6 Replies
Message 1 of 7

Record the current speed of Task Executor at specific point in time?

noah_zenker
Not applicable

[ FlexSim 22.1.0 ]

I want to record the speed that a task executor is moving at various intervals during a model run. I see there is a "lastupdatedspeed" in the tree but it doesn't seem update to 0 in tests I've run when a TE slowed down to zero movement. Any guidance would be appreciated.

0 Likes
Accepted solutions (1)
17 Views
6 Replies
Replies (6)
Message 2 of 7

andrew_o2
Not applicable
Accepted solution

Hi @Noah Z,

You can refer to this post: https://answers.flexsim.com/questions/85677/view.html?overrideforward=1

It is generally easier to find the speed of an AGV, and there is a link in the post that should go into more detail there. For any other network, Tanner's answer should be the best approach.

0 Likes
Message 3 of 7

noah_zenker
Not applicable
Hi Andrew, thanks for the response. My TE isn't an AGV so I would have to default to Tanner's answer as a last resort. However, I would be shocked if there isn't a entry for speed for a normal operator somewhere in the depths of the tree which would enable me to avoid a bunch of calculations every few seconds for hundreds of operators.
0 Likes
Message 4 of 7

moehlmann_fe
Observer
Observer

You can use getkinematics() to read the speed at the current time from the kinematics node.

1659965796710.png

getkinematics(Object.find(">variables/kinematics"), KINEMATIC_VELOCITY, 0, Model.time)
Message 5 of 7

Jeanette_Fullmer
Community Manager
Community Manager

Hi @Noah Z, was Andrew O's answer helpful? If so, please click the "Accept" button at the bottom of their answer. Or if you still have questions, add a comment and we'll continue the conversation.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always unaccept and comment back to reopen your question.

0 Likes
Message 6 of 7

joerg_vogel_HsH
Mentor
Mentor

@Noah Z ,please check if those kinematics values are still valid, if a traveler has been stopped by time table, MTBF / MTTR or an preempting tasksequence. I don’t know if a kinematic node gets recalculated, if stop events occur, or if events in event list gets only delayed and then kinematic node data kept unchanged.

0 Likes
Message 7 of 7

Jacob_White
Community Manager
Community Manager

Hi @Noah Z,

We haven't heard back from you. Were you able to solve your problem? If so, please add and accept an answer to let others know the solution. Or please respond to the previous comment so that we can continue to help you.

If we don't hear back in the next 3 business days, we'll assume you were able to solve your problem and we'll close this case in our tracker. You can always comment back at any time to reopen your question, or you can contact your local FlexSim distributor for phone or email help.

0 Likes