An Object Event Simulation (OES) example model. You can download and inspect its code from the OES GitHub repo.

Medical-Department-1b

An examination activity requires exactly one doctor. Doctors are modeled in the form of a count pool.

Simulation Log
StepTimeCurrent EventsSystem StateFuture Events