Skip to content

YourSimulation EngineOpen-source discrete-event simulation

A zero-dependency TypeScript engine for service, queue, and network systems — estimate waits, utilization, and throughput, and find the cheapest design that meets a service target. MIT licensed.

YourSimulation Studio

▶ Launch the Studio — free, in your browser →

The open-source engine documented here also powers YourSimulation Studio — a free, browser-based visual model editor, experiment runner, and optimizer. No install, no account: open the page and start modeling.

  • Drag-and-drop editor — build any service / queue / network system from 12 blocks on a themed canvas.
  • Answers with error bars — seeded replications report waits, utilization, and throughput with 95% confidence intervals.
  • Watch mode — deterministic animated playback skinned for airports, hospitals, logistics, and networks.
  • Optimize, don't guess — a Cross-Entropy search finds the cheapest design that still meets your service target.
  • AI companion — a bring-your-own-key agent that proposes model edits from plain language.

Free to use — the Studio is free, and this engine underneath is open-source (MIT). Try it on a worked example: airport security, hospital triage, a bank branch, a factory line with breakdowns, a saturated restaurant, or a 100k-client CDN network — all ready to run.

Keep exploring

  • 📘 Documentation — the Studio app guide & reference
  • 🎓 Tutorial — model an airport step by step
  • 🗂️ Examples — domain models with KPIs and 95% CIs
  • 🧩 Blocks reference — every building block, explained
  • 🧰 Intro Kit — the fastest path from zero to a running model