Two-Queue Simulation report
This program is designed for you to simulate the two-transmission-link queue system for your mini project.
If you run the program, it will ask you to input buffer size (5 or 20), probability of choosing queue 1 (0.4/0.5/0.6), arrival rate (8 requests per second), and two processing rates (both should be 5 requests per second). After you input these values, the program will give you from the simulation the resulting blocking probability, average delay, average throughput, and average number of packets in queues immediately. The results are already averaged over 5 runs, and in each run, the first 1000 packets are omitted from the results.
Additional Notice: if you have a python IDE (like Sypder, Jupyter Notebook) on your laptop with numpy, queue, and random libraries, you can just run the code and you will get all results after entering all necessary parameters.
Otherwise, you can go to https://colab.research.google.com/.
Sign in with your google account.
Click File>new notebook to create a new notebook.
Copy and paste the codes into a cell, then click run button on the left.






