question

joey avatar image
1 Like"
joey asked Joshua S commented

Send the item to the queue in ProcessFlow.

Hi All.

I need help. I created a model with items sent from queueIn to queue 1-queue 4 and out of the queue 1-queue 4 to queueOut.

The logic that I want to create is when the item is sent to the queue 1,2,3,4 to full. I want the queueIn to send the item to the queuetotal and when the queue 1 or queue 2 or queue 3 or queue 4 is available to queueIn Send the item to the queue 1,2,3,4 as before. And when there is an order, I want to pull the item out of the queuetotal to the queueOut, just like the item is pull from queue 1-q 4.

This is the model I want to create.test.fsm

I thank you for your help in advance.

FlexSim 19.0.1
queuepull from listsend to port
test.fsm (56.1 KiB)
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

·
Joshua S avatar image
1 Like"
Joshua S answered Joshua S commented

You have some of that logic in your system already, your decides have the logic you want, you just need to copy them and paste them further up. Then use decide logic to check if there is any items in QueueTotal first, check its subnodes length, and unload there before going to the other Queues.

You can also push the items to lists when they enter a queue, then pull from 1 list first before attempting to pull from another.

· 14
5 |100000

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

joey avatar image joey commented ·

Hi @Joshua S

I do not understand what you describe. Can you attach a picture or model?

Thank you for trying to help me fix the problem.

0 Likes 0 ·
Joshua S avatar image Joshua S joey commented ·

Is an order when a queue fills up? And what determines an order for items in QueueTotal? Can both item types go to QueueTotal?

0 Likes 0 ·
joey avatar image joey Joshua S commented ·

I don't know where I need to set up. Can you explain more or attach pictures?

Thank you.

0 Likes 0 ·
Show more comments
Show more comments

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.