Examples tagged with simpy

Select an example to explore it in the playground.

Beginner - Introductory Models
Intermediate - Classic Dynamics

First-Price vs. Vickrey Auctions

Repeated sealed-bid auctions comparing first-price and Vickrey rules with learning agents.

Level: Intermediate

game-theoryauctionlearningincentivesimpy

  • Probes: revenue, allocative_efficiency, truthful_bidding

War of Attrition

Two-player waiting game exploring mixed strategies and the option value of waiting.

Level: Intermediate

game-theorywaiting-gamesimpy

  • Probes: contest_length, surplus, cost_variance
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