question

Aaupadhye avatar image
0 Likes"
Aaupadhye asked Julie Weller commented

Batching Question

Hi,


So my model runs fine, however, I wanted to also see if I can batch 10 items in the dynamic buffer and when it is released then the items can follow the process flow and go to wherever. For example, if 10 items are reached, 3 of them can go to the Autobagging station, 1 of them to Pack Station A, 1 to Pack Station B, 2 to Pack station A2, etc. However, when I run the process flow with this new batch it keeps sending all 10 items into one place and eventually gives me an error.


wcocmodel.fsm


Thanks,

Amit

FlexSim 23.0.8
processflowbatching
wcocmodel.fsm (178.0 KiB)
· 8
5 |100000

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

Natalie White avatar image Natalie White commented ·

Your model is throwing errors right away, at 21 seconds. I don't know all the changes you made to your model since your last draft, so if you can debug these errors, it will be much easier to help you.

1689355835418.png

You gave an example of what could happen when 10 items are reached. Is this what you want to happen every time? Or do you still want to send items to different conveyor systems and to different stations within those systems based on a percentage?

0 Likes 0 ·
1689355835418.png (48.8 KiB)
Aaupadhye avatar image Aaupadhye Natalie White commented ·
Those errors only happened when I swapped batch from the last draft to this new one. To answer the second question, I want to send items to different conveyor systems and different stations based on the percentages I already have within the model.
0 Likes 0 ·
Natalie White avatar image Natalie White Aaupadhye commented ·
Got it. Your model is actually functioning as expected, with about 75% of tokens going to the first conveyor system. It is just by chance that so many from your first batches go to the first conveyor system. If you run your model for longer, or adjust the percentages, you'll see that it is working.

As for your error, looking into that for you.

0 Likes 0 ·
Show more comments
Julie Weller avatar image Julie Weller commented ·

Hi @Aaupadhye, was my answer helpful? If so, please click the "Accept" button at the bottom of the 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

·
Julie Weller avatar image
0 Likes"
Julie Weller answered

Hey @Aaupadhye! You were getting a few errors due to not having breathe delays and also pushing things to a list while also creating tokens for each item (essentially you were creating tons of tokens but pulling not enough). You can implement it without a list at all for what you're trying to do. I added that batching activity and fixed the routing! Here is the model:

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