question

Ryusuke T avatar image
0 Likes"
Ryusuke T asked anthony.johnson answered

Even in both directions, it is blocked in the path creation direction.

Hi,

Please check the attached model.

Both have the same basic layout, but the direction in which the red frame AGV path is created is different. If this path is set bidirectionally and a simulation is performed with two or more AGVs, the layout of the AGVs set in the opposite direction will become blocked and will not proceed.

2023092101.png

Is this the spec?

Blocked Error.fsm

FlexSim 23.0.11
agv path
2023092101.png (79.0 KiB)
blocked-error.fsm (37.4 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.

Jeanette F avatar image
0 Likes"
Jeanette F answered Jeanette F edited

Hello @Ryusuke T,

This looks like a bug. I have emailed this into the Dev team.

5 |100000

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

anthony.johnson avatar image
0 Likes"
anthony.johnson answered

This was initially logged as a bug, but looking at it now, this is by design. It's just a side effect of the way that you have set up the model. You have defined the spur path as using accumulation. When a path uses accumulation, it must define an ordering of AGVs on that path, so that it knows which AGVs are 'behind' which other AGVs. This includes the AGVs that are set to be on the path when the model is reset. If you were to set the two AGVs' reset control points as different control points on that spur, then it would be clear that one will be blocked in trying to get out of the spur if there is another idle AGV in front of it. However, you have set both AGVs' reset control points as the same control point. Here the AGV system must still set a defined ordering of one AGV in front of another, because it is an accumulating path. But since they are both reset to the same control point, it just sets the ordering arbitrarily. In this case the ordering is based on the primary direction of the path, but I imagine it's also dependent on the member-ranking of the AGVs (disconnect the two AGVs and then reconnect them in different orders and the behavior will likely change).

If you want it to behave properly, then you need to make your intentions unambiguous. Either have the AGVs reset to different control points on the accumulating spur, or make the spur not accumulating. In general it's not a good idea to have spur paths be accumulating anyway, because they are two-way paths and will almost always cause issues with accumulation.

There is a general warning in the user manual about not over-using accumulation:

Troubleshooting AGVs

I will make an additional note that says that generally you should not use accumulation for two-way paths or spur paths.

5 |100000

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