question

Rafael SM avatar image
0 Likes"
Rafael SM asked Ben Wilson commented

How can I make a distribution of materials in different locations?

What I want to do in my model is that the operator collects all the boxes that are in racks and distributes one by one on each sink, respecting the flow assigned with the nodes 
I also get this error      FlexScript exception: Array index out of bounds at MODEL:/RACKS DE ALUMINIO>variables/transportdispatcher 

LAY OUT DISTRIBUCION A LINEAS SMALL COMPONENTS.fsm
FlexSim 20.1.1
network nodesflexsim 20.1.1diferentes distribuciones
· 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.

Ben Wilson avatar image Ben Wilson ♦♦ commented ·

Hi @Rafael SM, was Parker S's answer helpful? If so, please click the red "Accept" button on 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 unaccept and comment back to reopen your question.

0 Likes 0 ·

1 Answer

·
Parker S avatar image
0 Likes"
Parker S answered

The reason you were getting the error was because the operator was not connected to the rack. I have updated the model with the following changes:

- Connected the operator to the rack with a center port connection

- The rack now uses a Round-Robin distribution to send items to each of the sinks (Output tab on RACKS DE ALUMINIO)

- I also included a trigger to send the operator back to the rack while waiting for the next item (Trigger tab in Operator2)

Here is the updated model:

lay-out-distribucion-a-lineas-small-components_support.fsm


5 |100000

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

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.