question

Kadircan T avatar image
0 Likes"
Kadircan T asked Kadircan T commented

Who to Participate in Coordinated Activity

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

FlexSim 22.2.0
coordinated task sequence
sync-activity.fsm (112.6 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

·
Jason Lightfoot avatar image
0 Likes"
Jason Lightfoot answered Kadircan T commented

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


sync-activity-jl.fsm (113.5 KiB)
· 5
5 |100000

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

Kadircan T avatar image Kadircan T commented ·

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 0 ·
Jason Lightfoot avatar image Jason Lightfoot ♦ Kadircan T commented ·

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 0 ·
Kadircan T avatar image Kadircan T Jason Lightfoot ♦ commented ·

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 0 ·
Show more comments

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.