Who to Participate in Coordinated Activity

Who to Participate in Coordinated Activity

kadircan_t
Not applicable
137 Views
6 Replies
Message 1 of 7

Who to Participate in Coordinated Activity

kadircan_t
Not applicable

[ FlexSim 22.2.0 ]

Hello,

In my model, in the last stage of the process flow, I want the operators to do a job with two people. But in the 2nd acquire resource event, I want the operator who will come to help to be just to the right or left of the operator doing the job. How can I write this query?

sync_activity.fsm

0 Likes
Accepted solutions (1)
138 Views
6 Replies
Replies (6)
Message 2 of 7

jason_lightfoot_adsk
Autodesk
Autodesk
Accepted solution

Use a different travel task either:

  1. to a known object location -eg. network node
  2. to a coordinate you can calculate, and specify in a TravelToLoc task.

Otherwise you'll be faced with reading the kinematic of the other operator to determine their target coordinates (shown in attached model).

sync-activity_jl.fsm

0 Likes
Message 3 of 7

kadircan_t
Not applicable

thank you for your answer but my main problem is that I cannot send the operator I want as an assistant.

For example: When operator 2 is going to drop the packages on the conveyor, I only want whichever operator 1 or 3 is free to go to help, not operator 4, 5 or 6. In other words, only the empty one from the previous and the next operator should go to help.

0 Likes
Message 4 of 7

jason_lightfoot_adsk
Autodesk
Autodesk

Right but isn't the free operator just referenced as token.resource a that point? Check the model I uploaded to see if it's roughly what you need.

0 Likes
Message 5 of 7

kadircan_t
Not applicable

Thank you for your answer, when I look at the labels in the image I shared in the attachment, I see that the 4th operator goes to help the work done by the 1st operator. For this process, the 1st operator must wait for the 2nd operator to become idle.

On the other hand, the operator who will help is going to the right place thanks to the code you shared, thank you very much for that. The problem is that the helper operator is going to the right location, but there is a mistake which operator is going to help.

screen-shot-2023-03-07-at-141944.png

0 Likes
Message 6 of 7

jason_lightfoot_adsk
Autodesk
Autodesk

You can define the helper explicitly using a pointer label or connection - I prefer pointer labels named - eg. 'helper'.

Then you can refer to the helper as:

token.PersonelID.helper
0 Likes
Message 7 of 7

kadircan_t
Not applicable
thank you, i will check it out
0 Likes