Inpatient.Capacity.Planning_Surgery_Ortho_1.fsmHi There,
I am simulating a surgical wait list. I would like for the patients waiting for a surgery bed to acquire a bed based on what percentage of their target wait time has elapsed. I have a user event updating this percentage (label) on a repeating basis for each scheduled patient and I am using the label value in the "Sort By" field in the advanced portion of the Location Resource.
For example: This should mean that if a patient has waited 50% of their wait time and another has waited 10% the patient who has waited 50% should be selected to acquire a bed resource sooner than the patient who has waited 10% regardless of when they arrived to the "acquire location" block.
Essentially instead of FIFO (first in first out) for the resource I want FlexSim to choose based on a label value. However I just exported the Person Waiting For Location History table and it appears that is not what is happening. See below:
In the above output - PID#2147 got their bed about 29 minutes ahead of PID#2148 but if it were sorting by the percent of their target wait time like I have asked it PID#2148 should have gotten a bed first since a larger percentage of their wait time had elapsed. It looks like FlexSim is still using FIFO...
Any thoughts on what might be happening/causing this?
Thanks,
Ashlee