Project developed during the 6th trimester for the Simulation (SIM) subject (Course Info) at the FIB, Universitat Politècnica de Catalunya in Barcelona. It is a G/G/C simulation model implemented in SDL, where:
- The arrival and service times follow general distributions.
- The number of servers (C) is configurable and greater than 0.
In this specific project:
- We simulate a queueing system with 2 types of servers: - 1 fixed coffee machine. - C snack servers, where C ≥ 1 and is configurable.
The simulation models how students queue to get snacks or coffee, using the techniques and concepts learned in the final chapter of the course.
- Adrián Ferrer
- Francesc Pérez
- 100 students arrive to the machine area over a span of time, with inter-arrival times of 9 minutes ± 3 minutes (variance).
- Each student has: - 40% probability of choosing the snack queue. - 60% probability of choosing the coffee queue.
- The system has: - 1 coffee machine (fixed). - C snack servers, where C is a configurable integer > 0.
- Queues manage the customer flow: they send users to available servers and wait for a response before dispatching the next user.
- A state diagram has been created to illustrate how the system reacts to inputs and communicates with other processes.
The project has been created using draw.io (diagrams.net).
You can view and edit a copy online:
👉 For the main diagram and extended documentation, please visit PROJECT
- You can view the diagram directly in your browser.
- If you click the pencil icon, you can also edit it in draw.io.
- Alternatively, you can scroll down to see screenshots of the diagrams already included in this README for a quick overview.
No additional installation is required — everything works online.













