question

Théo H avatar image
0 Likes"
Théo H asked Clair A commented

How to transport by pair ?

Hello,

I have a lot of items with different types from a source but I need to transport them only when I have a pair with exactly the same type. Else, the item have to stay in the queue.

FlexSim 17.2.5
transportationby case
· 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.

Matthew Gillespie avatar image Matthew Gillespie ♦♦ commented ·

Can you give us some more context or attach a model? Is the queue pushing items to other parts of the model or are things pulling from the queue?

0 Likes 0 ·

1 Answer

Jordan Johnson avatar image
6 Likes"
Jordan Johnson answered Clair A commented

Here is a model that demonstrates one possible way to transport pairs of items:

transportbypair.fsm


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

Cliff King avatar image Cliff King commented ·

Nice model Jordan! Does a fantastic job of showcasing the power/usefulness of the Batch activity.

0 Likes 0 ·
Théo H avatar image Théo H commented ·

Thanks, it's perfect but when I try to do it alone, it doesn't work, can you tell me why ?

example.fsm

0 Likes 0 ·
example.fsm (26.3 KiB)
Clair A avatar image Clair A Théo H commented ·

Hello Théo,

Your model is almost complete, but some little details are missing if you compare your model with the one of @jordan.johnson.

1. In the first activity, assign a label name to the releasing item:

2. In the batch activity, select Make Array in the Aggregation column:

3. Pick a destination (Queue2) in your second travel activity:

4. The item to load is token.Item not token.Items:

Here is your updated model: 12109-example.fsm

0 Likes 0 ·
12109-example.fsm (25.1 KiB)
capture1.png (6.2 KiB)
capture2.png (12.2 KiB)
capture3.png (12.8 KiB)
capture4.png (6.8 KiB)