question

Rohith V avatar image
0 Likes"
Rohith V asked Jason Lightfoot commented

Retain minimum quantities in a Queue before releasing

I'm looking for some help to understand a better way to have a queue release parts to one of the output port only when the minimum quantities has been reached. I will still need this queue to release parts to the other output port regardless of the minimum quantity.

Thank you in advance.

FlexSim 22.2.0
minimumminimum stockwaiting in queue
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

You don't say how many you want to release to the other port when the minimum level is reached.

If it's all of them then you can either route the port in the sendto based on rank or have the downstream queue pull - for example only pulling items with a specific rank.

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

Joerg Vogel avatar image
1 Like"
Joerg Vogel answered Rohith V commented

You can let pull a following object items of a queue, then you can set conditions like

  1. object.subnodes.length > 10

to receive items.

If you want to close an output port then you can do this only by adding further queue objects in your item flow structure. Such queues have a capacity of one and you have to evaluate the stored items of all queues together.

close-output-port-number.jpg


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