• Nie Znaleziono Wyników

Finding of expected incomes in open exponential networks of arbitrary architecture

N/A
N/A
Protected

Academic year: 2022

Share "Finding of expected incomes in open exponential networks of arbitrary architecture"

Copied!
12
0
0

Pełen tekst

(1)

FINDING OF EXPECTED INCOMES IN OPEN EXPONENTIAL NETWORKS OF ARBITRARY ARCHITECTURE

Michal Matalycki1, Katarzyna Koluzaewa2

1Institute of Mathematics and Computer Science, Czestochowa University of Technology, Poland e-mail: m.matalytski@gmail.com

2Faculty of Mathematics and Computer Science, Grodno State University, Belarus e-mail: e.koluzaeva@grsu.by

Abstract. Investigation of the open exponential queueing network of arbitrary architecture with incomes is carry out in paper. The incomes of transitions between network’s states are random variables with specified moments of two first orders. The expressions for expected incomes and variances of incomes are received.

Introduction

Exponential queueing networks with incomes in case, when incomes of transi- tions between stations of network were values that depended from network’s state and time were examined in [1, 2]. The expressions for expected incomes and variances of incomes in systems of such networks were obtained in [3, 4] in the case, when incomes of transitions between network’s stations were random variables (RV) with specified moments of the first and the second degrees.

However, only networks with central system were examined in these works. This work is devoted to finding of expected incomes in exponential networks of arbitrary architecture.

Let’s consider open exponential queueing network with one-type messages that consists of n queueing systems S1,S2,...,Sn. State of such network could be dis- cribed by vector k(t)=

(

k1,k2,...,kn,t

)

, where k - number of messages in system i

S in the moment t, i i=1,n. The incoming flow arrives in the network with rate λ. Let’s denote the service rate in system S (when there are i k messages in it) as i

( )

i

i k

µ ; p0j - probability that the message comes in system Sj from the outside, 1

1

0 =

= n

j

p j ; p - probability that the message after service in system ij S comes to i

S , j 1

1

=

= n

j

pij , i=1,n. Message that comes from one system to another brings

(2)

the last one some random income, so the income of the first system descened on this random value.

1. Expressions for expected incomes of network’s systems

Let’s consider variation dynamics of incomes in system Si. Let’s denote its income in the moment t as Vn(t). Let at any moment t0 income of this system equals to vi0. We are interesting in incomes Vi(t0 +t) of system Si at the moment

t

t0+ . We will broke segment [t0,t0 +t] by m equal parts with length t=t/m, where m is rather large. Let’s give out all events which can occur at l-th range.

Following situations are possible.

1. Message arrives to system S from the outside with the probability i )

0 t o( t

p i∆ + ∆

λ and increases its income by r0i, where r0i – RV with distribu- tion function (DF). F0j(x).

2. Message goes from system S to the outside with probability i

( )

ki u(ki)pi0 t o( t)

i ∆ + ∆

µ , where



= >

0 , 0

, 0 , ) 1

( x

x x

u - Heaviside’s function, and decreases an income byR , where i0 R - RV with DF i0 Fi0(x).

3. Message arrives from S to j S with probability i µj

( )

kj u(kj)pjit+o(t) and income of system S increses by i r , and income of system ji S decreses by the j same value, j=1,n,ji, where r – RV with DF ji F1ji(x).

4. Message arrives from S to i S with probability j µi

( )

ki u(ki)pijt+o(t) and income of system S decreses by i R , and income of system ij S increases by j the same value, where R – RV with DF ij F2ij(x), i,j=1,n.

5. No changes of network’s state are happened during time period t∆ with proba- bility 1

(

λp0ii(ki)u(ki)

)

t+o(t). It is evident that rji =Rji with proba- bility 1, i, j=1,n, that is

) ( )

( 2

1 x F x

Fij = ij , i,j=1,n (1)

Besides, system S increases its income by i rit during any short time period

t at the cost of money percents it stores. Let r is RV with DF i Fi(x),i=1,n. Let ∆Vil(t)=Vil(t+∆t)−Vil(t) is a change of income of i-th system at l-th time segment. It follows from above that

(3)

( )









∆ +

∆ +

∆ = ≠

∆ +

∆ ∆ +

=

∆ +

∆ ∆ +

∆ +

∆ +

∆ +

∆ +

=

).

( ) ( ) ( 1

y probabilit with

, , , 1

), ( )

( ) y (

probabilit with

, , , 1

), ( )

( ) y (

probabilit with

), ( )

( ) ( y probabilit with

), ( y

probabilit with

) (

0

0 0

0 0

t o t k u k p

t r

i j n j

t o t p k u t k

r R

i j n j

t o t p k u t k

r r

t o t p k u k t

r R

t o t p t

r r

t V

i i i i i

ij i i i i

ij

ji j j j i

ji

i i i i i

i

j i

i

il

µ λ µ

µµ λ

Income of S equals i

=

∆ +

= m

l il i

i t v V t

V

1

0 ( )

)

( (2)

Let’s introduce denotation for corresponding expectation values:

{ }

rji xdFji x aji

M =

=

0

1 ( ) ,

{ }

,

0

2ji( ) ij

ij xdF x b

R

M =

= , M

{ }

ri =

xdFi x =сi

0

) (

{ }

ri xdFi x a i

M 0

0 0

0 =

( )= ,

{ }

0

0 0

0 i ( ) i

i xdF x b

R

M =

= , i, j=1,n

in view of (1)

ji

ji b

a = , i, j=1,n (3)

Let’s get a relationship for expectation value of income of system S at time i moment t. With fixed member function k(t) we get:

{ } ∑

=

∆ +

= n

j

ji j j j ji i

i i i i i i

il t k t a p t b k u k p t a k u k p t

V M

1 0

0 0

0 ( ) ( ) ( ) ( )

) ( / )

( λ µ µ

(

1 ( ) ( )

)

( )

) ( )

( 0

1

t o t k u k t p t c t p k u k

b i i i i i

n

j

ij i i i

ij ∆ + ∆ − ∆ − ∆ + ∆

=

µ λ

µ

that is

{ }

= ∆ +

∆ −

= n

j

ji j j j ji i

i

il t k t a p t a k u k p t

V M

1 0

0 ( ) ( )

) ( / )

( λ µ

) ( )

( ) (

0

t o t c t p k u k

b i

n

j

ij i i i

ij ∆ + ∆ + ∆

= µ , i=1,n (4)

(4)

Therefore, taking into account that m t= t

∆ , we get from (2), (4)

{ }

= +

∑ {

}

=

= m

l

il i

i t k t v M V t k t

V M

1

0 ( )/ ( )

) ( / ) (

=

∆



 + − +

+

=

∑ ∑

=

=

t c p k u k b p

k u k a p

a

v i

n

j

ij i i i ij n

j

ji j j j ji i

i i

0 1

0 0

0 λ µ ( ) ( ) µ ( ) ( )

) ( )

( ) ( )

( ) (

0 1

0 0

0 a p a k u k p b k u k p c t o t

v i

n

j

ij i i i ij n

j

ji j j j ji i

i

i + ∆





 + − +

+

=

∑ ∑

=

=

µ µ

λ

So, when ∆t→0, we will have

{

V k k t

}

v c a p a k u k p b k u k p t

M

n

j

ij i i i ij n

j

ji j j j ji i

i i i

i 



 + + −

+

=

∑ ∑

=

=1 0

0 0

0 ( ) ( ) ( ) ( )

) ( / )

( λ µ µ

Considering

∑ (

( )=

)

=1

k

k t k

P we get average by k(t)

=

{ }

= +

∑ (

=

) { }

=

k

i i

i

i t M V t v P k t k M V t k t

v ( ) ( ) 0 ( ) ( )/ ( )

(

=

) {

=

}

=

=

∑ ∑ ∑

=

=

=

0 0 0

2 1 2

1

1 2

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

k k k

n i

n

n

t k k k t k t V M t k k k t k P

( )



 + + =

+

=

∑ ∑

= n

j k

j j j ji

ji i

i i

i c a p a p P k t k k u k

v

1 0 0

0 λ ( ) µ ( ) ( )

(

k t k

)

k u k t

P p b

n

j k

i i i ij

ij 

= 

∑ ∑

=0

) ( ) ( )

( µ

Then we suppose that all network systems are multi-line, any system S has i m i identical service lines, service time of messages have exponential distribution with

µi at any line, i=1,n. In this case

) , , min(

,

, ) ,

( i i i

i i i i

i i i i i

i k m

m k m

m k

k k µ

µ

µ µ =



>

= ≤ , i=1,n

(5)

and it’s normally to suppose that average of µi(ki)u(ki) will be )

), (

min( i i

i N t m

µ , where Ni(t) - mean number of messages (being waiting and servicing) in system S at time interval i

[

t0,t0+t

]

, i=1,n. So finally we will have

( )



 + + −

+

=

= n

j

ji j j j

ji i

i i i

i t v c a p a N t m p

v

1 0 0

0 min ( ),

)

( λ µ

(

N t m

)

n b p t

j ij ij i i

i 

=0

), (

µ min (5)

For expected income of the whole queueing network we have

=

= n

i i t V t

W

1

) ( )

(

{ } ∑ ∑ ∑ ( )

= =

= 

 + + −

+

= n

i

n

j

ji j j j

ji i

i i n

i

i c a p a N t m p

v t

W M

1 1

0 0 1

0 min (),

)

( λ µ

(

N t m

)

n b p t

j ij ij i i

i 

=1

), (

µ min (6)

but, taking into acount (3),

( ) ∑ ( ) ∑

∑∑

= =

= =

= n

i

n

j ij ij i i i

n

i n

j

ji j j j

ji N t m p N t m b p

a

1 1

1 1

), ( min ),

(

min µ

µ

so

{ }

W t v

[

c a p b p

]

t

M

n

i

i i i i i i n

i

i

= =

− +

+

=

1

0 0 0

0 1

) 0

( λ µ (7)

Note, that general expected income of network depends on rij,Rij,i,j=1,n, as these incomes extinguish each other (if message from one system of network arrivals to another then income of the last one increases by some value and the first system’s income decreases by the same value).

Example. Let’s consider close queueing network with central system, that consists of central system S and peripheral systems n S1,S2,...,Sn1. Let

0 ,

1 ,

0 = ≠

= pin pni

λ , other pij =0,p0i = pi0 =0,i=1,n. In this case, from (5), (6) we recieve expressions for total expected income of the network

(6)

{ }

W t v ct

M

n

i i n

i

i

= =

+

=

1 1

) 0

( (8)

expected income of central system is

(

N t m

)

b p

(

N t m

)

t

a c

v t

v nj n nj n n

n

j

j j j

jn n

n

n 



 + −

+

=

=

), ( min ),

( min )

(

1

1

0 µ µ (9)

and expected incomes of peripheral systems taking into (3) are

( ) ( )

[

+

]

=

+

=v c a N t m p b N t m t

t

vi() i0 i niµnmin n(), n ni inµimin i(), i

=vi0+

[

ciainµimin

(

Ni(t),mi

)

+bniµnmin

(

Nn(t),mn

)

pni

]

t (10) Note that exprassions (8)-(10) concur with expressions for corresponding ex- pected incomes in network with central system [5].

2. Recurrent mean-value analysis method with respect to the moments of time for open queueing network

From relations (5), (6) follows that we have know expressions of average number of messages Ni(t), i=1,n, for finding of expected system’s incomes and the whole network. Finding of these values in analytic form for network that functions in transient behaviour is rather complicated problem. Before recurrent mean-value analysis method with respect to the moments of time was developed for finding of series of average characteristics for arbitrary closed queueing networks with one-type messages and multi-line systems [6]. In this paper we suggest substantiation of such method for open queueing network with arbitrary distributions of service times of messages in network’s system lines.

Let’s consider open queueing network with one-type messages and multi-line systems. Let Mi(t)is average rate of massage’s flow from the i-th system, ρi(t),

)

i(t

τ - average number of busy lines and average sojourn time (include wating) at i-th system at time period [t0,t0+t], i=1,n, correspondently. Then expression is correct

) ( ) ( )

(t t N t

Mi τi = i , i=1,n (11)

For proving it we can use technique [7]. Let Zi(t)- total number of messages wich have left i -th system during time period [t0,t0+t], Θi(t) - total sojourn time in i-th system during time period [t0,t0 +t]. So

(7)

t t t MZ t M

t t M

t N MZ

t

t M i i i i

i i i

) ) (

( ), ) (

( ), (

) ) (

( = Θ = Θ =

τ , i=1,n

therefore, formula (11) is correct.

As ρi(t) we can approximately take value min(Ni(t),mi) because at any time moment t

) ), ( min(

)

( i i

i t = k t m

ρ

where ρi(t) - number of busy lines in i-th system at the moment t.

Let λi - arrival rate of messages in i-th system, i=1,n. It is known [8] that

=

+

= n

j ji j i

i p e p

1

0 λ

λ

λ , i=1,n, (12)

where λ - arrival rate of messages in network, p - probability of message’s tran-ji sition between j-th and i-th systems, i,j=1,n, p0i - probability that message comes from outside to the i-th system, values e , j j=1,n, meet the system of linear equations

=

+

= n

j ij i j

j p e p

e

1

0 , j=1,n

It follows from (11)

) (

) ) (

( t

t t N

i i

i i i

i µ ρ

τ λ

λ = (13)

but

) ( ) (t Ni t

i

iτ ≈

λ (14)

what follows from formula that is similar to Littl’s formula [3].

From the account above we recieve recurrent mean-value analysis method with respect to the moments of time for open queueing networks:

(

N t m

)

i n

t i i

i()=min (), , =1,

ρ (15)

n t i

t t N

i i

i

i , 1,

) (

) ) (

( = =

ρ

τ µ (16)

n i t t

t

Ni( +∆)=λiτi( ), =1, (17)

(8)

where λi, i=1,n, meet the system of equation (12). Initial conditions can be choosen in following way: Ni(t0)≠0,i=1,n.

3. Variation of incomes of network’s systems

Taking into account (3) we will rewrite expression of expected income of sys- tem S as i

( )



 + + −

+

=

= n

j

ji j j j

ji i

i i i

i t v c a p a N t m p

v

1 0 0

0 min (),

)

( λ µ

( )

=







 +

=

t p a p

b m t N

n

j ij ij i

i i i i

1 0

), 0

( µ min

( )

[

+ +

+

=vi0 ci a0iλp0i bi0µimin Ni(t),mi pi0

( ) ( )

(

a N t m p a N t m p

)

t

n

j

ij i i i

ij ji j j j

ji 

−  +

=1

), ( min ),

(

min µ

µ (18)

Let’s introduce denotations for finding of variation of system’s incomes:

{ }

rji a ji

M 2 = 2 , M

{ }

Rij2 =b2ij, i,j=1,n

{ }

r i a i

M 02 = 20 , M

{ }

ri2 =с2i, M

{ }

Ri02 =b2i0, i=1,n

Let’s consider square of difference

(

Vi(t)−vi0

)

2:

( )

 =



 ∆

 =



 + ∆ −

=

∑ ∑

=

=

2

1 2

0 1

0 2

0 ( ) ( )

) (

m

l il i

m

l il i

i

i t v v V t v V t

V

n i t V t V t

V

m

l m

j l

j

ij il m

l

il ( ) ( ) ( ), 1,

1 1

1

2 + ∆ ∆ =

=

∑ ∑∑

= =

=

(19)

Let’s find an expectation value of summands in the right part of the last equation.

First we will write additional equations, supposed that RV r , ji R , ij r0i, R are i0 independent in couple by r , i i, j=1,n. So

(9)

( )

{

r0 r t 2

}

a20 2a0c t c2 ( t)2

M i + i∆ = i + i i∆ + i ∆ (20)

( )

{

R0 r t 2

}

b20 2b0c t c2 ( t)2

Mi + i∆ = ii i∆ + i ∆ (21)

( )

{

r r t 2

}

a2 2a c t c2 ( t)2

M ji + i∆ = ji + ji i∆ + i ∆ (22)

( )

{

R r t 2

}

b2 2b c t c2 ( t)2

Mij + i∆ = ijii i∆ + i ∆ (23)

Taking into account (20)-(23), we have:

{

V t k t

}

=c t

[

(

p + k u k

)

t

]

+

M il2( )/ ( ) 2i( )21 λ 0i µi( i) ( i)

[

+

]

+

+ b2i0 2bi0ci t c2i( t)2 µi(ki)u(ki)pi0 t

[

+ +

]

+

+ a20i 2a0ici t c2i( t)2 λp0i t

[

+ +

]

+

+

= n

i j j

ji j j j i

i ji

ji a c t c t k u k p t

a

1

2 2

2 2 ( ) µ ( ) ( )

[

+

]

+ =

+

=

) ( )

( ) ( ) ( 2

1

2 2

2 b c t c t k u k p t o t

b

n

i j j

ij i i i i

i ij

ij µ

[

+ +

= λa20ip0i b2i0µi(ki)u(ki)pi0

(

( ) ( ) ( ) ( )

)

( )

1

2

2 k u k p b k u k p t o t

a

n

i j j

ij i i i ij ji j j j

ji ∆ + ∆



 +

+

= µ µ (24)

Taking into account that with fixed member function k(t) values ∆Vil(t) and )

(t Vij

∆ independent when lj, using (3), (4) it can be fined

{

Vil t Vij t k t

}

=

[{

a i p i ai i ki u ki pi +ci+

M ( ) ( )/ ( ) 0λ 0 0µ ( ) ( ) 0

(

( ) ( ) ( ) ( )

)

( ) 2 ( )

1

t o t c t p k u k a p k u k a

n

j

ij i i i ij ji j j j

ji = ∆





∆  +

∆

−  +

=

µ

µ (25)

Then, making extreme transition by ∆t→0, it follows from (19), (24), (25)

(10)

( )

{

}

=

{

}

+

= m

l

il i

i t v k t M V t k t

V M

1

2 2

0 ( ) ( )/ ( )

) (

{

}

=

[

+ +

+

∑∑

= = 20 0 20 0

1 1

) ( ) ( )

( / ) ( )

( i i i i i i i

m

l m

j l

j

ij

il t V t k t a p b k u k p

V

M λ µ

(

a k u k p b k u k p

)

t

n

i j j

ij i i i ij ji j j j ji



 +

+

=1

2

2 µ ( ) ( ) µ ( ) ( ) , i=1,n

Get average by k(t) we will have

( )

{

}

=

[

20 0 + 20

( )

0 + 2

0 ( ) min ( ),

)

( i i i i i i i

i t v k t a p b N t m p

V

M λ

( ) ( )

( )

=



 +

+

=

t p m t N b

p m t N a

n

i j j

ij i i ij

ji i i ji

1

2

2 min ( ), min ( ),

(

N t m

)

p

(

N t m

)

b p t

a p a

n

i j j

ij ij i i n

i j j

ji i i ji

i i





+

=

∑ ∑

=

= 0

2 1

2 0

20 min ( ), min ( ),

λ (26)

Let’s find

{ (

0

) }

2 Vi(t) vi

M − with help of (3), (4) for calculation of the variation using standard formula:

( )

{ } { }

=

 

 ∆

=





 ∆

=

∑ ∑

=

=

2

1 1

2 0

2 V (t) v M V (t)k(t) M V (t)k(t)

M

m

l

il m

l il i

i

[

{

+ +

= ci a0iλp0i bi0µi(ki)u(ki)pi0

( )

=





∆ 

 +

−  +

=

2

1

) ( )

( ) ( )

( )

(k u k p a k u k p t o t

a

n

j

ij i i i ij ji j j j

jiµ µ

[

+ +

= ci a0iλp0i bi0µi(ki)u(ki)pi0

( )

2 2

1

) ( ) ( )

( )

(k u k p a k u k p t

a

n

j

ij i i i ij ji j j j

ji 

−  +

=

µ

µ , for ∆t→0

(11)

that is

( )

{

0

}

=

{ [

0 0 0 0+

2 Vi(t) vi k(t) a i p i bi i(ki)u(ki)pi

M λ µ

( )

+

[

+



−  +

= 0 0 0 0

2

1

) ( ) ( 2

) ( ) ( )

( )

( i i i i i i i i

n

j

ij i i i ij ji j j j

ji k u k p a k u k p c a p b k u k p

a µ µ λ µ

( )

2 2

1

) ( ) ( )

( )

(k u k p a k u k p c t

a n

n

j

ij i i i ij ji j j j

ji 

 + 



−  +

= µ µ

Average by k(t) with taking in account (18) give

( )

{ } ( )[



 = − +

=

0

0 0 0 0

2 ( ) ( ) i i i i( i) ( i) i

k i

i t v Pk t k a p b k u k p

V

M λ µ

( )

=





 +



 

 − −

 +

−  +

=

2 0

2

1

) 2 (

) ( ) ( )

( )

( c c t

t v t c V p

k u k a p k u k

a i i i i i

n

j

ij i i i ij ji j j j

jiµ µ

( ) [



 = − +

=

() 0i 0i i0 i( i) ( i) i0 k

p k u k b p a k t k

P λ µ

(

a k u k p a k u k p

)

ci t ci

(

vi t vi

)

t n

j

ij i i i ij ji j j j

ji 0

2 2 1

) ( 2 )

( ) ( )

( )

( + −





− 



−  +

=

µ

µ (27)

where vi(t), i=1,n, is finding by formula (18).

Thus, taking in account (26), (27) variation of income i-th system of network can be written as

(

)

=

{ (

) }

{ (

) }

=

= ( ) 0 ( ) 0 2 2 ( ) 0 )

( i i i i i i

i t DV t v M V t v M V t v

DV

( ) ( )



− +

+

=

∑ ∑

=

=

n

i j j

ij ij i i n

i j j

ji i i ji

i

ip a N t m p N t m b p

a

0 2 1

2 0

20 min ( ), min ( ),

λ

( )] ( )[



 − = − +

+

0 0 0 0

2

0 () ( ) ( )

) (

2 i i i i i i i

k i i

i

i v t v t c P k t k a p b k u k p

c λ µ

( )

2 2

1

) ( ) ( )

( )

(k u k p a k u k p t

a

n

j

ij i i i ij ji j j j

ji 





−  +

=

µ

µ , i=1,n

(12)

References

[1] Matalytski M., Pankov A., Incomes probabilistic models of the banking network, Scientific Research of the Institute of Mathematics and Computer Science, Czestochowa University of Technology 2003, 1(2), 99-104.

[2] Matalytski M., Pankov A., Analysis of stochastic model of the changing of incomes in the open banking network, Computer Science, Czestochowa University of Technology 2003, 3(5), 19-29.

[3] Matalytski M., Pankov A., Finding time-probabilistic characteristics of close Markov network with central system and incomes, Wiestnik GrUP 2006, 3(46), 22-28 (in Russian).

[4] Matalytski M., Pankov A., Finding of expected incomes in closed stochastic network with central system, Computer Science, Czestochowa University of Technology 2007, 7(11).

[5] Pankov A., Analysis of expected incomes in closed queueing network with central system, Wiestnik GrUP 2006, 2(45), 48-56 (in Russian).

[6] Matalytski M., Recurrent mean-value analysis method with respect to the moments of time, Automation and Remote Control 2000, 60, 11, 1, 1552-1557.

[7] Eilon S., A simpler proof of L = λW, Operations Research 1969, 17, 915-918.

[8] Matalytski M., Rusilko T., Mathematical analysis of stochastic models for claim processing in insurance companies, GrSU, Grodno 2007 (in Russian).

Cytaty

Powiązane dokumenty

Tablice wartości oczekiwanych i dyspersji liczby ogniw w sekwencjach losowych z podaniem prawdopodobieństw przekroczenia

Re- cently QN with incomes refer to as HM (Howard-Matalytski)-networks. In the present article expressions in case b) were obtained for expected incomes and in- come’s variations

As consequences, we obtain classical theorems concerning absolute convergence of Fourier series, e.g.. Bernstein’s theorem, Zygmund’s theorem,

at the first time. They are described with help of Markov chains with continuous time and incomes which were introduced by R. Before investigation of closed networks with

Świadczy to wyraznte o istotnym wzrosc1e towarowej produkcji rolniczej i przyjętych kierunkach produkcji [Kierunki zmian 2004]. Analizując zmiany zachodzące w okresie

A finite space represented as a zero-one (2- or 3-dimensional) array, is filled with zeros, only near the center we put one 1 – an immobile “nucleus”, a small grain in a

8.1 Requirements for representative workloads 185 Reduced workload space Optimal cluster solution Representative workload selection Representative workload set Metric

While Puiseux coefficients do not behave well in deformations, P k do carry some information, on passing to the limit.... While Puiseux coefficients do not behave well in