Why is the item in the queue not equal to the maxcontent value set?

Why is the item in the queue not equal to the maxcontent value set?

joey_s
Not applicable
119 Views
3 Replies
Message 1 of 4

Why is the item in the queue not equal to the maxcontent value set?

joey_s
Not applicable

[ FlexSim 19.1.2 ]

Hello everyone, I have a problem that needs help from everyone. It looks like my model is not what I thought.I want the transporter to complete 40 items in Q 1.But it looks like in my model, when the items in the maxcontent queue as already specified, then people move to go to the next queue as the picture that I attached.

25188-11.png

What I want is to give the maxcontent and curcontent values equal.Or when the transporter takes the item out of the queue, then the transporter takes the item from Queue In to put in the queue to reach the specified value.

I think I have to fix this, but I have tried it and the result is unsuccessful.

25189-2.png

Please help me and this is my model.21053-22answer-2-1.fsm

0 Likes
Accepted solutions (1)
120 Views
3 Replies
Replies (3)
Message 2 of 4

tanner_p
Not applicable
Accepted solution

Hi @joey,

The simple answer is that your Process Flow is acting separately from the logic in your 3D model. This means that Process Flow ignores (for the most part) the logic in the 3D queue objects. If you have a max content set in the 3D queue, the Process Flow will still move the item into the queue. I've created a small example to show this.

One way to work around this behavior in Process Flow is to have a Decide activity in PF that checks the content of the queue. If the content of the queue is greater than or equal to the max content of the queue, then the token will go a different direction and not place that item in the queue. Also included in my attached model is an example that demonstrates how this can work. Note that the Max Content setting in the queue does not matter on QueueMax5, but rather the Decide activity handles this logic.

25212-decide-max-content.png

Hopefully I've understood everything correctly and that this helps. It's up to you to implement it in your model, but let me know if you have any specific questions.

max-content-pf.fsm

Message 3 of 4

joey_s
Not applicable

@tanner.p Thanks for the advice, I understand what you recommend. But since my model has a lot of queues if I use the method you suggest, I must use Decides.and another thing, the entry logic in the queue has its associated conditions for example, I have 2 types of lists, which will enter in both types of queues but will not enter at the same time.. Is there an easier way than this?

0 Likes
Message 4 of 4

tanner_p
Not applicable

I guess an alternative would be to use your Assign Labels activities instead of Decide activities. For example, when assigning the labels, you can assign the destination queue label based on which queue has capacity (i.e. where the number of subnodes on the queue is less than the "maxcontent" property.)

It sounds like if you have 2 types of lists that will each enter the queues at different times, you could use the same flow with different labels. I'm not entirely sure what you're looking for in terms of alternatives. Could you maybe come up with a smaller example that focuses on exactly what you mean? Then I'd be happy to come up with some logic for it. I guess I just don't yet understand the current Process Flow in your model.

0 Likes