question

Omar Aguilera Rico avatar image
1 Like"
Omar Aguilera Rico asked Omar Aguilera Rico commented

Problem with Batch PF

Hi guys, I am developing the following logic but I have a problem with the model because in the Batch part I am doing that count 5 units and a token comes out but that is not happening. Can someone tell me what I'm doing wrong?

batch-1.fsm

FlexSim 18.1.0
process flowbatch
batch-1.fsm (43.5 KiB)
5 |100000

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

1 Answer

·
Matthew Gillespie avatar image
1 Like"
Matthew Gillespie answered Omar Aguilera Rico commented

You have three instances of this same flow attached to DP1, 2, and 3. So, when an item arrives at DP4 the Event Triggered Source right before the batch creates a token in each of these instances. This is because there is really a separate instance of the Event Trigger Source in each Process Flow instance. This is also true about the batch activity.

You really have 3 separate batch activities that are all trying to collect 5 tokens. That's why none of them release until 15 tokens arrive at the global view of the batch instances.

You can view each instance separately by clicking the Open PF View button in the Process Flow Instances panel of Quick Properties. That will give you a better idea of what's going on.


instances.png (5.3 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.

Omar Aguilera Rico avatar image Omar Aguilera Rico commented ·

That's true, I already understood why that happens. I fixed it! Thanks for the support.

batch-2.fsm

0 Likes 0 ·
batch-2.fsm (45.3 KiB)

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.