question

Matthias24 avatar image
0 Likes"
Matthias24 asked Ralf Gruber answered

How to assign different TaskExecuters to two different destinations?

Hello,

I try to make a modell with the ProcessFlow in which 2 taskexecuter travel to two different destinations. The first taskexecuter (taskexecuter_1) is supposed to load the red box and unloads it at the queue_1. The second taskexecuter followst he same pattern (taskexecuter_2 loads green box and unlaods at queue_2).

3d-modell.png

I tried to accomplish that by using the „Object By Case“ funktion in the load and travel activity. Sadly the „Object By Case“ funktion doesn’t work as hoped. Has anyboady an idea how to make the modell with the ProcessFlow work?processflow.pngerror-window.png


Thank you very much for your help!

BasisModel_ProcessFlow.fsm

FlexSim 23.2.0
agv
3d-modell.png (159.2 KiB)
error-window.png (43.8 KiB)
processflow.png (83.0 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.

1 Answer

Ralf Gruber avatar image
0 Likes"
Ralf Gruber answered

Hello Matthias24,

there are multiple things to fix in your model:

1. In your PF Source you try assign a label "label_Item_ID" the value of "ID". ID is unknown to FlexSim, it needs to be "token.ID".

2.Your Object By Case in your second travel task cannot work correctly, because you try to assign the objects "Haltestelle1" and "Haltestelle2" as destinations. These names do not exist. You will have to use the names you assigned to the destination queues.

3. The Default Case is supposed to catch everything which is not covered by one of the cases. If no case would apply (I know, technically cannot happen...but it did ;)) you would let the AGV travel to the item loaded, which will cause an exception, because it is not linked to the network.

4. You also need to make sure, that an AGV gets a new order only when the previous one is finished.

5. Your logic assumes, that there will always be at least one red and one green item available for pickup. If this won´t be the case, the AGV without an item to pickup will block the AGV that has an item to pickup from getting to the queue.

Good luck


5 |100000

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