Author-reviewedEvidence: highv1.0.2

Arrival Process

Arrival process is the pattern in time, random or scheduled, by which patients or other entities enter a queueing model or simulation of a health service.

Download concept guide
Last reviewed byDr Darrin Baines

Concept Architecture

Arrival Process in Simulation and Queueing Models of Health Services

In a discrete event simulation or queuing model of a health service, the arrival process decides when each new patient, referral or donor organ appears and how much those appearances bunch together. Two services with the same average daily demand can have very different queues and costs if one receives patients steadily and the other in peaks. How arrivals are specified therefore feeds through to capacity, waiting and cost, a link drawn in the ISPOR-SMDM good practice report on discrete event simulation. In an illustrative example, a daytime peak raises the expected cost of overflow cover by about 80%.

Counts, arrival times and gaps as views of one stream

An arrival process can be described by the running count of patients, by the clock time of each arrival, or by the gaps between arrivals, and the three carry the same information. Data often come as counts per hour, whereas a simulation is usually driven by sampling the gaps.

Sn=X1+X2+⋯+Xn,N(t)=max⁡{n:Sn≤t}S_n = X_1 + X_2 + \dots + X_n, \qquad N(t) = \max\{ n : S_n \le t \}

where SnS_n is the time of the nnth arrival measured from the start of the observation period, XiX_i is the inter-arrival time between arrival i−1i-1 and arrival ii (with S0=0S_0 = 0), and N(t)N(t) is the number of arrivals in the interval from 0 to tt.

When the gaps X1,X2,…X_1, X_2, \dots are independent and identically distributed, the process is a renewal process. Gallager's text on stochastic processes defines it in these terms and treats the Poisson process as the special renewal process whose gaps are exponential.

The Poisson process and its exponential gaps

The homogeneous Poisson process is the usual starting point because it matches a simple picture of many potential patients, each acting independently, each with a small chance of arriving in any short interval. The number of arrivals in a window of length tt follows a Poisson distribution and the gaps follow an exponential distribution.

P{N(t)=n}=(λt)ne−λtn!,fX(x)=λe−λx,x≥0P\{N(t) = n\} = \frac{(\lambda t)^n e^{-\lambda t}}{n!}, \qquad f_X(x) = \lambda e^{-\lambda x}, \quad x \ge 0

where λ\lambda is the arrival rate (expected arrivals per unit of time), tt is the length of the window, nn is a whole number of arrivals, and fX(x)f_X(x) is the probability density of a gap of length xx. The expected number of arrivals in the window is λt\lambda t and the mean gap is the reciprocal of λ\lambda.

Three properties make the Poisson process convenient in health economic models. The exponential gap is memoryless, so the waiting time until the next arrival does not depend on how long it has been since the last one. Independent Poisson streams merge into a Poisson stream whose rate is the sum of their rates, so referrals from several general practices can be pooled into one input. Splitting a Poisson stream at random, for example routing each arriving patient to a fast track with a fixed probability, gives independent Poisson streams.

Time-varying demand and the non-homogeneous Poisson process

Kim and Whitt observe that service systems such as hospitals typically have strongly time-varying arrivals. It follows that a single constant rate will often fit a whole day of emergency attendances or admissions poorly. The non-homogeneous Poisson process keeps the independence of arrivals in separate intervals but lets the rate vary with time. Counts in any interval are still Poisson, with a mean equal to the area under the rate curve.

m(a,b)=∫abλ(u) du,P{N(a,b)=n}=m(a,b)ne−m(a,b)n!m(a, b) = \int_a^b \lambda(u)\, du, \qquad P\{N(a, b) = n\} = \frac{m(a, b)^n e^{-m(a, b)}}{n!}

where λ(u)\lambda(u) is the arrival rate at time uu, m(a,b)m(a, b) is the expected number of arrivals between times aa and bb, and N(a,b)N(a, b) is the number of arrivals in that interval. Lewis and Shedler note that, unlike the homogeneous case, the gaps in a non-homogeneous Poisson process are neither independent nor identically distributed. For that reason, fitting a single gap distribution to data pooled across busy and quiet periods is not appropriate.

Kim and Whitt applied Kolmogorov-Smirnov tests to hospital emergency department and banking call centre arrival data and found them consistent with a non-homogeneous Poisson process only when the data were analysed carefully. Their initial tests rejected the model because of three features of the data, namely timestamps rounded to the second, subintervals over which the rate varied too much, and overdispersion created by pooling the same hour across weeks with different arrival rates.

Generating arrival times inside a discrete event simulation

The ISPOR-SMDM report on discrete event simulation, by Karnon and colleagues, notes that entities can be created at the start of a run or whenever the problem requires, for example when a new patient arrives at a clinic or develops a disease, and can enter and leave between the start and end of the model. In a typical implementation each arrival is placed on the event queue; when it is processed, the simulation creates the patient and schedules the next arrival.

For a homogeneous Poisson process the next gap is sampled by inverting the exponential distribution function.

X=−ln⁡UλX = -\frac{\ln U}{\lambda}

where XX is the sampled gap, UU is a random number drawn uniformly between 0 and 1, and λ\lambda is the arrival rate. With λ=3\lambda = 3 patients per hour and U=0.5U = 0.5, the gap is ln⁡2/3=0.231\ln 2 / 3 = 0.231 hours, or about 13.9 minutes.

For a time-varying rate, the thinning method of Lewis and Shedler avoids integrating the rate function. Candidate arrivals are generated from a Poisson process with a constant rate λ∗\lambda^* that is at least as high as λ(t)\lambda(t) throughout the period, and a candidate at time tt is kept with probability λ(t)/λ∗\lambda(t)/\lambda^*. The kept points form a non-homogeneous Poisson process with rate λ(t)\lambda(t).

Not every arrival stream is random in this way. Booked outpatient appointments and elective operating lists produce arrivals close to the booked times, so they are better generated from the booking pattern than from a Poisson process. Patients who do not attend are then removed, and lateness or early arrival is added as a random deviation from the booked time.

Open and closed cohorts

The arrival process only matters when patients enter at different times. A closed cohort creates every patient at time zero and follows the same group to the end of the time horizon, as a cohort model does; an open cohort keeps admitting new patients throughout the run.

Many health technology assessment models built as individual patient simulations are what the ISPOR-SMDM report calls non-constrained. They follow the usual structural assumption that every required resource is available as needed, with no capacity limits. Patients in such a model do not compete, so, provided nothing depends on calendar time, a closed sample created at time zero gives the same mean costs and QALYs per patient as staggered entry, and the arrival process can be left out of the per-patient results. Population totals, such as those in a budget impact analysis, still need the stream of new patients over time, whether from an arrival process or an incidence rate. In constrained-resource models patients compete for clinic slots, beds or donor organs, and the timing of arrivals determines how long the queue becomes.

For an open model of an existing service, the report recommends a warm-up period that builds the system up from empty when the key parameters can be assumed constant over time or their history can be built in, and otherwise accepts preloading entities with ready-made histories.

How arrivals drive capacity, waiting and cost in economic evaluation

In a constrained-resource model the arrival process is the demand side of the comparison with capacity. The ISPOR-SMDM report lists flow times, wait times, throughput and resource utilisation as common outcomes of such models, and recommends that constrained resources be modelled when levels of access are altered, for example when increased referral rates lead to longer waits for a procedure, and when the time to access has significant effects on costs or outcomes. It also recommends that these models report effects on health-related outcomes and not only on resource use and system capacity.

A standard queueing result shows why the arrival rate feeds through so strongly. For a single server with Poisson arrivals and exponential service, in steady state and with λ<μ\lambda < \mu, the expected time waiting before service is as follows.

Wq=ρμ−λ,ρ=λμW_q = \frac{\rho}{\mu - \lambda}, \qquad \rho = \frac{\lambda}{\mu}

where WqW_q is the expected wait before service starts, μ\mu is the service rate, λ\lambda is the arrival rate and ρ\rho is the capacity utilisation of the server. As ρ\rho approaches 1 the expected wait grows without limit, so a small rise in arrivals near full utilisation produces a large rise in waiting time and in any cost or health loss tied to it. Services with several servers, such as a ward of beds or a bank of cubicles, show the same steep rise in delay as utilisation approaches full capacity.

Worked example of a daytime peak at an assessment unit

The figures below are illustrative. An acute assessment unit expects 48 patients a day and its staff can absorb up to 4 arrivals in an hour; in any hour with more, an on-call clinician is called in at £150. Each hour is treated separately and backlog between hours is ignored, which a full simulation would capture.

1. Model A, constant rate. Spreading 48 patients evenly over 24 hours gives λ=2\lambda = 2 per hour. The probability of 4 or fewer arrivals in an hour is the following Poisson sum.

P{N≤4}=e−2(1+2+2+1.333+0.667)=0.1353×7=0.947P\{N \le 4\} = e^{-2}\left(1 + 2 + 2 + 1.333 + 0.667\right) = 0.1353 \times 7 = 0.947

where NN is the number of arrivals in one hour and the five terms in brackets are λn/n!\lambda^n/n! with λ=2\lambda = 2 and nn running from 0 to 4. The probability of overflow in any hour is therefore 0.053, and the expected number of overflow hours per day is 24 × 0.0527 = 1.26.

2. Model B, daytime peak. The same 48 patients arrive at 3 per hour from 08:00 to 20:00 and 1 per hour overnight, so m=3×12+1×12=48m = 3 \times 12 + 1 \times 12 = 48 and the daily mean is unchanged. For a daytime hour the probability is as follows.

P{N≤4}=e−3(1+3+4.5+4.5+3.375)=0.04979×16.375=0.815P\{N \le 4\} = e^{-3}\left(1 + 3 + 4.5 + 4.5 + 3.375\right) = 0.04979 \times 16.375 = 0.815

where the bracketed terms are λn/n!\lambda^n/n! with λ=3\lambda = 3. For a night-time hour, with λ=1\lambda = 1, it is as follows.

P{N≤4}=e−1(1+1+0.5+0.1667+0.0417)=0.3679×2.708=0.996P\{N \le 4\} = e^{-1}\left(1 + 1 + 0.5 + 0.1667 + 0.0417\right) = 0.3679 \times 2.708 = 0.996

where the bracketed terms are λn/n!\lambda^n/n! with λ=1\lambda = 1. The overflow probabilities are 0.185 by day and 0.004 by night, so the expected overflow hours per day are 12 × 0.1847 = 2.22 by day plus 12 × 0.0037 = 0.04 overnight, a total of 2.26.

3. Cost consequences. At £150 per overflow hour, the expected daily cost is 1.26 × 150 = £189 under Model A and 2.26 × 150 = £339 under Model B. Over a year that is 189 × 365 = £68,985 against 339 × 365 = £123,735.

4. Interpretation. Both models have the same expected demand, yet the time-varying model expects about 80% more overflow hours and cost. A model using the daily average would understate the cost of the current service and could misjudge an intervention that mainly removes daytime arrivals. Adding backlog carried between hours would be expected to widen the gap, because queues build up during the peak.

Estimating and checking an arrival process

Arrival rates are usually estimated from routinely collected timestamps, such as referral dates or emergency department registration times, as arrivals divided by observed time for each hour or day of week, subject to the data problems reported by Kim and Whitt. Recorded activity is not always demand. Admissions or appointments already limited by capacity record what the service could absorb, so using them as arrivals understates pressure. In disease models, arrivals may instead come from an incidence rate applied to a population at risk, which also supports demand forecasting.

A single run of an open model gives a noisy result. The ISPOR-SMDM report notes that where the number of entities is sampled, such as patients presenting at a clinic, and the time horizon is fixed, multiple replications with the same inputs can be run to reduce variability, and it recommends testing output stability across random number seeds. This keeps Monte Carlo error separate from genuine uncertainty about the arrival rate itself.

Where arrival processes are misread

A common error is to use a single average rate for a service whose demand peaks, which, as the worked example shows, understates congestion and the cost of cover. Fitting one gap distribution to pooled data from such a service is a variant of the same error.

A second group of errors concerns independence. A Poisson process assumes that one arrival does not trigger another, which fails when one incident brings several casualties, and that arrivals do not respond to the state of the service, which fails when patients leave long queues. Counts that vary more than a Poisson model allows are a sign that one of these assumptions has broken down.

A third error is to hold the arrival process fixed across strategies that change it. A screening programme or new referral criteria alter who arrives and when. The departure process is the counterpart on the way out; in a constrained model it depends on arrivals, service times and capacity, so it cannot be specified independently of them.

Sources

Functions & Formulae (5)

S_n = X_1 + X_2 + ... + X_n; N(t) = max{n : S_n <= t}

Maps an arrival rate, constant or varying with time, to the number of patients or other entities that arrive in a window, the gaps between successive arrivals and the clock time of each arrival. The three descriptions carry the same information: S_n is the time of the nth arrival, X_i the gap before arrival i and N(t) the number of arrivals up to time t, in the notation of the Arrival Process article. The records cover Poisson counts, time-varying rates, sampling of gaps and arrival times in a discrete event simulation, and the single-server queueing result that links the arrival rate to waiting.

  • Poisson probability of n arrivals in a window

    P_n = (lambda * t)^n * exp(-lambda * t) / factorial(n)

    Gives the probability that exactly n arrivals occur in a window of length t when arrivals follow a homogeneous Poisson process with rate lambda. The expected number of arrivals is lambda times t. The function exp is the exponential function and factorial(n) is n!, the product of the whole numbers from 1 to n, with factorial(0) equal to 1.

  • Expected arrivals over a window with two arrival-rate periods

    m = lambda_1 * t_1 + lambda_2 * t_2

    Gives the expected number of arrivals in a non-homogeneous Poisson process whose rate is constant within each of two periods, such as day and night. In general the expected count is the area under the rate curve, the integral of lambda(u) from a to b; for a rate that is constant within periods the integral becomes the sum of rate times length over the periods. The count over the window is then Poisson with mean m, so the Poisson probability formula on this page applies with m in place of lambda times t.

  • Inter-arrival gap sampled by inverse transform

    X = -log(U) / lambda

    Samples the gap to the next arrival in a homogeneous Poisson process by inverting the exponential distribution function. The function log is the natural logarithm. In a discrete event simulation the sampled gap is added to the current arrival time, S_n equal to S_(n-1) plus X, and the next arrival is placed on the event queue.

  • Thinning acceptance probability for time-varying arrivals

    p_keep = lambda_t / lambda_star

    Gives the probability with which a candidate arrival at time t is kept when arrivals with rate lambda(t) are generated by thinning. Candidates are first generated from a homogeneous Poisson process at a constant rate lambda_star that is at least lambda(t) throughout the period, and the kept points form a non-homogeneous Poisson process with rate lambda(t). The method avoids integrating the rate function.

  • Expected wait before service in a single-server queue with Poisson arrivals

    rho = lambda / mu; W_q = rho / (mu - lambda)

    Gives the expected time a patient waits before service starts in a single-server queue with Poisson arrivals at rate lambda and exponential service at rate mu, in steady state with lambda below mu. The utilisation rho is computed first and then used in the wait. As rho approaches 1 the expected wait grows without limit, so a small rise in arrivals near full utilisation produces a large rise in waiting.

View all formulae

Library

Publications

4
  • Book

    Discrete Stochastic Processes — Gallager RG, Course text for MIT 6.262, chapter 2 (Poisson processes) and chapter 6 (Markov processes with countable state spaces) ed., 2011 (MIT OpenCourseWare)

    MIT course text on stochastic processes whose chapters define renewal and Poisson arrival processes and give queueing results for birth-death processes.

  • Journal article

    Are call center and hospital arrivals well modeled by nonhomogeneous Poisson processes? — Kim SH, Whitt W, Vol. 16, No. 3, pp. 464-480 ed., 2014 (Manufacturing and Service Operations Management)

    Tests call centre and hospital emergency department arrival data against the nonhomogeneous Poisson process, finding them consistent with it only if the data are analysed carefully.

  • Journal article

    Simulation of nonhomogeneous Poisson processes by thinning — Lewis PAW, Shedler GS, Vol. 26, No. 3, pp. 403-413 ed., 1979 (Naval Research Logistics Quarterly)

    Paper presenting the thinning method for simulating nonhomogeneous Poisson processes, which avoids numerical integration of the rate function.

  • Journal article

    Modeling Using Discrete Event Simulation: A Report of the ISPOR-SMDM Modeling Good Research Practices Task Force-4 — Karnon, Stahl, Brennan, Caro, Mar & Moller, Task Force Report 4 ed., 2012 (Value in Health / Medical Decision Making)

    Best-practice guidance on discrete event simulation (DES) for health economic evaluation — when DES is preferable to cohort approaches, and how to structure, populate and validate such models.

Frequently Asked Questions (6)

  • What is an arrival process?

    Arrival process is the pattern in time, random or scheduled, by which patients or other entities enter a queueing model or simulation of a health service.

    Source: Law & Kelton 2000

  • How does the arrival process affect a simulated service?

    The rate and pattern with which entities arrive drive how heavily a simulated service is loaded and how much queuing forms. Arrivals that come steadily are easier to serve than the same number bunched together, since a sudden cluster can overwhelm capacity and create waits even when average demand is modest. Because arrivals often occur at random rather than evenly, the process is usually described by a probability distribution of the gaps between them. Getting it right matters for the waits the model predicts. Pidd (2004) describes this influence.

    Source: Pidd 2004

  • How is an arrival process represented?

    An arrival process is represented by a probability distribution of the times between successive arrivals, or equivalently of the number of arrivals in a period. A common choice is the Poisson process, in which arrivals occur randomly and independently at a constant average rate, giving exponentially distributed inter-arrival times. Other distributions represent more regular or more clustered arrivals, or arrival rates that vary over time, such as by hour or day. The distribution is chosen to match the observed pattern of arrivals.

    Source: Law & Kelton 2000

  • Why does the arrival process matter in a simulation?

    The arrival process matters because it drives the demand placed on the system, determining how many entities need service and when, which in turn affects queues, waiting times, and resource use. A simulation's results, such as congestion and delays, depend heavily on the arrival pattern, since bursts of arrivals or high average rates strain resources. Representing the arrival process accurately is therefore important, as errors in it would misestimate the load on the system and hence the performance measures the simulation produces.

    Source: Law & Kelton 2000

  • How is an arrival process estimated?

    An arrival process is estimated from data on when entities actually arrive, such as records of patient arrivals, by examining the pattern of inter-arrival times and fitting a suitable distribution. Whether arrivals are random, regular, or clustered, and whether the rate varies over time, is assessed and represented. Where the rate changes, for instance by time of day, a time-varying arrival process is used. The estimated process should reproduce the observed arrival pattern, so the simulation's demand reflects reality.

    Source: Law & Kelton 2000

  • How does the arrival process relate to queuing?

    The arrival process relates directly to queuing because it determines the rate and pattern at which entities demand service, which, together with the service process and the number of resources, governs whether queues form and how long they grow. If arrivals exceed the capacity to serve them, queues build up and waiting times rise. The arrival process is thus one of the key inputs, alongside service times and resources, that determine congestion in a simulation or queuing model.

    Source: Law & Kelton 2000

Trust Record

Verified by Dr Darrin Baines

British health economist

Professional identity: darrinbaines.org

Verification date: 10 Oct 2026

Content version: 1.0.2

Canonical Identity

Term code
HE-EM-DES-001

Stable URI · Machine-readable · Resolvable · CC BY 4.0