VIEW THIS AS

Auto mode follows the Route Engine until you choose a viewpoint.

YOU ARE HERE

ROUTE CHECK

CONNECTED TO

WHAT NEXT

Use the canonical route for this room, or HELP if you are unsure.

The Gold Standard of Queueing Theory | Busy-Period Occupation Times, Threshold Penalties and Nonlinear Holding Costs

GOLD STANDARD · QUEUEING THEORY · HOW X WORKS

Find the decision hidden inside the model

The ordinary area under a busy-period path charges every customer-time unit equally. Occupation times keep more information: they show how long the queue lived at each level, so a threshold, convex or capacity-sensitive penalty can price crowding without pretending that the third customer costs the same as the first.

This guide connects the Gold Standard of Queueing Theory, Gold Standard of Education, and How X Works hub.

CHAPTER 1 OF 12 · ORIENT THE FUNCTIONAL

1. Area is one cost functional, not the only one

Back to contents

For a queue-length path Q(t), the busy-period area is the integral of Q(t) until the system next empties. It equals accumulated customer-time when Q counts customers in the system. That linear measure is useful, but it assumes that each additional customer creates the same marginal burden.

Real systems often have thresholds. A waiting room may remain comfortable up to two people, become crowded at three and unsafe at five. An occupation-time account preserves how long the process stayed at every level, allowing a declared cost function h(Q) to replace the automatic choice h(Q)=Q.

Contents · Next chapter

CHAPTER 2 OF 12 · ORIENT THE FUNCTIONAL

2. Define occupation time before assigning cost

Back to contents

Let the busy period end at time B. The occupation time at level k is T_k = integral from 0 to B of the indicator that Q(t)=k. The busy-period duration is the sum of all positive-level T_k, while the linear area is the sum of k times T_k.

A general accumulated holding cost is C_h = sum of h(k)T_k. This separation matters: the path supplies the T_k values; the decision context supplies h. If the penalty changes, the same observed path can be re-evaluated without inventing a different queue history.

Contents · Previous chapter · Next chapter

CHAPTER 3 OF 12 · CALCULATE THE PATH

3. Build level times from event intervals

Back to contents

Consider one busy period with queue levels 1 from time 0 to 1, 2 from 1 to 2.5, 3 from 2.5 to 3, 2 from 3 to 4 and 1 from 4 to 5. Between arrivals and departures the path is constant, so each interval contributes its duration to one level.

The resulting occupation times are T_1=2, T_2=2.5 and T_3=0.5 time units. They sum to B=5. The linear area is 1(2)+2(2.5)+3(0.5)=8.5 customer-time units. This agrees with a customer-by-customer sum of sojourn times when both calculations use the same system boundary.

Contents · Previous chapter · Next chapter

CHAPTER 4 OF 12 · CALCULATE THE PATH

4. Work linear, threshold and quadratic penalties

Back to contents

Now apply three cost rules to the same occupation vector. A linear rule h(k)=k gives 8.5. A threshold rule h(1)=1, h(2)=2 and h(3)=6 gives 1(2)+2(2.5)+6(0.5)=10. A quadratic rule h(k)=k² gives 1(2)+4(2.5)+9(0.5)=16.5.

Nothing about the path changed. Only the declared consequence of crowding changed. This is exactly why occupation times should be stored before collapsing them into one number.

Cost ruleLevel costs h(1), h(2), h(3)Accumulated cost
Linear1, 2, 38.5
Threshold jump1, 2, 610.0
Quadratic1, 4, 916.5
One illustrative five-unit busy period evaluated under three different holding-cost rules.

Contents · Previous chapter · Next chapter

CHAPTER 5 OF 12 · CALCULATE THE PATH

5. A threshold charge is not a probability of overflow

Back to contents

Accumulated time above a level and the probability of ever crossing that level answer different questions. A path that touches level four for one second has an overflow event but little exposure; another that sits at level three for an hour may incur a large threshold penalty without ever reaching four.

Keep maximum queue length, hitting probability, exceedance duration and integrated penalty separate. They can be reported together, but one cannot be reconstructed reliably from another without stronger model information.

Contents · Previous chapter · Next chapter

CHAPTER 6 OF 12 · COMPARE PENALTIES

6. Convex penalties make marginal congestion visible

Back to contents

For a convex h, the extra cost of moving from k to k+1 increases with k. This represents crowding, abandonment risk, coordination overhead or nonlinear service degradation. A concave h would instead represent diminishing marginal burden, which can be appropriate in some pooled systems but should be justified.

The function is a modelling choice, not a discovered physical law. Show its units, thresholds and marginal increments. If costs come from multiple effects, keep a ledger of components before adding them so that a large total can be traced to a real assumption.

Contents · Previous chapter · Next chapter

CHAPTER 7 OF 12 · COMPARE PENALTIES

7. Compare paths that share area but not consequence

Back to contents

Two busy periods may both have area 12. One can hold two customers for six time units; another can hold six customers for two time units. Linear cost treats them as equal, while a quadratic rule gives 24 for the first and 72 for the second.

The comparison is useful only if duration and level definitions are aligned. It does not prove the second path is always worse: an application may value long low-level delay differently from short severe crowding. The penalty rule should encode that decision rather than hide it.

Path summaryDurationLinear areaQuadratic cost
Q=2 throughout61224
Q=6 throughout21272
Equal linear area does not imply equal nonlinear congestion cost.

Contents · Previous chapter · Next chapter

CHAPTER 8 OF 12 · TRANSFER AND VALIDATE

8. Transfer the method to an emergency department

Back to contents

Move from a call centre to an emergency department observation area. Let Q(t) count patients waiting for a staffed bed, and let a threshold represent the point at which corridor care begins. Occupation times still describe exposure, but the consequence function must be rebuilt from clinical operations rather than copied from the call centre.

A successful transfer names the population boundary, event clock, priority classes and meaning of a level. It also asks whether one scalar Q is adequate. If acuity matters, a weighted or multidimensional state may be safer than treating every patient as interchangeable.

Contents · Previous chapter · Next chapter

CHAPTER 9 OF 12 · TRANSFER AND VALIDATE

9. Estimate episode cost without selection bias

Back to contents

Complete busy periods are easy to total, but a reporting window can cut through a long episode. Dropping the unfinished period preferentially removes long, costly events. Either follow episodes to empty, use a declared censoring method or report the observed lower bound and unresolved exposure.

Repeated episodes from one system are also dependent when staffing, demand or season persists. Confidence calculations should respect clustering and the sampling plan. A precise mean based on conveniently completed episodes can be more misleading than a wider, honest interval.

Contents · Previous chapter · Next chapter

CHAPTER 10 OF 12 · TRANSFER AND VALIDATE

10. Validate event logs before interpreting cost

Back to contents

Check that arrivals, service starts and departures are ordered, time zones are consistent, duplicate events are resolved and the queue definition matches the operational system. Reconstruct Q(t) from raw events and compare sampled intervals with direct operational records.

Then recompute duration, area and occupation totals independently. The identity B=sum T_k and the linear-area identity provide useful code checks. They cannot validate the chosen h, but they can expose a path-construction error before it becomes an economic conclusion.

Contents · Previous chapter · Next chapter

CHAPTER 11 OF 12 · CHECK AND CONTINUE

11. Questions readers often ask

Back to contents

Is a nonlinear cost more realistic?

Sometimes, but realism comes from evidence and decision purpose, not from curvature alone. A simple linear rule can be preferable when marginal burden is genuinely stable or data cannot support more detail.

Can occupation times recover the order of events?

No. They record how long the path spent at each level, not the sequence of visits. Two paths can share every T_k and still have different switching patterns, waiting-time distributions or operational consequences.

Contents · Previous chapter · Next chapter

CHAPTER 12 OF 12 · CHECK AND CONTINUE

12. Evidence, connected routes and the next check

Back to contents

George and Harrison’s state-dependent service-rate control paper formulates nondecreasing holding costs as functions of queue length. The first-passage analysis with queue-dependent expense functions shows how integrated penalties can be written through level occupation probabilities. These sources support the functional structure, not any invented universal cost curve.

Continue through busy-period area and customer-time, busy-period duration and extinction time, and maximum level and overflow risk. The practical next check is to preserve T_k before choosing h, then show whether the decision changes across defensible penalty rules.

Contents · Previous chapter · Return to the Queueing Theory root