• Nie Znaleziono Wyników

Asymptotic analysis of the closed queueing structure with time-dependent service parameters and single-type messages

N/A
N/A
Protected

Academic year: 2022

Share "Asymptotic analysis of the closed queueing structure with time-dependent service parameters and single-type messages"

Copied!
8
0
0

Pełen tekst

(1)

ASYMPTOTIC ANALYSIS OF THE CLOSED QUEUEING STRUCTURE WITH TIME-DEPENDENT SERVICE PARAMETERS

AND SINGLE-TYPE MESSAGES

Mikhail Matalytski1, Tatiana Rusilko2, Andrey Pankov3

1 Institute of Mathematics, Czestochowa University of Technology Czestochowa, Poland

2,3 Grodno State University, Grodno, Belarus

1 m.matalytski@gmail.com, 2 romaniuk@grsu.by, 3 a.pankov@gmail.com

Abstract. A closed queueing structure is considered in the paper; the number of single-type messages is not constant and depends on time. The route of messages is given by an arbi- trary stochastic matrix of transition probabilities. An asymptotic analysis of this structure in case of large number of service requests is conducted. The service parameters of each queueing system of this structure, as well as the probability of messages transition between systems, depend on time. A system of ordinary differential equations to calculate the aver- age relative number of messages in each queueing system, depending on the time, was obtained.

Keywords: queueing network, differential equation, asymptotic analysis

Introduction

Queueing networks (QN) are often used as mathematical models of various technical, economical and other processes and objects. Development of new approaches and methods of modern QN theory are often dictated by the need to consider a number of features of objects being modeled. According to the defini- tion of a closed QN, the total number of messages it serves, is constant. In practice, the total number of messages in many model objects changes over time. Due to the above new mathematical object - a closed queueing structure was put into consid- eration, that is closed queueing network, the total number of services messages is specified by a function of time [1].

Such queueing structures are used as models of the processing of customer claims for an insurance company [1, 2]. However, the parameters of customer service in the insurance companies are not constant throughout the period of time.

In this regard, there is a problem of study of closed queueing structure provided depending on time of the intensities of service requests, the number of service lines and transition probabilities between the systems of the structure.

(2)

1. Diffusion approximation of closed queueing structure with single type of messages

Consider a closed queueing structure consisting of n+1 queueing systems (QS) Sn

S

S0, 1,..., where the total number of single-type messages at time t is described by function of time K(t), K(t)M. Suppose that the parameters of services of this structure depend on time t , t[0,T]. Let the number of service lines in the system Si at time t be described by function of time m(t)

i , that returns integer values, i=0,n. Suppose that the number of service lines in the system S0 is M . The service time by each line of system Si is distributed exponentially with a time- -dependent mean value 1(t),

i

µ where ( ≥t) 0,

µi i=0,n. Requests for service are selected accordingly to the discipline FIFO. Message that completed servicing in the system Si goes to the queue of system Sj, i,j=0,n, with the probability

) (t

pij . The transition matrix P(t)= pij(t) is the matrix of transition probabilities of an irreducible Markov chain, and depends on the time in the general case,

1 ) (

0 pij t , ( ) 1

0

=

= n

j ij t

p . The main objective of the study of closed queueing structure described here is the asymptotic analysis of the Markov process describ- ing its behavior, with a large number of messages. The state of the network at time

t is described by the vector

)) ( ),..., ( ), ( ( )

(t k1 t k2 t k t

k = n , (1)

where k (t)

i - the number of messages in the system Si at time t , t ∈[ T0, ], i=1,n, which forms n-dimensional Markov process with continuous time and finite number of states. Because the queueing structure is closed, it is obvious that the number of messages in the system S0 at time t is equal to

=

=

n

i i t k t K t k

1

0( ) ( ) ( ).

Theorem. The probability density function p( tx, )of vector of relative variables





=

ξ ( )

) ,..., ( ) (

) , ( ) (

) ) (

( 1 2

t K

t k t K

t k t K

t

t k n provided that it is twice differentiable by t and twice piecewise continuously differentiable by xi, i=1,n, satisfies up to Ο(ε2(t)), where

) ( ) 1 (t = K t

ε , equation

( ) ( )

), , ( ) ( ) (

) , ( ) , 2 (

) ) ( , ( ) , ) (

, (

1 ,

2

1

t x p t K t n

t x p t x x B x t t

x p t x x A t

t x

p n

j i

ij j i n

i

i i

+

+

+

=

∑ ∑

=

=

ε

ε

(2)

(3)

where

=

= n

j

j j ji

j

i x t t p t l t x

A

0

) ), ( min(

) ( ) ( )

,

( µ , (3)

=

=

n

j

j j ji

j

ii x t t r t l t x

B

0

) ), ( min(

) ( ) ( )

,

( µ ,

) ), ( min(

) ( ) ( ) ,

( i ij i i

ij xt t p t l t x

B =µ ,

) ( ) ( )

(t r t p t

pji = ji = ji , i ≠ ; j pii(t)=rii(t)=1+pii(t), i = . j

Proof. Consider all possible transitions of the process during time t∆ into the state k(t+t)=(k,t+t):

– from state (k+IiIj,t)can get into the state (k,t+t)with probability n

j i t t t p t k t m

t i i ij

i( )min( ( ), ( )+1) ( ) +ο(), , =0,

µ ;

– from state ( tk, )- with probability

) ( )) ( ), ( min(

) ( 1

0

t t t k t m t

n

i

i i

i +

=

ο

µ ;

– from other states - with probability ο( t ). Here Ii - n-dimensional zero-vector with exception that i-th component equals 1, when 1i ≤n, I0- n-dimensional zero-vector.

Applying the formula of total probability, we can write the system of difference equations for the state probabilities P( tk, ):

+

+

+

=

= t p t m t k t P k I I t t

n

j i

j i i

i ij

t i

k P

0 ,

) , (

) 1 ) ( ), ( min(

) ( ) ) (

,

( µ

) ( ) , ( )) ( ), ( min(

) ( ) ( 1

0 ,

t t

k P t t k t m t

p t

n

j i

i i ij

i +

+

=

ο

µ .

Using the limit for ∆t0, we obtain a system of difference-differential Kolmogo- rov equations for the state probabilities:

( + )+

=

= () ()min( (), ()) ( , ) ( , )

0 ,

) ,

( t p t m t k t P k Ii Ij t P k t

n

j i

i i ij

dt i

t k dP

µ

( )

∑[

=

+

+ +

n

j i

j i i

i i

i ij

i t p t m t k t m t k t P k I I t

0 ,

) , (

)) ( ), ( min(

) 1 ) ( ), ( min(

) ( ) (

µ .

(4)

(4)

Next, we consider the case of a large number of messages in the network,K(t)>>1, and move to the vector of relative variables 



=

ξ ()

) ) (

( K t

t

t k , it’s possible that the values

belong to the bounded closed set

= =

=

=

1 ,

, 1 , 0 : ) , ...

, , (

1 2

1

n

i i i

n x i n x

x x x x

G ,

where theyare located at the nodes of n-dimensional lattice at a distance

) ( ) 1

( K t

ε t =

from each other. With increasing values of function K(t) "filling density" of the set G by possible components of this vector increases, and it becomes possible to believe that vector has continuous distribution with the probability density

) , ( ) ( ) ), ( ( ) ( ) ,

(x t K t P xK t t K t P k t

p = n = n , x ∈G, where p( tx, ) has meaning of the probability density function of the random vector ξ(t).

Denotedei=ε(t)Ii,i=1,n,

= >

0 , 0

, 0 , ) 1 (

u u u

c . Note that min(u,v+1)=min(u,v)+c(uv),

v v u v

u c

=

min( , )

)

( , because

<

=

v u u

v u v v u

, , ) ,

,

min( . Introduce the notation

) (

) ) (

( K t

t t m

l i

i = ,

n

i =1, . Rewriting the system of equations (2) for density p( tx, ),we obtain

( + )+

=

=

) , ( ) , (

) ), ( min(

) ( ) ( ) ) (

, (

0 ,

t x p t e e x p x t l t p t t t K

t x p

j i n

j i

i i ij

µi

) , ( ) ( ) ( ) , ) (

), ( ) min(

( ) (

0 ,

t x p t K t n t e e x x p

x t t l

p

t i j

n

j

i i

i i ij

i + +

+

=

ε

µ .

We represent the right-hand side of this set of equations, up to terms of order of smallness ε2(t). We will assume that p( tx, ) is differentiable both at t and twice continuously differentiable at x i n

i, =1, , ( , ) 0

0

=

x

t x

p . Then the following Taylor series expansion takes place:

+

+

=

+

j i

j

i x

t x p x

t x t p t x p t e e x

p ( , ) ( , )

) ( ) , ( ) ,

( ε

. , 1 , )), ( ) (

, ( ) , 2 ( ) , ( 2

)

( 2

2 2 2

2 2 2

n j i t o x

t x p x

x t x p x

t x p t

j j

i i

=

+

+

+ ε

ε

(5)

Using the last expansion and the fact that ε(t)K(t)=1, we obtain:

+

+

+

+

+

+

=

=

2 2 2

2 2 0

,

) , ( ) , 2 ( ) , ( 2

) (

) , ( ) , ) (

), ( min(

) ( ) (

) , ( ) ( ) ) (

, (

j j

i i

j i

n

j i

i i ij

i

x t x p x

x t x p x

t x p t

x t x p x

t x x p

t l t p t

t x p t K t t n

t x p

ε µ

ε

)).

( ) (

, ( ) , 2 ( ) , ( 2

) (

) , ( ) , ) ( ( ) , ) ( ), ( ) min(

( ) (

2 2

2 2

2 2 2 0 ,

t x o

t x p x

x t x p x

t x p t

x t x p x

t x t p t x x p

x t t l

p t

j j i i

j i

n

j

i i

i i ij

i

ε ε

ε µ

+

+

+

+

+

+

=

Using the notations (3), (4), the last equation can be written as (2) up to terms of order of smallnessε2(t). ■

2. Calculation of the average relative number of messages in systems of closed queueing structure

Partial differential equation of second order (2) belongs to the parabolic equa- tions. Note that when K(t)=K this equation is the same as Kolmogorov-Fokker- -Planck equation for the probability distribution of a Markov process ξ(t).

Applying to (2) the method of the Gaussian approximation [1], we get system of ordinary differential equations for the components of vector of the average relative number of messages in systems of the queueing structure -

)) ( ..., ), ( ), ( ( )

(t n1 t n2 t n t

n = n , where 



= ξ

= ()

) )) (

( ( )

( K t

t M k t M t

n i

i

i . However, since

the right-hand side of (2) contains the piece-wise linear terms of the form )

), (

min(li t xi , we use the phase space and solve the obtained system of difference- -differential equations in the regions where its right-hand parts are linear.

Let (t)={1,2,...,n} - the set of components indices of vector n(t). We divide )

(t into two disjoint sets 0(t) and 1(t):

{: ( ) ( ) 1}

)

0( = <

t i l t n t

i

i , 1(t)={j:0nj(t)lj(t)}. (6)

(6)

For a fixed t number of partitions of this type is equal to 2n. Each partition on set

=

= n

i i

i t n t

n t n t G

1

1 ) ( , 0 ) ( : ) ( )

( will define disjoint setsG (t)

τ such that

<

=

= τ

n

c c j

j i

i t n t i t n t l t j t n t

l t n t G

1 1

0( );0 ( ) ( ), ( ); ( ) 1

, 1 ) ( ) ( : ) ( )

( ,

2n

..., , 2 , 1

=

τ , U

n

t G t G

2

1

) ( ) (

= τ

τ = .

Then the system of equations for the components of vector n(t)for each region )

(t

Gτ can be written in explicit form. For example, for region } { ) ( }, 1 ,..., 2 , 1 { ) (

: 1 t n 0 t n

A = = ,

that corresponds to the absence of queues in average in systems Si, i=0,n1, and presence of queue in system Sn, we obtain the following set of differential equations:

).

( ) ( ) ( ) ( ) ( ) (

) ( ) ( 1

) ( ) ( ) (

1

1

1 0

0

t l t p t t n t p t

t t n t

p t t

n

n ni n n

j

j ji j

n

i i i

i

=

=

+ +

+



+

=

µ µ

ε µ

(7)

The solution of (7) for certain initial conditions allows one to find the average relative number n(t)

i , therefore the average number is K(t)n(t)

i of messages for each system of queueing structure.

3. Example

Consider a closed queueing structure consisting of 4 systems S0,S1,S2,S3, the total number of single-type messages circulating there is described by the function

000 30 ) 6 sin(

15 )

(t = t +

K . We define the following probabilities of transitions between the queueing systems:

) ( 1 )

( 01

03 t p t

p = , p10(t)=1p12(t), )

( 1 )

( 23

21 t p t

p = , p32(t)=1p30(t), )

1 ) (cos(

4 . 0 ) ( )

( 12

01 t = p t = t +

p , p23(t)=0.3(sin(t)+1), )

1 ) (sin(

1 . 0 )

30(t = t +

p , pij(t)=0 in remaining cases.

(7)

We define the initial distribution of messages by systems of the structure as follows:

0 ) 0

( =

ni , i=1,2, n3(t)=0.1. Suppose that there are no queues in systems Si, 2

,

=1

i , and there is a queue in system S3. In this case the system of differential equations (7) would be:



+

+

=

+

=

+

+

=

=

=

).

( ) ( ) ( ) ( ) ( )) ( ) ( 1

)(

( ) ( ) (

), ( ) ( ) ( ) ( ) ( ) ( ) ( ) ( ) (

), ( ) ( ) ( ) ( ) ( )) ( ) ( 1

)(

( ) ( ) (

3 3 2 23 2 1

03 0 '

3

3 32 3 2 2 1 12 1 '

2

1 1 2 21 2 1

01 0 '

1

t l t t n t p t t

t n t

p t t

n

t l t p t t n t t n t p t t n

t n t t n t p t t

t n t

p t t

n

n

i i n

i i

µ µ

ε µ

µ µ

µ

µ µ

ε µ

(8)

We define the intensity of servicing of messages in queueing systems as the fol- lowing functions:

, 0007 . 0 0002 . 0 )

(t = + t

µ1 µ2(t)=0.00055+0.0004t, ,

00015 . 0 0005 . 0 )

(t = + t

µ3 µ0(t)=0.00025+0.00015t. Let the number of service lines in the system S3 equal

] 3 ) 5 sin(

2 [ )

(t = t +

m3 ,

where ][⋅ - integer part of the number.

System (8) is a system of linear differential equations with non-constant coeffi- cients. It is difficult to find an analytical solution of this system. For a numerical solution of differential equations of the form (8) mathematical computing software Maple can be applied.

Figure 1shows graphically the behavior of n1(t)depending on time. It is possible to explore in the same way the remaining components of vector n(t),which are the solution of (8).

Fig. 1. Graph ofn1(t)

(8)

Conclusion

The considered method of calculation of the average relative number of mes- sages in systems Si, i=1,n, is valid only for a high load of queueing structure, i.e.

in the case when the function K(t) returns large values. Accuracy of the method increases with the total number of servicing messages.

References

[1] Matalytski M., Rusilko T., Mathematical Analysis of Stochastic Models of Claims Processing in Insurance Companies, GrSU, Grodno 2007.

[2] Rusilko T., Research of stochastic model of insurance company’s customer claims with time-dependent servicing parameters, Vestnik GrSU 2011, 3, 167-174.

[3] Medvedev G., On optimization of closed queueing system, Proceedings of the Academy of Sciences of the USSR, Technical Cybernetics 1975, 6, 65-73.

Cytaty

Powiązane dokumenty

In the article the asymptotic analysis of closed exponential queueing HM-structure with priority messages is carried out with a large total number of messages, depending

The multivariate generating functions method for obtaining of the open queueing network state probabilities, functioning with heavy load conditions, with dependent on time

The offered method of its decision in a case when the intensity of the service of messages, the number of messages in networks, the number of lines of the service

Let us consider a system with stationary Poisson arrivals of customers and energy and an exponential service time distribution (System 1), and the system with Markovian

[r]

O’Donnell, który odczytał de- kret ustanowienia parafii Matki Boskiej Zwycie˛skiej, powitał w imieniu kon- fratrów jej proboszcza, a zebranym obwies´cił, iz˙ do chwili

Notation. Measurability is always understood in the sense of Borel measurability. Products of metric spaces are assumed to be endowed with the product topology and the

In this note we are going to consider a queueing system which con ­ sists of n serves heaving a bounded number — m of waiting places, and also a system with an