Skip to content

Latest commit

 

History

History

assignment_2

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

Assignment 2

Queue-tie Py: Discrete event simulation for varying queue types with SimPy

How to Run

📁 Go to the project directory

  cd stochastic-simulation/assignment_2

💻 Run the simulation

  python simulation.py

You will be prompted to choose what kind of simulation to run from your terminal: general or test system load. General is the main simulation to produce results.csv and test system load is when we vary the arrival rates to produce results_with_rho.csv

All csv files generated from simulation run will be saved under the simulation_results folder.

📊 Reproduce plots and stats that are presented in our report (❗ You need to run the simulation first)

  python analysis.py
  python plotting.py

All plots will be saved under 'simulation_results' folder.