question

Marc K avatar image
1 Like"
Marc K asked tannerp commented

How to set a Queue size by the value of another?

In this answer: Batch Size based on Global Table the Queue size is change by a global table. I have a process where queues are filled as they empty by a supply that varies. The operators pulls from queue1 once the downstream queue2 is empty and queue1 has stopped accumulating. So, I see how to have a queue size value changed by a Global Table. Now is the a simple way for a downstream queue's (queue2 and so on) batch size be changed by queue1? Basically, look at value in queue1 when it is time to load queue 2. This way all queues in the stream will have the same batch size value and that set value will change every time the queue1 loads a new batch.

FlexSim 19.1.1
downstram queue batch 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

·
Joerg Vogel avatar image
2 Likes"
Joerg Vogel answered Joerg Vogel edited

The picture is a part from the variables node of a queue.

If you cannot get an idea from the names, you can print values of the nodes to the output console, while you let run a model.


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.