question

Michael Kramer avatar image
2 Likes"
Michael Kramer asked anthony.johnson edited

AGVs loading with bad references to items

In my model I didn't realize that two AGVs are dispatched to the same pickup and the dispatching is messed up. The second AGV to arrive wants to pickup a non-existent item. Would you be able to help fix that? Sorry, my process flow expertise is on a very novice level right now.

(Another question related to this model found here).

FlexSim 16.1.0
agvprocess flowloadpickupdispatch
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

Sam Stubbs avatar image
3 Likes"
Sam Stubbs answered anthony.johnson edited

So I fixed your logic on the dispatching of the trucks. What had happened was that you have two process flow tokens representing the two items being produced. But because there are two, when they hit the "Acquire" activity, both are calling to dispatch the trucks, so it sends two trucks. One solution is to use a "Batch" activity. This can combine any number of tokens into one token. So I "Batched" The two items together.

Additionally I noticed that your "Change Visual" activity for the AGV was only referencing one specific AGV, so I changed it to look for whichever AGV was currently loading by referencing the Resource label.

961-923-agv-index-and-load-jn1.fsm


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

anthony.johnson avatar image anthony.johnson ♦♦ commented ·

Sam's answer works, but also, just as advice I would suggest instead of using the decide/delay loop that waits until there are two items in the queue, you can just wait for the item to enter the queue using a wait for event.

You just have to make sure that you match the Entering Item with the token's item label.

This means that it will wait until the item referenced by the token's item label enters the queue.

961-923-agv-index-and-load-jn1-wait-for-entry.fsm

2 Likes 2 ·