question

Eric C2 avatar image
0 Likes"
Eric C2 asked Eric C2 commented

queue by surface

Hi,

I'm trying to mange a queue by the surface of the items entering.

The model is the following.

I have two diferents items, one has a surface of 2 (label) and another one has a surface of 3.75 (label).

I'm trying to manage them from the processor into a queue that its total surface is 12.

What I want is that when the surface of the queue is empty or a little bit less than its capacity (12), the queue stop receiving new items, so I want to control its capacity depending on the entering items surface.

Is that possible in Flexim? How can I do that?

Thank you in advance.

FlexSim 21.0.0
queueflexsim 21.0.0
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

Jeanette F avatar image
0 Likes"
Jeanette F answered Eric C2 commented

You could use a list for the queue and when another item is ready to be sorted into the queue you can query the queue and make sure it has room.

This post contains some helpful pointer for how to sum a list and query it. Please also check out this (it is also referenced in the post).

· 6
5 |100000

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