question

Patrick Cloutier avatar image
2 Likes"
Patrick Cloutier asked Patrick Cloutier commented

Why is this AGV not taking the other branch?

In this very simple model, I want TE2 to go to the top CP but it refuses to take the available path.

It insists on taking the shortest path even if it's unavailable.

I even added a optimizenetwork() but it doesn't change anything.

What am I doing wrong?

Thanks a lot for you help,

AGV routing problem.fsm

FlexSim 20.1.0
agvflexsim 20.1.0
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

·
Phil BoBo avatar image
0 Likes"
Phil BoBo answered Patrick Cloutier commented

I don't know what you think optimizenetwork() does, but it has nothing to do with the AGV navigator at all. The optimizenetwork() command recalculates the distance table of the Network navigator, as explained in its documentation. The distance table of the network navigator is how the network navigator's algorithm determines the shortest path from each network node to each other network node on the network. The AGV navigator is unaffected by this command at all.

When you give a travel command to an object using the AGV navigator, it always takes the shortest path from its current location to its destination. It does not account for routing around other agvs.

The left path is shorter than the right path, so that's the path it is going to take. If you want it to go down the right path first, then send it to a control point on that path first, or make the bottom path one-way.


1586878313583.png (120.9 KiB)
· 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.

Patrick Cloutier avatar image Patrick Cloutier commented ·

Thanks Phil. I will send you a private email shortly about this post and my other posts from the last week.

0 Likes 0 ·

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.