question

Maria C2 avatar image
0 Likes"
Maria C2 asked Matthew Gillespie commented

Scheduling Staff Meeting when patients are gone

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!

FlexSim HC 5.1.0
priorityglobal processes
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
0 Likes"
Matthew Gillespie answered Matthew Gillespie commented

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:

  1. return !getcensus(model());
· 4
5 |100000

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