Send the item to the queue in ProcessFlow.

Send the item to the queue in ProcessFlow.

joey_s
Not applicable
2,573 Views
15 Replies
Message 1 of 16

Send the item to the queue in ProcessFlow.

joey_s
Not applicable

[ FlexSim 19.0.1 ]

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.

Accepted solutions (1)
2,574 Views
15 Replies
Replies (15)
Message 2 of 16

joshua_s
Not applicable
Accepted solution

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.

Message 3 of 16

joey_s
Not applicable

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
Message 4 of 16

joshua_s
Not applicable

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
Message 5 of 16

joey_s
Not applicable

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

Thank you.

0 Likes
Message 6 of 16

joshua_s
Not applicable

I need more information on your system before I can help you set it up. I am still confused when items get sen to the queuetotal, and when they get pulled out. Are items in queuetotal linked to the other items in queues 1-4 that when an order comes the items in queuetotal are pulled then items linked to it are pulled from queues 1-4?

0 Likes
Message 7 of 16

joey_s
Not applicable

Hi @Joshua S

Queuetotal and queue 1-4 will have the same behavior. Items in the queue 1-4 Will be pulled out like Queuetotal.(The logic I want to build is queue 1-4. It's like a warehouse and when the warehouse is full, the product will be sent to the backup storage area"Queuetotal")

And now I am looking for a command to pull the list out of queue 1-4 and Queuetotal from this question.https://answers.flexsim.com/questions/67030/how-do-i-set-up-item-retrieval.html

So I want you to help solve the problem, send the item to queue 1-4 and Queuetotal first. Because i think i should do it step by step.

Thanks for the help.

0 Likes
Message 8 of 16

joshua_s
Not applicable

Looking at the logic from the very top, I see 1 transporter underutilized since you have 2 columns of process flow occurring, should all 3 transporters be utilized equally? This would change how the logic will be done moving forward. You will need to change your processflow to account for Queuetotal.

The logic you want is to put all the queues onto a list that leaves all the items on the list even if they are pulled off. This would allow you acquire the right Queue to unload your material at. The all items dropped off would then be pushed to a list and have a priority based off which queue they are at.

0 Likes
Message 9 of 16

joey_s
Not applicable

Hi @Joshua S I want all transporters to work equally. When there is an item sent to the queueIn, the transporter will start working on all the work(Item 1 arrives. The first transport queueIn will work. The second item is sent to the queueIn. The next carrier will work and item 3 will be sent to the latest transport queueIn to start working,The work of the No. 2 transporter will work. When the second item comes to the queueIn, it is not necessary to be a type 2 item.).

Thanks.

0 Likes
Message 10 of 16

joshua_s
Not applicable

@joey

Take a look at this model.Currently your transporters are going to hit a point where they can't empty QueueTotal fast enough, your Transports In are 60 times faster then your Transporters Out.

All the changes I made are found in the process flow, the triggers and Labels of the Queues, and the list "Queues".

19270-test-3-5.fsm

0 Likes
Message 11 of 16

joey_s
Not applicable

Hi @Joshua S

From the model you created, it's great, but I have a little doubt.

I try to create the model as you attach it, but I find the problem is that the transporter can't go to the queue 1-4.

19711-11.png

I want you to help see the model that I created. Where is it wrong?new1.fsm

And again, I suspect that the token flowing from the Source to the Pull from List and returning to Delay does not affect the 3D model, right?

19713-12.png

Thanks.

0 Likes
Message 12 of 16

joshua_s
Not applicable

That will not have an affect on the 3D. You are having issues in the model because your Run Sub Flow is not the same as the one I gave you.

0 Likes
Message 13 of 16

joey_s
Not applicable

@Joshua S It's not the same. Please explain to me.

0 Likes
Message 14 of 16

joshua_s
Not applicable

Yours

19714-pic1.png

Mine

19715-pic2.png

0 Likes
Message 15 of 16

joey_s
Not applicable
Oh  I have to admit that I didn't look at Run Sub Flow because I think it can't be set. I really need to thank you, but I still have some logic to add to the model. Should I have to ask new questions?
0 Likes
Message 16 of 16

joshua_s
Not applicable

Yes

0 Likes