question

Sakamoto Ko avatar image
0 Likes"
Sakamoto Ko asked Jason Lightfoot commented

AGV pushing trailers choose an inefficient route to the CP below the trailer

Hi.


I have created a model of an AGV pushing a trailer.


However, when I try to have the AGV unload the box at the control point under the trailer, the AGV goes all the way around the route before arriving.

AGVpushTrailerOverflow.fsm


Is this because it is calculating a route that can reach its destination from the tip of the trailer?


I was wondering if I could use the overflowCP property of the AGV class in such a case, but could not figure out how to use it.

Would you tell me how to solve this problem so that the AGV moves naturally, including the use of the above overflowCP property?


Thank in advance.

FlexSim 23.0.11
agvagv trailer
· 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.

Jason Lightfoot avatar image Jason Lightfoot ♦♦ commented ·

Have you tried setting involved2 of the travel task to the correct trailer, and having the AGV stop with the correct offset to allow the trailer to be attached at the control point location?

0 Likes 0 ·

1 Answer

Jason Lightfoot avatar image
0 Likes"
Jason Lightfoot answered Jason Lightfoot commented

Here's the working model where the travel for unloading uses the trailer as the offset and the travel for loading calls a subtask (user command nodefunction) to work out the offset based on the number of trailers it's already pushing when it starts the task. This latter part will likely need further testing/tweaking/debugging.

agvpushtraileroverflow_jl.fsm

You'll find the code in the user command and the queue's transport dispatcher code that creates the tasksequence.


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

Sakamoto Ko avatar image Sakamoto Ko commented ·

@Jason Lightfoot

Thanks for the sample model.


In the case of A Connect, you are saying that we need to adjust the stop position of the AGV in our custom code.


Also, I had not tried involved2 in travel task, but now I know that it can be easily set up by utilizing the "AGV Travel" activity in the process flow.


Thank you very much for your great help!

0 Likes 0 ·
Jason Lightfoot avatar image Jason Lightfoot ♦♦ Sakamoto Ko commented ·
If you just tell the AGV to travel to a control point without an offset the AGV will sit at the control point and any front loaded trailers will get added along from the control point, potentially passing their destination at the time of loading, which would cause extra travel by having a second loop, which was your original concern.
0 Likes 0 ·