Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

The purpose of this homework is to run a simulation of different queuing policies, and observe their impact on average waiting time. Imagine that we

The purpose of this homework is to run a simulation of different queuing policies, and observe their impact on average waiting time. Imagine that we have five interchangeable service stations (airline check-in counters; store check-out counters; DMV service windows; immigration posts in an international airport; etc). Arriving passengers (or clients or citizens or visitors) are lined up in FIFO queues, and you have to decide how to organize these queues and associated queuing policies:

arriving passenger is placed in a random queue.

Inputs to the simulation:

The duration of the simulation measured in minutes (D: make it arbitrarily long, do not worry about it being or not being realistic). The average arrival rate measured in minutes (A: arrivals are random, but on average there is one new passenger every A minutes), The average service rate measured in minutes (S: service rates are random, but on average they need about S minutes of service). For the sake of this study, make sure to crowd the system, by choosing S >> 5*A, without causing an overflow of your queues. Also choose D to be long enough to get rid of any transitory effects.

Outputs of the Simulation for each queuing policy:

The duration of the simulation (which may be longer than the input parameter, as when check-in closes, there may be passengers in the waiting queues and service stations). The maximum length of the queue for each queue. The average and maximum waiting time for each queue. The rate of occupancy of each service station (percentage of time each station was busy). If you want: show the real-time evolution of the queues during the run-time simulation.

Create program in java

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Processing Fundamentals Design And Implementation

Authors: David M. Kroenke

5th Edition

B000CSIH5A, 978-0023668814

More Books

Students also viewed these Databases questions

Question

the drawing account should be used to show

Answered: 1 week ago

Question

What is order of reaction? Explain with example?

Answered: 1 week ago

Question

Derive expressions for the rates of forward and reverse reactions?

Answered: 1 week ago

Question

Write an expression for half-life and explain it with a diagram.

Answered: 1 week ago