question

Dhuey C avatar image
0 Likes"
Dhuey C asked Dhuey C commented

How to stop / start filling queue based on queue size

in the attached simple model, the objective is to stop filling the queue when it meets a threshold amount in this case 95 The trigger to start refilling the queue would be when the queue size is less than 20.
Thanks

fill-queue-based-on-size-1-0.fsmThe

FlexSim 19.1.1
queue controll input based on queue size
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

·
Joseph Gillespie avatar image
0 Likes"
Joseph Gillespie answered Dhuey C commented

@Dhuey C

Here's an updated version of your model that stops the queue from filling when it reaches 95 items and starts filling again when it reaches 20: fillqueueanswer.fsm

It works by using Process Flow to check when the queue increases to 95 or decreases to 20. When it increases to 95, it closes the input port of Queue1, and when it decreases to 20, it opens up the input port again. I also set the max content of Queue1 to 95 so that it couldn't be overfilled by the operator unloading multiple items at once.


fillqueueanswer.fsm (33.2 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.

Dhuey C avatar image Dhuey C commented ·

Thanks, Simple and works perfect.

DC

1 Like 1 ·

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.