[SOLVED] CSE412- Simulation and modeling lab-Assignment -1- Single-server queueing system simulation

30.00 $

Programming resource
Digital learning resource
Category:
Practical programming resource
Suitable for guided study and reference
Tutor guidance available when needed

Description

5/5 - (2 votes)
Write code for simulation of a single-server queueing system. The input file provides mean interarrival time, mean service time, and number of customers. Three performance metrics average delay in queue, average number in queue, server utilization should be written in the output file. Also the final value of simulation clock (the time the simulation ends) when the stopping criterion (n customers have completed their delays in queue) is met should be written in the output file.

 

  • For this task, you are going to vary the mean service time which is k times the mean interarrival time. Run the experiment for k = 0.5, 0.6, 0.7, 0.8, 0.9

 

k average delay in queue average

number in queue

server utilization time the

simulation ended

0.5        
0.6        
0.7        
0.8        
0.9        

 

 

  • You have generated uniform and exponential random variates during this experiment. Display various statistics [min, max, median, P(x), F(x)] for them.

 

Resource details

Understand the Task Before You Use the Resource

Review the requirements, identify the programming concepts involved, study the implementation and test your understanding with your own examples and modifications.