question

Sabrina S avatar image
0 Likes"
Sabrina S asked Eric M answered

How to monitor parts of distances travelled by operator (with AStar)

Hello,

I would like to measure the distance an operator walks, not as a total distance travelled but in partial routes, e.g.:
From Queue1 to Processor1, from Processor1 to Queue2, from Queue2 to Queue1.

I am using the AStar. The aim is to show the distance and the number of times the operator used this part of route in the dashboard (e.g. as a table).

Can somebody help me how to build this up please? Thanks a lot in advance!

FlexSim 21.0.5
astarflexsim 21.0.5distance
· 1
5 |100000

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

Joerg Vogel avatar image Joerg Vogel commented ·

You will probably get only the total traveled distance. But you can compute the distance from destination to a next destination. Each time an operator has reached a destination by a traveltask, load task, unload task, pick offset task or pick offset unload task you write the destination object and the total travel distance into a table and you compute the difference to the previous entry.

The command distancetotravel returns only the theoretical distance to an object and not the actual walked distance.

1 Like 1 ·

1 Answer

·
Eric M avatar image
1 Like"
Eric M answered

Hi @Sabrina S, like Jörg said there's not currently an automatic way of doing this. I've made a demo model that does what Jörg suggested in writing the distances to a table. First, I create labels on the operators that give a measurement of how far they've gone by recording the "pre-travel" distance and the "final" distance and finding the difference between them. Each time the operator repeats that travel activity, the distance is added to the previous distance using the "increment" feature of labels. As you can see, each travel activity need two sets of labels, one to record the initial value of the total travel distance and one to record the final value and calculate the difference. The operators then have a "on finish task" trigger that writes the value of the labels to the table "TravelDistances."

Hopefully this helps you see one way that you could do this (I believe you could also bypass the labels entirely and only record the data in the table, but labels seemed more straightforward to me).

dist measurements by type.fsm


5 |100000

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

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.