Evaluate a simple M/M/1 queue built with simmer for each row of a
Sobol design matrix. The quantity of interest is the mean time in system
across nrep independent replications.
Usage
sobol4r_mm1_model(X, horizon = 1000, warmup = 200, nrep = 20L)
Arguments
- X
Design matrix or data.frame with columns lambda (arrival
rate) and mu (service rate).
- horizon
Simulation horizon.
- warmup
Warmup period; arrivals ending before this time are discarded
from the summary statistic.
- nrep
Number of replications used to average the mean time in system.
Value
Numeric vector of length nrow(X).