question

Pooja I avatar image
0 Likes"
Pooja I asked Jeanette F commented

Multiple AGVs and trolleys

Hello Team,


This is with reference to Multiple AGVs question raised model

Note - I have just modified with creating 2 totes for each AGV


AGV 1 and 2 has maximum 12 capacity in each tote

AGV 3 has maximum 6 capacity in each tote


Model is showing errors.

Please see the attached model


magna-support-2.fsm

FlexSim 24.0.1
agvpathagvrouting
magna-support-2.fsm (136.3 KiB)
· 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 @Pooja I, was Paula LG's answer helpful? If so, please click the "Accept" button at the bottom of their answer. 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 ·

1 Answer

·
Paula LG avatar image
0 Likes"
Paula LG answered Felix Möhlmann commented

Hi Pooja,

the problem with your model is that you're creating two totes and assigning them to the same token label, token.tote; therefore, this label is an array that contains both flowitems. When referring to them, you should be using token.tote[1] and token.tote[2].

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

Felix Möhlmann avatar image Felix Möhlmann commented ·

You create two totes per token, but the rest of the Process Flow assumes that the "tote" label contains a reference to a single item.

You have to adjust every part of the Process Flow that uses this label to it now being an array of values.

- You can run the "Attach Tote as Trailer" as a subflow, with each child token refering to an item at a different index.

- The "Space in tote" Decide activities need to check each tote for capacity. If a tote with capacity is found, it should be stored in some other label so you can later refer to the correct tote in the "Unload Item - Operator" activity.

If you are having difficulties to make these changes I would suggest you first get familiar with basic coding in FlexSim if you haven't already.

https://docs.flexsim.com/en/24.0/Reference/CodingInFlexSim/WritingLogic/WritingLogic.html

https://docs.flexsim.com/en/24.0/Reference/ProcessFlowObjects/SubFlow/RunSubFlow/RunSubFlow.html

0 Likes 0 ·
Pooja I avatar image Pooja I Felix Möhlmann commented ·

Hello,


I have implemented for 2 totes as per you answer.


Showing error while collecting the boxes.

Please see the attached model


magna-support-3.fsm

0 Likes 0 ·
magna-support-3.fsm (138.8 KiB)
Felix Möhlmann avatar image Felix Möhlmann Pooja I commented ·

You have not updated the "Space in tote" Decide activity and you also still use the "tote" label in the "Run Collection" activity.

I've made the necessary changes to your model. Please take some time to check where the label "totes" is used and where I still use "tote". The "tote" label is updated in the Decide activity code and determines to which of the attached trailers the operator will unload.

magna-support-3-fm.fsm

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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