question

Alexander Muff avatar image
0 Likes"
Alexander Muff asked Alexander Muff commented

Separate Batches

batch-then-create-sub-model.fsm

In process flow, is there a way to separate tokens after batching?

For example, I have two parts that are batched for oven processing. After the oven, they are individual parts again. How do I get the parts back to individual parts?

FlexSim 16.2.2
batch processing
5 |100000

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

Steven Hamoen avatar image
0 Likes"
Steven Hamoen answered Alexander Muff commented

@Alexander Muff If you change the # of tokens to release to the batch quantity you will still collect the batch but releases all entering items after they have batched, keeping all their labels and data

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

Alexander Muff avatar image Alexander Muff commented ·

When releasing all the batched tokens, that represents all tokens instead of the batches.

For example it would collect all the parts going into an oven. Then release all parts into the oven. Each part would "acquire" the oven, instead of the single batch acquiring the oven.

Let me know if I am following you or not.

0 Likes 0 ·
Steven Hamoen avatar image Steven Hamoen Alexander Muff commented ·

@Alexander Muff But if the oven process is a time and all tokens start that process at the same time they will all come out at the same time. And if you want to prevent that a second batch start you could use a zone and limit the amount that can enter the zone by using a label containing the amount in a batch

0 Likes 0 ·
Alexander Muff avatar image Alexander Muff Steven Hamoen commented ·

Took this route and got it to work as intended. Used a zone with batchWeight to compensate for different batches and batch sizes. Also had to use a second batch to collect the tokens before exiting the zone. This stops other tokens creeping in, before the zone is ready.

Attached the model for others to reference.

batch-then-create-sub-model-rev2.fsm

0 Likes 0 ·
Kari Payton avatar image
0 Likes"
Kari Payton answered Alexander Muff commented

@Alexander Muff you can try using the Split and Join feature. Split the token at the start to create two parts then join them for oven processing then split again into two parts. 5443-batch-then-create-sub-model.fsm


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

Alexander Muff avatar image Alexander Muff commented ·

Thanks @Kari Payton. The issue I run into with split/join is that my batch sizes are not constant. I would need a different number of connecting in/out of the split/join.

0 Likes 0 ·