A modern, web-based interactive simulation engine designed to visualize and analyze the M/M/c Queueing Model in real-time. This dashboard bridges the gap between theoretical Operations Research formulas and practical system behavior by simulating random arrivals (Poisson process) and service times (Exponential distribution) right in the browser.
- Real-Time Stochastic Simulation: Watch customers arrive and get served dynamically based on probabilistic models, not pre-scripted animations.
-
Live Chart.js Integration: Tracks and graphs the number of entities in the system (
$L$ ) and in the queue ($L_q$ ) instantaneously as the simulation runs. - Theoretical vs. Empirical: Automatically calculates steady-state expectations (Probability of zero entities, utilization rate, etc.) and allows you to compare them against the live running simulation.
- Time-Warp Engine: Includes a safe, anti-crash speed multiplier that allows you to simulate hours of queueing behavior in mere seconds.
- Glassmorphism UI: A highly polished, dark-themed interface inspired by modern analytics tools.
The underlying engine relies on the classic Markovian queueing theory:
-
Arrivals: Follow a Poisson process with rate
$\lambda$ (Lambda). -
Service Times: Follow an Exponential distribution with rate
$\mu$ (Mu). -
Servers:
$c$ identical servers working in parallel.
The Steady-State formulas calculated natively in the dashboard:
System Utilization (
Probability of Zero Entities (
Average Length of Queue (
Note: The system mathematically warns the user and prevents theoretical calculation if $\rho \ge 1$ (unstable system capacity).
This project is fully client-side. No complex dependencies, server setups, or databases required.
- Clone the repository:
git clone [https://github.com/onurfgg/mmc-queueing-simulator.git](https://github.com/onurfgg/mmc-queueing-simulator.git)
Onur Furkan Gök