question

Patrick Zweekhorst avatar image
0 Likes"
Patrick Zweekhorst asked Phil BoBo converted comment to answer

How to find the distance to travel for an traveling agv

Hi all,

I have an agv network in which the agvs travel around. When they have no work I send them to a parking position. While they are underway to a parking position it is possible that a new task becomes available. I want to assign this task to the closest agv, including the agv's that are underway to a parking position. To do this I want to know the distance between the agv and the start point of the task.

I thought I could do this with the function distancetotravel, this function however does not seem to work for agv's that are traveling. I either get a very large (undefined ) number, or a number that is too big and not changing when the agv moves along a path.

Is it possible to find the travel distance between an traveling agv and a control point?

Thanks in advance,

Patrick

Note: the same thing holds when using an normal network.

FlexSim 17.2.2
networktraveldistance
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

·
Joerg Vogel avatar image
2 Likes"
Joerg Vogel answered

Maybe you can start with this old thread from the community forum.

· 3
5 |100000

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

Patrick Zweekhorst avatar image Patrick Zweekhorst commented ·

Hi @Jörg Vogel

Thanks for the suggestion. It looks interesting, but I do not have a closed loop agv network. My model is for a warehouse with multiple one way paths.

0 Likes 0 ·
Phil BoBo avatar image Phil BoBo ♦♦ Patrick Zweekhorst commented ·

The model doesn't directly apply to your situation, but the commands used in the user commands in that model demonstrate what data is available to get from the AGV network about an AGV's location.

What you are asking does not have a trivial solution, and you are unlikely to get an answer beyond what is in that sample model.

1 Like 1 ·
Patrick Zweekhorst avatar image Patrick Zweekhorst Phil BoBo ♦♦ commented ·

Thanks for your answer, I will approximate the distance that needs to be travel by calculating the distance from the first cp the agv will reach ( nextCPArrivalPoint )

1 Like 1 ·

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.