michela-08 avatar image
michela-08 asked Andrew O commented

Check buffer capacity

In the process flow I want to add this condition. Note : All the items from Queue 1 exit based on Combiner's target quantity. Queue 1 is connected to combiner as Port 2. In this model, 10 items from Port 2(Queue 1) exit all at once.

Problem : Before the transporter drops the items into Queue1. I want to check if Assigned qty < Capacity. Where capacity decides the actual capacity of Queue1 and Assigned decides the items currently in Queue1. Only then the transporter has to drop the items into Queue1 or else it has to wait.


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

Andrew O avatar image Andrew O commented ·

Hi @michela-08, was Jason Lightfoot's answer helpful? If so, please click the "Accept" button at the bottom of their answer. Or if you still have questions, add a comment and we'll continue the conversation.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always unaccept and comment back to reopen your question.

0 Likes 0 ·

1 Answer

Jason Lightfoot avatar image
Jason Lightfoot answered Jason Lightfoot commented

Queue1 is not connected to port 2 of the combiner as you describe.

You need pointer data in your table pointing to the Queue1 - not the string/path.

When an item exits the Queue1 I would have logic that checks if that PartNumber has dropped below the trigger quantity and if so push a replenishment job to a list. You seem to have this loop check for every part that enters Queue3 which seems wrong/messy.

Here's a suggestion:



· 4
5 |100000

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

michela-08 avatar image michela-08 commented ·
Thank you @Jason Lightfoot for the model.

I want the number of quantities exiting and then adding in Queue1 to be shown in the Available Qty column of the global table "Process_Flow".

Available Qty is nothing but the items available in the Queue1.

How to achieve this?

0 Likes 0 ·
Jason Lightfoot avatar image Jason Lightfoot ♦ michela-08 commented ·
I would try incrementing the Available column on the queue's Pull trigger. This way the item is counted in the replenishment decision before the transporter has delivered it to the queue.
0 Likes 0 ·
michela-08 avatar image michela-08 Jason Lightfoot ♦ commented ·
Can you tell in a sample model? I have added the command in the Queue 1 on Entry and On Exit. It seems to be not updating in the global table "Available Qty"
0 Likes 0 ·
Show more comments