Alternate Resource (Sub) Group Selection by Proximity

Alternate Resource (Sub) Group Selection by Proximity

mark_s21
Not applicable
5 Views
2 Replies
Message 1 of 3

Alternate Resource (Sub) Group Selection by Proximity

mark_s21
Not applicable

[ FlexSim HC 5.3.8 ]

ect-v2-dec31.fsm

Hello,

My model has two resource groups, "CTA_Float" and "Nurse_WaitroomTransporter". Each are assigned to different things, for example, the CTA_Float can help take patient vitals and the Nurse can do a pre-assessment.

Both resources can also transport patients between the wait and recovery rooms. To achieve this separation of tasks I created an alternate resource group called "WaitRoomRecoveryStaff".

What I want to happen:

When a patient needs transporting the closest member of "WaitRoomRecoveryStaff" is assigned to the task.

What I did:

Changed the Member Selection Policy's (standard selection) scoring method of the alternate resource group to PROXIMITY.

What is happening instead:

The first listed member of the alternate resource group is being assigned to transport the patient, instead of the closest one. I confirmed this by switching the order of the alternate resource group.

Any guidance would much appreciated!

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

cliff_king
Not applicable
Accepted solution

To get a full explanation of how the Member Selection Policy works, you would need to open the full code editor for either the standard or the configurable selection policy option and read the comments in green text.

For the Standard Selection Policy option, there is an important assumption being made that is affecting your model. Starting on line 44, the comments explain two different comparison methods: COMPARE_ACROSS_ALL_MEMBERS and COMPARE_WITHIN_EACH_GROUP.

If the Alternate Group discovers that its members are groups themselves, then the Scoring Method (i.e. PROXIMITY) will COMPARE_WITHIN_EACH_GROUP rather than COMPARE_ACROSS_ALL_MEMBERS. If you want to have the Alternate Group COMPARE_ACROSS_ALL_MEMBERS, then you can either:

  1. Remove the group references from the alternate group's member list, and explicitly add the staff resources as members, or
  2. Change the Member Selection Policy option to Configurable Selection Policy and choose SHORTEST_DISTANCE for the User-Defined Score and COMPARE_ACROSS_ALL_MEMBERS for the Comparison Method.
0 Likes
Message 3 of 3

mark_s21
Not applicable

Great explanation as usual, Cliff...thank you!

0 Likes