question

Daivesen avatar image
0 Likes"
Daivesen asked Jeanette F commented

How can I put 20 to 50 objects in random quantities and types into a Tote?

Hey guys

I'm trying to put several items in a tote which is on the combiner, but since I'm very beginner of flexsim, this is quite hard for me.

I already have everything connected, but I don't know how to make 20 to 50 random items fit inside the Tote, in Combiner3, in random quantities.

It would be appreciated if one of you guys help me.


Regards

1732157771912.png

FlexSim 24.2.2
combinerrandomtote
1732157771912.png (436.1 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 @Daivesen, was Joerg Vogel'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

Joerg Vogel avatar image
0 Likes"
Joerg Vogel answered Joerg Vogel edited

there are two variables invovled targetcomponentsum and currentcomponentsum.

A Picklist Template updates values by a global table lookup. An involved value is responsible to choose a column in a global table. This model here changes the global table value on each Processfinish Event to get a new random value.

The second example updates involved nodes directly on the same event trigger.

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