Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Problem 2 : Spreadsheet Simulation Variant of Single Server Queue Problem For this problem, you should modify the single server queue spreadsheet simulation from Section
Problem : Spreadsheet Simulation Variant of Single Server Queue Problem
For this problem, you should modify the single server queue spreadsheet simulation from Section of the textbook in a number of ways, and then compute some performance measures of interest.
Change the spreadsheet options so that observed values of the interarrival and service times are resampled only when you hit the F key.
The interarrival times should be sampled from an exponential distribution with a mean of minutes.
The service times should be sampled from a probability density function that has the form:
fX xCx if x min@ if x or x min
To sample from this distribution, you should use the method of inversion. First find the value of the normalizing constant C that makes a proper density function; and then compute and invert the corresponding cumulative distribution function:
Incorporate your scheme for sampling from this servicetime distribution into the revised spreadsheet simulation.
Compute a confidence interval CI on the average time in the queue for the first customers based on replications of the simulation. There are places to enter the mean, standard deviation, tvalue, CI center, CI halflength, CI lower limit and CI upper limit Compute the steadystate time in the queue using the PollaczekKhinchin formula. This will require you first to compute the expected value service time X
the variance of the service time X
and the coefficient of variation of the service time X
Recall that the formula for the expected value of the steadystate average waiting time in the singleserver queue with a constant customer arrival rate is:
This is the PollaczekKhinchin formula as given in the book and the Coursepack.
Use the file HomeworkTemplate.xlsx Problem tab. You should fill in the highlighted cells on the left side. You must fill in answer and the appropriate units for each of the following:
Mean interarrival time lambda
Minimum Service Time a
Maximum Service Time b
Mean Service Time X
Variance of Service Time
Standard Deviation of Service Time sigma X
Server Utilization Traffic Intensity Factor rho
Coefficient of Variation CVXsigma X X
SteadyState Expected Mean Waiting Time in the Queue
Answer the following questions clearly.
Does your CI always cover the steadystate waiting time in the queue?
Do you think your estimate of the average waiting time in the queue for the first customers and replications is a good estimate of longrun average waiting time in the queue?
What could we change in order to ensure the CI covers the steadystate value almost every time?
You should use formulas for the answers in your spreadsheet so that even when you hit F all of the cells are filled in appropriately. For the question of whether or not the CI covers the steadystate value, you can use the Excel IF function to display yes and no under the appropriate conditions.
For this problem, in addition to the Excel file, you should turn in a word or PDF file with your computations of the normalizing constant C the CDF the inverse CDF the expected value and variance of service time, coefficient of variation and steady state waiting time in the queue.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started