question

Nick V2 avatar image
0 Likes"
Nick V2 asked Kavika F answered

AGV offloading - drive another round if no space

Hi other flexsim users!


Question on the AGV module.


Context of my model: I have 2 AGVs driving around, I have one order generation point, I have two dropoff points (lane 1 and lane 2).


What I want to achieve: I want to cap the maximum content of lane 1 to '4 boxes'. If lane 1 reaches 4 boxes, the RGV should circle another round until space comes available.


The challenge: normally I do this by reading the content of this queue via "Model.find("Lane1").subnodes.length", and then use a "decide" to point out if there is space or not. However I am struggling where to integrate this into the AGV module.


Any ideas of how to integrate this into the AGV logic module?

AGV Challenge.fsm

Thanks :)



1658929779164.png

FlexSim 22.1.3
agvqueueconditional decidemaximum capacityoffloading
1658929779164.png (230.7 KiB)
agv-challenge.fsm (121.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

Kavika F avatar image
0 Likes"
Kavika F answered

Hey @Nick V2, on the queue you can set the max content to be 4. Then the AGVs won't deliver any more boxes there.

1658951178492.png

If you want the AGVs to stop driving around after that, then you can add a Process Flow activity to remove the box from the list after a certain amount of time or something similar.


1658951216818.png (192.1 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.