I'm making a simple simulation model of a hospital and I'm having trouble with the routing of my model.
For instance, a patient first goes through ED and then to OR. if there is no room in the OR, then the patient must stay in ED. How can I model this?
I don't want the patient to wait at any input or output buffer, because then it assumes that the ED bed that the patient used to stay in is now free but it actually isn't.
Each bed is modeled as a server and there are more ED beds than there are OR beds. Naturally, all ED beds connect to a single transfer node, which then connect to all OR beds.