AnswerHub Upload Issue
Our AnswerHub community currently has a bug that prevents you from attaching your model or other files to your questions. AnswerHub is aware of this issue and they are working on a fix. Until we receive their patch, you can upload your models and other files to FlexSim's file share site. Include the file name in your question so that we know which upload to reference.

question

Noah Z avatar image
0 Likes"
Noah Z asked Felix Möhlmann commented

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

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.

FlexSim 22.1.0
taskexecutorspeed
5 |100000

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

1 Answer

·
Andrew O avatar image
0 Likes"
Andrew O answered Felix Möhlmann commented

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.

· 2
5 |100000

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

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 0 ·

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)
0 Likes 0 ·
1659965796710.png (43.3 KiB)

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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