question

Onkar B avatar image
0 Likes"
Onkar B asked Onkar B commented

Batching in process flow

Hello,

I'm trying to use "batch" process in the Object oriented process flow. I need to batch 4 tokens and release 4 tokens but its not happening correctly as shown:

1624145519779.png

FlexSim 21.1.4
process flowbatchflexsim 21.1.4batch processing
1624145519779.png (21.0 KiB)
· 2
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 Joerg Vogel commented ·
Hello @Onkar B , can you attach an example model rather than picture. thank you, regards Jörg
0 Likes 0 ·
Onkar B avatar image Onkar B commented ·

Hello @Joerg, please see the attached model.

batch_example.fsm

0 Likes 0 ·
batch-example.fsm (44.8 KiB)

1 Answer

José Antonio MD avatar image
1 Like"
José Antonio MD answered Onkar B commented

Hello @Onkar B ,

You have 4 different tokens in the batch because you have 4 instances: One token per instance in Process Flow "Object". Your batch is for instance, not general. So, it is waiting until 4 tokens arrival to the same instance.

I guess your objective is to wait until 4 AGVs finish the travel task and continue. You can do it with different logics (list, zone, syncrhonize...). My approach is creating a token to a general process flow and when the batch finishes, continue using a wait for event activity.

I hope I have been helpful.

batch-example_1.fsm


batch-example-1.fsm (49.5 KiB)
· 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.

Onkar B avatar image Onkar B commented ·
Thank you. That works!
0 Likes 0 ·