Question

In: Statistics and Probability

Consider a single server queueing system. Arrivals take place every four minutes (first arrival takes place...

  1. Consider a single server queueing system. Arrivals take place every four minutes (first arrival takes place at t=0). Service times are random and take the value of 1 with probability 1/2 and 5 with probability ½. Assume that the following service time sequence is generated: S1=5, S2=5, S3=5, S4=1, S5=5. Simulate for T=20 minutes and estimate the average number of customers in the system and the average waiting time of a customer.

Solutions

Expert Solution

Solution

Simulation Process and Relevant Calculations

NOTE: For ease in presentation, following codes are employed.

SN: Simulation #, AN: Arrival #, AT: Arrival time (in minutes), ST: Service Time (in minutes),

SST: Service Start Time (in minutes), SET: Service End Time (in minutes), n: # of customers in the system and w: waiting time (in minutes).

SN

AN

AT

ST

SST

SET

n

w

Notes on n

Notes on w

1

1

00

5

00

05

2

1

AN1 under service, AN2 waiting from 04

AN2 waiting from 04 to 05

2

2

04

5

05

10

2

2

AN2 under service, AN3 waiting from 08

AN3 waiting from 08 to 10

3

3

08

5

10

15

2

3

AN3 under service, AN4 waiting from 12

AN4 waiting from 12 to 15

4

4

12

1

15

16

1

0

AN4 under service, none waiting

none waiting

5

5

16

5

16

21

1

0

AN5 under service, none waiting

none waiting

Total

8

6

Average

1.6

1.2

So, average number of customers in the system = 1.6 Anaswer 1

average waiting time = 1.2 minutes Anaswer 2

DONE


Related Solutions

1. A single-server queueing system has an average service time of 16 minutes per customer, which...
1. A single-server queueing system has an average service time of 16 minutes per customer, which is exponentially distributed. The manager is thinking of converting to a system with a constant service time of 16 minutes. The arrival rate will remain the same. The effect will be to: increase the utilization factor. decrease the utilization factor. decrease the average time in the system. Increase the average time in the system. not have any effect since the service time is unchanged....
Consider an M / M / 1 queueing system with capacity N = 1, arrival rate...
Consider an M / M / 1 queueing system with capacity N = 1, arrival rate λ = 0.2 customers per minute, and service rate µ =0.3 customers per minute. Let X(t) be the number of customers present at time t. a) Suppose that X(0) =0. Calculate P{X(1) = 0} and P{X(10) = 0} b) Suppose that X(0) =1. Calculate P{X(1) = 0} and P{X(10) = 0} c) Could you have predicted the difference between the answers in part a,...
Q3) Consider this situation: A manager is contemplating making changes to a single-server system that is...
Q3) Consider this situation: A manager is contemplating making changes to a single-server system that is expected to double the service rate, and still have just one server. Q3.a) Would you (intuitively) think that doubling the service rate of a single-server system would cut the average waiting time in line in half? Q3.b) What are some managerial and financial implications of your analysis?
Consider a process that consists of three workstations: The first workstation (WS 1) takes 20 minutes...
Consider a process that consists of three workstations: The first workstation (WS 1) takes 20 minutes per unit, the second workstation (WS 2) takes 10 minutes, and the third workstation (WS 3) takes 15 minutes per unit. Each workstation is staffed by one worker. (a) What is the net processing time per unit? (b) What is the cycle time per unit? (c) What is the utilization of the process? (d) How many units of output can be produced a day,...
Consider a single server system with a limit of 3 jobs (an M/M/1/3 system). Let λ...
Consider a single server system with a limit of 3 jobs (an M/M/1/3 system). Let λ be the mean arrival rate and μ be the mean service rate. (a) Use the singleton subset partition method to derive a system of balance equations (note the last equation is the probability norming equation): λp0−μp1 =0 λp0+μp2−(λ+μ)p1 =0 λp1+μp3−(λ+μ)p2 =0 λp2−μp3 =0 p0+p1+p2+p3 =1. (b) Use the subset partition between successive nodes to derive a system of balance equations. (c) Solve for each...
Consider a CSTR where a simple first-order reaction takes place. The rate constant depends on the...
Consider a CSTR where a simple first-order reaction takes place. The rate constant depends on the reactor temperature and can be given the Arrhenius equation. The reactor contents are cooled by a coolant that flows through a jacket around the reactor. Derive the dynamic model of the CSTR. i.e. the change of concentration of component A and the temperature of the reactor, assuming the flow rate and the inlet conditions are constant. You can use linearization technique for this coupled...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT