question

Griffin Burwell avatar image
0 Likes"
Griffin Burwell asked Griffin Burwell commented

How to batch in a specific order?

Sequential_Batch_Question.fsm

Hello,

In process flow, I have 3 processes that produce parts for assembly. I assign labels 1, 2, and 3 to tokens going through the processes. I push each process's to a list which is then pulled from so that I can combine the 3 types of tokens into 1 token to go through assembly. Right now I can only really get the batch activity to collect 3 tokens(regardless of type) and move on to assembly. I want to be able to ensure that the batch activity collects 1 type 1 token, a type 2 token, and a type 3 token, and combines to form what I will label as type 4. Is this possible to do?batch-question.png

FlexSim 23.0.4
batching
· 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.

Griffin Burwell avatar image Griffin Burwell commented ·

This is the result I am trying to achieve with batching. ideal-batch-grouping.png

0 Likes 0 ·

1 Answer

Jeanette F avatar image
0 Likes"
Jeanette F answered Griffin Burwell commented

Hello @Griffin Burwell,

You can just use one source and have the pull from list activities in order.

1683578796993.png

sequential-batch-question_1.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.

Griffin Burwell avatar image Griffin Burwell commented ·
Hi Jeanette,


I also need to batch the 3 items I am pulling and combine into one using the batch activity. Do I need to set up the batch activity a certain way to do this using 1 of each part? If so, how can I do this?

0 Likes 0 ·
Jeanette F avatar image Jeanette F ♦♦ Griffin Burwell commented ·

You can change the pull activities to insert in front of the specified labels so that it makes an array of the values.

The batch activity cannot group to include 3 unique types and it groups by the order they arrive in.

sequential-batch-question_2.fsm

0 Likes 0 ·
Griffin Burwell avatar image Griffin Burwell Jeanette F ♦♦ commented ·

Thank you for your help!

0 Likes 0 ·