Examples#
Three validated models ship with the specification, one per paradigm plus a hybrid. Each page walks through the document and runs it in your browser: the engine compiled to WebAssembly, driving a scene and charts from the typed event stream.
The documents live in the specification repository under spec/examples/, and every run on these pages executes them as written.
M/M/1 queue#
Discrete event · desThe classic single-server queue: Poisson arrivals, exponential service, FIFO discipline. Known closed-form results make it a correctness check as much as a demonstration.
SIR epidemic#
System dynamics · sdThe compartment model of an epidemic: three stocks, two flows, and mass-action infection dynamics integrated on the shared clock.
Hybrid clinic#
Hybrid · abm + des + sdAgents fall sick and queue for treatment while a continuous fatigue stock throttles the doctors' capacity. Three paradigms in one document, on one calendar.