question

Thomas avatar image
0 Likes"
Thomas asked Jeanette F commented

change number of AGVs by a parameter

Hello I would like to vary the number of AGVs by changing it in the parameter to use later in the experimenter. The problem is that using a group in process flow gives an error. on the other hand, the number of control points must also increase with the number of AGVs. How do I best solve this?


Thank you in advance!!


Test_change_number_of_AGVs_by_parameter.fsm

FlexSim 23.2.1
agvparameters
· 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.

Jeanette F avatar image Jeanette F ♦♦ commented ·

Hi @Thomas, was one of Guldberg's or Joerg Vogel's answers helpful? If so, please click the "Accept" button at the bottom of the one that best answers your question. Or if you still have questions, add a comment and we'll continue the conversation.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always comment back to reopen your question.

0 Likes 0 ·
Guldberg avatar image
0 Likes"
Guldberg answered Thomas commented

The problem is not related to the initial question, but rather the system is not set up properly to use the AGV template. I would suggest you did this tutorial to getter better understanding on how the AGV template works. Starting with the basic one - https://docs.flexsim.com/en/24.0/Tutorials/TaskLogic/Tutorial4AGVs/4-2AGVsUsingProcessFlow/4-2AGVsUsingProcessFlow.html

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

Thomas avatar image Thomas commented ·

oww, thanks i will better look the tutorial.

0 Likes 0 ·
Guldberg avatar image
0 Likes"
Guldberg answered Thomas commented

Try and share the model. Hard to tell whats wrong from just the image. Maybe something with the connection to queue1. I dont think I saved the model unfortunally, also im using 24.1.

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

Thomas avatar image Thomas commented ·

so i tried to do it like you told but i don't know where the problem is.

Test_change_number_of_AGVs_by_parameter.fsm

0 Likes 0 ·
Joerg Vogel avatar image
0 Likes"
Joerg Vogel answered Thomas edited
· 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.

Thomas avatar image Thomas commented ·

Hello, thank you for your response. This link refers to operators. I succeeded in this, just like with transporters connected to a group.

The problem I have now is that I try the same thing with AGVs and it doesn't work. I suspect that these do not automatically connect to a path?

0 Likes 0 ·
Guldberg avatar image Guldberg Thomas commented ·

Your problem is not setting the number of AGVs, but rather that your model breaks the connection when pressing Run. If you reset the model after you changed the parameters, you can see that they are connected. If you press run it breaks the connection, wether its 1 or many AGVs. The reason is that you didnt add the AGV process flow to the first AGV. Also you need to change your paths to Default accumulations to get them moving.


1713520599941.png

1713520915747.png


0 Likes 0 ·
1713520599941.png (73.5 KiB)
1713520915747.png (98.2 KiB)
Thomas avatar image Thomas Guldberg commented ·


@Guldberg I have assigned the first AGV as described above and when I press reset the others are effectively added as you say with connection. After this I also changed the default for all paths despite the AGVs not moving and getting the error as below, any ideas? If you could otherwise upload the model with the adjustment, I will try to find out where the difference lies.

Thank you in advance!

1713522976003.png


0 Likes 0 ·
1713522976003.png (123.4 KiB)