question

jacopo-r avatar image
0 Likes"
jacopo-r asked Jason Lightfoot commented

How to limit the number of AGVs on a path?

Hello everyone,

In my demo model (Demo_2Lanes.fsm) I have a certain number of AGVs that need to go to 3 different destinations. As you can see from the model, there are two vertical lanes connected to three horizontal paths. In a realistic scenario an AGV will take the outer lane to go to a farther destination (Destination 3 in my case) if the inner lane is too busy with AGVs going to a closer destination.

In the model I tried to stress this behavior by arbitrarily setting the destination for each AGV. The first 9 should go to destination 2 while all the next ones should go to the farther destination 3. So far, only the first 9 AGVs move. I tried by checking and unchecking the "Divide by speed" box in the AGV Network - General, but it doesn't change anything.

Any idea on how to model this behavior?

PS: the question asks for how to limit the number of AGVs on a path because that is my general thought. Can I limit the number of AGV on the inner lane so an AGV will take the outer one if that is too busy? Does it mean that an AGV has to be able to recalculate its route continuously? Can it do that?


Thank you in advance.

FlexSim 23.0.2
agvagvnetworkagvrouting
demo-2lanes.fsm (55.6 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.

1 Answer

·
Jason Lightfoot avatar image
1 Like"
Jason Lightfoot answered Jason Lightfoot commented

Here's your model modified to process the allocation failed event by issuing a redirect at an addition CP before the branch point.

1676293006715.png

I also added a Connection relationship between the new CP and the alternate route CP:

1676293065006.pngAnd since there was not enough space to allow 9 AGVs to destination 2 and have any pass to destination 3, I change the number going to dest2 to eight.

I'm not sure this answers all your questions, but it's one approach that may give you some ideas on how to implement your solution. Another would be to implement some waypoint logic and check allocated capacities.

demo-2lanes_allocFailed_redirect.fsm


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

jacopo-r avatar image jacopo-r commented ·
Thank you @Jason Lightfoot :)

Is there anywhere a post or some tutorial about what you mentioned with "waypoint logic and check allocated capacities"? I would be interested to study this further.

0 Likes 0 ·
Jason Lightfoot avatar image Jason Lightfoot ♦ jacopo-r commented ·
I don't know of any tutorials - waypoints are described here and there are many posts on this site that discuss them and provide examples.
1 Like 1 ·

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.