question

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

Doubt in a AGV Path and a ProcessFlow with "If's"

Hey everyone,

I have a doubt and probably can't do it, but is there a way to have one path with two entries to put objects to move and two ways to leave them?

I mean, in this example of my project:

Two entries: ChegadaBagagens and Left Top;

Two ways out: Left Top and ZonaDescarga.

But, i want to do this:

If they pick the object in the ChegadaBagagem they have to leave it on the Left Top;

If they pick the object in the Left Top they have to leave it on the ZonaDescarga;


Is there a way to do this?

I don't have anything special in the ProcessFlow but a Source, create object and sink, but in the future, i will only have a create object in the ChegadaBagagem.


Thanks and hope you undestand my doubt.

Best Regards, Miguel Pereira.

FlexSim 21.0.5
agvpathtasksequenceflexsim 21.0.5if-else condition
1623333435386.png (85.0 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.

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

Hi @Miguel Pereira, this is definitely possible. Just make the same kind of connections you did for the Left Top to ZonaDescarga from ChegadaBagagens to Left Top. I just copied what you had done using a-connections and checking the use transport box with the AGVWork list. Just be sure when you add a new control point to connect it to the NextLookForWork loop. aeroporto-em.fsm

You can do this same type of thing with any of the send to port options and it is commonly done using lists and labels because they can often be used to make more complex decisions. An example would be to assign a label to objects that start at ChegadaBagagens. Then at the Left Top, you would have the queue pull things of that label. I'll attach an example of how lists might work with AGVs if you're curious. Pay attention to the input and output settings. agv-t-v6-2-em (1).fsm


aeroporto-em.fsm (2.5 MiB)
agv-t-v6-2-em-1.fsm (55.0 KiB)
· 9
5 |100000

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

Miguel Pereira avatar image Miguel Pereira commented ·
Hi @Eric M,


Mega thanks for the explanation, that helped a lot.
0 Likes 0 ·
Miguel Pereira avatar image Miguel Pereira commented ·

Just one thing, can you the last file in the version 21.0.5? Thank you.

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

Oh ya, sorry I forgot to check the version on the second file. I added another input so you can see how that would work. agv with lists.fsm

0 Likes 0 ·
agv-with-lists.fsm (116.5 KiB)
Miguel Pereira avatar image Miguel Pereira Eric M commented ·

Just to let me understand it, you made different Queues that receives items based on their type right?

There's no Process flow in their, but it would with those Decides right?


Thanks, Miguel Pereira.

0 Likes 0 ·
Show more comments
José Antonio MD avatar image
0 Likes"
José Antonio MD answered Miguel Pereira commented

Hello @Miguel Pereira,

You only need one Control Points for each entry or exit (if it is not the same).

If you don't want to use AGV's template, you can create your custom logic: OnEntry in the queue, send an AGV mission and change the destination by case. You can see something similar in this question:

how to use process flow for task executers and multiple buffers? - FlexSim Community

I hope I have been helpful.

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

Miguel Pereira avatar image Miguel Pereira commented ·

I want to use the AGV Template, i just wanted to have that if-else thing...

The top left (Processor + Queue) will work in entries and outs of the objects, i just wanted to make that work like, if it comes from the path in the pic pass to the other path, otherway pass to this one path.

Easier, i'll leave here the project file.

Aeroporto.fsm

I've draw the layout from the airport here in my city and this is for my thesis.

I need to transport bags from the planes to ZonaDescargas, and from the Airport (ChegadaBagagens) to the path that includes the planes.

The path with planes isn't working yet.

0 Likes 0 ·
aeroporto.fsm (3.3 MiB)