question

Mark S2 avatar image
0 Likes"
Mark S2 asked Mark S2 commented

Alternate Resource (Sub) Group Selection by Proximity

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!

FlexSim HC 5.3.8
proximityalternate group
ect-v2-dec31.fsm (1.2 MiB)
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

Cliff King avatar image
0 Likes"
Cliff King answered Mark S2 commented

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.
· 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.

Mark S2 avatar image Mark S2 commented ·

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

0 Likes 0 ·