Scheduling Staff Meeting when patients are gone

maria_c2
Not applicable
0 Views
5 Replies
Message 1 of 6

Scheduling Staff Meeting when patients are gone

maria_c2
Not applicable

[ FlexSim HC 5.1.0 ]

I am trying to model a staff meeting with all staff members of a clinic, but this can only happen whenever all the staff members ate available and all patients are gone from the clinic. This meeting happens at noon. I've tried setting up a global process, and i worked and everything with all the staff members meeting. However, a patient is being left to wait during the staff meeting. I tried changing the priority - however, i think the problem is that at the time the patient is trying to request the staff member, the staff member has already been requested by the global process and locked. Do you have any suggestions as to how to fix this issue?

Thanks!

0 Likes
Accepted solutions (1)
1 View
5 Replies
Replies (5)
Message 2 of 6

matthew_gillespie
Not applicable
Accepted solution

So if there is a patient in the model then the meeting shouldn't happen at all? To make that happen you could just use the Activity Start Condition to check if there are any patients using this command:

return !getcensus(model());
0 Likes
Message 3 of 6

maria_c2
Not applicable

I got it to be that whenever the census = 0, then the activity starts. Now I am not sure how to stop the meeting whenever a patient arrives. How would I interrupt a meeting and have only one type of staff leave the meeting?

0 Likes
Message 4 of 6

matthew_gillespie
Not applicable

If the patient's activity has a higher Priority tier than the meeting activity (there is a new tier every 100 so 100 - 199 is a tier above 0 - 99) then the patient will preempt any staff he needs from the lower tier activity.

By default all activities use 150 as the priority so you could just set the staff meeting activity to use a priority in the 0 - 99 range.

0 Likes
Message 5 of 6

maria_c2
Not applicable

Say the staff is requested to the meeting at 12:00pm, and he goes into the meeting ( a 60 min process) - then at 12:30 pm, a patient arrives and requests the staff member with higher priority. Will the staff member leave the meeting?

0 Likes
Message 6 of 6

matthew_gillespie
Not applicable

Yes, here is an example model that shows that working. You'll notice that RN1 leaves the meeting to attend the patient for 5 minutes.

Something to note though, is that this makes everyone in the staff meeting wait for the RN. The staff meeting ends at time 15.3. If you turn off the patient arrival then the meeting is never interrupted and ends at time 10.1.

0 Likes

Type a product name