

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


Handout Queue.1 Lecture Notes I on Queuing Theory Dr. Stafford MSC 385 Revised 12/09/04 Page 1 of 2 pages
The probability function for the Poisson distribution is given as:
X
−
λ
where: X = number of occurrences (arrivals) in the specified length of time, t 8 = mean number of occurrences (arrivals) in one unit time period, t. This is also called the arrival rate. e = the natural number 2.71828.......
The Poisson distribution is normally used as the arrival process distribution in waiting line (queuing) systems models. The mean of the Poisson Distribution, E(X), may be shown to be: E(X) = 8 , and the variance of the Poisson Distribution, VAR(X), may also be shown to be F^2 = 8.
Example Problem
Telephone calls arrive at a switchboard at the rate of 12 per hour, and they may be appropriately modeled by the Poisson probability distribution. Answer the following questions: (1) What is the probability of 10 calls arriving in the next hour? (2) What is the probability of no calls arriving in the next 5 minutes? (3) What is the probability of more than 2 calls in the next 10 minutes? (4) What is the probability of getting exactly the mean number of calls (12) in one hour?
Solution:
(1) 8 = 12 calls/hour and X = 10 calls.
12 10 6
X 10
− λ − −
(2) The time frame has been changed from 1 hour to 5 minutes. So we have to adjust the arrival rate to fit the new time frame.
For the same process, arrival rates are proportional to the length of the time frame in question. For example, if arrivals come at a rate of 2 per hour, on average, they also come at a rate of 4 per two hours, on average.
X
− − −
5 0 1 1
λ 5 λ
(3) P[more than 2 calls] = P[X > 2] = 1 - P[X # 2] = 1 - {f(0) + f(1) + f(2)}
P[more than 2 calls] = 1 - {0.1353.. + 0.27067.. + 0.27067..} = 0.
Handout Queue.1 Lecture Notes I on Queuing Theory Dr. Stafford MSC 385 Revised 12/09/04 Page 2 of 2 pages
(4) P[12 in 1 hour] = Note that P[1 in 5 min.] =
[ ]^1
The probability function for the Exponential distribution is given as:
f X e , {0 # X # 4 } (2) x ( ) / =
(^1) −
μ
μ
The Exponential distribution is normally used as the service time process distribution is waiting line (queuing systems) models. The mean of the Exponential distribution, E(X), may be shown to be E(X) = 1/:, and the variance of the Exponential distribution, VAR(X), may be shown to be F^2 = (1/:) 2.
There are three possibilities for computing probabilities with the exponential distribution. Replace X with T since we are usually dealing with time with the exponential distribution. Also, let u and v be some values of time of interest to us. These three conditions then are:
P[T # u]; P[T $ u]; and P[u # T # v]
It may be shown that, using Equation 2 above and calculus, the closed form solutions to these conditions are:
u
/
−
μ
P T u e (4) u [ ]
≥ = − μ
u v
/ /
− μ − μ
Example Problem
Related to (2) in the Poisson example, P[no calls in next 5 minutes] is the same as P[T $ 5 minutes] where : = mean time between calls = 5 minutes. So:
P T e e e u [ ]. / / ≥ = = = = = − − − 5 0 3678794 μ 5 5 1
This problem is but one demonstration of the following phenomenon:
between arrivals is a random variable which follows the exponential distribution with a mean
Example Problem
If service times are exponentially distributed with a mean service time of 20 minutes, find the following: (1) P[ a service is completed in less than 15 minutes]; (2) P[ a service takes more than 30 minutes]; (3) P[ a service takes between 10 and 20 minutes].
Solution :
(1) P[T < 15] = 1 - e-u/:^ = 1 - e-15/20^ = 1 - e-0.75^ = 1 - .4723665 = 0. (2) P[T > 30] = e-u/:^ = e-30/20^ = e-1.5^ = 0.2231301 = 0. (3) P[ 10 < T < 20] = e-u/:^ - e-v/: = e-10/20^ - e-20/20^ = e-0.5^ - e-1^ = 0.6065306 - 0.3678794 = 0.