question

Alonso avatar image
0 Likes"
Alonso asked Alonso commented

AGV with different charging and delivery point

Hello, I have a question, if anyone can help me with the solution.

I have an AGV that is loaded with six boxes in processor 1 and then loaded with one box in processor 2. After that, 3 boxes are delivered to Queue 7, then 3 boxes to Queue 6 and finally 1 box in Queue 8. I'm making the model available if anyone can help, I'd appreciate it.

DUAS_ENTREGAS_2_autosave.fsm


FlexSim 24.2.2
agvprocessflow
· 5
5 |100000

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

Alonso avatar image Alonso commented ·

Good morning, I would like to ask for help, I am starting to work with Flexsim. In the model shown, I changed it and I need AGV_A to load 2 pallets with 8 packages into Queue 9, and it must unload the 2 red pallets into Queue6 (red). Furthermore, it must also supply 2 pallets with 4 boxes in Queue10 (blue), however in my model it can only load one pallet and then deposit the 2 pallets in Queue7. The right thing would be for it to supply 2 pallets with 4 colored boxes blue and deposit these 2 blue pallets into queue7. @Gustavo Teodoro Gustavo, Would you have any idea how to solve it?


modeloaaa.jpg






Modelo_alterado_AAA.fsm

0 Likes 0 ·
modeloaaa.jpg (221.0 KiB)
Alonso avatar image Alonso commented ·

My question is how do I make AGV_A understand that the red boxes produced in Queue 9 must be deposited in Queue 8 and the blue boxes produced in Queue 10 must be distributed one in Queue7 and another in Queue6. If I can get an idea of how to connect the loading and unloading locations. I believe it is using lists. Thanks. @Felix Möhlmann

Modelo_Load_Unload_AGV.fsm


picture-77a.jpg





0 Likes 0 ·
Alonso avatar image Alonso commented ·

Hello, I'm trying to solve the pallet unloading problem. I made a new model, now I added an AGV_B and it carries yellow and green boxes. Then this AGV_B must unload the Green Boxes in the green Queue or (Queue13), and in the yellow Queue (Queue14) unload the yellow pallets. I used the list for logic. However, the download is not correct, it downloads and continues with the same amount as before and I cannot download the colors according to each color.


Load_Colors.fsm

0 Likes 0 ·
load-colors.fsm (64.5 KiB)
Felix Möhlmann avatar image Felix Möhlmann Alonso commented ·

In the load "Run Sub Flow" activities, the "items" label doesn't exist yet. The subflow token will create/add to that label when it pulls a pallet from the list. Each subflow token should only pull one item.

While it's technically possible to differentiate the pallets by the color of the items on them, it's generally advisable to use a label for this. In the "On Creation" trigger of the pallet sources I write the label "Color" to the pallets with a value of "Green" and "Yellow". The queues to which they are unloaded get the same label.

This allows you to run a subflow for each item and decide whether to unload it by checking if the label on the pallet and that on the queue match.

load-colors_1.fsm

1 Like 1 ·
load-colors-1.fsm (58.8 KiB)
Alonso avatar image Alonso Felix Möhlmann commented ·

Good morning, a question @Felix Möhlmann in the model presented, the AGV_B, after being loaded, remains stationary for a certain amount of time, waiting for the AGV_A to move. I notice that this occurs when I place several AGV_S in the same model. However, in the simulation I need to see queues formed for the AGVs since there is no possibility of overtaking. So how would you do to make the AGV_B follow towards the AGV_A. Or imagine that I put a Delay on AGVA, like I do for AGV. It's right behind AGV_A. Thank you if you can respond.

0 Likes 0 ·

1 Answer

Gustavo Teodoro avatar image
0 Likes"
Gustavo Teodoro answered Alonso commented

Hello,

Since your processors do not require setup or processing time, I replaced them with a queue for each one, with capacities of 6 and 1, respectively. I also modified the logic to a circular flow, where the AGV picks up 6 boxes at the first station, proceeds to the second, and picks up one more. I used the command Model.find("Queue9").first, which means that the AGV will load the first box. Each subflow generates the required number of tokens per station.

The "wait for events" were necessary to ensure the minimum number of boxes at each station. Then, for unloading, the subflow operates with the required number of tokens per station and with the command token.taskExecuter.first, which means the AGV will unload the first box it is carrying. After the final unloading, it returns to start a new cycle.

The model is attached.

duas-entregas-2_Solution.fsm


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

Alonso avatar image Alonso commented ·

Thank you very much, I appreciate your help in resolving the case.

0 Likes 0 ·
Alonso avatar image Alonso Alonso commented ·

If anyone can help with this solution I would be grateful. Unloading is wrong, AGV_B cannot unload the yellow pallets into Queue 14 and the green pallets into Queue13. If anyone can help I would be grateful @Gustavo Teodoro



modelo-01.jpg

Load_Colors.fsm

0 Likes 0 ·
modelo-01.jpg (161.1 KiB)
load-colors.fsm (65.4 KiB)
Alonso avatar image Alonso commented ·

Good afternoon @Gustavo Teodoro , a question, I created a system with 3 AGV's that load on the same street in three different locations, and unload on the same street in another region in three different locations, apparently the system is working but the AGV2 waits a long time after the last charge to move around. Could you say what could be happening? When you have many AGVs, is there a need to create some rules? since they can download in the same Queue?

0 Likes 0 ·
Gustavo Teodoro avatar image Gustavo Teodoro Alonso commented ·
USe acquire resource for each AGVs
0 Likes 0 ·