This project demonstrates how to simulate an
- Using SimPy to model, simulate, and monitor a queueing system.
- Comparing simulated performance metrics with theoretical values derived from queueing theory (in the case of
$$M/M/1$$ ).
The project serves as an educational tool to learn about discrete-event simulation and queueing system analysis.
An (M/M/1) queue is a single-server queue where:
- Arrivals follow a Poisson process (exponentially distributed interarrival times).
- Service times are exponentially distributed.
- There is a single server, and the queue operates on a first-come, first-served basis.
For an
The formulas assume the system operates under steady-state conditions
A tandem queue with blocking is a system of multiple sequential service stations where:
- Arrivals to the first station follow a Poisson process.
- Service times at each station are exponentially distributed.
- Customers move station-to-station after service.
- Blocking occurs if the next station is full, forcing the customer to wait at the current station.
This setup can lead to delays and reduced throughput due to capacity constraints.