question

dphilip22 avatar image
0 Likes"
dphilip22 asked Jason Lightfoot commented

How do I make task executors pick up specific items from 1 queue

V14.fsmHi Everyone.

In this model I am simulating a steel roll production plant. I have Brown rolls for inventory and orange rolls for customers. I want transporter 4 to pick up the orange rolls and bring them down to queue 11 and I want transporter 3 to fill queue's 3,9 and 10. Currently I cant figure out how to allow the main queue (8) to allow multiple forklifts to pick up from it.

FlexSim 22.0.16
transportingqueuing
v14.fsm (404.3 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.

Sri_vikas K avatar image
0 Likes"
Sri_vikas K answered Jason Lightfoot commented

Hi @dphilip22

I have created a replica of your model.

I have given a static label to the item (brown) exiting source as 1 and item (orange) as 2. Based on the label I have given a code at use transport option and used port by case in output section of queue 3. Refer the model below to understand the Idea clearly.

1. Refer the triggers of both sources.

2. Refer the Output section of queue 3 properties panel.

v14_SVK.fsm



v14-svk.fsm (32.4 KiB)
· 7
5 |100000

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

dphilip22 avatar image dphilip22 commented ·

Hi, Thank you very much for your help. I've adapted your model to my current model. Now If I wanted to scale out and add inventory locations that the brown rolls go to, how would I modify the code to transport the rolls to these additional queues?

simulation-question-v15.jpg

i.e. if I wanted the brown rolls to go to Queue11 as well as Queue10.

I eventually will need to add a lot more queues for the brown rolls throughout the model.

0 Likes 0 ·
Sri_vikas K avatar image Sri_vikas K dphilip22 commented ·

Good to hear that my model helped you!

Please let me know how are you adding the brown rolls to the remaining two queues, I mean are you adding them one by one or completely filling one after the other?

0 Likes 0 ·
Sri_vikas K avatar image Sri_vikas K dphilip22 commented ·

I assumed that you are filling the remaining queues one by one

please observe the following points,

1.trigger given to source 1.

2.Refer the Output section of queue 3 properties panel.

If you are filling them by percentage, use fill by percentage options in the send to port column.

v14-svk_1.fsm

0 Likes 0 ·
v14-svk-1.fsm (32.7 KiB)
dphilip22 avatar image dphilip22 Sri_vikas K commented ·

Thank you for your help again. I am having trouble replicating the changes you made in your model in mine. I am unclear on how the code was modified as well as the port changes. Would you mind explaining what you are modifying in the code to change which queues/transporters?

adding-queues.jpg

I'd like to have brown rolls go to these queues as well. (They look like they're out of place but I referenced a background I moved for the screenshot)

I appreciate any help!

v15.v2.fsm


0 Likes 0 ·
adding-queues.jpg (105.5 KiB)
v15v2.fsm (808.8 KiB)
Show more comments
Jason Lightfoot avatar image
0 Likes"
Jason Lightfoot answered Jason Lightfoot edited

You had incorrectly connected Transporter3 to the dispatcher - it needs to go from the dispatcher to the transporter, not the other way around.

One way to get the items flowing as you describe is to have the 3 queues that take the customer rolls pull that color only. You can also change the transport dispatcher rule to be based on the item color.

The test is:

item.color==Color.orange


(also note: the breakto of Transporter2 is causing exceptions you should change it back to new tasksequences)

5 |100000

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

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.