question

Sebastien avatar image
0 Likes"
Sebastien asked Felix Möhlmann commented

Extract real waiting time from a patient in a waiting line

Hi,

I have a process flow with patients waiting in line. My goal is to get the real waiting time that a patient is spending in the waiting line for waiting only.

I used to measure the time during which the patient was in the waiting line but this is equal to the waiting time + the walking time in the waiting line (Waiting Line Entry and Exit in the attached test model). Hence a patient alone in the waiting line would give 5 seconds waiting time because it took him 5s to go through the waiting line.

I would like to make the model better and more exact by getting only the real waiting time. Is this possible ?

Test Waiting Time.fsm


FlexSim 20.2.3
process flowwaiting times
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

·
Jeanette F avatar image
0 Likes"
Jeanette F answered Felix Möhlmann commented

Hello @Sebastien,

One way you could fix this is for the patient to not go to the wait line if there is no reason for them to wait. To implement this you could use the walk then process (or go to wait room) block of activities and substitute in the wait in line instead of the wait room.

1642095290792.png


1642095290792.png (19.5 KiB)
· 7
5 |100000

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

Sebastien avatar image Sebastien commented ·
Thank you @Jeanette F !

The function I need is in the Walk then Process set you mention. I will simply use the "Use Max Wait Timer" for redirecting the token when the patient is waiting.

Thank you again,


0 Likes 0 ·
Sebastien avatar image Sebastien commented ·
Actually I spoke too fast.

This works only for the first patient going through the process flow. For the following waiting patients it does not work.

The main problem is that the patients have to go through the waiting line, whether they wait or not. Hence I am still stuck.


0 Likes 0 ·
Jeanette F avatar image Jeanette F ♦♦ Sebastien commented ·
Hello @Sebastien,

In the case of the first patient, they do not have any waiting time because the kiosk is available, so the first patient does not need the waiting line. You could put in a preferred path that goes through the waiting line so the patient still walk through it but the patient does not use the waiting line. All the other patients that follow will need to wait because the kiosk is not available, so their time in the line does correspond to their time waiting.

0 Likes 0 ·
Sebastien avatar image Sebastien Jeanette F ♦♦ commented ·

Hello @Jeanette F ,

Sorry, I meant this works for the first patient who waits. The ones that stay in the activity "Wait in Line" stay there, wait and do not trigger the "Use Max Wait Timer" for measuring the waiting time. This is because I do not use a Wait Area, and I can't, as the Wait Area is the "Waiting Line" itself.


0 Likes 0 ·
Show more comments

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.