question

Thao B avatar image
0 Likes"
Thao B asked Thao B commented

How to command transporter to pick up specific items in a sequence?

material-sequence.fsm

Hi all,

Let's say I have a fixed amount of material allocated to 4 different queues. There are 8 types of material in each queue. How do I command the task executor ( transporter) to pick up materials from random queues in a sequence? For example, The transporter will carry 4 "material one" followed by 3 "material two", then 4 "material three" and 5 "material four" in each sequence, repeating itself.

I have attached an example of the model mentioned. Appreciate greatly if anyone can help me out.

FlexSim 19.1.0
material flow
· 2
5 |100000

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

Braydn T avatar image Braydn T commented ·

Hey @Thao B

Will there always be those quantities of those materials in each Queue? What should the transporter do if there is less than the required amount of a material when it goes to the Queue? Should it keep going to other Queues until it reaches the amount it is supposed to have? What should the Transporter do if there is no material in the Queue? Should it skip that material type? The best way I can think to do this is in Process flow, with the Queues as a resource that you acquire randomly. Then the Transporter goes to the Queue and loads however many you want of the item type based on the label and what it did last, but you could run into issues if you don't have logic in place for cases like the ones I asked about above.

0 Likes 0 ·
Thao B avatar image Thao B Braydn T commented ·

@Braydn T

Thank you for the reply. Yes there will always be a fixed quantity in each queue. To make things simpler, I like to command the transporter to take 2 materials of each type in each sequence (Label 1 first to Label 8 last) and should automatically source for the materials in other queues if it is not available in the current queue. But If there no material left in the queue, the transporter skips that type of material and continues with other materials left.

0 Likes 0 ·

1 Answer

·
Braydn T avatar image
0 Likes"
Braydn T answered Thao B commented

Hey @Thao B

Here is an updated model:

material-sequence-process-flow.fsm

In this model I used process flow to look for an item type and then another item of the same type in the same Queue, and then go and pick them up. If there is only 1 of that item type in the Queue, it picks up that one and drops it off. It uses a global variable ItemType, that iterates in the custom code block at the end of the process flow. It selects a random Queue to pick up.
Let me know if this is what you were looking for.

Thanks!

Feel free to @Braydn T if you have more questions.


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

Thao B avatar image Thao B commented ·

Hi @Braydn T

Yes, this is what I was looking for. Thank you!

0 Likes 0 ·

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.