• Nie Znaleziono Wyników

Application of a z-transforms method for investigation of Markov G-networks

N/A
N/A
Protected

Academic year: 2022

Share "Application of a z-transforms method for investigation of Markov G-networks"

Copied!
14
0
0

Pełen tekst

(1)

APPLICATION OF A Z-TRANSFORMS METHOD FOR INVESTIGATION OF MARKOV G-NETWORKS

Mikhail Matalytski 1 , Victor Naumenko 2

1 Institute of Mathematics, Czestochowa University of Technology Częstochowa, Poland

2 Faculty of Mathematics and Computer Science, Grodno State University Grodno, Belarus

1 m.matalytski@gmail.com, 2 victornn86@gmail.com

Abstract. The purpose of this research paper is to find the expected incomes in open Markov queueing networks with incomes, positive and negative messages at any time by the multidimensional transformations. Investigations were carried out in cases when incomes from the network transitions between the states are deterministic functions not dependent on network states and time. It is assumed that all network systems are one-line.

It was proved the theorem on the expression for the multidimensional z-transform.

An algorithm was proposed for calculation of expected incomes. It is calculated an example on the PC.

Keywords: open G-network, positive and negative messages, expected incomes, z-transforms method

Introduction

Markov networks with incomes (HM-network) and G-networks are widely used as mathematical models of various objects in computer sciences and other fields [1-3]. For example, G-network can be used to model the behavior of viruses in the information and telecommunication systems and networks for forecasting expendi- ture when it is in contact with viruses [4, 5]. In this case an important task is to find such expenditures in the systems of the considered network. Previously in work [6]

for finding the expected incomes of systems of HM-network with many-type mes-

sages networks a method was proposed of successive approximations, combined

with the method of series. In it was considered a closed exponential HM-network

with limited waiting times in queues queueing messages. In [7], it is proposed

a method of finding the expected incomes of systems of HM-open queueing

network (QN) with a one-line systems of QN (QS), positive and negative messages

in the case, when the incomes from the state transitions are deterministic network

functions depending on network states does not depend on time. Such a technique

to find the expected network incomes of systems via PC for an infinite number

of network states in a reasonable CPU time.

(2)

In this paper, we consider another method based on the application of multivariate z -transforms. If we introduce into consideration multidimensional z -transforms for expected network incomes of systems, we obtain for their relations in this way, as in [1, 8]. On the basis of these relations we can propose an algorithm for calcu- lating the expected incomes [9, 10] for the open G-network with incomes.

1. QN description. Formulation of the problem

Consider an open QN G-network with n one-line QS. In QN S i come from outside independent Poisson flows of positive and negative messages with intensi- ties λ + 0 i and λ 0 i respectively, i = 1 , n . The service time of positive messages in the QS S i is distributed exponentially with parameter µ i , i = 1 , n . The actions of negative messages are described in [2-5]. Positive message serviced in the QS S i , with probability p ij + is directed to QS S j as positive message, and with probability

p ij - as negative message, and with probability ∑ ( )

=

− + +

=

n

j

ij ij

i p p

p

1

0 1 message

leaves the network to the external environment (QS S 0 ), i , j = 1 , n . The message during the transition from one to another QS brings its system, and some income of the first system is reduced by this amount respectively. Consider the case when the income from the state transitions are deterministic functions of the network, depending on network states. The network state will be the vector

( ) ( t k t ) ( k ( ) t k ( ) t k ( ) t )

k

,..., n

,

, = 1 2

= , where k (t )

i - the number of messages at the time moment t in system S i , i = 1 , n .

Let v ( k , t )

i - the total expected income, which gets the system S i during time t, if at the initial moment the network is in a state k , and assume that this function is differentiable in t. We introduce the following notations: I i - a vector of dimension n , consisting of zeros, except for the component with number of i , which is equal to 1, i = 1 , n ; I 0 - zero n -vector; ( )

 

= >

0 , 0

0 , 1

x x x

u - Heaviside function; r i ( ) k - income system S i at a time when the network is in a state k . This means that, for example, if the network is in a state k at moment time t + ∆ t , then the expected income of system S i will be r k t

i ( ) ∆ during t ∆ plus the expected income v i ( k , t ) , that the system has received in the previous t time units. Let r 0 i ( k + I i ) - income of system S i , when network makes a transition from state ( ) k , t in state

( k + I i , t + ∆ t ) during t ∆ ; − R i 0 ( kI i ) - income of its system, if network makes

a transition from state ( ) k , t in state ( k I i , t + t ) ; r ij ( k + I i − I j ) - the income

(3)

of system S i , when the network makes its transition from state ( ) k , t to

( k + I i − I j , t + ∆ t ) during ∆ ; t − r ij ( k − I i − I j ) - income of QS S i , when the net- work changes transition from state ( ) k , t to ( kI i − I j , t + ∆ t ) during time ∆ , t

n j i , = 1 , .

It has been shown that the system of differential equations for the income

( ) k t

v i , has the form [4, 5]:

( ) = − ∑ [ + ( + ) ( ) ] ( ) +

=

+ u k v k t

k dt

t k dv

i n

j

j j j j i

i , ( ) ,

1

0

0 λ µ

λ α

( ) ( ) ( ) ( ( ) ) ( ) +

 

 

 

 

− +

+ +

+

+ ∑ ∑

=

=

− +

n

j

j i n

j c c

c jc

j j j j j j j

i

j v k I t µ p u k λ u k p u k v k I t

λ

1 1

0 0

0 , µ 1 ,

( ) ( ) ( ) ( ( ) ) ( ) +

 

 

− +

+ +

+

+ ∑

=

+ v k I t µ p u k λ u k p u k v k I t

λ i i

n

i c c

c ic

i i i i i i i

i

i , 1 ,

1 0

0

0 µ (1)

( ) ( ) ( ) ( )

[

=

+

+ + − + − + +

+

n

i j j

j i i i ij i j i i j ji

j p u k v k I I t µ p u k v k I I t

µ

1

, ,

( ) ] ∑ [ ( ) ( ) ( ) ]

=

− +

− − − + + − + − −

+

n

s c i s c

s c

s c i cs c s c i s sc s j

i i ij

i p v k I I t µ p u k v k I I t µ p v k I I t

µ

, ,

1 ,

, ,

, ,

where

( ) ( )

( ) ( ) ( ( ) ) ( )

( ) ( ) ( ) ( )

[

( ) ] , 1 , .

1 )

(

1

0 1

0 0

0 0

n i I I k r p µ

I I k r k u p µ I I k r k u p µ

I k R k u p k

u λ k u p µ

I k r λ k r k

j i ij ij i n

i j j

j i ij i ij i j i ji j ji j

i i n

i c c

c ic

i i i i i i

i i i i

i

=

− +

− + +

+

 

 

− +

+

− + +

=

=

+ +

=

+

µ α

(2)

It is necessary to find the expected network incomes of systems during t, if we

know its state at the initial time.

(4)

2. Analysis of incomes in network by z-transforms method

We introduce multidimensional z-tranforms for expected income of system S i :

=

=

=

=

n

l k l

n i k

i

i l

i

z t k v t

z

1 ,

1 , 0

) , ( )

, (

ϕ , z ∈ { ( z 1 , z 2 , ..., z n ) / z i < 1 , i = 1 , n } .

Multiply the system of equations (2) to ∏

= n

l k l l

z

1

and summing over all k , l n

l = 1 , , from 0 to ∞. Consider some sums included into converted system of equations. It can be shown that

( ) [ ( ) ( ) ] ( )

[ ] ( ( ) , { } ( ) , ) , 1 , ,

, ,

1

0 0 , 1

, 0

2 1 1

0 1 0

2 1

n j t z t

z

z z

z t k v k u t

z

j i i

n

j

j j j n l k

k n k

k i n

j

j j j j j

l

n

=

− +

+

=

=

⋅ +

+

=

∑ ∑

=

− +

=

= =

− +

ϕ ϕ

µ λ λ

µ λ

λ K

(3)

where

{ } ( ) ( )

( ) , , 1 , .

, , , 0 , , , ,

, 1 ,

, 1

, 0

0

0 0 0 0

1 1

1 1 1

1 1 1

1 1 1

n j z t

k v

z z

z z t k k k k v t

z

n

j l l

k l j

l n l

k i k

k k k k

k n k

j k k

n j j i

j i

l

l

j

j j n

j n j

=

=

=

=

∑ ∑ ∑ ∑

=

=

=

=

=

=

=

=

+ +

− +

+

K K

K K

K

K j - 1

ϕ

(4)

( ) ( ) ( ) ( ( ) ) ( )

[ ] ( ) , , 1 , .

, 1

,

1

0 0 ,

1 ,

0 1 1 1

0 2 0

n j t z z λ p µ

z t I k v k u p k

u λ k u p µ t

z

i j n

j

j j j n

l k

n

l k l j i n

j

n

j c c

c jc

j j j j j j j

l

l

= +

=

=

 

 

− +

+

=

∑ ∑ ∑ ∏

=

=

= = =

=

ϕ µ

(5)

( ) , ( , ) [ ( ) , { } ( ) , ] , 1 , .

1 0

1 ,

1 ,

0 1

3 0 z t z t i n

z λ z

t I k v λ t

z

n

j

j i i

j n j

l k l

n l k

n

j

j i j j

l

l

=

= +

= ∑ ∑ ∏ ∑

= +

=

=

= =

+ ϕ ϕ (6)

( ) [ ( ) ( ) ] ( )

( ) { } ( )

[ , , ] , 1 , .

, ,

,

1

1 ,

1 ,

0 1

4

n i t z t

z z p z µ

z t I I k v t I I k v k u p µ t

z

n

i j j

i i i

i j ji j

n

l k l

n l k

j i i n

i j j

j i i j ji j j

l

l

=

=

=

− +

− +

=

∑ ∑

= +

=

=

=

=

+

ϕ ϕ

(7)

(5)

( ) ( ) ( )

( ) { } ( )

[ , , ] , 1 , .

, ,

1 , 1

,

0 1 1

5

n j i t z t

z z p z µ

z t I I k v k u p µ t

z

n

i j j

j i i

j i ij i

n l k

n

l k l n

i j j

i j i i ij j i

l

l

=

=

=

− +

=

∑ ∑ ∏

= +

=

= =

= +

ϕ ϕ

(8)

( ) ( ) ( )

( ) ( )

[ , , ] , , 1 , , , .

, ,

, ,

1 ,

} { ,

1 ,

0 1

, ,

1 , 6

i s c n s c t z t

z z p z µ

z t I I k v k u p µ t

z

n

s c i s c c s

c c c

c sc s s

n l k

n

l k l s c s n

s c i s c c s

s sc s s

l

l

=

=

=

− +

=

∑ ∑ ∏

= +

=

= =

= +

ϕ ϕ

(9)

( ) ( )

( ) { } ( ) { } ( )

[ , , , ] , 1 , .

, ,

1

1 ,

1 ,

0 1

7

n j t z t

z t

z p µ

z t I I k v p µ t

z

n

i j j

j i i

i i

ij i

n

l k l

n l k

j i i n

i j j

ij j i

l

l

=

=

=

=

∑ ∑

=

=

=

=

=

ϕ ϕ

ϕ

(10)

( ) ( )

( ) { } ( ) { } ( )

[ , , , ] , , 1 , , , .

, ,

, ,

1 ,

1 ,

1 , 0

, ,

1 , 8

i s c n s c t z t

z t

z p µ

z t I I k v p µ t

z

s c c

c c

n

s c i s c

s c

sc s

n

l k l n

l k

s c i n

s c i s c c s

sc j s

l

l

=

=

=

=

∑ ∑

= +

=

=

=

= +

ϕ ϕ

ϕ

(11)

Thus, using (3)-(10), the system of equations (1) after the above transformations we got approval.

Theorem. The function ϕ i ( ) z , t satisfies the relation

( ) ∑ ( ) [ ( ) { } ( ) ] [ ( ) { } ( ) ]

=

+

− +

 

 

 − + + − + − +

∂ =

n

j

j i i

j j j

i i

j j j

i z t z t

z λ t z t

z t

t z

1

0 0

0 , , , ,

, λ λ µ ϕ ϕ ϕ ϕ

ϕ

( + ) ( ) } + [ ( )( ) ] + ( + ) ( ) +

+

+

− z t z t µ p λ z z t

z t λ z z λ p

µ i i i i i i i i

i i i

j j j

j , , , 0 0 ,

} { 0

0

0 ϕ ϕ ϕ ϕ

( ) { } ( )

[ ] [ ( ) { } ( ) ]

=

+ +

 

 

 − + − +

+ n

i j j

j i i

j i ij i i

i i

i j ji

j z t z t

z z p t z t

z z z p µ

1

, ,

,

, ϕ ϕ

µ ϕ

ϕ (12)

(6)

( ) ( ) ( )

[ ] } ∑ [ ( ) { } ( ) ]

=

+

 

 − +

+

+ n

i s c

s c

c c c

c s sc s j

i i

i i

ij

i z t z t

z z p t µ

z t

z t

z p µ

, , 1 , }

{ }

{

, ,

, ,

, ϕ ϕ ϕ ϕ

ϕ

( ) { } ( ) { } ( )

[ ] } ∑ ( ) ∏

=

= =

− − − +

+

n l k

n

l k i l

s i c

i i

cs c

l

z l

k t

z t

z t

z p µ

, 1

0 1

, ,

, ϕ ϕ α

ϕ .

Consider the last sum in (12). Suppose that incomes r i ( ) k , r ij ( ) k , r 0 i ( ) k ,

( ) k

R i0 do not depend on network states k , i.e. r i ( ) k = r i , r ij ( ) k = r ij , r 0 i ( ) k = r 0 i ,

( ) 0

0 i

i k R

R = . Since the ∑ ∏ ∏

=

=

= = −

=

n

l l

n l k

n

l k

l z

z

l

l

1 ,

1 ,

0 1 1

1 ,

in this case

( ) ( ) ∑ [ ] ∏

∑ ∏

=

=

− +

+

− +

=

= =  −

 

 

 

− +

+

− +

= n

l l

n

i j j

ij ij i ij ij i ji ji j i

i i i i i i

n l k

n

l k l

i k z r λ r µ p λ R µ p r µ p r µ p r z

l

l

1 1 0 0 0 0

0

, 1

,

0 1 1

α 1 .

(13) Let i 1 ≠ i 2 ≠ K ≠ i j . We introduce some notation related to z-transforms of incomes of systems S i :

( ) z t i ( ) z t k z j n v i ( t )

i j j

, 0 , , 0 , 0 ,

, = = 0 , = 1 , = 1 , = K

Ω ϕ

ϕ ;

( ) ( ) ( ) 1 1

1 1 1 1

0 ,

, 1 , 1 , 0 }

{

\ , , 0 , , 0 , , 0 , , 0 , i

i j

j

k i k

i i j

j n j z i k

i

i z t z t ∑ v k t z

=

=

=

=

Ω = ϕ = K K

ϕ , i 1 = 1 , n ;

( ) ( ) ∑ ∑ ( )

=

≠ =

=

=

=

Ω = =

0 0

, , , 1 , 1 , 0 }

, {

\

1 2

2 2 1 2 1

2 1 1 2

1 , , 0 , , 0 , , 0 , , 0 , , 0 , , 0 ,

i i

i j

j k k

ki i k i i

i i i

i j n j z i k

i i

i z t ϕ z t v K k K k K t z z

ϕ ,

n i

i 1 , 2 = 1 , , i ≠ ; 1 i 2 . . .

( ) = ( ) = = = =

l j

j l

i i i j n j z i k

i i i

i z t z t

, , , , , 1 , 1 , 0 }

, , ,

\{

2 1 2

1

, ,

K K

ϕ ϕ

( )

∑ ∑

=

=

=

=

0 0 0

1 2

2 2 1 2 1

1 , 0 , , 0 , , 0 , , 0 , , 0 , , 0 , ,

0 , , 0

i i i l

i l j i

i l

k k k

k i k

i k i i

i i

i k k k t z z z

v K K K K K

K ,

n i i

i 1 , 2 , K , l = 1 , , i ≠ i ≠ K ≠ i l

2

1 ;

. . .

( ) z t i ( ) z t k z j n j i i i i j ( ) z t

i i i

i j j n

n

, ,

,

} { , , , , , 1 , 1 , 0 }

, , , {

\

1 2 1 1

2

1 ϕ ϕ

ϕ = =

=

=

= Ω

K

K , i = 1 , n ,

1 2

1 ≠ i ≠ ≠ i n

i K .

(7)

And in the function arguments v i between

i j

k zeros can not stand, it is only important to i ≠ i ≠ K ≠ i j

2

1 . We present an algorithm for finding the expected incomes, using the relation (12).

3. Algorithm for finding of incomes

0-Step: it is necessary to define ϕ i ( ) z , t = v i ( 0 , 0 , K , 0 , t ) .

1st-Step: find z -transforms ϕ i \ { i 1 } ( ) z , t , i.e. z -transformation of income of system S i at moment time t, at the initial time it is located in a state k = ( 0 , 0 ,..., k i 1 , 0 ,..., 0 ) . To do this, multiply the equation (3) on ∏

= n

l k l l

z

1

and summing over all k l , l = 1 , n , from 0 to ∞. Taking into account that k 0 , l i 1

l = ≠ the sums of (3)-(10) can be rewritten in the following form:

( ) { }

 ( )

 

=

= ≠

⋅ Ω

=

=

∑ , , ,

, , 0 ,

1

\ 1

, 1

, 0

2

1 1

2 1

i j t z i z j

z z t k

v i

i n

l k

k n k

k i l

n

ϕ

K , j = 1 , n . (14)

( ) ( ) { }

 ( )

 

=

= ≠

=

− Ω

=

= =

=

= =

∑ ∏

∑ ∏

, , , , , 0 ,

,

1

\ 1

, 1

,

0 1

, 1

,

0 1 z 1 1 z t j i

i z j

z t k v z

t I k

v i

j i n

l k

n

l k l j i n

l k

n

l k l j

i

l

l

l

l

ϕ

, j = 1 , n . (15)

( ) ( ( ) ( ) )

 

=

=

+

=

=

=

1 , 0 , 0 ,...., 0 , , ,

, ,

0 ,

1 }

{

\

1

1 ,

1 , 0

1 1

i j t v

t z z

i j z

t I k v

i i

i i n

l k l

n l k

j

i l

l

ϕ , j = 1 , n . (16)

Obviously, it is equal to zero if j ≠ , because i 1 k j = 0 at j ≠ . Consider this sum i 1 for j = i 1

( ) , ( , ) 3 ( ) , 0

1 ,

1 , 0

4 1 = ∑ + ∏ 1 = 1 ∑ =

=

=

=

i i n

l i k l n

l k

i

i z t v i k I t z l z z z t

l

. (17)

If i = 1 i , then

( ) ∑ ( ) ∏ ∑ ( )∏

=

=

=

=

= =

+

= +

=

n

l k l n

l k

j i i

n l k

n

l i k j l

i i

l

l l

l z z v k I t z

z t I k v t

z

1 ,

1 , 0 ,

1 ,

0 1

5 , , , , j = 1 , n , j ≠ i ,

(8)

and taking into account (16),

( ) =  ( ) ( { } ( ) ) { } 

∑ i i j

i i j i

i z t z t

z z t

z , , ,

\ }

{

\

5 ϕ ϕ .

And obviously, ( , ) 0

, 1 ,

0 1

=

+ ∏

=

= =

n l k

n

l k l i

j i l

z l

t I I k

v for all j = 1 , n , j ≠ i .

Similarly, we obtain that

( ) , ( \ { } ( ) , ) { } 0

} {

\   =

  c c

c c

c c

s z t z t

z z

ϕ

ϕ , c , s = 1 , n , c , s ≠ i . (18)

( ) , ( \ { } ( ) , ) { } ( \ { } ( ) , ) { } 0

} {

\ − =

Ω i j

i i i

i i

i z t ϕ z t ϕ z t

ϕ , j = 1 , n . (19)

( ) , ( \ { } ( ) , ) { } ( \ { } ( ) , ) 0

} {

\ − =

Ω z t z t c z t

c c c

c c

c ϕ ϕ

ϕ , c , s = 1 , n , c , s ≠ i . (20)

Consider the expression (13). Since the j ≠ i 1

1 1 1

1 1

1

0 ,

1 ,

0 1 k i

k i

n j k

n

l k

l z z

z

i i

j

l

=

= ∑

∑ ∏

=

=

= =

,

in this case

( ) ( )

( ) ( )

( )

( ) [ ( ) ]

 

 

− =

 

 

+

− +

+

− +

=

− ≠ +

− +

+

− +

=

=

=

∑ ∏

=

− + +

− +

− +

+

− +

=

= =

. 1 ,

1 , 1 ,

1

1 1

0 0 0 0

0

1 0

0 0 0

0

, 1

,

0 1

1 1 1 1 1 1

1 1

i z i r

p r p µ r p µ R

λ p µ r λ r

i z i

r p r p µ r p µ R λ p µ r λ r

z k z

R

i n

i j j

ij ij ij ij i ji ji j i

i i i i i i

i ii ii ii ii i i i i i i i i i i i i i

n j k

n

l k l i

j

α l

(21)

Taking into account (14)-(21), the system of equations (1) after the above trans- formations we obtain for z-transforms ϕ i \ { } i 1 ( ) z , t :

{ } ( ) ( ) ( ) ( ) ( )

( ) ( )

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

, , ,

} { 0 \

} {

\ 0

0 }

{

\ 0

0

\

1

1 1

1 1 1 1 1 1

1 1 1 1

z R t v

t z z

λ

t z z

λ p µ t t z

t z

i i

i i

i

i i i i i i i

i i i i i

i

+

− +

+ +

+ +

+

=

Ω +

− Ω

− + Ω

ϕ

ϕ ϕ

µ λ ϕ λ

(22)

(9)

where R (z ) defined in equation (21). Furthermore, by solving a system of differen- tial equations (22) and expanding the functions ϕ i \ { } i 1 ( ) z , t in a power series by 1

1 k i

z i , we can find the coefficients in these expansions v i ( 0 , , 0 , k i , 0 , , 0 , t )

1 K

K , i 1 = 1 , n . 2st-Step: find z -transforms ϕ i \ { i 1 , i 2 } ( ) z , t . For this recalculate all sums (3)-(10), (13), under the condition that k 0 , l i 1 , i 2

l = ≠ ; expanding the found functions in a power series 2

2 1 1

i i k

i k i z

z , find the coefficients in these expansions

( k k t )

v i 0 , , 0 , i , 0 , , 0 , i , 0 , , 0 ,

2

1 K K

K ;

– continuing in this way, on j -th step finding z -transforms { }

( ) z t

i j i i

i ,

, , ,

\ 1 2 K

ϕ Ω , while

n i i

i 1 , 2 , K , j = 1 , , i ≠ i ≠ K ≠ i j

2

1 ; expansion coefficients ϕ i \ { i 1 , i 2 , K , i j } ( ) z , t in a series

in powers i j

j i

i k

i k

i k

i z z

z 1 1 2 2 ⋅K ⋅ give us incomes v i ( 0 , , 0 , k i , 0 , , 0 , k i , 0 , , 0 , k i j , 0 , , 0 , t )

2

1 K K K

K ;

– further, continuing to make such steps, at ( − n 1 ) -th step find ϕ i { } j ( ) z , t , j = 1 , n , and at n-th step - z -transforms ϕ i ( ) z , t , which satisfies (11), expanding of through a series in powers z 1 k 1 z 2 k 2 ⋅K ⋅ z n k n , we can find incomes v i ( k 1 , k 2 , K , k n , t ) .

4. Example

Consider an open НМ-network with negative messages, consisting of two n = 2 QS: S 1 and S 2 . The intensity of the input stream of positive and negative messages are equals, respectively: λ 01 + = 0 , 8 , λ 02 + = 3 , 2 , λ 01 = 0 , 6 , λ 02 = 1 , 4 . The intensity of service messages at network systems are equals: µ 1 = 2 , µ 2 = 4 . Let the transition probabilities of messages be equals, respectively: p 12 + = 0 , 2 , p 21 + = 0 , 6 , and prob- abilities, that the positive messages served in QS S i , sent to QS S j , as negative messages, equals: p 12 = 0 , 1 , p 21 = 0 , 3 . The probability of escape messages from the network to the external environment be equals: p 10 = 0 , 7 , p 20 = 0 , 1 . Let the incomes from network transitions between the states be equals: 5000

2 1 = r =

r ,

10 = 7000

R , 4000

20 =

R , 3000

01 =

r , 2500

02 =

r , 10000

12 =

r , 12000

21 =

r .

System (1) according to the entered parameters of the network will be:

( ) = − ( + u ( ) k + u ( ) k ) ( ) v k t + dt

t k

dv , 4 2 , 6 4 , 4 ,

1 2 1

1

( + ) + ( + ) +

+ 1 , 6 v 1 k 1 1 , k 2 , t 3 , 2 v 1 k 1 , k 2 1 , t

( ) ( ( ) )

( + − ) ( − ) + ( ( − ( ) ) + ( ) ) ( − ) +

+ 4 u k 1 0 , 4 1 u k 2 v 1 k 1 1 , k 2 , t 0 , 9 1 u k 1 1 . 7 u k 2 v 1 k 1 , k 2 1 , t

( ) ( + − ) + ( ) ( − + ) + ( − − ) +

+ 1 , 8 u k 2 v 1 k 1 1 , k 2 1 , t 0 , 4 u k 1 v 1 k 1 1 , k 2 1 , t 0 , 2 v 1 k 1 1 , k 2 1 , t

( ) 16600 ( ) 1000

21600

1

2 − −

+ u k u k , (23)

(10)

( ) = − ( + u ( ) k + u ( ) k ) ( v k t ) + dt

t k

dv , 4 2 , 6 4 , 4 ,

1 2 1

2

( + ) + ( + ) +

+ 0 , 8 v 2 k 1 1 , k 2 , t 4 v 2 k 1 , k 2 1 , t

( ) ( ( ) )

( + − ) ( − ) + ( ( − ( ) ) + ( ) ) ( − ) +

+ 2 u k 1 0 , 2 1 u k 2 v 1 k 1 1 , k 2 , t 1 , 8 1 u k 1 2 . 4 u k 2 v 2 k 1 , k 2 1 , t

( ) ( + − ) + ( ) ( − + ) + ( − − ) −

+ 0 , 4 u k 1 v 2 k 1 1 , k 2 1 , t 1 , 8 u k 2 v 1 k 1 1 , k 2 1 , t 0 , 9 v 2 k 1 1 , k 2 1 , t

( ) 1 21600 ( ) 2

8600

9800 + u k − u k

− . (24)

The ratios (12) can be rewritten as follows:

( ) ( ) { } ( ) { } ( ) { } ( ) ( ) { } ( )

( ) ( ( ) { } ( ) ) ( ( ) { } ( ) )

( ) { } ( )

( ) 11600 ,

) 1 )(

1 (

15600 ,

, 4 , 0

, ,

2 , 3 , ,

8 , 1 , ,

6 , 1

, 2

, 8 , 7 , 6 , 3 , 2 , , 11

2 1 2

2 1 1

1

2 2 1 1

1 1 1 1

2 1

1 1 1

1 1 1 2

1 1

1 1

1

− + +

− +

− +

− + +

+ +

=

z z z

t z t

z z

z

t z t

z z

t z t

z z z

t z t

z

t z z t z t

z t

z t

t z

ϕ ϕ

ϕ ϕ

ϕ ϕ

ϕ ϕ

ϕ ϕ

ϕ ϕ

ϕ

(25)

( ) ( ) { } ( ) { } ( ) { } ( ) ( ) ( ) ( ( ) { } ( ) )

( ) { } ( )

( ) ( ( ) { } ( ) )

( ) { } ( )

( ) 3900 ,

) 1 )(

1 (

28400 ,

, 4 , 0

, ,

2 , 3 , ,

8 , 1

, ,

8 , , 0 7

, 1 2

, 7

, 1 , 7 , 6 , 5 , 2 , 9 , , 11

2 1 2

2 2 2

1

2 2 2 2

1 1 2 2

2

1 1 2 2

2 2 1

1 2 2 2

2 1

2 2 2

− − +

− +

− + +

− + +

+ +

+ +

=

z z z

t z t

z z

z

t z t

z z

t z t

z z

z

t z t

z t

z z z

t z z t z t

z t

z t

t z

ϕ ϕ

ϕ ϕ

ϕ ϕ

ϕ ϕ

ϕ

ϕ ϕ

ϕ ϕ

ϕ

(26)

where:

1

2 1 1 1

} 1 {

\ 1 }

2 { 1 2 2 1 }

2 {

\ 1 }

1 {

1 ( z , t ) = ϕ ( z , t ) = v ( 0 , k ) z k , ϕ ( z , t ) = ϕ = v ( k , 0 ) z k

ϕ ,

1

2 2 1 1

} 1 {

\ 2 }

2 { 2 2 2 2 } 2 {

\ 2 }

1 {

2 ( z , t ) = ϕ = v ( 0 , k ) z k , ϕ ( z , t ) = ϕ = v ( k , 0 ) z k

ϕ .

Make use of the algorithm described above to find the expected income of system S 2 .

Determine ϕ 2 ( z , t ) = v 2 ( 0 , 0 , t ) . Find z-transforms 2 Ω \ { i 1 }

ϕ . For this we set k j = 0 , i 1

j ≠ and multiply the system of equations (24) to z i k 1 i 1 and summing over all

i 1

k , 2

,

1 = 1

i , from 0 to ∞. Using the sums (14)-(21), taking into account that k j = 0 , i 1

j ≠ , from (22) we obtain relation for z-transforms \ { i 1 } ( z , t )

i Ω

ϕ :

(11)

{ } ( ) = ( ) + ( ) +

t z z

t z t

t

z , 3 , 4 , 2 \ { 1 } ,

2 1 }

1 {

\ 2 1

\

2 ϕ ϕ

ϕ

( ) ( )

( )

( 1 )( 1 ) 11600

15600 ,

0 , 0 , 0 1 ,

8 , 0

2 1 2

} 1 {

\ 2 1

− − + −

+

z z t v

t z

z ϕ ,

{ } ( ) = ( ) + ( ) +

t z z

t z t

t

z , 8 , 6 , 2 , 8 \ { 2 } ,

2 2 }

2 {

\ 2 2

\

2 ϕ ϕ

ϕ

( ) ( )

( )

( 1 )( 1 ) 3900

28400 ,

0 , 0 , 0 1 ,

6 , 2

2 1 2

} 2 {

\ 2 2

− − + −

+

z z t v

t z

z ϕ .

The solution of this system of differential equations if we specify the initial conditions ϕ 2 \ { 1 } ( z , 0 ) = θ 1 ( z ), ϕ 2 \ { 2 } ( z , 0 ) = θ 2 ( z ) , v 2 ( 0 , 0 , 0 ) = V was obtained in Mathematica and has the form:

( )

( )( )

( )

( )

( )

( )

( ) ( )

 

 

+ ×

− +

= − +

+

− +

− +

− + Ω

2 1 1 2

1 2 1

1 4 , 3 2 , 4 8 , 0 1

8 , 0 1 2 , 4 4 , 3 8 , 0 }

1 {

\

2 , 1 0 , 8 4 , 2 3 , 4

1 1

1 2 1

2 1 2 1 1

2 2 1 1

z z z

z z z

e e

t z

z z

z z t z

z z z z

z z z z t

ϕ

( )( ) ( ( ) )

[ z 1 − 1 1 − z 2 0 , 8 v 2 ( 0 , 0 , t ) z 1 − 1 + 0 , 8 V

×

( )

( ) ( )

( 11600 1 1 2 2 0 , 8 11600 0 , 8 2 ) ] 1 ( ) }

1 z z z V V z z

z − + + + − + θ

+ ,

( )

( )

( )

( )

( )

( )

( ) ( )

 

 

+ ×

− +

= − +

+

− +

− +

− + +

− Ω

2 2 2

2 1 2 1

1 6 , 8 4 , 11 8 , 2 1

6 , 8 4 , 11 8 , 2 6 , 8 4 , 11 8 , 2 }

2 {

\

2 , 1 2 , 8 11 , 4 8 , 6

2 2

2 2 2 2

1 2 1 2

2 2 2 2 1

2 2

z z

z z z z

e e

t z

z z

z z t

z z z z z

z z z

z z t

ϕ

( ) ( ( )( ) ( ( ( ) ) )

[ − − + − + − + − +

× z 2 1 2 , 8 v 2 ( 0 , 0 , t ) z 1 1 1 z 2 z 2 3900 z 1 1 z 2 z 2 2 , 8 V

( )

( 2 , 8 3900 2 , 8 )) ] ( ) }

8 ,

2 V − z 1 V + − V z 2 + θ 2 z

+ .

Initial conditions θ 1 ( z ) , θ 2 ( z ) satisfy the following relations

1 *

1

1 1

0

1 1 2 }

1 {

\ 2

1 ( ) ( , 0 ) ( , 0 , 0 ) k

k

k z

z k v z

z ϕ α

θ = = ∑ =

=

Ω ,

where

 

 =

=

cases, other in , 0

, ) ,

0 , 0 , (

* 1 1 1

2

k k k

v α

* 2

2

2 2

0

1 2 2 }

2 {

\ 2

2 ( ) ( , 0 ) ( 0 , , 0 ) k

k

k z

z k v z

z ϕ β

θ = = ∑ =

=

Ω ,

where

 

 =

=

cases other in , 0

, ) ,

0 , , 0 (

* 2 1 2

2

k k k

v β

.

(12)

Substituting the expressions obtained for ϕ 2 n \ { i 1 } ( z , t ), i 1 = 1 , 2 in (26), in the Mathematica package found an analytical solution of the differential equation

) ,

2 ( z t

ϕ , with the initial condition ϕ 2 ( z , 0 ) = θ ( z ) ,

2 1

1 2

2

1 1 2

0 0

2 1 2 1 2

2 ( , 0 ) ( , , 0 )

)

( k k

k k

k

k z z z

z k k v z

z ϕ γ

θ = = ∑ ∑ =

=

=

,

where

 

 = =

=

cases other in , 0

, ,

) , 0 , , (

* 2 2

* 1 2 1

1 2

k k k k k

k

v γ

.

The expected income v 2 ( k 1 , k 2 , t ) of system S 2 are coefficients of expansion of the function ϕ 2 ( z , t ) into a double series of powers z , 1 k 1 z 2 k 2 and it was conducted in the Mathematica package of mathematical calculations.

Let V = 0 , * 0

2

*

1 = k =

k , α = β = γ = 1 , if the initial conditions are: θ 1 ( z ) = 1 , 1

)

2 ( z =

θ , θ ( z ) = 1 . In Figure 1 there is a graph of income S 2 at k 1 = 2 , k 2 = 2 .

2 4 6 8 10

1.2 10 9 1.0 10 9 8.0 10 8 6.0 10 8 4.0 10 8 2.0 10 8

Fig. 1. Income chart v 2 ( 2 , 2 , t ) on interval [0,10]

Conclusions

The practical importance of the results lies in the fact that with the help of the proposed method one can find the expected incomes of systems considered network with an infinite number of states.

References

[1] Matalytski M., Some results of the analysis and optimization of Markov networks with incomes and their applications, Automation and Remote Control 2009, 10, 97-113 (in Russian).

[2] Gelenbe E., Product form queueing networks with negative and positive customers, Journal of Applied Probability 1991, 28, 656-663.

2.0 · 10 8

4.0 · 10 8

6.0 · 10 8

8.0 · 10 8

1.0 · 10 9

1.2 · 10 9

(13)

[3] Bocharov P., Vishnevsky V., G-networks: the development of the theory of multiplicative networks, Automation and Remote Control 2003, 5, 46-74 (in Russian).

[4] Naumenko V., Matalytski M., Analysis networks with positive and negative messages at transi- tion behavior. Herald of Tomsk State University. Management, Computer Science and Informat- ics 2013, 4, 61-70 (in Russian).

[5] Naumenko V., Matalytski M., Analysis of Markov networks with incomes, positive and nega- tive messages, Informatics 2014, 1, 36-44 (in Russian).

[6] Kosareva E., Matalytski M., Rozov K., Finding incomes in HM-networks with limited waiting time messages by successive approximations, combined with the method of series, Herald of Grodno State University Yanka Kupala 2012, 2, 3, 125-130 (in Russian).

[7] Naumenko V., Analysis of incomes in Markov G-networks by method of successive approxima- tions, Herald of Grodno State UniversityYanka Kupala 2014, 2, 1 (in Russian).

[8] Matalytski M., Tikhonenko O., Koluzaeva E., Systems and QN Networks: Analysis and Appli- cation, Grodno State University, Grodno 2011, 818 p. (in Russian).

[9] Matalytski M., Koluzaeva E., Analysis of expected incomes in open network using z-transforms, Herald of Grodno State UniversityYanka Kupala 2008, 2, 3, 11-19.

[10] Koluzaeva E., Finding the expected incomes in the open two-node HM-network using

z-transforms, Herald of Grodno State UniversityYanka Kupala 2010, 2, 1, 20-30.

(14)

Cytaty

Powiązane dokumenty

The total number of blocks obtained as a result of the synthesis of the circuit described in a table and described using equations (similar results in MultiDec columns

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

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

Differential equation for incomes forecasting in insurance company It is obvious that the income of insurance company is concerned with obtaining of rewards from the clients,

Materiały z sesji naukowej w Kościerzynie koło Sieradza (4–6 grudnia 1991 r.), pod red. Kowalczyk, Augustia- nie-eremici. 283; Archiwum Państwowe w Krakowie, sygn.. Bernard

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

Haberman (1989) and Niemiro (1992) examined asymptotic behavior of LER estimators, assuming that the underlying loss function is convex.. (Here and throughout we slightly abuse

Specifically, the proposed framework requires knowledge of the actuator (hardware) failure probabilities along with the FDI performance metrics (false alarm and missed