How to control tugger AGV?

How to control tugger AGV?

jonmaraf1VAKNE
Contributor Contributor
62 Views
9 Replies
Message 1 of 10

How to control tugger AGV?

jonmaraf1VAKNE
Contributor
Contributor

[ FlexSim 21.1.5 ]

Hello everyone!

I intend to improve the AGV model with a tugger AGV, were aways the AGV drags two wagon whose:

First wagon:

- just loads flowitens with label 1 (gray collor) and unloads only in queue "buffer linha de motores"

- the capacity of this wagon is 16 flowitens

Second wagon:

- loads the flowitens 22, 320, 4100 and 5 (blue, orange, green and white respectively) and unloads only in queue "buffer expedição"

- the capacity of this wagon is 5 flowitens


general rules:

- The AGV pick up the flowitems in queue "buffer de saída" when the capacity for one of the wagons is full. In this moment the AGV pick up every flowitens for each wagon and unload the flowitens in respective queue.

- in queue "buffer linha de motores" the "operator 1" disconected the first wagon.

- in queue "buffer expedição" the "operator 2" disconected the second wagon

- the addictionals wagons is avaiable in "buffer de vagões" and aways that AGV leave the queue "buffer de saída" the operator "ajudante" drags the wagon for the "buffer de saída".

- After each trip of the loaded AGV, the AGV makes an empty trip to pick up the empty wagons and leave them in the "buffer de vagões". so the model have 4 wagons.

I'm young in simulation and I have no idea how to start.


Modelo situação AGV rebocador.fsm



0 Likes
Accepted solutions (1)
63 Views
9 Replies
Replies (9)
Message 2 of 10

kavika_faleumu
Autodesk
Autodesk

Hey @Rafael de Assis, what is the nature of this project? Is it a homework assignment for a class or is it a project for research in a graduate study?

0 Likes
Message 3 of 10

jonmaraf1VAKNE
Contributor
Contributor
Hello!

Pos graduation.

I did a real situation without AGV, with a simple AGV and now I'm trying to make a tugger AGV... but I don't have idea how to start.

0 Likes
Message 4 of 10

joerg_vogel_HsH
Mentor
Mentor

@Rafael de Assis, wagons are by default first of all items. They have some restrictions like, they get destroyed on reset. You can prevent this by setting a flag. But I suggest you start with the API of Flexscript Class AGV. Think of a waggon as an loaded item. You tell then Flexsim in a trigger or an event that this item is upon now a wagon. Later on you want to load items on this wagon (still an item), then you move this last received item in this wagon. You build a structure of a container(still an item) and subnodes to this container as transported items. Unload items in a simple way is easy, because your Taskexecuter still executes tasksequences to unload items. Such tasksequences tell an item, wherever it is, to move into the destination.

Edit: AGV Class

0 Likes
Message 5 of 10

joerg_vogel_HsH
Mentor
Mentor
Accepted solution

This is an example to start with: attach_trailer_by_code.fsm. I think you get an idea to go on with your request yourself. Please look into source code of triggers in "Queue attach trailer" (green queue) and TaskExecuter1

0 Likes
Message 6 of 10

jonmaraf1VAKNE
Contributor
Contributor
Interesting!

Thank you! I Hope that is a good start.

0 Likes
Message 7 of 10

jonmaraf1VAKNE
Contributor
Contributor

Hello,

I still don't have the skills to do some of the instructions above, but with the help of the comment below as a start, I will study them and I will certainly be able to put your instruction into practice.


thank you so much!

0 Likes
Message 8 of 10

joerg_vogel_HsH
Mentor
Mentor
@Rafael de Assis, please investigate the process flow AGV template, too! There are some hints in this template to adjust its behavior for user conditions. And it reduces much work to do.
0 Likes
Message 9 of 10

__ANON_USER__1
Not applicable

You can use an AGV Network function called "Attach Loads as Trailer" which is under AGV Types at the end of the properties.


If you want something more personalized, you can use flexscript or an initial process flow to create objects inside the AGV and use them as wagons. For the Process Flow you can use the Create Object and Change Visual activities.

0 Likes
Message 10 of 10

joerg_vogel_HsH
Mentor
Mentor
anonymous user, by default this option attaches all loaded items as trailers. In cases where you want to get trailers and load items on them as a mixture, you need to distinguish their behavior.
0 Likes