question

Miguel Pereira avatar image
0 Likes"
Miguel Pereira asked Miguel Pereira commented

A doubt in a project with two AGV Paths

Hello everyone,

I'm doing my thesis and i have a doubt about the project, it stills fresh tho.

I'm trying to do two independent circuits with AGV's: one to create the luggage and unload them at the exit of the plane and another one to carry them until the entry of the airport but i have a problem, both circuits work when i try them in different projects but when i put it all together the 2nd part just doesn't work.

I'm going to leave the project here if you wanna try to run it, you'll see that the operators don't carry them to the processor so the rest do their jobs.

TesteAviãoAGV.fsm

Also, i've put "on content change" in a wait event for a Queue, does it mean that everytime something reaches there and change the number of content it changes right? But what i do wanna try is to the operators work until the content of that Queue reaches 0.

Thank you, Miguel Pereira.

FlexSim 21.0.5
processflowflexsim 21.0.5manufacturingairport
testeaviaoagv.fsm (1.4 MiB)
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

Eric M avatar image
0 Likes"
Eric M answered Miguel Pereira commented

Hi @Miguel Pereira,

The model wasn't working for a couple reasons. One was because there were no ports connecting the SaidaAviao queue and the TransporteParaAGV processor. Another was that no tokens were being created in the Transportar Bagagens container in the process flow, so those tasks were never being completed. A list called "BagsToMove" (under global lists in the toolbox) was also created since the SaidaAviao queue output was set to push items to a list. The operators then pull from that list to know what bag to move. You can see these changes to your model in the attached file.

testeaviaoagv rework.fsm

For your second question, you are correct that the Wait for Event on content change will look for anytime the queue changes content size (whether the bags were added by the plane or removed by the operators). In this model, I changed this Wait for Event to an Event Triggered Source so when the bags enter the queue, the operators will start to load them into the processor.

Hopefully this helps, and good luck!


· 4
5 |100000

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

Eric M avatar image Eric M commented ·

Also, if you need help understanding some of the changes I made, this tutorial in the manual can help: https://docs.flexsim.com/en/21.1/Tutorials/ProcessFlow/Tutorial1UsingSharedAssets/1-1UseListResource/

1 Like 1 ·
Miguel Pereira avatar image Miguel Pereira commented ·

It helped a lot! Do you know if there's a way for the AGVs stop moving while the Queue is empty? Between the charges from the plane. Thank you for your answer!

0 Likes 0 ·
Eric M avatar image Eric M Miguel Pereira commented ·

Great! Yes, you can add break off paths from the main loop and make them parking points when there aren't any items coming. I'll direct you to Step 5 of this tutorial for details on how to do that: https://docs.flexsim.com/en/21.1/Tutorials/TaskLogic/Tutorial4AGVs/4-2AGVsUsingProcessFlow/#park

1 Like 1 ·
Miguel Pereira avatar image Miguel Pereira Eric M commented ·
Thanks Eric!
0 Likes 0 ·