Skip to content

Fr4n9/SDL_SIMULATION

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SDL_SIMULATION_COFFEE

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.

Developed by:

  • Adrián Ferrer  
  • Francesc Pérez

Project Characteristics

  • 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.

How to Open the Project

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.


System Diagram images

alt text

Block Diagram images

alt text alt text alt text alt text alt text

States Diagram image

alt text

Process Diagram images

alt text alt text alt text alt text alt text alt text alt text

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published