Question

In: Statistics and Probability

The time between arrivals of parts in a single machine queuing system is uniformly distributed from...

The time between arrivals of parts in a single machine queuing system is uniformly distributed from 1 to 20 minutes (for simplicity round off all times to the nearest whole minute.) The part's processing time is either 8 minutes or 14 minutes. Consider the following case of probability mass function for service times: Prob. of processing (8 min.) = .5, Prob. of processing (14 min.) = .5 Simulate the case, you need to estimate average waiting time in system. Start the system out empty and generate the first arrival time, etc. You need to submit random numbers used (Use the third block of the Random number table to generate interarrival time and the fourth block to generate service time), interarrival time and service time for each part, discuss how you compute (10%) and (you need to generate 20 parts):

(1) clock arrival time for each part (10%),

(2) clock time starts to process each part (10%),

(3) clock departure time for each part (10%),

(4) total waiting time in system for each part (20%),

(5) plot average total waiting time in system versus part number (20%),

(6) plot average idle time of the machine versus part number (compute at the end of each processing) (20%)

Solutions

Expert Solution

The time between arrivals of parts in a single machine queuing system is uniformly distributed from 1 to 20 minutes. Therefore, the probabilities of a part arriving after 1 or 2 or 3 or so on till 20 minutes are equal.

Inter-arrival time

Inter-arrival time (minutes) Probability Cumulative Probability Random Nos. assigned
1 0.05 00-04
2 0.1 05-09
3 0.15 10-14
4 0.2 15-19
5 0.25 20-24
6 0.3 25-29
7 0.35 30-34
8 0.4 35-39
9 0.45 40-44
10 0.5 45-49
11 0.55 50-54
12 0.6 55-59
13 0.65 60-64
14 0.7 65-69
15 0.75 70-74
16 0.8 75-79
17 0.85 80-84
18 0.9 85-89
19 0.95 90-94
20 1 95-99
Total 1

The processing time is either 8 minutes or 14 minutes with equal probability of 0.5

Processing or Service time:

Processing time (minutes) Probability Cumulative Probability Random nos. assigned
8 0.5 0.5 00-49
14 0.5 1 50-99
Total 1

The question asks for 20 simulations. So there should be a set of 20 random numbers for inter-arrival time and another set of 20 numbers for processing/servicing time.

Random numbers for inter-arrival time: 38 84 74 30 34 96 09 46 61 41 02 93 94 90 00 71 84 98 30 82

Random numbers for service time: 22 04 86 13 33 00 99 74 75 27 43 68 22 59 20 66 00 24 01 96

Let the System start at 10:00 am

Run Arrivals Service
Random no. Inter-arrival time Time as per clock Random no. Service time Service starts Service ends Idle time Parts Waiting time in Q
1 38 8 10:08 22 8 10:08 10:16 8
2 84 17 10:25 04 8 10:25 10:33 9
3 74 15 10:40 86 14 10:40 10:54 7
4 30 7 10:47 13 8 10:54 11:02 7
5 34 7 10:54 33 8 11:02 11:10 8
6 96 20 11:14 00 8 11:14 11:22 4
7 09 2 11:16 99 14 11:22 11:36 6
8 46 10 11:26 74 14 11:36 11:50 10
9 61 13 11:39 75 14 11:50 12:04 11
10 41 9 11:48 27 8 12:04 12:12 16
11 02 1 11:49 43 8 12:12 12:20 23
12 93 19 12:08 68 14 12:20 12:34 12
13 94 19 12:27 22 8 12:34 12:42 7
14 90 19 12:46 59 14 12:46 13:00 4
15 00 1 12:47 20 8 13:00 13:08 13
16 71 15 13:02 66 14 13:08 13:22 6
17 84 17 13:19 00 8 13:22 13:30 3
18 98 20 13:39 24 8 13:39 13:47 9
19 30 7 13:46 01 8 13:47 13:55 1
20 82 17 14:03 96 14 14:03 14:17 8
Total idle time = 49 minutes Total Waiting time = 123 minutes


Related Solutions

The driving time for an individual from his home to his work is uniformly distributed between...
The driving time for an individual from his home to his work is uniformly distributed between 300 to 540 seconds. a. Determine the first line of the probability density function. b. What is the probability that the driving time will be less than or equal to 405 seconds? c. What is the expected driving time? d. What is the variance for this distribution? e. What is the standard deviation for this distribution?
A queuing system with a Poisson arrival rate and exponential service time has a single queue,...
A queuing system with a Poisson arrival rate and exponential service time has a single queue, two servers, an average arrival rate of 60 customers per hour, and an average service time of 1.5 minutes per customer. Answer the following questions. Show ALL formulas and calculations used in your response. The manager is thinking of implementing additional queues to avoid an overloaded system. What is the minimum number of additional queues required? Explain. How many additional servers are required to...
A queuing system with a Poisson arrival rate and exponential service time has a single queue,...
A queuing system with a Poisson arrival rate and exponential service time has a single queue, two servers, an average arrival rate of 60 customers per hour, and an average service time of 1.5 minutes per customer. The manager is thinking of implementing additional queues to avoid an overloaded system. What is the minimum number of additional queues required? Explain. How many additional servers are required to ensure the utilization is less than or equal to 50%? Explain. If the...
The process time of a complex model of a supercomputer is uniformly distributed between 300 to...
The process time of a complex model of a supercomputer is uniformly distributed between 300 to 480 milliseconds (show formula used). a. Determine the probability density function. b. Compute the probability that the processing time will be less than or equal to 435 milliseconds. c. Determine the expected processing time.
The process time of a complex model of a supercomputer is uniformly distributed between 300 to...
The process time of a complex model of a supercomputer is uniformly distributed between 300 to 480 milliseconds (show formula used). a. Determine the probability density function. b. Compute the probability that the processing time will be less than or equal to 435 milliseconds. c. Determine the expected processing time.
Suppose the length of a rod produced by a certain machine is uniformly distributed between 2.3...
Suppose the length of a rod produced by a certain machine is uniformly distributed between 2.3 and 2.8 metres. If the specification of the rod is to be between 2.25m to 2.75m, what proportion of rods from this manufacturer will fail to meet this specification? Suppose that the compressive strength of cement coming from a certain manufacturer can be modelled with a normal distribution with a mean of 6000 kilograms per square centimetre and a standard deviation of 100 kilograms...
The time to fly between New York City and Chicago is uniformly distributed with a minimum...
The time to fly between New York City and Chicago is uniformly distributed with a minimum of 120 minutes and a maximum of 150 minutes. a) What is the distribution's mean? (2) b) What is the distribution's standard deviation? (2) c) What is the probability that a flight is less than 135 minutes? (3) d) What is the probability that a flight is more than 140 minutes?
The time to fly between New York City and Chicago is uniformly distributed with a minimum...
The time to fly between New York City and Chicago is uniformly distributed with a minimum of 120 minutes and a maximum of 150 minutes. Respond to the following questions: What is the probability that a flight takes time less than 135 minutes? * a-P(X<135)=0 b-P(x<135) = 0.5 c-P(X<135)=0.135 d-P(X<135)=0.15 The mean flying time and the standard deviation are: * a-Mean=135; Standard-deviation=8.66 minutes. b-Mean=135; Standard-deviation=75 minutes. c-Mean=8.66; Standard-deviation=75 minutes d-Mean=8.66; Standard-deviation=135 minutes What is the probability that a flight takes...
7.  The amount of time it takes Alice to make dinner is continuous and uniformly distributed between...
7.  The amount of time it takes Alice to make dinner is continuous and uniformly distributed between 10 minutes and 54 minutes. What is the probability that it takes Alice more than 47 minutes to finish making dinner given that it has already taken her more than 40 minutes in the making of her dinner? 9. The amount of time it takes Isabella to wait for the bus is continuous and uniformly distributed between 4 minutes and 13 minutes. What is...
1) The waiting time at an elevator is uniformly distributed between 30 and 200 seconds. What...
1) The waiting time at an elevator is uniformly distributed between 30 and 200 seconds. What is the probability a rider waits less than two minutes? A) 0.4706 B) 0.5294 C) 0.6000 D) 0.7059 2) For any normally distributed random variable with mean μ and standard deviation σ, the percent of the observations that fall between [μ - 2σ, μ + 2σ] is the closest to ________. A) 68% B) 68.26% C) 95% D) 99.73% 3) Which of the following...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT