Batching Question

Batching Question

Aaupadhye
Not applicable
172 Views
9 Replies
Message 1 of 10

Batching Question

Aaupadhye
Not applicable

[ FlexSim 23.0.8 ]

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

0 Likes
Accepted solutions (1)
173 Views
9 Replies
Replies (9)
Message 2 of 10

natalie_white
Not applicable

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
Message 3 of 10

Aaupadhye
Not applicable
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
Message 4 of 10

natalie_white
Not applicable
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
Message 5 of 10

Aaupadhye
Not applicable
Let me rephrase this, essentially I want items to come into the dynamic buffer. The buffer should not be able to send items anywhere else until the quantity in it hits 10, in which case the items can then individually be sent out through the system to where they are routed based on percentage.


The main issue with the batch is that it is treating the 10 items as a group instead of individual items. The main reason I wanted to do this was so that when it hits 10, the items can flow out of the buffer.

0 Likes
Message 6 of 10

julie_weller
Not applicable

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

Message 7 of 10

julie_weller
Not applicable

Is that the behavior you wanted?

Message 8 of 10

Aaupadhye
Not applicable
This looks great! Thank you!
0 Likes
Message 9 of 10

julie_weller
Not applicable
Accepted solution

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

0 Likes
Message 10 of 10

julie_weller
Not applicable

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