question

Clair A avatar image
1 Like"
Clair A asked Adrian Haws edited

FIFO in a patient waiting line

In the attached model, the behavior in a waiting line is not FIFO as expected. A woman arrives first in the waiting line but takes the 2nd position. Then a man arrives later and takes the 1st position in the waiting line. Why is the behavior not FIFO by default ?

FlexSim HC 5.0.12
travelwaiting linepatient trackflexsim hc 5.0.12patient location
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
1 Like"
Matthew Gillespie answered Matthew Gillespie commented

It is FIFO, but it's based on who first "acquires" a spot in the line and not who first arrives at the line. Patients in HC don't start walking to a location until they've acquired a spot for themselves in the location they're walking to.

In your model, the man arrives first, acquires the first spot, and then begins walking the long distance between the arrival object and the waiting line. The woman arrives while the man is in the middle of his walk, acquires the second spot, walks to the waiting line, and arrives first at the waiting line since she had a shorter distance to walk. She waits at the second spot since that's the one she acquired.

· 2
5 |100000

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

Eloïse Martin avatar image Eloïse Martin commented ·

@Matthew Gillespie , as a consequence, even if people are placed in the waiting line by "FIFO based on spot acquirement", is it nonetheless possible to make the person who arrived first in the waiting line (the woman) to go to the podium first (before the man) ? Just like in waiting lines in real life ? The issue is that if a patient is coming from a distant area, the patient flow is stopped in the waiting line until his arrival, sometimes for long enough to distort statistics.

0 Likes 0 ·
Matthew Gillespie avatar image Matthew Gillespie ♦♦ Eloïse Martin commented ·

This usually isn't an issue since the arrival rate is usually much greater than the travel time. If this becomes an issue in your model you'd need to somehow shorten the distance the patients need to travel. You could do that by putting another waiting line just in front of the actual waiting line. Here's an example model for that.

1 Like 1 ·

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.