question

Lea D2 avatar image
0 Likes"
Lea D2 asked Eric M answered

Load multiple objects at a time

Hello,

I can't find how to load multiple objects at a time if more than one object is waiting. It always only takes one box after the other even though I increased the capacity of the task executers at 2. I think it is due to the fact that my task executers are in a list because when I only had one task executer it loaded as much box as possible (even more than the capacity I entered ). How can I solve this issue ?

Moreover, when the task executer is in "break" I would like it to come back to the break location plane but I can't find the "set break location" like in the tutorials... I tried the "Place offset" trigger and place at location but it didn't work.

screenshot-trigger.png

Thanks for your help

test_carriage_multiple_objects.fsm

FlexSim 19.2.4
task executerflexsim 19.2.4loadingbreakindustry
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

Eric M avatar image
0 Likes"
Eric M answered

Hi @Lea D2, the issue you're running into here is that each item is 1 token. So only 1 item pulls a transporter at a time and then enters the Load activity. The load activity will then only load the item that's on the token label. Basically each item will run through your flow individually.

I added an example of another way you can structure your flow to get the transporters to load more items. Instead of pulling Transporters from a list, I'm going to pull items from a list. That way I can pull multiple items at the same time which will help me load them at the same time. The source on the left creates items and pushes them to the list. The source on the right creates 1 token for each transporter. This transporter then pulls items from the list (you specify the number in the Pull activity). These items will be put in an array of length 2. I use a Move Object activity instead of a Load activity because the Move Object activity can move all the items in the array at one time while the Load cannot. When the transporters are done with their task, I send their tokens back to the Pull activity to wait for more work.

For your second question, try using the "On Resource Available" trigger. This will fire when the Transporter has no more tasks waiting to be completed. I did this for Transporter1 so you can see how it works. Let me know if you have any questions!

test-carriage-multiple-objects-em.fsm


5 |100000

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