question

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

Operator Assignment to Shared Objects

Hello,

In my model, operators first bring the packets to the queue next to them and then sort each packet according to the "Target" labels. There are 16 different Targets in total and 3 operators work in the left part of this scheme and the other 3 operators work in the right part. The marked queues are the joint responsibility of the personnel on both sides. I defined 3 different resources to simulate this process: GROUP 1 refers to the 3 personnel on the left of the module, GROUP 2 refers to the 3 personnel on the right of the module and ALL GROUPS refers to all personnel. But in this way a staff member acquired by ALL GROUPS is also acquired in GROUP 1 or GROUP 2. How do I assign the personnel according to the chutes they are responsible for, is there a method you can suggest?

manuelsort_v3.fsm



FlexSim 22.2.2
acquire resourcestaff assignment
manuelsort-v3.fsm (126.4 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

·
Matthew Gillespie avatar image
0 Likes"
Matthew Gillespie answered Kadircan T commented

manuelsort-v3_1.fsm

The List has a way to automatically let you filter things by the groups they're in. First, I changed the WPersonel group to have the other two groups as members of itself. Then I made a new Personel list and added the WPersonel group to its Initial Content.

1677615885529.png

Now, when you reset the model (since the Automatically Add Group Fields chechbox is checked) it creates new columns for all the groups that each operator is in (the number is their rank in that group).

1677615954269.png

I removed two of your resources and made all the acquire resource activities just use one resource. That resource uses the Personel list as its reference. Now if you want to acquire any operator you leave the Query field blank. But if you want to acquire from one of the sub groups you use the query

WHERE W1Personel

or

WHERE W2Personel

1677616135890.png

Also, I had to change some of your Object By Case options from

Group("WPersonel").indexOf(token.resource)

to

Group("WPersonel").toFlatArray().indexOf(token.resource)

since the WPersonel only has the other 2 groups as members now.


1677615885529.png (43.5 KiB)
1677615954269.png (11.3 KiB)
1677616135890.png (14.8 KiB)
manuelsort-v3-1.fsm (125.0 KiB)
· 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.

Kadircan T avatar image Kadircan T commented ·

Thank you Matthew

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.