Supply Chain Lab Discrete-Event Simulator Lab Home
Capacity & Operations

Discrete-Event Simulator

This is how Arena, AnyLogic and Simio actually work: a future event list and a clock that jumps straight to the next event. Step through a truck dock one event at a time, watch the calendar schedule consequences, then fast-forward and compare the measured averages with M/M/c queueing theory.

How to use it

The loading dock

Run

Parameters

Future event list

–
Avg wait (min) vs ?
–
Avg queue vs ?
–
Utilisation vs ?

Queue length: a step function that only changes at events - nothing happens between them.

Each truck’s wait (dots) and the running average (line) converging to steady state.

Try these experiments

  1. Step event-by-event and predict each clock jump before you press - arrival or departure, which is next?
  2. Set λ = 6, c = 2, mean = 18 min (ρ = 90%) and fast-forward: the queue is ugly. Add one dock: ρ drops to 60% and the queue almost vanishes - nonlinearity in action.
  3. Compare measured vs analytical tiles after ~2,000 events - the gap is pure sampling noise.

About this tool

The concept

Discrete-event simulation advances time event-to-event using a future event list - the standard way industry models warehouses, ports and factories (Arena, AnyLogic, Simio all work this way).

How it works

Exponential inter-arrivals and service times; the engine pops the earliest event, updates state, collects time-weighted statistics, and schedules the consequences.

Winning strategy

Watch ρ = λ·E[S]/c. Waiting grows like 1/(1−ρ): the last 10% of utilisation costs more queue than the first 80% combined.