Oil Change Center Queue
Oil Change Center Queue
Cars arrive at an oil change center following a Poisson process, at the rate of four per hour. There is a single available mechanic, and the time taken to perform an oil change is exponentially distributed, with an average of 12 minutes. Approximate an unlimited car space.
𝒫 = QueueingProcess[4, 60 / 12];𝒟 = StationaryDistribution[𝒫];DiscretePlot[PDF[𝒟, k], {k, 1, 20}, ExtentSize -> 0.5, PlotRange -> All]NProbability[x > 3, x𝒟]{Mean[𝒟], Variance[𝒟]}//N