question

Gary Q avatar image
0 Likes"
Gary Q asked zacharyh answered

Logic AGV

I have a problem with the logic of the "task logic" AGV tutorial.

In point 4.4 there was a difficulty in downloading items, in which "Waste Removal" "Loading Dock". In the "PullStrategy" input logic when the QUERY "WHERE LoadType == 3" "WHERE LoadType == 4" option is placed and the model is run, the AGVs do not load the required iten because the "destination" tag is not created ". but when no requirement is placed in the QUERY box, if the "destination" label is created and the AGVs load the products. I would appreciate your help in model logic (I leave the model for your greater understanding).

agv-44.fsm

FlexSim 19.0.0
labelsagv process flowagv load
agv-44.fsm (202.7 KiB)
· 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.

zacharyh avatar image zacharyh ♦ commented ·
@Gary Q

Could you explain a little more your problem that you are having, maybe using a picture or explaining at what model run time the problem occurs? As it appears in the model that you provided seems to be working correctly with placing objects of LoadType ==3 into the "Waste Removal" Queue and objects of LoadType ==4 into the "LoadingDock" Queue. After being placed in their respective queues the items are not meant to be moved out of the queues.

0 Likes 0 ·
Gary Q avatar image Gary Q zacharyh ♦ commented ·

@zachary.h

With pleasure, the problem appears since the items type 3 and 4 appear in the upper floors as shown in the image 1.
By changing the pull requirement configuration of the "loadingDock" "WasteRemoval" queues to no specific type of load type (ie nothing is placed in the Query box), the items arrive without any problem as shown in the second image

0 Likes 0 ·

1 Answer

zacharyh avatar image
0 Likes"
zacharyh answered

When there is nothing in the Query field the Queue will pull anything that is an available item on the list. So in this instance, when each floor is already occupied by an AGV a few MedSupplies or CleanLaundry are placed in Waste Removal or LoadingDock. Same with the DirtyLaundry and Waste, they are just placed in the next available WasteRemoval or LoadingDock Queue. So without placing something in the Query box any item will be placed in the queues.

· 3
5 |100000

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

Gary Q avatar image Gary Q commented ·

@zachary.h

Thanks so much for the explanation.
The question I have is because when I place requirements in the QUERY I do not place the required items in LoadingDock and WastRemoval.
He previously told me that the model worked perfectly, in that case, why this error? or I have to rebuild the model to work perfectly
thanks
0 Likes 0 ·
Show more comments
Gary Q avatar image Gary Q commented ·

@zachary.h

tell you to make the model again, and now if it works perfectly, thank you very much for the help and explanation provided.
0 Likes 0 ·