question

Roberto Z avatar image
0 Likes"
Roberto Z asked Jason Lightfoot commented

Queue Max Content in Process Flow by running subflows

Hello!

I've been trying to limit the contents of the queue named "Table" to be no more than 1 by running a subflow named "Table has Capacity?" before the token gets released for the operator to complete its task sequence but I've been very unsuccessful.

The general idea of this simulation is to ensure a round robin pull strategy for the flow items coming from the fixed resources "Table" and "Tray Combo" to the conveyor.

When the conveyor gets backed up the operator should only complete any current task sequence left and should wait to resume his task sequence until "Table" has been emptied.

How can I achieve this?

Kitchen_Base_Trial_Cell_Flow_Item.fsm

FlexSim 20.2.0
process flowflexsim 20.2.0subflowconditional decide
5 |100000

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

Jason Lightfoot avatar image
0 Likes"
Jason Lightfoot answered Jason Lightfoot commented

This is because the capacity check value is the maxcontent initially, but when we wait for the item to exit, it hasn't completed the exit when the trigger is fired so the check needs to be maxcontent+1. I've changed that in the attached model.

kitchen-base-trial-cell-flow-item_jl.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.

Jason Lightfoot avatar image Jason Lightfoot ♦ commented ·

A tiny delay after the Wait for Event Activity would have the same effect if that's preferred, without adding the capacityCheckval labels

0 Likes 0 ·
Roberto Z avatar image
0 Likes"
Roberto Z answered

You're Awesome. Thank you so much!

5 |100000

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

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.