Presentation is loading. Please wait.

Presentation is loading. Please wait.

Solutions Queueing Theory 1

Similar presentations


Presentation on theme: "Solutions Queueing Theory 1"— Presentation transcript:

1 Solutions Queueing Theory 1
17.2-2) Newell and Jeff are the two barbers in a barber shop they own and operate. They provide two chairs for customers who are waiting to begin a haircut, so the number of customers in the shop varies between 0 and 4. You are given the following steady state probabilities for state n=number of customers. n Pn Soln: d. Since this is a finite queue, we can not use Little’s formula directly.

2 Solutions Queueing Theory 1
17.2-2) Soln: d. Since this is a finite queue, we can not use Little’s formula directly. From Little’s

3 Solutions Queueing Theory 1
17.5-5) A service station has one gasoline pump. Cars wanting gasoline arrive according to a Poisson process at a mean rate of 15 per hour. However, if the pump already is being used, these potential customers may balk. In particular, if there are n cars already at the service station, the probability that an arriving potential customer will balk is n/3 for n=1, 2, 3. The time required to service a car has exponential distribution with mean 4 minutes (m=15). a. Construct the rate diagram b. develop the balance equations c. find the steady state probabilities d. find the expected waiting time for cars that stay. Soln: 1 2 3 a. b. State Balance P1 = 15P P1 = P0 (10+15)P1 = 15P0 + 15P P2 = 2/3P1 (5+15)P2 = 10P0 + 15P P3 = 70/45P2 P3 = 5P2

4 Solutions Queueing Theory 1
17.5-5) 1 2 3 State Balance P1 = 15P P1 = P0 (10+15)P1 = 15P0 + 15P P2 = 2/3P1 (5+15)P2 = 10P0 + 15P P3 = 70/45P2 P3 = 5P2 c.

5 Solutions Queueing Theory 1
17.5-5) c. d.

6 Solutions Queueing Theory 1
17.5-6) A maintenance person has the job of keeping two machines in working order. The amount of time that a machine works before breaking down has an exponential distribution with a mean of 10 hours. The time then spent by the maintenance person to repair the machine has an exponential distribution with a mean of 8 hours. A. Show that this process fits the birth death process and give rates b. calculate pn c. calculate L, Lq, W, Wq d. determine the portion of time the maintenance person is busy e. determine the proportion of time a machine is working Soln: 2/ /10 1 2 1/ /8 State Balance /10P1 = 1/8P P1 = 1.6P0 (1/8+1/10)P1 = 2/10P0 +1/8P P2 = 1.28P0 /10)P1 = 1/8P2

7

8


Download ppt "Solutions Queueing Theory 1"

Similar presentations


Ads by Google