20.11.2012 Views

Contents Telektronikk - Telenor

Contents Telektronikk - Telenor

Contents Telektronikk - Telenor

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

If j lies in busy period (for the periodic<br />

source) we can find a k value that gives<br />

U(k,j) > 0, i.e. gives negative exponent in<br />

the z-transform, which implies qj = 0.<br />

For some cases of special interest the<br />

boundary equations (3.5) and (3.6) can<br />

be solved explicitly. This is the case if<br />

the period P contains only one single<br />

busy/idle period (for the periodic source).<br />

We choose the numbering of the time<br />

axis such that Dj = 0; j = 1,...,K (busy<br />

period), and we have qj = 0; j = K+1,...,P<br />

(idle period). In this case the boundary<br />

equations will be of “Vandermonde”<br />

type:<br />

K�<br />

qj = P (1 − ρ)<br />

j=1<br />

K�<br />

qj(ζk) j−1 =0; k =2,...,K<br />

j=1<br />

(3.7)<br />

(3.8)<br />

where ζk = rk /B(rk ).<br />

These equations are identical with (2.3)<br />

and (2.4) in section 2.1.1, so the polynomial<br />

generating the qj ’s may be written<br />

as:<br />

K�<br />

j=1<br />

qjx j−1 �K = P (1 − ρ)<br />

(x − ζk)<br />

(3.9)<br />

(1 − ζk)<br />

The coefficients qj in this case are easily<br />

found by the relation between the roots<br />

and the coefficients in a polynomial.<br />

The form of the queue-length distributions<br />

can be found by inverting the ztransforms<br />

(3.3):<br />

Qk(i) =<br />

P �+k<br />

j=k+1<br />

qjΦ<br />

k=2<br />

� K<br />

k=2<br />

(i + U(k,j), j – k) (3.10)<br />

where U(k,j) is the unfinished work<br />

entering the queuing system from the<br />

periodic source given by (3.4) and Φ(i,j)<br />

is given by<br />

Φ(i, j) = 1 d<br />

i!<br />

i<br />

dzi �<br />

B(z) −j<br />

1 − zKB(z) −P<br />

�<br />

⌊ i<br />

K ⌋<br />

−(lP +j)<br />

bi−Kl l=0<br />

�<br />

=<br />

z=0<br />

where b i –k is the i-th coefficient in the<br />

expansion of B(z) –k , i.e.<br />

(3.11)<br />

(3.12)<br />

For Poisson (M), Bernoulli (Geo) and<br />

generalised negative binomial (Nb) the<br />

coefficients above are given in Appendix<br />

A, (where the offered A is set to ρB ).<br />

As for the multiserver model, the explicit<br />

expressions for the queue length distributions<br />

are not effective to perform numerical<br />

calculations for large i. This is due to<br />

the fact that the function Φ(i,j) defined<br />

by (3.11) contains all the roots of<br />

zK - B(z) P also with modulus less than the<br />

unity, and hence this function will grow<br />

as power of the inverse of these roots. So<br />

when i becomes large the expression for<br />

Qk (i) becomes numerically unstable.<br />

As for the multiserver model one can<br />

overcome this problem by cancelling<br />

these roots directly as it is done in the ztransform<br />

(3.3) (by the boundary equations<br />

(3.5) and (3.6)). To do so we also<br />

need the roots of zK - B(z) P outside the<br />

unit circle. We denote {rK+1 , rK+2 , ...} as<br />

these roots (which in principle can be<br />

infinite if b(i) is infinite). We also<br />

assume that all the roots are distinct. By<br />

making partial expansions of the z-transforms<br />

(3.3) we get:<br />

where<br />

with<br />

and<br />

b −k<br />

i<br />

1<br />

=<br />

qk(i) = �<br />

d<br />

i!<br />

i<br />

dzi � −k<br />

B(z) �<br />

l=K+1<br />

ck(rl) = 1<br />

F (z) =<br />

Hk(z) =<br />

rl<br />

�<br />

1<br />

ck(rl)<br />

z=0<br />

(3.13)<br />

(3.14)<br />

(3.15)<br />

(3.16)<br />

In the general case the series for q k (i)<br />

given by (3.13)–(3.16) will not be convergent<br />

for i < K = P - D. For numerical<br />

calculations it is therefore necessary to<br />

use (3.10) for small i, (at least for i < K)<br />

and then the partial expansion (3.13) for<br />

large i (i ≥ K). The first term in the series<br />

for q k (i) (given by (3.13)–(3.16)) is the<br />

dominant part for large i, and it can be<br />

rl<br />

� i<br />

lim (rl − z)Qk(z)<br />

z→rl<br />

= F (rl)Hk(rl)<br />

1 − z<br />

[K − PzB ′ (z)/B(z)]<br />

P �+k<br />

j=k+1<br />

qjz −U(k,j) B(z) k−j<br />

shown that this root (with the smallest<br />

modulus outside the unit circle) is real.<br />

3.2 Finite buffer case<br />

The finite buffer case is analysed by<br />

Heiss [7] using an iterative approach by<br />

solving the governing equations numerically.<br />

However, we take advantage of the<br />

analysis in section 3.1 and we apply the<br />

same method as for the infinite buffer<br />

case.<br />

In this case the governing equation takes<br />

the form<br />

Qk = min[M, max[Qk-1 + Bk + dk - 1,0]] (3.17)<br />

where M is the buffer capacity.<br />

By using (3.17) we derive the following<br />

set of equations for the distribution of the<br />

number of cells in slot k (=1,...,P):<br />

qk(0) =<br />

�<br />

b(i1)qk−1(i2)<br />

qk(j) =<br />

j = 1, ..., M – 1<br />

qk(M) =<br />

�<br />

(3.18)<br />

where qk (i) = 0 for i < 0 and i > M.<br />

Also for the finite buffer case we introduce<br />

the generating functions<br />

Q M M�<br />

k (z) = qk(i)z i .<br />

By using (3.18) and solving for Q k M (z);<br />

k = 0,...,P-1 we get:<br />

j=k+1<br />

z -U(k,j) B(z) P+k-j (3.19)<br />

where<br />

i1+i2+dk≤1<br />

�<br />

i1+i2+dk=j+1<br />

i1+i2+dk≥M+1<br />

i=0<br />

Q M z − 1<br />

k (z) =<br />

zK − B(z) P<br />

�<br />

P �+k<br />

q M j − z M+1<br />

∞�<br />

q M j = δ0,dj b(0)qj−1(0)<br />

s=1<br />

b(i1)qk−1(i2);<br />

b(i1)qk−1(i2)<br />

1 − zs 1 − z gM �<br />

j (s)<br />

is the probability that the system is empty<br />

at the end of slot j, and<br />

g M j (s) =<br />

�<br />

i1+i2+dk=s+M+1<br />

b(i1)qj−1(i2)<br />

is the probability that exactly s cells are<br />

lost during slot j. (Due to the periodicity<br />

we obviously have<br />

213

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!