Tools › Operations Research › Queueing and Simulation › Process Simulation › Example

A clinic day with one registration clerk: five steps, a lab loop and a line that grows all day

ToolProcess Simulation
SourceOriginal illustrative case (no real clinic). Method: Law, A. M. (2015). Simulation Modeling and Analysis, 5th ed. McGraw-Hill Education, New York.
LevelUndergraduate

Problem

Patients arrive at random, one every 4.5 minutes on average, over an 8-hour day that starts empty. They pass Registration (one clerk), Triage (two nurses), Exam (four rooms) and Checkout (one desk); one exam in five sends the patient to a single-bench Lab and back to Exam. Simulate 30 days and find the busiest step, the time a patient spends in the clinic and where that time goes.

Inputs to Enter

  • Arrivals: random (exponential), mean gap 4.5 min; run length 480 min, warm-up 0, 30 replications, seed 5
  • Registration: 1 server, triangular 2 / 9 / most likely 3.4 min; Triage: 2 servers, uniform 4 to 10 min
  • Exam: 4 servers, lognormal mean 14 min, CV 0.6; next Checkout, 20 % to Lab; Lab: 1 server, exponential mean 10 min, next Exam
  • Checkout: 1 server, triangular 1 / 6 / most likely 2 min, then leaves
Open the Process Simulation tool (loaded with this example)

Answers

  • Offered load by the entered means: Registration 4.8 / 4.5 = 1.07 (more than one clerk can do), Exam 1.25 visits × 14 / 4.5 / 4 = 0.97
  • Registration busy 94.2 % ± 1.6 %, mean line 7.37 ± 1.63 patients, mean wait 32.0 ± 6.3 min; 12.6 patients still waiting there at the end of the day on average
  • Mean time in the clinic 73.6 ± 6.9 min (median 68.6, 90th percentile 121); 49 % of it is service, the rest waiting
  • 85.1 of the 107.2 patients who arrive in a day leave within it; mean work in process 15.8

Notes

Open this case in the tool: /analysis-tools/operations-research/queueing/process-simulation/?try=one-clerk-holds-up-the-clinic. It is the tool's default: press Submit. The figures after ± are 95 % half-widths across the 30 replications; an independent Python simulation with the same random numbers reproduces them (test_process_simulation.php). A model of the entered process, not a forecast.

More Examples for This Tool