question

amine avatar image
0 Likes"
amine asked Steven Hamoen answered

AGV does not follow the correct path

Description:
Hello everyone,

I’m encountering an issue with my AGV's behavior in a Process Flow template I modified. Here’s the scenario:

  1. When the AGV unloads an item at the steel mill (AC1), I want it to travel to a control point (masonry control), wait there for a short time, and then continue its route.
  2. If there are items available at the blast furnaces, the AGV should load them and continue its cycle as expected.

However, the problem arises after the AGV unloads at AC1. Instead of traveling to the control point, it starts searching for other items and cycles through all the stations while empty. It eventually returns to AC1, still empty, and then begins following the correct logic again.

This unintended loop is disrupting the simulation, and I’m not sure what’s causing the AGV to behave this way.

Note: I’m working with a modified Process Flow template.

Any help in troubleshooting or advice on how to fix this behavior would be greatly appreciated!

FlexSim 24.2.1
agvagvpathagvcontrolagvnetworks
· 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.

amine avatar image amine commented ·
0 Likes 0 ·
model30-12.fsm (23.8 MiB)
Steven Hamoen avatar image
0 Likes"
Steven Hamoen answered

@Amine Simple ;-) let each train drive to this waiting station and then acquire a resource, being the 2 positions at the steel mill. You can put both controlpoints in a group and put the group on the resource. When it can pull that position let the train drive to that position. When the train leaves the steel mill, release the resource and the 3rd train will pull it and drive to it. That way you automatically have the train drive to the free available position.

5 |100000

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

Steven Hamoen avatar image
0 Likes"
Steven Hamoen answered amine commented

@Amine I think the problem is that this template has the looking for work build in. Which means that if there is no job it drives to the next control point, look for work and drive on etc until it finds work again. In your flow, after the unloading it goes to exit A and then it enters this look for work.

If we build AGV models we always build our own flow. This is usually much easier then trying to adapt the template to your need and fighting the build in logic.

So that would be my suggestion here as well: create your own process flow, maybe copy some parts over but start over from scratch.

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

amine avatar image amine commented ·

Thank you @Steven Hamoen I solve the problem.

Now I want to add 3rd train and a station before the steel mill.

So I want to add a conditional decision based on the availability of the steel mill, that is to say, it there are two train at the seel mill, the 3rd will wait at this new station located near to the steel mill while the others are unloading and until one leave, and then it moves to the available space.

0 Likes 0 ·