Derivation of Formulas by Queueing Theory

Similar documents
Link Models for Circuit Switching

Performance Evaluation of Queuing Systems

Queueing Theory I Summary! Little s Law! Queueing System Notation! Stationary Analysis of Elementary Queueing Systems " M/M/1 " M/M/m " M/M/1/K "

Kendall notation. PASTA theorem Basics of M/M/1 queue

GI/M/1 and GI/M/m queuing systems

Elementary queueing system

Lecture 7: Simulation of Markov Processes. Pasi Lassila Department of Communications and Networking

Classical Queueing Models.

Non Markovian Queues (contd.)

P (L d k = n). P (L(t) = n),

Continuous Time Processes

Queues and Queueing Networks

Queueing Systems: Lecture 3. Amedeo R. Odoni October 18, Announcements

M/G/1 and Priority Queueing

M/G/1 and M/G/1/K systems

Lecture 20: Reversible Processes and Queues

QUEUING SYSTEM. Yetunde Folajimi, PhD

11 The M/G/1 system with priorities

Introduction to Markov Chains, Queuing Theory, and Network Performance

Part II: continuous time Markov chain (CTMC)

CPSC 531: System Modeling and Simulation. Carey Williamson Department of Computer Science University of Calgary Fall 2017

Queueing Theory and Simulation. Introduction

Data analysis and stochastic modeling

A FAST MATRIX-ANALYTIC APPROXIMATION FOR THE TWO CLASS GI/G/1 NON-PREEMPTIVE PRIORITY QUEUE

4.7 Finite Population Source Model

THIELE CENTRE. The M/M/1 queue with inventory, lost sale and general lead times. Mohammad Saffari, Søren Asmussen and Rasoul Haji

Figure 10.1: Recording when the event E occurs

6 Solving Queueing Models

Introduction to Queuing Theory. Mathematical Modelling

Computer Networks More general queuing systems

Link Models for Packet Switching

CDA5530: Performance Models of Computers and Networks. Chapter 4: Elementary Queuing Theory

Chapter 2. Poisson Processes. Prof. Shun-Ren Yang Department of Computer Science, National Tsing Hua University, Taiwan

1.225 Transportation Flow Systems Quiz (December 17, 2001; Duration: 3 hours)

NEW FRONTIERS IN APPLIED PROBABILITY

All models are wrong / inaccurate, but some are useful. George Box (Wikipedia). wkc/course/part2.pdf

2905 Queueing Theory and Simulation PART III: HIGHER DIMENSIONAL AND NON-MARKOVIAN QUEUES

Performance Modelling of Computer Systems

10.2 For the system in 10.1, find the following statistics for population 1 and 2. For populations 2, find: Lq, Ls, L, Wq, Ws, W, Wq 0 and SL.

Queuing Networks: Burke s Theorem, Kleinrock s Approximation, and Jackson s Theorem. Wade Trappe

Chapter 2 Queueing Theory and Simulation

Advanced Computer Networks Lecture 3. Models of Queuing

A Simple Solution for the M/D/c Waiting Time Distribution

Since D has an exponential distribution, E[D] = 0.09 years. Since {A(t) : t 0} is a Poisson process with rate λ = 10, 000, A(0.

Markov Chains. X(t) is a Markov Process if, for arbitrary times t 1 < t 2 <... < t k < t k+1. If X(t) is discrete-valued. If X(t) is continuous-valued

Intro to Queueing Theory

Queueing Theory II. Summary. ! M/M/1 Output process. ! Networks of Queue! Method of Stages. ! General Distributions

Structured Markov Chains

Introduction to Queueing Theory

M/M/1 Queueing System with Delayed Controlled Vacation

The effect of probabilities of departure with time in a bank

Class 11 Non-Parametric Models of a Service System; GI/GI/1, GI/GI/n: Exact & Approximate Analysis.

Queueing Networks and Insensitivity

INDEX. production, see Applications, manufacturing

PBW 654 Applied Statistics - I Urban Operations Research

Queueing Review. Christos Alexopoulos and Dave Goldsman 10/6/16. (mostly from BCNN) Georgia Institute of Technology, Atlanta, GA, USA

SYMBOLS AND ABBREVIATIONS

Contents Preface The Exponential Distribution and the Poisson Process Introduction to Renewal Theory

Queuing Theory. 3. Birth-Death Process. Law of Motion Flow balance equations Steady-state probabilities: , if

Queueing Theory. VK Room: M Last updated: October 17, 2013.

Probability Models in Electrical and Computer Engineering Mathematical models as tools in analysis and design Deterministic models Probability models

IEOR 6711: Stochastic Models I, Fall 2003, Professor Whitt. Solutions to Final Exam: Thursday, December 18.

An engineering approximation for the mean waiting time in the M/H 2 b /s queue

NICTA Short Course. Network Analysis. Vijay Sivaraman. Day 1 Queueing Systems and Markov Chains. Network Analysis, 2008s2 1-1

BIRTH DEATH PROCESSES AND QUEUEING SYSTEMS

J. MEDHI STOCHASTIC MODELS IN QUEUEING THEORY

A Queueing System with Queue Length Dependent Service Times, with Applications to Cell Discarding in ATM Networks

Chapter 5. Elementary Performance Analysis

Waiting Time Analysis of A Single Server Queue in an Out- Patient Clinic

Other properties of M M 1

λ, µ, ρ, A n, W n, L(t), L, L Q, w, w Q etc. These

5/15/18. Operations Research: An Introduction Hamdy A. Taha. Copyright 2011, 2007 by Pearson Education, Inc. All rights reserved.

Introduction to Queueing Theory with Applications to Air Transportation Systems

Networking = Plumbing. Queueing Analysis: I. Last Lecture. Lecture Outline. Jeremiah Deng. 29 July 2013

Introduction to Queueing Theory

Introduction to queuing theory

Queueing Networks G. Rubino INRIA / IRISA, Rennes, France

Introduction to Queueing Theory

Queueing systems. Renato Lo Cigno. Simulation and Performance Evaluation Queueing systems - Renato Lo Cigno 1

The Erlang Model with non-poisson Call Arrivals

Sensitivity Analysis for Discrete-Time Randomized Service Priority Queues

57:022 Principles of Design II Final Exam Solutions - Spring 1997

15 Closed production networks

Part I Stochastic variables and Markov chains

Bulk input queue M [X] /M/1 Bulk service queue M/M [Y] /1 Erlangian queue M/E k /1

Readings: Finish Section 5.2

arxiv: v1 [math.pr] 11 May 2018

Single-Server Service-Station (G/G/1)

LECTURE #6 BIRTH-DEATH PROCESS

Chapter 5: Special Types of Queuing Models

AN ALGORITHM TO COMPUTE BLOCKING PROBABILITIES IN MULTI-RATE MULTI-CLASS MULTI-RESOURCE LOSS MODELS. AT&T Bell Laboratories.

Monotonicity Properties for Multiserver Queues with Reneging and Finite Waiting Lines

LIMITS FOR QUEUES AS THE WAITING ROOM GROWS. Bell Communications Research AT&T Bell Laboratories Red Bank, NJ Murray Hill, NJ 07974

Massachusetts Institute of Technology

15 Closed production networks

Outline. Finite source queue M/M/c//K Queues with impatience (balking, reneging, jockeying, retrial) Transient behavior Advanced Queue.

ECE 3511: Communications Networks Theory and Analysis. Fall Quarter Instructor: Prof. A. Bruce McDonald. Lecture Topic

A TANDEM QUEUEING SYSTEM WITH APPLICATIONS TO PRICING STRATEGY. Wai-Ki Ching. Tang Li. Sin-Man Choi. Issic K.C. Leung

Sandwich shop : a queuing net work with finite disposable resources queue and infinite resources queue

The Timing Capacity of Single-Server Queues with Multiple Flows

Transcription:

Appendices Spectrum Requirement Planning in Wireless Communications: Model and Methodology for IMT-Advanced E dite d by H. Takagi and B. H. Walke 2008 J ohn Wiley & Sons, L td. ISBN: 978-0-470-98647-9

Appendix A Derivation of Formulas by Queueing Theory Hideaki Takagi In this appendix, we derive the basic formulas used in the methodology for determining the capacity requirement as shown in Table A.1. These formulas are derived by the theory of queues. Erlang-B formula for the blocking probability in a loss system, Erlang-C formula for the wait probability in a delay system, and Cobham s formula for the average waiting time in an M/G/1 nonpreemptive priority queue appear in introductory textbooks of queueing theory such as Cooper (1991), Gross and Harris (1998), Kleinrock (1975), and Kleinrock (1976) as well as in monographs on teletraffic engineering such as Fujiki and Gambe (1980) and Syski (1986). We refer to Wolff (1989) for the proofs of fundamental properties of queues. The multidimensional Erlang-B formula for the blocking probability in a loss system with multiple classes of calls and multiple server occupation is an example of so-called productform solution to a network of queues that can be modeled by a reversible Markov process (Iversen). However, we present its analysis and computational algorithm in an elementary manner by following Kaufman (1981). A basic queueing model consists of an arrival stream of customers, a waiting room and a set of servers. Various queueing models are conveniently described by the so-called Kendall s notation A/B/s/K as explained in Gross and Harris (1998, p. 8) and Kleinrock (1975, p. 399). In this notation, the first parameter A indicates the arrival process such as M for the Poisson process. The second parameter B indicates the service time distribution such as M for the exponential distribution, D for the deterministic, i.e. constant service time, and G for the general distribution. The third parameter s denotes the number of servers. The fourth parameter K denotes the maximum number of customers that can be accommodated in the whole system, i.e. both in the waiting room and servers. The fourth parameter may be omitted if there is no restriction on the capacity of the waiting room; this model is a delay Spectrum Requirement Planning in Wireless Communications: Model and Methodology for IMT-Advanced E dite d by H. Takagi and B. H. Walke 2008 J ohn Wiley & Sons, L td. ISBN: 978-0-470-98647-9

202 SPECTRUM REQUIREMENT PLANNING IN WIRELESS COMMUNICATIONS system. If K s, the model is a loss system, because there is no waiting room. The first three parameters seem to be quite standard. However, the reader should note that the fourth parameter is used with different meaning in some books, e.g. Walke (2002, p. 1043). Table A.1 Sections where formulas of queueing theory are used. Formula System Traffic Section Erlang-B formula for a loss system IMT-2000 circuit-switched 3.3.2 Erlang-C formula for a delay system IMT-2000 packet-switched 3.3.2 Multidimensional Erlang-B formula IMT-Advanced circuit-switched 4.3.4 M/G/1 nonpreemptive priority queue IMT-Advanced packet-switched 4.3.5 A.1 Erlang-B Formula for a Loss System Let us consider an M/M/s/s loss system depicted in Figure A.1. There are s servers and no waiting room. Calls arrive in a Poisson process with rate. The service time of each call has exponential distribution with mean 1/µ. Calls that arrive when all servers are busy are blocked and lost. We define the state of the system by the number of calls present in the system. The state space is finite. The state follows a birth-and-death process, for which the state transition rate diagram is shown in Figure A.2. 1 arrival 2 departure. loss s servers Figure A.1 A loss system. Let p k be the probability that there are k calls in the system at an arbitrary time in equilibrium, where k 0, 1, 2,...,s. Then the set of balance equations for {p k ; 0 k s} is given by µp 1 p 0 p k 1 + (k + 1)µp k+1 ( + kµ)p k, 1 k s 1 (A.1) p s 1 sµp s.

DERIVATION OF FORMULAS BY QUEUEING THEORY 203 0 1 µ 2µ 2 k 1 kµ k (k + 1)µ k + 1 s 1 sµ s Figure A.2 State transition rate diagram for an M/M/s/s loss system. This is equivalent to the set which gives p k kµ p k 1 kµp k p k 1, 1 k s (A.2) k(k 1)µ 2 p k 2 1 k! ( ) k p 0, 1 k s. (A.3) µ Writing a : /µ for the offered traffic, and finding p 0 from the normalization condition s p k 1, k0 (A.4) we obtain the probability distribution for the number of calls in the system a k p k p 0 k! a k /k! sj0 (a j, 0 k s. (A.5) /j!) This is the truncated Poisson distribution. Calls that arrive when all servers are used are blocked. From the PASTA (Poisson arrivals see time averages) property (Wolff 1989, pp. 293 297), the probability that there are k calls in the system immediately before an arrival time equals the probability that there are k calls in the system at an arbitrary time given in Equation (A.5). Therefore, the blocking probability is given by a s /s! p s sj0 (a j /j!) : E B(s, a). (A.6) This is called the Erlang-B formula or Erlang s loss formula. This formula was first derived by A. K. Erlang in 1917. 1. This result is used in the methodology of required capacity calculation for the circuit-switched services in IMT-2000 systems in Section 3.3.2. We note the relation E B (0,a) 1; E B (s, a) ae B(s 1,a) s + ae B (s 1,a), s 1 (A.7) which was very useful to calculate E B (s, a) for s 1, 2,...,in this order recursively for a given value of a in the era of B. C. (before computer). 1 See Brockmeyer et al. (1948) for the life and works of A. K. Erlang.

204 SPECTRUM REQUIREMENT PLANNING IN WIRELESS COMMUNICATIONS Erlang-B formula is derived in Cooper (1991, p. 80), Fujiki and Gambe (1980, p. 47), Gross and Harris (1998, p. 80), Kleinrock (1975, p. 106), and Syski (1986, p. 147). It is noteworthy that Equations (A.5) and (A.6) are valid even when the service time has general distribution, i.e. for an M/G/s/s loss system. In such a case, 1/µ in the above formulas is replaced by the average service time. This property is called the insensitivity (Wolff 1989, pp. 271 273). A.2 Erlang-C Formula for a Delay System Let us consider an M/M/s delay system depicted in Figure A.3. There are s servers and a waiting room of infinite capacity. Calls arrive in a Poisson process with rate. The service time of each call has exponential distribution with mean 1/µ. Calls that arrive when all servers are busy wait in the waiting room. We define the state of the system by the number of calls present in the system. The state space is infinite. The state follows a birth-and-death process, for which the state transition rate diagram is shown in Figure A.4. 1 arrival 2 departure waiting room. s servers Figure A.3 A delay system. Let p k be the probability that there are k calls in the system at an arbitrary time in equilibrium, where k 0, 1, 2,...Then the set of balance equations for {p k ; k 0} is given by This is equivalent to the set µp 1 p 0 p k 1 + (k + 1)µp k+1 ( + kµ)p k, 1 k s 1 p k 1 + sµp k+1 ( + sµ)p k, k s. (A.8) kµp k p k 1, 1 k s; sµp k p k 1, k s (A.9)

DERIVATION OF FORMULAS BY QUEUEING THEORY 205 0 1 µ 2µ 2 k 1 kµ k (k + 1)µ k + 1 s 1 sµ s s + 1 s + 2 k 1 sµ sµ sµ k k + 1 sµ Figure A.4 State transition rate diagram for an M/M/s delay system. which gives p k kµ p k 1 p k sµ p k 1 (/µ)k s!s k s p 0 ss s! ( ) k p 0, 1 k s (A.10) µ k(k 1)µ 2 p k 2 1 k! ( ) ( ) k s p k 2 p s sµ sµ ) k p 0, k s. (A.11) ( sµ Writing a : /µ for the offered traffic, we determine p 0 from the normalization condition p k 1. k0 When a/s < 1 (the stability condition), we obtain 1 s 1 a k p 0 k! + ss s! k0 ks (A.12) ( a ) k s 1 a k s k! + a s (s 1)!(s a). (A.13) Thus we obtain the probability distribution for the number of calls in the system a k p 0 k!, 0 k s p k (A.14) s s ( a ) k ( a ) k s p 0 ps, k s. s! s s Calls that arrive when all servers are used must wait in the waiting room. Owing to the PASTA property, the wait probability is given by P {W >0} ( a p k p s s ks ks k0 ) k s p s s s a p 0 a s (s 1)!(s a) a s /(s 1)!(s a) s 1 j0 aj /j!+a s /(s 1)!(s a) : E C(s, a). (A.15)

206 SPECTRUM REQUIREMENT PLANNING IN WIRELESS COMMUNICATIONS This is called the Erlang-C formula or Erlang s delay formula. This formula was also derived by A. K. Erlang in 1917. We may note the relationship E C (s, a) se B (s, a) s a + ae B (s, a) (A.16) where E B (s, a) is the blocking probability in the corresponding M/M/s/s loss system given in Equation (A.6). We now find the distribution function for the waiting time W by assuming the first-come first-served (FCFS) discipline. Suppose that no servers are idle during a time interval x. Then, the numberof service completionsduring x follows the Poisson distribution with mean sµx. Let N be the number of calls present in the system immediately before an arrival. Hence P {W >x N k} P {Number of service completions before x k s} k s j0 (sµx) j j! e sµx, x 0. (A.17) It follows from PASTA again and the theorem of total probability that P {W >x} p k P {W >x N k} ks ( a p s s ks ) k s k s j0 (sµx) j j! e sµx p s e sµx (sµx) j j! j0 p s e sµx (sµx) j j! j0 ks+j ( a s ) k s ( a ) j 1 s 1 a/s p ss s a e sµx (aµx) j j0 j! E C (s, a) e (s a)µx, x 0. (A.18) This result is used in the methodology of required capacity calculation for the packetswitched services in IMT-2000 systems in Section 3.3.2. Though not used in the methodology, it is interesting to note that the distribution function for the waiting time of those calls that are forced to wait upon arrival is given by P {W >x W>0} P {W >x,w>0} P {W >0} which is an exponential distribution with average 1/[(s a)µ]. P {W >x} P {W >0} e (s a)µx, x > 0, (A.19)

DERIVATION OF FORMULAS BY QUEUEING THEORY 207 We also note that the time average of the number of calls present in the waiting room, denoted by L, at an arbitrary time is given by E[L] (k s)p k p s ks+1 ks+1 The waiting time averaged over the calls is given by E[W] Hence we can confirm the relation 0 ( a ) k s p s as (k s) s (s a) 2. (A.20) P {W >x} dx E C(s, a) (s a)µ p s s (s a) 2 µ. (A.21) E[L] E[W]. (A.22) This is an instance of Little s law (Wolff 1989, pp. 235 238) applied to the calls in the waiting room. Erlang-C formula and the waiting time distribution are derived in Cooper (1991, pp. 90 98), Fujiki and Gambe (1980, p. 75), Gross and Harris (1998, pp. 69 73), Kleinrock (1975, p. 103), and Syski (1986, pp. 238 239). A.3 Multidimensional Erlang-B Formula An M/M/s/s loss system with N classes of calls and multiple server occupation is used in the methodology of required capacity calculation for the circuit-switched service categories in IMT-Advanced systems in Section 4.3.4. Before presenting its analysis and computational algorithm which may look formidable at first glance, we study a simple case with two classes of calls and single server occupation. The two-dimensional state transition rate diagram in Figure A.5 helps the reader understand the analysis of the latter system. A.3.1 Two classes of calls with single server occupation We first consider an M/M/s/s loss system with two classes of calls. There are s servers and no waiting room. Calls of class 1 and class 2 arrive in independent Poisson processes with rate 1 and with rate, respectively. Each call occupies one server. The service time of each call has exponential distribution with average 1/µ 1 for class 1 and with average 1/µ 2 for class 2. Any call that arrives when all servers are busy is blocked. We define the state of the system by a combination of the number of calls of class 1 and the number of calls of class 2 that are present in the system. It is denoted by (j, k), wherej and k are the numbers of calls of class 1 and class 2, respectively, present in the system. The state space is finite : {(j, k) : j + k s, j 0,k 0}. (A.23) The number of states is (s + 1)(s + 2)/2. The state follows a two-dimensional birth-anddeath process, for which the state transition rate diagram is shown in Figure A.5. Let p j,k be the probability that there are j calls of class 1 and k calls of class 2 present in the system at an arbitrary time in equilibrium. Referring to Figure A.6(a), the set of global

208 SPECTRUM REQUIREMENT PLANNING IN WIRELESS COMMUNICATIONS sµ 2 1 0, s 1 1, s 1 µ1 0, s (s 1)µ2. (s 1)µ2.. 1 0,2 µ1 2µ 2 1 0,1 µ1 µ 2 1 1,2 2µ 1 2µ 2 1 1,1 2µ 1 µ 2 1 2,2 2µ 2 1 2,1 µ 2 1 1 1 0,0 1,0 2,0 µ1 2µ 1 s 1,1 (s 1)µ 1 (s 1)µ 1 µ 2 s 1,0 sµ 1 1 s,0 Figure A.5 State transition rate diagram for an M/M/s/s loss system with two classes. balance equations for {p j,k ; (j, k) } is given by µ 1 p 1,0 + µ 2 p 0,1 ( 1 + )p 0,0 1 p j 1,0 + (j + 1)µ 1 p j+1,0 + µ 2 p j,1 ( 1 + + jµ 1 )p j,0, 1 j s 1 1 p s 1,0 sµ 1 p s,0 p 0,k 1 + µ 1 p 1,k + (k + 1)µ 2 p 0,k+1 ( 1 + + kµ 2 )p 0,k, 1 k s 1 p 0,s 1 sµ 2 p 0,s 1 p j 1,k + p j,k 1 + (j + 1)µ 1 p j+1,k + (k + 1)µ 2 p j,k+1 (A.24) ( 1 + + jµ 1 + kµ 2 )p j,k, 1 j,k s 1,j + k s 1 1 p j 1,k + p j,k 1 (jµ 1 + kµ 2 )p j,k, 1 j,k s 1,j + k s. The number of equations is (s + 1)(s + 2)/2, which is the same as the number of states. One of the equations is redundant as they are homogeneous. Another equation to determine the

DERIVATION OF FORMULAS BY QUEUEING THEORY 209 j,k + 1 (k + 1)µ 2 1 1 j,k 1 j,k j + 1,k jµ 1 (j + 1)µ 1 kµ 2 j,k 1 (a) Global balance j,k kµ 2 1 j 1,k j,k j,k 1 jµ 1 (b) Local balance Figure A.6 Global and local balance for an M/M/s/s loss system with two classes. set {p j,k ; (j, k) } uniquely is given by the normalization condition in Equation (A.27) below. The set of equations in (A.24) is equivalent to the following set of local balance equations: jµ 1 p j,k 1 p j 1,k, 1 j s, 0 k s kµ 2 p j,k p j,k 1, 0 j s, 1 k s. (A.25) See Figure A.6(b). These equations are satisfied by the product-form solution: p j,k 1 (a 1 ) j G(s) j! (a 2) k, (j,k), (A.26) k! where a 1 : 1 /µ 1 is the offered traffic of class 1 and a 2 : /µ 2 is the offered traffic of class 2. The constant G(s) can be found from the normalization condition p j,k 1 (A.27) (j,k)

210 SPECTRUM REQUIREMENT PLANNING IN WIRELESS COMMUNICATIONS as follows: G(s) (j,k) s i0 j0 (a 1 ) j j! i (a 1 ) j j! s (a 2 ) i ( i0 i! (a 2) k k! s s j (a 1 ) j j0 k0 (a 2) i j (i j)! s 1 + a 1 a 2 ) i i0 j! (a 2 ) i i! (a 2) k k! i j0 ( i j )( ) j a1 a 2 s (a 1 + a 2 ) i, (A.28) i! where we have changed the variable by j + k i and used the binomial theorem. Hence we obtain the state probability explicitly i0 p j,k (a 1) j /j! (a 2 ) k /k! si0 (a 1 + a 2 ) i, (j,k). (A.29) /i! Let l be the state space in which the total number of calls in the system is exactly l: l : {(j, k) : j + k l,j 0,k 0}, 0 l s. (A.30) Then we have the probability that there are l calls in the system P {(j, k) l } p j,k (j,k) l 1 (a 1 + a 2 ) l G(s) l! l j0 p j,l j 1 G(s) (a 1 + a 2 ) l l! l (a 1 ) j j0 j! (a 2) l j (l j)! / s (a 1 + a 2 ) i, 0 l s. i! i0 (A.31) This is a truncated Poisson distribution just like Equation (A.5) for an M/M/s/s loss system with a single class of offered traffic a a 1 + a 2. An arriving call of either class is blocked if all servers are used when it arrives. This happens when the system is in state s when a call arrives. Due to the PASTA property, the blocking probability is given by P B P {(j, k) s } (a 1 + a 2 ) s / s (a 1 + a 2 ) i. (A.32) s! i! Since (a 1 + a 2 ) s s! i0 s (a 1 + a 2 ) i s 1 (a 1 + a 2 ) i, (A.33) i! i! i0 the blocking probability can be expressed as P B 1 i0 G(s 1). (A.34) G(s)

DERIVATION OF FORMULAS BY QUEUEING THEORY 211 A.3.2 Several classes of calls with multiple server occupation We now consider an M/M/s/s loss system with N classes of calls and multiple server occupation. There are s servers and no waiting room. Calls of class n arrive in a Poisson process with rate n, independent of the arrival processes of other classes (1 n N). It is further assumed that each call of class n occupies m n servers simultaneously during the service (1 n N). Let m (m 1,m 2,...,m N ). The service time of each call of class n has exponential distribution with average 1/µ n (1 n N). When the service of a call is finished, all servers occupied by the call are released immediately. Any call that arrives when all servers are busy is blocked. We follow Kaufman (1981) for the analysis and the computational algorithm of the blocking probability. The state of the system is denoted by k (k 1,k 2,...,k N ) (A.35) where k n is the number of calls of class n that are present in the system (1 n N). The state space is finite : {k : m k s, k n 0 (1 n N)}, (A.36) where m k m n k n. (A.37) In order to write the global balance equations, we introduce the notation and δ + n (k) : k + n (k 1,...,k n 1,k n + 1,k n+1,...,k N ) k n (k 1,...,k n 1,k n 1,k n+1,...,k N ) { 1, k + n 0, otherwise; The set of global balance equations is given by δ n (k) : { 1, k n 0, otherwise. (A.38) (A.39) n δn (k)p (k n ) + (k n + 1)µ n δ n + (k)p (k+ n ) [ ] n δ n + (k) + k n µ n δn (k) P(k), k. (A.40) This is equivalent to the following set of local balance equations k n µ n δn (k)p (k) n δn (k)p (k n ), 1 n N,k. (A.41) The solution is given in the product form: P(k) 1 G( ) N (a n ) k n, k (A.42) k n!

212 SPECTRUM REQUIREMENT PLANNING IN WIRELESS COMMUNICATIONS with G( ) G(s) N (a n ) k n (A.43) k k n! where a n : n /µ n is the offered traffic of class n (1 n N). It can be easily confirmed by substitution that the solution in (A.42) satisfies Equations (A.41) because P(k n ) (a 1) k 1 k 1! (a n 1) k n 1 k n 1! (a n) k n 1 (k n 1)! (a n+1) kn+1 (a N) k N. (A.44) k n+1! k N! An arriving call of either class is blocked if all servers are used when it arrives. The state space in which an arriving call of class n is blocked is given by B n : {k : k + n } \{k : 0 m k s m n }. Therefore, the blocking probability for calls of class n is given by where P B n (s) k B n P(k) G(B n) G( ) k B n i1 (A.45) (A.46) G(B n ) N (a i ) k i G(s) G(s m n ). (A.47) k i! Thus we obtain Pn B (s) 1 G(s m n). G(s) (A.48) We proceed to the computational algorithm. We define q(j) : P {m k j} P(k), k j 0 j s (A.49) where j is the state space in which j servers are occupied: j : {k : m k j,k n 0 (1 n N)}, 0 j s. (A.50) It is clear that the set { j ; 0 j s} is a partition of : It follows that Then we have i j i j; 0 1 2 s. (A.51) s q(j) j0 s P(k) P(k) 1. k j j0 G(j) G(s) k (A.52) j q(l), 0 j s. (A.53) l0 Conversely, since 1 G(0) G(s)q(0) we obtain q(0) 1 G(j) G(j 1) ; q(j), 1 j s. (A.54) G(s) G(s) The key for the algorithm is the following lemma.

DERIVATION OF FORMULAS BY QUEUEING THEORY 213 Lemma a n q(j m n ) q(j)e[k n m k j], 1 n N, 0 j s. (A.55) Proof. The local balance equations in (A.41) can be written as a n δ n (k)p (k n ) k np(k), 1 n N (A.56) where δ n (k) : { 1, kn 1 0, otherwise. Summing both sides of (A.56) over j, we obtain a n k j δ n (k)p (k n ) k j k n P(k). (A.57) (A.58) We calculate each side of this equation. First, by noting that P(k m k j) { P(k)/q(j), k j 0, otherwise (A.59) the right-hand side of (A.58) becomes P(k) k n P(k) k n q(j) q(j) k j k j q(j) k j k n P(k m k j) q(j)e[k n m k j]. (A.60) Next, on the left-hand side of (A.58), we have k j δ n (k)p (k n ) k j {k n 1} P(k n ). (A.61) However, since m k m l k l m l k l + m n (k n 1) + m n m k n + m n, l1 l n (A.62) it follows that j {k n 1} {k : m k j,k n 1,k l 0 (l n)} {k n : m k n j m n,(k n ) l 0 (1 l N)}. (A.63) Hence we obtain q. e. d. k j δ n (k)p (k n ) q(j m n). (A.64)

214 SPECTRUM REQUIREMENT PLANNING IN WIRELESS COMMUNICATIONS This lemma leads to the following theorem. Theorem a n m n q(j m n ) jq(j), 1 j s (A.65) where q(j) 0 for j<0. q. e. d. Proof. Multiplying both sides of (A.55) by m n and summing over n yields a n m n q(j m n ) q(j) m n E[k n m k j] [ ] q(j)e m n k n m k j jq(j). (A.66) Finally we obtain the following recursive relation for {G(j) 0 j s}. Corollary j 1 jg(j) G(l) + a n m n G(j m n ), 1 j s. (A.67) l0 Proof. From (A.65), we have for 1 l s G(s) a n m n q(l m n ) l G(s)q(l) l[g(l) G(l 1)] lg(l) (l 1)G(l 1) G(l 1). (A.68) Summing the both sides over l 1, 2,...,j we obtain j 1 a n m n G(j m n ) jg(j) G(l). l0 (A.69) q. e. d. The recursive formula in Equation (A.65) is usually called Kaufman Roberts algorithm (Kaufman 1981; Roberts 1981), although it was first derived by Fortet and Grandjean (1964). Equation (A.67) is shown by Takagi et al. (2006). It is used in the methodology of required capacity calculation for the circuit-switched service categories in IMT-Advanced systems in Section 4.3.4.

DERIVATION OF FORMULAS BY QUEUEING THEORY 215 A.4 M/G/1 Nonpreemptive Priority Queue We consider a single server queue with an infinite waiting room. There are N classes of calls indexed n 1, 2,...,N. Calls of class n arrive in a Poisson process at rate n.theservice times of calls of class n have general distribution with average b n and second moment b n (2). We assume that the classes of calls are priority classes with the descending order of indices. That is, class n has priority over class i if and only if n<i. Class 1 is the highest priority class and class N the lowest. When the server becomes available, it selects for service one call of which priority is the highest among those calls present in the waiting room. We assume the FCFS discipline for the order of service within the same class of calls. The service is nonpreemptive in the sense that once the service to a call is started it is not disrupted until the completion (even if any calls of higher priority arrive during the service). We calculate the average waiting time for calls of class n, denoted by W n for 1 n N (Kleinrock 1976, pp. 119 121). To do so, we focus on a newly arriving call of class n which is referred to as a tagged call. The waiting time of this tagged call consists of the following components: delay due to the call in service when our tagged call arrives; delay due to those calls found in the waiting room that receive service before our tagged call; delay due to those calls which arrive at the system after our tagged call but receive service before the tagged call. Consequently, the average waiting time for our tagged call can be written as where W n W 0 + b i (L i,n + M i,n ), 1 n N, (A.70) i1 W 0 : average delay to our tagged call due to the call found in service when our tagged call arrives L i,n : average number of calls of class i found in the waiting room by our tagged call of class n and which receive service before the tagged call M i,n : average number of calls of class i that arrive at the system while our tagged call of class n is in the waiting room and which receive service before the tagged call. (A.71) (A.72) (A.73) We first evaluate W 0. The delay to our tagged call due to a call of class i found in service by the tagged call is the remaining service time of the call of class i when the tagged call arrives. The average remaining service time of a call of class i is derived as follows (Kleinrock 1975, pp. 169 173).

216 SPECTRUM REQUIREMENT PLANNING IN WIRELESS COMMUNICATIONS Let f i (x) be the probability density function (pdf) for the service time of a call of class i. It is important to note that the pdf fˆ i (x) for the service time ˆX i of a call of class i during which a call arrives is generally different from f i (x). This is because long service times occupy larger segments of the time axis than short service times do, and therefore it is more likely that an arbitrary call arrives during a long service time. The probability that a call arrives during the service time of a call of class i with duration x is proportional to the duration x as well as to the probability density f i (x). Thus ˆ f i (x) cxf i (x), where c is a constant. We can obtain c 1/b i from the normalization condition as 1 0 fˆ i (x) dx c 0 xf i (x) dx cb i. (A.74) (A.75) Hence we obtain fˆ i (x) xf i(x). (A.76) b i Let us now find the pdf g i (y) for the remaining service time Y i of a call of class i.given that our tagged call arrives during the service time of a call of class i with duration x, the arrival point is uniformly distributed over an interval [0,x].Thenwehave Hence the joint density of ˆX i and Y i is given by P {Y i y} y, 0 y x. (A.77) x P {y <Y i y + dy,x < ˆX i x + dx} dy x xf i(x) dx f i(x) dy dx, 0 y x. b i b i (A.78) Integrating over x, we obtain the pdf for Y i as g i (y) x xy f i (x) dx b i 1 b i y f i (x) dx 1 F i(y) b i where F i (y) : y 0 f i(x) dx is the distribution function of X i. We then obtain E[Y i ] yg i (y) dy 1 y[1 F i (y)] dy b(2) i 0 b i 0 2b i where the last result can be calculated by the method of partial integration. With the above preparation, we can proceed to obtain W 0. To do so, we note that (A.79) (A.80) ρ i : i b i (A.81) is the fraction of time that the server is occupied by calls of class i. From the PASTA property, this is also the probability that our tagged call finds a call of class i in service. The average time until the completion of such service is given by b (2) i /(2b i ). Hence we obtain ( ) W 0 1 ρ i 0 + ρ i b(2) i 1 i b (2) i, (A.82) 2b i 2 i1 i1 i1

DERIVATION OF FORMULAS BY QUEUEING THEORY 217 where the factor 1 N i1 ρ i in the middle expression is the probability that there are no calls in service when our tagged call arrives. We next evaluate L i,n. It is clear that those calls of classes n + 1,n+ 2,...,N (lower priority) found in the waiting room by our tagged call do not delay the tagged call. Hence L i,n 0, n+ 1 i N. (A.83) On the other hand, those calls of classes 1, 2,...,n (higher or equal priority) which are present in the waiting room upon the arrival of our tagged call must certainly be served before the tagged call. It follows from Little s law that the average number of such calls of class i present in the waiting room at an arbitrary time is given by i W i.frompasta,this is also true at the arrival time of the tagged call. Thus we have L i,n i W i, 1 i n. (A.84) We finally evaluate M i,n. Not only those calls of classes n + 1,n+ 2,...,N (lower priority) but also the calls of class n (the same priority) that arrive while our tagged call is in the waiting room do not delay the tagged call. The latter is due to the assumption that calls within the same class are served according to the FCFS discipline. Hence M i,n 0, n i N. (A.85) Those calls of classes 1, 2,...,n 1 (higher priority) that arrive while our tagged call is in the waiting room will also be served before the tagged call. The average time that the tagged call spends in the waiting room is W n. Since the arrival rate of calls of class i is i and since the arrival process of each class is independent of the number of calls in the waiting room, there will be on average i W n arrivals of calls of class i while our tagged call is in the waiting room. Thus we have M i,n i W n, 1 i n 1. (A.86) Note that this is not from Little s law. Substituting Equations (A.82) to (A.86) into Equation (A.70), we obtain which can be written as W n W 0 + W 0 + n i1 n 1 b i i W i + b i i W n i1 n n 1 ρ i W i + W n i1 n 1 W 0 + ρ i W i + W n i1 ρ i i1 n ρ i, 1 n N, (A.87) i1 W n W 0 + n 1 i1 ρ iw i 1 n i1 ρ i, 1 n N, (A.88)

218 SPECTRUM REQUIREMENT PLANNING IN WIRELESS COMMUNICATIONS where the null sum 0 i1 is zero. This triangular set of simultaneous equations can be solved recursively by starting with W 1, then calculating W 2, and so on to obtain W 0 W n (1 n 1 i1 ρ i)(1 n i1 ρ i ) Ni1 i b (2) i 2(1 n 1 i1 ib i )(1, n i1 i b i ) 1 n N. (A.89) This formula was first derived by Cobham (1954). It is used in the methodology of required capacity calculation for the packet-switched service categories in IMT-Advanced systems in Section 4.3.5. We may confirm that the inequality W n 1 <W n, 1 n N, (A.90) which demonstrates the effect of prioritized handling. It is also interesting to note the relation ρ n W n ρw 0 1 ρ (A.91) where ρ : N ρ n. This can be easily seen from (1 n 1 ρ n i1 ρ i)(1 n i1 ρ i ) 1 1 n i1 ρ i 1 1 n 1 i1 ρ i, 1 n N. (A.92) The relation in (A.91) holds for any M/G/1 queue with multiple classes that has nonpreemptive work-conserving service discipline (Kleinrock 1976, pp. 113 117). This relationship is called Kleinrock s conservation law.