Question 2 of 7: Single-server queueing at a cashier
Nivaar worked solution (AI-drafted; not reviewed by a licensed engineer)
Notes on this paper
Paper format. National Examinations, December 2017 — 16-Civ-B10 Traffic Engineering, 3-hour duration, OPEN BOOK (any non-communicating calculator permitted). Seven questions of equal value (20 marks each); the paper requires five solutions and marks only the first five as they appear in the answer book. Because the set is a study resource, all seven questions are solved here. The paper's own Note 1 invites a clear statement of any assumptions made and Note 2 permits any required-but-not-given data to be assumed; every assumption used below is stated explicitly where it is introduced.
Reference texts.
Garber, N.J. and Hoel, L.A., Traffic and Highway Engineering, 5th ed., Cengage — Ch. 5 (traffic-engineering studies), Ch. 6 (fundamental principles of traffic flow and queueing), Ch. 8 (intersection control and signal timing), Ch. 15 (geometric design of highway facilities).
Transportation Research Board, Highway Capacity Manual — signalized-intersection capacity, saturation flow and pedestrian-interval methods.
AASHTO, A Policy on Geometric Design of Highways and Streets, 2001 metric edition — stopping sight distance and crest/sag vertical curves (the SSD table reproduced on page 4 of this paper is AASHTO 2001, Table 3-1).
Transportation Association of Canada, Geometric Design Guide for Canadian Roads — the Canadian design-controls equivalent of the AASHTO Green Book, and the governing document for Canadian practice.
Transportation Association of Canada, Manual of Uniform Traffic Control Devices for Canada (MUTCDC) — signal displays, pedestrian intervals and clearance timing.
Webster, F.V. and Cobbe, B.M., Traffic Signals, Road Research Technical Paper No. 56, HMSO — the optimum-cycle and delay relations used in Questions 3 and 4.
Question 2 — Single-server queueing at a cashier (a) to (e), 4 marks each — 20 marks
Find. The idle probability of the server, the mean queue length and the mean number in the system, the mean waiting and service times, and the probability that the line exceeds five customers.
Approach. Treat the cashier as an M/M/1 system — Poisson arrivals, negative-exponential service, one server, infinite queue — compute the traffic intensity $\rho = \lambda/\mu$, and read every requested statistic off the standard steady-state relations.
Convert both rates to a common time base and form the traffic intensity. Rates quoted per 20 minutes are multiplied by three to give hourly rates:
Because $\rho \lt 1$ the system is stable and a steady state exists; the cashier is busy 83.3 % of the time. (Working in customers per 20 minutes gives the identical $\rho = 10/12$; the hourly base is carried forward only so that the time answers come out in familiar units.)
(a) Probability that the cashier is free. The probability of an empty system is the complement of the utilisation:
$$P_0 = 1 - \rho = 1 - 0.8333 = \boxed{0.1667}$$
The cashier is idle about one-sixth of the time, or roughly 10 minutes in every hour.
(b) Average number of customers waiting to be processed. "Waiting to be processed" excludes the customer currently at the till, so this is the mean queue length $L_q$:
The two answers are consistent: $L = L_q + \rho = 4.17 + 0.83 = 5.00$, the extra $\rho$ being the expected number in service.
Establish the waiting and service times from Little's law. Little's law, $L = \lambda W$, applied to the queue and to the system gives the two time statistics directly:
$$W_q = \frac{L_q}{\lambda}, \qquad W = \frac{L}{\lambda}$$
(d) Average wait time and average processing time. Substituting,
For completeness, the total time in the system is $W = 5.00/30 = 0.1667$ h $= 10.0$ min, which checks against $W = W_q + 1/\mu = 8.33 + 1.67 = 10.0$ min. A customer therefore spends five times as long queueing as being served — the characteristic signature of an M/M/1 system running at $\rho = 0.83$.
(e) Probability that a second cashier is opened. A second cashier opens when the line exceeds five customers, that is when $n > 5$, equivalently $n \ge 6$. For M/M/1 the tail probability has the closed form
A second till is needed about one-third of the time, which is a strong operational argument for scheduling a second cashier through the peak rather than opening one reactively.
Part
Quantity
Result
(a)
Probability the cashier is free, $P_0$
0.167 (16.7 %)
(b)
Mean number waiting, $L_q$
4.17 customers
(c)
Mean number in line (in system), $L$
5.00 customers
(d)
Mean waiting time, $W_q$
8.33 min
(d)
Mean processing (service) time, $1/\mu$
1.67 min
(d)
Mean total time in system, $W$
10.0 min
(e)
$P(n > 5)$ — second cashier opened
0.335 (33.5 %)
Check — reading of parts (b) and (c)
Parts (b) and (c) are worded almost identically ("waiting to be processed" and "in line"), and a literal reading would make them the same quantity. Under the paper's Note 1 the interpretation adopted here is the standard M/M/1 pair that the marking scheme's 4 + 4 mark split implies: (b) is the mean queue length $L_q = 4.17$, excluding the customer at the till, and (c) is the mean number in the system $L = 5.00$, including that customer. Both numbers are reported so that either reading is served, and the identity $L = L_q + \rho$ is shown so the relationship between them is explicit.