Examples tagged with discrete-eventllms.txt

Select an example to explore it in the playground.

Beginner - Introductory Models

Queue Simulation

A single-server queue at the edge of overload: nudge utilization past 1 and the backlog diverges.

Level: Beginner

queuethroughputbottleneckdiscrete-eventservicecapacity

  • Stocks: backlog
  • Flows: arrivals, served
  • Probes: backlog, utilization, throughput
Intermediate - Classic Dynamics

Bank Renege Simulation

At a teller running near capacity, patience decides everything: impatient customers give up before a line even forms - half walk out - while patient ones build a long queue yet nearly all get served.

Level: Intermediate

queueservicediscrete-eventreneging

  • Stocks: queue_length
  • Flows: served, reneged
  • Probes: wait_time, served, reneged, queue_length
Advanced - Complex Simulations

Car Service Simulation - SimPy Tutorial

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

Level: Advanced

simpypriorityservicemaintenancequeueinterruptsdiscrete-eventreliabilityworkflow

  • Stocks: fuel_level, parts
  • Probes: fuel_level, wash_q, parts