This scenario is for the Registration Process in a hospital.
I have 5 registration persons available to serve a patient to check in. When a patient arrives, the patient needs to grab a register who is idle. Assuming that patient 1 grabs register 1 and is still being serviced, when the second patient arrives, the patient needs to grab the second register so on and so forth.
When the first 5 patients arrive and assume that all are being serviced, the 6th patient has to wait. If any of the registration persons are free, the patient needs to see him for service.
I tried this using SelectOutput5
block with the condition IsIdle
or Isbusy
.
The model however routes patient to 1 registration person even if the person is busy.
I believe I am missing some pieces.
As per my previous answer and Felipes comment: this is exactly what a Service object is doing, if you link it with a Resourcepool.
Do that and it will work. Check example models to learn more about how to use them, just search for "service" or similar
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.