Professional Documents
Culture Documents
Week 9 - Queuing Theory
Week 9 - Queuing Theory
Winston, W.L. & Goldberg, J.B. (2004). Operations research: applications and algorithms (Vol 4).
BelmonteCalif Calif:Thomson/Brooks/Cole.
9
Steady State for Birth-Death
Processes (3)
◉ In the steady state, the rate at which transitions occur into any state 𝑖
must equal the rate at which transition occur out of state 𝑖.
◉ The flow balance equations for a birth-death process:
𝑗=0 𝜋0 𝜆0 = 𝜋1 𝜇1
𝑗=1 𝜆1 + 𝜇1 𝜋1 = 𝜆0 𝜋0 + 𝜇2 𝜋2
𝑗=2 𝜆2 + 𝜇2 𝜋2 = 𝜆1 𝜋1 + 𝜇3 𝜋3
⋮ ⋮
𝑗 th 𝑒𝑞 𝜆𝑗 + 𝜇𝑗 𝜋𝑗 = 𝜆𝑗−1 𝜋𝑗−1 + 𝜇𝑗+1 𝜋𝑗+1
10
Solution of Birth–Death Flow
Balance Equations
𝜆0 𝜆1 …𝜆𝑗−1
◉ Define: 𝑐𝑗 = 𝜋𝑗 = 𝜋0 𝑐𝑗 , with σ∞
𝑗=1 𝜋𝑗 = 1
𝜇1 𝜇2 …𝜇𝑗
◉ 𝜋0 1 + σ∞
𝑗=1 𝑐𝑗 = 1
1
◉ If σ∞
𝑗=1 𝑐𝑗 is finite 𝜋0 = 1+σ∞
𝑗=1 𝑐𝑗
𝜆
Define: 𝜌 = called the traffic intensity of queuing systems.
𝜇
Formulation for
M/M/1/GD/∞/ ∞
◉ 𝜋0 = 1 − 𝜌
◉ 𝜋𝑗 = 𝜌 𝑗 1 − 𝜌
𝜌 𝜆
◉ Average number of customers present in the system 𝐿 = =
1−𝜌 𝜇−𝜆
𝜌2 𝜆2
◉ Expected number of customers waiting in the system 𝐿𝑞 = =
1−𝜌 𝜇 𝜇−𝜆
◉ Expected number of customers in service 𝐿𝑠 = 1 − 𝜋0 = 𝜌
Example:
Machinists who work at a tool-and-die plant must check out tools from a tool center.
An average of ten machinists per hour arrive seeking tools. At present, the tool center
is staffed by a clerk who is paid $6 per hour and who takes an average of 5 minutes to
handle each request for tools. Since each machinist produces $10 worth of goods per
hour, each hour that a machinist spends at the tool center costs the company $10. The
company is deciding whether or not it is worthwhile to hire (at $4 per hour) a helper
for the clerk. If the helper is hired, the clerk will take an average of only 4 minutes to
process requests for tools. Assume that service and interarrival times are exponential.
Should the helper be hired?
20.5 M/M/1/GD/c/∞
M/M/1/GD/c/∞
𝜆
Define: 𝜌 =
𝜇
Formulation for
M/M/1/GD/c/∞
For 𝜆 ≠ 𝜇
1−𝜌
◉ 𝜋0 =
1−𝜌𝑐+1
◉ 𝜋𝑗 = 𝜌 𝑗 𝜋0 for 𝑗 = 0, 1, 2, … , 𝑐
𝜌 1− 𝑐+1 𝜌𝑐 +𝑐𝜌𝑐+!
◉ Average number of customers present in the system 𝐿 =
1−𝜌𝑐+1 1−𝜌
For 𝜆 = 𝜇
◉ 𝜋𝑗 = 1/𝑐 for 𝑗 = 0, 1, 2, … , 𝑐
◉ Average number of customers present in the system 𝐿 = c/2
Formulation for
M/M/1/GD/c/∞