NivaarExam PrepOfficial exam papers ↗

16-Civ-B7 Transportation Planning and Engineering · December 2019

Question 2 of 7: Deterministic Queueing at a Toll Booth

Nivaar worked solution (AI-drafted; not reviewed by a licensed engineer)

Notes on this paper

Paper format. National Examination, December 2019 — 16-Civ-B7, Transportation Planning & Engineering. Three hours. Closed book; one two-sided aid sheet is permitted, plus an approved Casio or Sharp calculator. Seven questions, all of equal value (20 marks); any five constitute a complete examination and only the first five that appear in the answer book are marked. The mark split is printed as a per-sub-question table on the last page and is reproduced in each heading below. All seven questions are solved here, because the set is a study resource.

Reference texts.

Question 2: Deterministic Queueing at a Toll Booth (20 marks)

Question text not reproduced: the examination questions are © Engineers and Geoscientists BC. Open the official past paper (linked at the top of this page) to read the question, then follow the worked solution below.

Given. A single toll booth served by a three-stage deterministic arrival profile, with time \(t\) measured in minutes after 8:00 a.m.

Arrival and service rates at the toll booth
IntervalClock timeArrival rate \(\lambda\) (veh/min)Service rate \(\mu\) (veh/min)
\(0 \le t \le 10\)8:00 – 8:10106
\(10 < t \le 25\)8:10 – 8:2586
\(t > 25\)after 8:2526

The queue discipline is first-in–first-out, the booth serves at its maximum rate whenever a queue is present, and there is no vehicle waiting at 8:00 a.m.

Find. The cumulative arrival and departure curves up to the instant the queue dissipates, the maximum queue length, the total vehicle delay, and the average delay per vehicle.

051015202530354045050100150200250Time after 8:00 a.m. (minutes)Cumulative vehiclesQ(max) = 70 vehw(max) = 11.67 minqueue clears at t = 42.5 min (8:42:30 a.m.)10 veh/min8 veh/min2 veh/minservice 6 veh/minA(t) cumulative arrivalsD(t) cumulative departuresshaded area = total delay
Figure 2.1 — Cumulative arrival and departure curves at the toll booth. The vertical gap is the queue length, the horizontal gap is an individual vehicle’s wait, and the shaded area is the total delay of 1637.5 vehicle-minutes.

Approach. Build the cumulative arrival function \(A(t)\) piecewise and the cumulative departure function \(D(t) = \mu t\), find the clearance time where \(A(t) = D(t)\), read the maximum queue as the largest vertical gap between the two curves, and obtain the total delay as the area enclosed between them.

  1. Write the cumulative arrival function. Integrating each constant arrival rate and carrying the running total forward, $$A(t)=\begin{cases}10t, & 0 \le t \le 10\\[2pt] 100+8(t-10), & 10 < t \le 25\\[2pt] 220+2(t-25), & t > 25\end{cases}$$ so \(A(10)=100\) vehicles and \(A(25)=220\) vehicles have arrived by 8:10 and 8:25 respectively.
  2. Write the cumulative departure function. Because \(\lambda = 10 > \mu = 6\) from the first instant, a queue exists continuously from \(t = 0\) and the booth is never starved until the queue clears. Departures therefore accumulate at the full service rate, $$D(t)=\mu t = 6t \qquad \text{(veh, while a queue is present).}$$
  3. Track the queue through each interval. The queue length is the vertical separation \(Q(t) = A(t) - D(t)\), which grows or shrinks at the difference of the two rates:
    • \(0 \le t \le 10\): grows at \(10-6 = +4\) veh/min, so \(Q(10) = 100 - 60 = 40\) veh.
    • \(10 < t \le 25\): grows at \(8-6 = +2\) veh/min, so \(Q(25) = 220 - 150 = 70\) veh.
    • \(t > 25\): shrinks at \(2-6 = -4\) veh/min.
    The queue therefore peaks at the rate crossover \(t = 25\) min, not at the end of the heaviest arrival period — the arrival rate stays above the service rate right through the second interval.
  4. Locate the clearance time. Setting \(A(t) = D(t)\) on the third branch, $$220+2(t_c-25)=6t_c \;\Longrightarrow\; 170 = 4t_c - 50 \;\Longrightarrow\; t_c = \frac{70}{4}+25$$ $$\boxed{t_c = 42.5 \text{ min after 8:00 a.m.} \;=\; 8\!:\!42\!:\!30 \text{ a.m.}}$$ The root lies on the branch it was derived from (\(t_c > 25\)), so it is valid. Check: \(A(42.5) = 220 + 2(17.5) = 255\) veh and \(D(42.5) = 6(42.5) = 255\) veh — the two curves close, as they must.
  5. (b) Maximum queue length. From step 3 the largest vertical gap occurs at the rate crossover, \(t = 25\) min: $$Q_{\max}=A(25)-D(25)=220-150$$ $$\boxed{Q_{\max}=70 \text{ vehicles, at 8:25 a.m.}}$$ The corresponding physical storage requirement, at a typical 7.5 m per queued vehicle, is about 525 m of approach lane — the number a designer actually needs.
  6. (c1) Total vehicle delay. The total delay is the area between \(A(t)\) and \(D(t)\) from 0 to \(t_c\). Splitting it at the two rate breaks gives a triangle, a trapezoid and a triangle: $$W=\underbrace{\tfrac{1}{2}(10)(40)}_{0-10\text{ min}}+\underbrace{\tfrac{1}{2}(40+70)(15)}_{10-25\text{ min}}+\underbrace{\tfrac{1}{2}(17.5)(70)}_{25-42.5\text{ min}}$$ $$W=200+825+612.5$$ $$\boxed{W=1637.5 \text{ vehicle-minutes} = 27.29 \text{ vehicle-hours}}$$
  7. (c2) Average delay per vehicle. Every vehicle that arrives before clearance is delayed, so the divisor is the total arriving in \([0, t_c]\), namely \(A(t_c) = 255\) vehicles — the vehicles arriving during the recovery period must be included, because they still queue behind the residual. $$\bar{w}=\frac{W}{A(t_c)}=\frac{1637.5}{255}$$ $$\boxed{\bar{w}=6.42 \text{ min/veh} = 385 \text{ s/veh}}$$ The worst individual delay is the horizontal gap at the crossover: the 220th vehicle arrives at \(t=25\) min and is served when \(D=220\), i.e. at \(t = 220/6 = 36.67\) min, giving a maximum wait of \(11.67\) min.

At 385 s of delay per vehicle the booth is far beyond any acceptable service standard — the HCM level-of-service F threshold for control delay is 80 s/veh — which is the engineering conclusion the arithmetic supports: a single booth is grossly under-capacity for this demand profile. Two booths (\(\mu = 12\) veh/min) would clear the peak arrival rate outright and eliminate the queue entirely.

Question 2 — final results
QuantitySymbolValue
Queue clearance time\(t_c\)42.5 min after 8:00 a.m. (8:42:30 a.m.)
Total vehicles served to clearance\(A(t_c)\)255 veh
Maximum queue length\(Q_{\max}\)70 veh (at 8:25 a.m.)
Total vehicle delay\(W\)1637.5 veh-min (27.29 veh-h)
Average delay per vehicle\(\bar{w}\)6.42 min/veh (385 s/veh)
Maximum individual delay\(w_{\max}\)11.67 min