Examples tagged with discrete-event

Select an example to explore it in the playground.

Beginner - Introductory Models

Queue Simulation

A queue simulation demonstrating throughput limits and system capacity.

Level:Beginner

queuethroughputbottleneckdiscrete-eventservicecapacity

  • Stocks:backlog[p]
  • Flows:produced, consumed
  • Probes:backlog_total, incoming_per_sec, outgoing_per_sec
Intermediate - Classic Dynamics

Bank Renege Simulation

A bank renege simulation where customers join a queue with limited patience and may leave before service if the wait is too long.

Level:Intermediate

queueservicediscrete-eventtime-delay

  • Stocks:queue
  • Flows:served, reneged
  • Probes:wait_time, served, reneged

Car Service Simulation - SimPy Tutorial

A car service simulation showing priority washing with features like interrupts.

Level:Intermediate

simpypriorityservicemaintenancequeueinterruptsdiscrete-eventreliabilityworkflow

  • Stocks:fuel_level, parts
  • Probes:fuel_level, wash_q, parts
Advanced - Complex Simulations