WoW Lab

WoW Lab

Toolkit

Simulate

Quick SimBest in BagsDrop Optimizer

Rotations

BrowseNew Rotation

Plan

Traits
P

Developer

DocsBibleEngineHooksMCP ServerMetricsUI Showcase

Misc

AboutBlog

© 2025 WoW Lab

  1. Home
  2. Bible
  3. Discrete Event Simulation

Discrete Event Simulation

DES theory, why event-driven over time-stepping, and roads not taken

February 13, 2026
Edit

Discrete event simulation (DES) theory, why event-driven over fixed time-stepping (skip idle time, exact timing), comparison with Monte Carlo approaches, simulation literature foundations, game engine design parallels, the main loop (pop event → advance time → handle → repeat until SimEnd), Simulation struct (handler: Arc<dyn SpecHandler>, state: SimState, arena: Bump), per-iteration bump allocator for temporary data, SimState as mutable world state, deterministic RNG seeding for reproducibility, batch execution for statistical significance, convergence and iteration count selection.

Next steps

Event System
Data Pipeline
Event System

Navigation

IntroductionGlossaryReferences

Overview

Mechanics

Game Data

Simulation

Discrete Event SimulationEvent SystemDamage ResolutionRotation CompilerSpec HandlersMetrics and Statistics

Infrastructure

Portal