AnswerHub Upload Issue
Our AnswerHub community currently has a bug that prevents you from attaching your model or other files to your questions. AnswerHub is aware of this issue and they are working on a fix. Until we receive their patch, you can upload your models and other files to FlexSim's file share site. Include the file name in your question so that we know which upload to reference.

question

Sivashankar B2 avatar image
0 Likes"
Sivashankar B2 asked Sivashankar B2 commented

Dual queue with single operator

IB queues -> Tote with either 2 packages or 5 packages will arrive

OB queues-> Empty totes will arrive with max capacity of 1 package

Operator-> If picking from IB Queue1, check if Empty Tote available in OB queue1 and unload there, else unload to queue 2 if empty tote is there.


Struggling with this logic. Can someone please help?capture.png


FlexSim 22.1.3
queue
capture.png (90.4 KiB)
· 1
5 |100000

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

Hi @Sivashankar B2, was one of Felix Möhlmann's or Sivashankar B2's answers helpful? If so, please click the "Accept" button at the bottom of the one that best answers your question. Or if you still have questions, add a comment and we'll continue the conversation.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always unaccept and comment back to reopen your question.

0 Likes 0 ·

1 Answer

·
Felix Möhlmann avatar image
1 Like"
Felix Möhlmann answered Sivashankar B2 commented

I would suggest to use a list. The empty totes are pushed to the list when they enter the OB queues. The items can then pull a tote each. Since there are multiple items in one tote in the IB queues, a 'Create Tokens' activity can be used to create one token for each item.

1659087083198.png

To match them to the respective queue, you can set labels on the queues, for example mirroring the number in their name. An expression on the list can then compare the labels on both queues when an item tries to pull to queue. That expression will either evaluate as true (1) or false (0). So ordering the list values by that field allows to match the IB and OB queues, if possible. Note how the 'Puller' is change to token.item in the Pull from List activity, so the expression can use the item reference to access the label on the IB queue (puller.up.up.num).

1659086985009.png

I'll try to upload the model later, since the forum currently seems so have issues with that. Hopefully the process flow picture helps, though.


1659086985009.png (31.8 KiB)
1659087083198.png (55.6 KiB)
· 9
5 |100000

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

Thanks for your feedback. Could you try posting the model now?
0 Likes 0 ·

I am still always getting this error when trying to upload a model, sorry.

1659256394755.png

Do you have a question about any of the activities I used?

0 Likes 0 ·
1659256394755.png (4.0 KiB)

I tried to simplify the model removing any totes. Basically the robot moves packages from Q1, Q2 only when there is a source trigger at OB queue 3 or 4 (this mimics tote arrival)


1) Just need prefer arm movement from 1 to 3 or 2 to 4 as higher priority and then the other options

2) make the 1 to 3 or 2 to 4 movements to be 5 seconds. 1 to 4 or 2 to 3 to be 7 seconds. Hence the suggestion in point 1

OB source screenshot.PNG

Procss screenshot.PNG


0 Likes 0 ·
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.