question

anon-user avatar image
0 Likes"
anon-user asked Ben Wilson commented

Is it possible to set two batch sizes?

Is it possible to set two batch sizes?


Flow items from Queue00.

I want to change the batch size depending on the output port.

I want to flow items one by one to Queue1.

I want to flow 75 items to Queue2.



two_batch_sizes_1.fsm

FlexSim 20.1.3
flexsim 20.1.3batchbatch sizequeue length
· 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 anonymous user, was Parker S's or Jörg Vogel's answer helpful? If so, please click the red "Accept" button at the bottom of one of their answers. 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 ·
Parker S avatar image
1 Like"
Parker S answered

anonymous user

Here is your model with a simple process flow that will perform this batching:

support_two-batch-sizes.fsm

Queue00 pushes the items to a list and the process flow pulls them to Queue1 or Queue2 according to their preferred batch size.

The only tricky thing is that Process Flow doesn't recognize max content properties on the queue, hence the "Wait for 0 content at Queue1" activity that waits until there is not a box in Queue1 before trying to pull again.


5 |100000

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

Joerg Vogel avatar image
0 Likes"
Joerg Vogel answered

No, it is not. But you can put a queue batching 75 items at the second output port.

5 |100000

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