Simulate a simple clinic with separate registration and examination stages
using simmer. The quantity of interest is the mean time in system over
nrep replications for each parameter set.
sobol4r_clinic_model(
X,
cap_reg = 2,
cap_exam = 3,
horizon = 2000,
warmup_prob = 0.2,
nrep = 10L
)Numeric vector of length nrow(X).
Design matrix or data.frame with columns lambda (arrival
rate), mu_reg (registration service rate), and mu_exam
(examination service rate).
Integer capacities for the registration and examination resources.
Simulation horizon.
Fraction of the horizon treated as warmup and discarded before computing the mean time in system.
Number of replications used to average the mean time in system.