question

Raul J2 avatar image
0 Likes"
Raul J2 asked Joseph Gillespie commented

A Star not behaving properly?

a-star-agv-test-2.fsm

I've been working on a project with @Craig DIckson where we've been attempting to use the A Star feature to route AGVs to their stations. Unfortunately, the AGVs seems to be taking very unusual paths to get to their destinations as they often will go to the border of the A Star area and will start traveling around in a large circle instead of simply going to their destination. We have tried changing many things including some things your team suggested such as moving the queues out of the barriers but the problem still persists. I am attaching the file so that maybe someone could help us find out what is wrong. I am thinking maybe we will turn to use the standard AGV routing instead of A Star but it would be nice if we could get this to work.

Thanks

FlexSim 19.1.1
agva star
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

·
Joseph Gillespie avatar image
0 Likes"
Joseph Gillespie answered Joseph Gillespie edited

@Raul J2

It looks like your problem is coming from one of your preferred paths:

Preferred paths are designed to override barriers and dividers, so the placement of your preferred path so close to a barrier caused your AGVs to be able to cross it. What was happening with your AGVs was that they were using this node (circled in red) to cross the barrier, but then could not cross the barrier back in and were left circling the A* boundaries since they couldn't find a valid path.

By moving the preferred path back by a small amount I was able to eliminate the problem: astaragvtestanswer.fsm


capture.png (10.2 KiB)
capture2.png (8.0 KiB)
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.