Hindawi Publishing Corporation Discrete Dynamics in Nature and Society Volume 2015, Article ID 160697, 15 pages http://dx.doi.org/10.1155/2015/160697
Research Article Study on the Queue-Length Distribution in πΊππ/πΊ(πππ)/1/π Queue with Working Vacations Chuanyi Luo,1 Jiangyi Li,2 and Yinghui Tang3 1
School of Economic Mathematics, Southwestern University of Finance and Economics, Chengdu 611130, China Research Institute of Economics and Management, Southwestern University of Finance and Economics, Chengdu 611130, China 3 School of Mathematics and Software Science, Sichuan Normal University, Chengdu, Sichuan 610066, China 2
Correspondence should be addressed to Chuanyi Luo;
[email protected] Received 4 April 2015; Revised 8 June 2015; Accepted 14 June 2015 Academic Editor: Gabriella Bretti Copyright Β© 2015 Chuanyi Luo et al. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited. This paper analyzes a finite buffer size discrete-time πΊππ/πΊ/1/π queue with multiple working vacations and different input rate. Using supplementary variable technique and embedded Markov chain method, the queue-length distribution solution in the form of formula at arbitrary epoch is obtained. Some performance measures associated with operating cost are also discussed based on the obtained queue-length distribution. Then, several numerical experiments follow to demonstrate the effectiveness of the obtained formulae. Finally, a state-dependent operating cost function is constructed to model an express logistics service center. Regarding the service rate during working vacation as a control variable, the optimization analysis on the cost function is carried out by using parabolic method.
1. Introduction Discrete-time queues with classical vacation policies have been explored more in depth during the last few decades due to their widespread application in telecommunication system, electronic information network, production system, and so on (see Takagi [1], Tian et al. [2], Alfa [3], and the references therein). In the queueing systems with classical vacation policies, the server is assumed completely inactive (does not provide any service) during his vacation time. Motivated by the study of reconfigurable wavelength-division multiplexing optical access network, Servi and Finn [4] developed a different vacation policy against the classical one, working vacation (WV), in which the server did not stop service for customers; instead, he remained semiactive. From then on, a large number of researchers were attracted to study queueing systems with working vacation policy. By using matrix-analytic method, Li et al. [5], Li and Tian [6], and Li [7] studied the discrete-time πΊπΌ/πΊππ/1 queues with working vacations. Yi [8] considered disasters in πΊππ/πΊ/1 queue with working vacations. Li et al. [9] and Gao and Liu [10] added the bach-arrival schedule to a discrete-time queue with working vacations. On the basis of working-vacation πΊππ/πΊ/1 queue,
Goswami and Selvaraju [11] extended the working-vacation policy to queueing model with Markovian arrival process and general phase-type distributed service time. These mentioned research works all concentrated on working-vacation queueing models with infinite buffer size; however, the finite buffer size counterparts received little attention. In real situations, queues with finite buffer size are more suitable than queues with infinite buffer space as it is used to store arrived customers if server is busy. Among the existing references, very few papers considered the workingvacation queue with finite buffer size; see Goswami and Samanta [12], Yu et al. [13], Yu et al. [14], Zhang and Hou [15], Gao et al. [16], and Banerjee et al. [17]. Nevertheless, the existing research topics with finite buffer size and working vacations mentioned above all concentrate on πΊπΌ/πΊππ/1/π queueing system and its different varieties. We note that the finite buffer πΊππ/πΊ/1/π queue with working vacations has not been studied up to now. It motivates us to fill this gap. In addition, as far as the queueing systems with working vacations are concerned, the assumption assumes in general that the customers arrive in system at a fixed rate. However, the customerβs choice of entering into system or not usually depends on the systemβs status what they see at the arrival
2
Discrete Dynamics in Nature and Society
epoch. For example, in a make-to-order production system where the system information such as serverβs status and queue length is fully observable to an arriving customer, the arriving customer with rate of π may choose to leave the system when he finds that the server is not active, or the service rate is lower than the normal rate, or too many customers accumulate in front of the server, and so on. Thus, we assume in this paper that the customers arrive in system at different rates. Consequently, the changeable arrival rate of order brings influence on some critical performance measures associated with operating cost such as queue length, waiting times, delay probability for an order, and blocking probability (see Bhaskar and Lallement [18]). On account of the introduction mentioned above, we study the finite buffer πΊππ/πΊ/1 queue with working vacations and different arrival rates, denoted by πΊπππ 1 ,π 2 /πΊ(πππ)/ 1/π. Using supplementary variable method and embedded Markov chain techniques, the queue-length distribution in the form of formula at arbitrary epoch is obtained. Some performance measures associated with operating cost are also discussed under the achievement of the queue-length distribution solution. To demonstrate the effectiveness of the achieved formulae, a numerical experiment is carried out with respect to a state-dependent operating cost function. The rest of this paper is organized as follows. Section 2 describes the queueing model. Section 3 analyzes the queuelength distribution at arbitrary epoch. In Section 4, various performance measures are obtained. Section 5 focuses on the numerical performance characteristics. To demonstrate the application of the model studied in this paper, Section 6 constructs a state-dependent cost function from an express logistics service center and discusses a cost minimization problem concerning the function. Finally, some conclusions and topics for future research are mentioned in Section 7.
2. Model Description We consider a discrete-time single server queue with vacations, in which a potential customer arrives in time interval (πβ , π) with delayed access and departs in (π, π+ ) (we call it LAS-DA discipline). Upon the server working at a normal service rate, customers arrive in system according to a Bernoulli process with parameter of π 1 β (0, 1). We denote the arrival interval in this case by random variable π(1) ; that πβ1
is, π{π(1) = π} = π 1 π1 , where π1 = 1 β π 1 ; in another case, when the server is on vacation, customers arrive in system according to another Poison process with parameter of π 2 β (0, 1). The arrival intervals in this case are denoted by π(2) ; that
Arrival
nβ
n
Arrival n+
(n + 1)β
Departure Potential departure epoch Potential arrival epoch
n+1
(n + 1)+
Departure Potential beginning or end of service and vacation Outside observerβs observation epoch
Figure 1: Various time epochs in a late arrival system with delayed access (LAS-DA).
probability mass function (PMF) ππ(π) = π{π(π) = π}, π β₯ 1,
(π) π probability generating function (PGF) πΊ(π) (π§) = ββ π=1 ππ π§ ,
and finite mean service time πΈ[π(π) ] = πΌ1 . When the system becomes empty, the server takes multiple working vacations [2]. The length of a working vacation, denoted by π, is geometrically distributed with PMF π{π = π} = VVπβ1 . The length of the service time for a customer during working vacation period, denoted by π(V) , is also a random variable following another arbitrary distribution with PMF ππ(V) =
(V) π π{ππ(V) = π}, π β₯ 1 and PGF πΊ(V) (π§) = ββ π=1 ππ π§ and finite
mean service time πΈ[π(V) ] = πΌ2 > πΌ1 . If the server finds that the system is nonempty upon comes back from a working vacation, he returns the service rate to the normal level and restarts the service interrupted at the end of vacation from the beginning; otherwise, he takes the next working vacation. To avoid confusion, the different time epochs at which events occur are shown in Figure 1. Finally, we assume the service, arrival, and the vacations are mutually independent. To describe the system state, the following random variables are introduced: π(π+ ): queue length (including the customer in service) at epoch π+ ; π(π+ ): remaining service time of the customer being served at epoch π+ ; π(π+ ) = {0, server is in working vacation at epoch π+ ; 1, server is in normal busy period at epoch π+ }. Let π(π+ ) = {π(π+ ), π(π+ ), π(π+ )}; then π(π+ ) is a Markov process with state space π = {(0, 0)} βͺ {(π, π, π), 1 β€ π β€ π; π = 0, 1; π β₯ 1}. We define the joint probabilities by
πβ1
is, π{π(2) = π} = π 2 π2 . Service and Vacation Rules. The server serves the waiting customers (if there is any) according to FCFS (first come, first served) discipline. The service begins with a normal rate when the first customer arrives in system and ends when the system becomes empty. We call this time interval the βnormal busy period.β The duration of the service time for a customer, denoted by π(π) , is a random variable with arbitrary
π0,0 (π+ ) = π {π (π+ ) = 0, π (π+ ) = 0} , ππ,π (π+ , π) = π {π (π+ ) = π, π (π+ ) = π, π (π+ ) = π} ,
(1)
1 β€ π β€ π; π = 0, 1; π β₯ 1. As π β +β, the mentioned probabilities above are denoted by π0,0 and ππ,π (π), π = 1, . . . , π; π = 0, 1; π β₯ 1, respectively.
Discrete Dynamics in Nature and Society
3 + π 2 Vππ(π) π1,0 (1) + π2 Vππ(π) π2,0 (1)
3. The Queue-Length Solutions in the Form of Formula
β
In this section, by combining embedded Markov chain and supplementary variable methods, the queue-length distribution at arbitrary epoch is obtained. 3.1. Steady State Queue Length at an Arbitrary Epoch π+ . Firstly, we develop the usual Chapman-Kolmogorov (C-K) difference equations by regarding the remaining service time as the supplementary variable. Generally, using one-step transition probability, the system can get to the state of (π, 0, π) (assume at epoch π) from four types of the up-step state (assume at epoch π β 1): one is from state of (π β 1, 0, π + 1) by probability π 2 V; that is, the system is in vacation and one customer arrives during time interval ((π β 1)+ , π+ ]; the second is from state of (π + 1, 0, 1) by probability π2 Vππ(V) ; that is, the system is in vacation and no customer arrives during time interval ((π β 1)+ , π+ ], and the customer being served at epoch (π β 1)+ completes his service at π+ ; the third is from state of (π, 0, 1) by probability π 2 Vππ(V) ; that is, the system is in vacation and one customer arrives during time interval ((πβ1)+ , π+ ], and the customer being served at epoch (πβ1)+ completes his service at π+ ; the last one is from state of (π, 0, π + 1) by probability π2 V, that is, the system is in vacation and no customer arrives during time interval ((π β 1)+ , π+ ]. So, under steady state (π β +β), we get
+ π2 Vππ(π) βπ1,0 (π‘) , π‘=2
ππ,1 (π) = π 1 ππ(π) ππ,1 (1) + π1 ππ(π) ππ+1,1 (1) + π1 ππ,1 (π + 1) + π 1 ππβ1,1 (π + 1) + π 2 Vππ(π) ππ,0 (1) + π2 Vππ(π) ππ+1,0 (1) β
+ π2 Vππ(π) βππ,0 (π‘) π‘=2 β
+ π 2 Vππ(π) βππβ1,0 (π‘) ,
2 β€ π β€ π β 2,
π‘=2
ππβ1,1 (π) = π 1 ππ(π) ππβ1,1 (1) + ππ(π) ππ,1 (1) + π1 ππβ1,1 (π + 1) + π 1 ππβ2,1 (π + 1) + π 2 Vππ(π) ππβ1,0 (1) + Vππ(π) ππ,0 (1) β
+ π2 Vππ(π) βππβ1,0 (π‘) π‘=2 β
ππ,0 (π) =
π 2 Vππβ1,0 (π + 1) + π2 Vππ(V) ππ+1,0 + π 2 Vππ(V) ππ,0
+ π 2 Vππ(π) βππβ2,0 (π‘) ,
(1)
(1) + π2 Vππ,0 (π + 1) ,
π‘=2
(2)
ππ,1 (π) = ππ,1 (π + 1) + π 1 ππβ1,1 (π + 1)
2 β€ π β€ π β 2.
β
+ Vππ(π) βππ,0 (π‘) π‘=2
Let π = 0, 1, π β 1, π, respectively; we get the degenerate equations π0,0 = π2 π0,0 + π2 π1,0 (1) + π1 π1,1 (1) , π1,0 (π) = π2 Vπ1,0 (π + 1) + π 2 Vππ(V) π0,0 + π 2 Vππ(V) π1,0 (1) + π2 Vππ(V) π2,0 (1) ,
(4)
+ π2 Vππβ1,0 (π + 1) ,
+ π1 π1,1 (π + 1) + π1 ππ(π) π2,1
Define the π§-transforms of ππ,0 (π) and ππ,1 (π), respectively: β ππ,0 (π’) = β ππ,0 (π) π’π ,
π = 1, 2, . . . , π,
π=1
β ππ,1
β
(8) π
(π’) = β ππ,1 (π) π’ ,
π = 1, 2, . . . , π.
π=1
(6)
Similarly, we also obtain the C-K equations when system is in normal busy period: π1,1 (π) = π 2 Vππ(π) π0,0 + π 1 ππ(π) π1,1 (1)
(7)
β
(5)
ππ,0 (π) = π 2 Vππβ1,0 (π + 1) + Vππ,0 (π + 1) .
π‘=2
(3)
ππβ1,0 (π) = π 2 Vππβ2,0 (π + 1) + Vππ(V) ππ,0 (1) + π 2 Vππ(V) ππβ1,0 (1)
β
+ π 2 Vππ(π) βππβ1,0 (π‘) .
We propose the following notations: β β ππ,0 = limβ ππ,0 (π’) = ππ,0 (1) ,
π = 1, 2, . . . , π;
β β ππ,1 = limβ ππ,1 (π’) = ππ,1 (1) ,
π = 1, 2, . . . , π.
π’β1
(1)
π’β1
(9)
4
Discrete Dynamics in Nature and Society
Multiplying (2) and (4)β(7) by π’π and summing over π from 1 to β, we obtain after some simplification
π β 1 β (1 β ) ππ,1 (π’) = 1 ππβ1,1 (π’) β π 1 ππβ1,1 (1) π’ π’ β
β ππ,1 (1) + VπΊ(π) (π’) [βππ,0 (π‘)
πV β (1 β 2 ) π1,0 (π’) = β π2 Vπ1,0 (1) + VπΊ(V) (π’) [π 2 π0,0 π’
π‘=2
β
+ π 2 π1,0 (1) + π2 π2,0 (1)] ,
+ π 2 βππβ1,0 (π‘)] . π‘=2
π V β πV β (1 β 2 ) ππ,0 (π’) = 2 ππβ1,0 (π’) β π 2 Vππβ1,0 (1) π’ π’ (V)
β π2 Vππ,0 (1) + VπΊ
(π’) [π2 ππ+1,0 (1) + π 2 ππ,0 (1)] , π = 2, 3, . . . , π β 2,
(1 β
π2 V π V β β ) ππβ1,0 (π’) = 2 ππβ2,0 (π’) π’ π’
Adding (10) over all possible values of π (π = 1, 2, . . . , π) and using (3), we get π V π β (1 β ) βππ,0 (π’) = VπΊ(V) (π’) [βππ,0 (1) π’ π=1 π=1
β π 2 Vππβ2,0 (1) β π2 Vππβ1,0 (1) + VπΊ
+ π1 π1,1 (1)] β Vβππ,0 (1) , π=1
(π’) π
β βππ,1 (π’) =
β
[ππ,0 (1) + π 2 ππβ1,0 (1)] , π V β V β (1 β ) ππ,0 (π’) = 2 ππβ1,0 (π’) β π 2 Vππβ1,0 (1) π’ π’ β Vππ,0 (1) , π1 β ) π1,1 (π’) = β π 1 π1,1 (1) + πΊ(π) (π’) [π 2 Vπ0,0 π’
π=1
π’ {πΊ(π) (π’) π’β1
π
π
π
π=1
π=1
π=1
Setting π’ = 1 in (11), we have Vπ π1 π1,1 (1) = βππ,0 . V π=1
π
π‘=2
π β π1 β ) ππ,1 (π’) = 1 ππβ1,1 (π’) β π 1 ππβ1,1 (1) π’ π’
β π1 ππ,1 (1) + πΊ(π) (π’) [π 1 ππ,1 (1) + π1 ππ+1,1 (1)
βππ,0 =
+ π 2 Vππ,0 (1) + π2 Vππ+1,0 (1) + π2 Vβππ,0 (π‘) π‘=2
β
+ π 2 Vβππβ1,0 (π‘)] ,
π = 2, 3, . . . , π β 2,
π‘=2
π β π β (1 β 1 ) ππβ1,1 (π’) = 1 ππβ2,1 (π’) β π 1 ππβ2,1 (1) π’ π’ (π)
β π1 ππβ1,1 (1) + πΊ
(π’) [π 1 ππβ1,1 (1) + ππ,1 (1) β
+ π 2 Vππβ1,0 (1) + Vππ,0 (1) + π2 Vβππβ1,0 (π‘) π‘=2
+ π 2 Vβππβ2,0 (π‘)] ,
V [1 β πΊ(V) (V)] VπΊ(V) (V)
π=1
π
βππ,0 (1) .
(14)
π=1
Calculating limit on both sides of (12) as π’ β 1β after substituting (13) into (12) yields π
π
π=1
π=1
βππ,1 = πΌ1 βππ,1 (1) ,
β
π‘=2
(13)
Substituting (13) into (11) and letting π’ = V lead to
β
+ π2 Vβπ1,0 (π‘)] ,
β
(12)
β
[βππ,1 (1) + Vβππ,0 β Vπ1 π1,1 (1)] β βππ,1 (1)} .
+ π 1 π1,1 (1) + π1 π2,1 (1) + π 2 Vπ1,0 (1) + π2 Vπ2,0 (1)
(1 β
(11)
π
(V)
(1 β
(10)
(15)
where πΌ1 = πΈ[π(π) ], π = 1, 2, . . .. Substituting (14) and (15) into the normalization condiπ tion, π0,0 + βπ π=1 ππ,0 + βπ=1 ππ,1 = 1, we get π0,0 +
V [1 β πΊ(V) (V)] VπΊ(V) (V)
π
π
π=1
π=1
βππ,0 (1) + πΌ1 βππ,1 (1) = 1.
(16)
From (3), (13), (14), and (16), the terms of βπ π=1 ππ,0 (1) and π βπ=1 ππ,1 (1) can be expressed by π0,0 and π1,0 (1) as follows: π
βππ,0 (1) = π=1 π
[π 2 π0,0 β π2 π1,0 (1)] πΊ(V) (V) 1 β πΊ(V) (V)
,
1 [V β (V + π 2 V) π0,0 + π2 Vπ1,0 (1)] . βππ,1 (1) = πΌ 1V π=1
(17)
Discrete Dynamics in Nature and Society
5
Let π+ , π = 1, 2, . . . be the departure epoch and let πΏ π π denote the queue length immediately after the epoch π+ . ππ,ππ = π{πΏ(π+ ) = π; π(π+ ) = π} denotes the joint probability of πΏ(π+ ) π π and π(π+ ) with steady state ππ,π = limπ β +β ππ,ππ , 0 β€ π β€ π β 1; π = 0, 1. π For ππ,0π , 0 β€ π β€ π β 1, we have
= 1; π ((π β 1)+ ) = 0 | π ((π β 1)+ ) = 1}
π1 ππ+1,1 (1) + π 1 ππ,1 (1) + π2 Vππ+1,0 (1) + π 2 Vππ,0 (1)
=
π βπ π=1 ππ,0 (1) + βπ=1 ππ,1 (1)
ππ,1 (1) + π 1 ππβ1,1 (1) + Vππ,0 (1) + π 2 Vππβ1,0 (1) π βπ π=1 ππ,0 (1) + βπ=1 ππ,1 (1)
+
= 1 | π ((π β 1)+ ) = 1} = π2 π1,1 ((π β 1)+ , 1) +
π {π ((π β 1) ) = 1}
π1,0 ((π β 1) , 1)
π
π
π 2 π0,0
π=1
π=1
π π0,0
βππ,0 (1) + βππ,1 (1) =
+
π {π ((π β 1) ) = 1}
,
π1,0 (1) =
π
ππ,0π = π {πΏ (π+ ) = π; π (π+ ) = 0} = Vπ2 π {π ((π β 1)+ )
π1,1 (1) =
= π + 1; π ((π β 1)+ ) = 0 | π ((π β 1)+ ) = 1} + Vπ 2 π {π ((π β 1)+ ) = π; π ((π β 1)+ )
ππ,0 ((π β 1) , 1)
π {π ((π β 1)+ ) = 1}
(18) +
ππ+1,0 ((π β 1) , 1)
π {π ((π β 1)+ ) = 1}
,
,
(24)
π 1 + π0,0 [π 2 πΌ1 (Ξ β 1/π0,0 ) β 1]
π2 πΌ1 Ξ π )β1 π0,0 (1 + π 2 πΌ1 /π0,0
π1 πΌ1 Ξ
1 β€ π β€ π β 2,
π
π π π Pπ0 = [π1,0 , π2,0 , . . . , ππβ1,0 ] ,
P0 = [π1,0 , π2,0 , . . . , ππ,0 ] ,
β 1; π ((π β 1)+ ) = 0 | π ((π β 1)+ ) = 1} = V
P1 = [π0,0 , π1,1 , . . . , ππβ1,1 ] .
π {π ((π β 1)+ ) = 1}
π
π
Using (24), the group equations of (20)-(21) and (22)-(23) are expressed in matrix form, respectively:
.
Aπβ1 P0 (1) =
Calculating limit on both sides of (18) as π β +β leads to
π π0,0
π ππ,0
=
=
π = ππβ1,0
π2 π1,0 (1) + π1 π1,1 (1)
π βπ π=1 ππ,0 (1) + βπ=1 ππ,1 (1)
Vπ2 ππ+1,0 (1) + Vπ 2 ππ,0 (1)
π βπ π=1 ππ,0 (1) + βπ=1 ππ,1 (1)
Vππ,0 (1) + Vπ 2 ππβ1,0 (1)
βπ π=1
ππ,0 (1) +
βπ π=1
ππ,1 (1)
V β
Aπβ1 P0 (1) + Bπβ1 P1 (1) = ,
(27)
π
= 0 | π ((π β 1)+ ) = 1} + Vπ 2 π {π ((π β 1)+ ) = π
π {π ((π β 1)+ ) = 1}
(26)
π
π π π , π2,1 , . . . , ππβ1,1 ] , Pπ1 = [π1,1
ππβ1,0 ((π β 1)+ , 1)
,
P1 (1) = [π2,1 (1) , π3,1 (1) , . . . , ππ,1 (1)] ,
= Vπ {π ((π β 1)+ ) = π; π ((π β 1)+ )
+ Vπ 2
(25)
π
π
ππ,0 ((π β 1)+ , 1)
,
P0 (1) = [π2,0 (1) , π3,0 (1) , . . . , ππ,0 (1)] ,
π ππβ1,0 = π {πΏ (π+ ) = π β 1; π (π+ ) = 0}
β
(23)
where Ξ = πΊ(V) (V)/(1 β πΊ(V) (V)) β V/πΌ1 V. In order to find the solution of ππ,π , we would adopt matrix equations to express (20)β(23). Firstly, some vector notations are introduced as follows:
+
+ Vπ 2
.
From (3), (17), and (19), we get +
= 0 | π ((π β 1)+ ) = 1} = Vπ2
, (22)
1 β€ π β€ π β 2,
=
+ π1 π {π ((π β 1) ) = 1; π ((π β 1) )
+ π1
π ππ,1
π ππβ1,1
π
π0,0π = π {πΏ (π+ ) = 0; π (π+ ) = 0} = π2 π {π ((π β 1)+ )
+
π , 1 β€ π β€ π β 1, we have Similarly, for ππ,1
(19)
π 2 π0,0 π Vπ0,0
π 2 π0,0 π π0,0
β
Pπ0 β X1 ,
(28)
β
Pπ1 β X2 ,
(29)
where π
, .
1 β€ π β€ π β 2, (20)
(21)
X1 = [π 2 π1,0 (1) , 0, . . . , 0] , X2 =[
π 1 π 2 π0,0 π1
+ (π 2 V β
π 1 π2 π1
π
) π1,0 (1) , 0, . . . , 0] ;
(30)
6
Discrete Dynamics in Nature and Society π 1 ππ,1 β π 1 ππβ1,1
π1,0 (1) is determined by (28):
= π2 Vππ,0 + π 2 Vππβ1,0 β π 1 ππβ1,1 (1) π2
Aπβ1
( ( ( =( ( (
+ (2π 1 β 1) ππ,1 (1) + π1 ππ+1,1 (1) β π 2 Vππβ1,0 (1)
π 2 π2
) ) ) ) ) )
π 2 π2 d d
+ (2π 2 β 1) Vππ,0 (1) + π2 Vππ+1,0 (1) ,
,
π = 2, 3, . . . , π β 2, π 1 ππβ1,1 β π 1 ππβ2,1
π 2 π2 π 2 1)πβ1
(
(31) π1
Bπβ1
( ( ( =( ( (
π 1 π1
) ) ) ) ) )
π 1 π1 d d
P1 (1) =
β1 π΅πβ1
[
π Vπ0,0
π 2 π0,0 π Vπ0,0
β
Pπ0 β X1 ] , (VPπ1
β VPπ0 ) + VX1
= Vππ,0 + π 2 Vππβ1,0 β π 1 ππβ1,1 (1) β ππ,1 (1)
(32) β X2 ] .
(41)
β π 2 Vππβ1,0 (1) β Vππ,0 (1) .
(33)
The equations of (34)β(37) and (38)β(41) are expressed by the following matrix forms, respectively: π1,0 (1) HπP0 = Fπ ( ) β
V + π 2 VX3 , P0 (1)
(42)
π1,1 (1) π1,0 (1) ) + Fπ ( ) CπP1 = AπP0 β
V + Eπ ( P1 (1) P0 (1)
Let π’ = 1 in (10); we have
(43)
β
V,
(1 β π2 V) π1,0 = (2π 2 β 1) Vπ1,0 (1) + π2 Vπ2,0 (1) + π 2 Vπ0,0 ,
(34)
(1 β π2 V) ππ,0 β π 2 Vππβ1,0 = β π 2 Vππβ1,0 (1) + (2π 2 β 1) Vππ,0 (1) + Vπ2 ππ+1,0 (1) ,
(40)
β π 1 ππβ1,1
π 1 1)πβ1
π 2 π0,0
+ (2π 1 β 1) ππβ1,1 (1) + ππ,1 (1)
+ Vππ,0 (1) ,
.
Solving the simultaneous matrix equations (28) and (29) leads to P0 (1) = π΄β1 πβ1 [
= π2 Vππβ1,0 + π 2 Vππβ2,0 β π 1 ππβ2,1 (1)
β π 2 Vππβ2,0 (1) + (2π 2 β 1) Vππβ1,0 (1)
π 1 π1 (
(39)
where π1,0 (1) and π1,1 (1) are determined by (25) and (26), respectively: π
X3 = [π0,0 , 0, . . . , 0] , (35)
βπ 2 V π 1
π = 2, 3, . . . , π β 2,
(1 β π2 V) ππβ1,0 β π 2 Vππβ2,0 = β π 2 Vππβ2,0 (1) + (2π 2 β 1) Vππβ1,0 (1)
(36)
+ Vππ,0 (1) , Vππ,0 β π 2 Vππβ1,0 = β π 2 Vππβ1,0 (1) β Vππ,0 (1) ,
(37)
π 1 π1,1 β π 2 Vπ0,0 = π2 Vπ1,0 + (2π 1 β 1) π1,1 (1) + π1 π2,1 (1) + (2π 2 β 1) Vπ1,0 (1) + π2 Vπ2,0 (1) ,
βπ 1 π 1
( Cπ = (
(38)
) ) ,
d d βπ 1 π 1
βπ 1 )π
( 1 β π2 V ( Hπ = ( (
βπ 2 V
1 β π2 V d
) ) , )
d βπ 2 V 1 β π2 V
(
βπ 2 V
V )π
Discrete Dynamics in Nature and Society
7 π π0,0 (1 + π 2 πΌ1 /π0,0 )β1
Fπ 2π 2 β 1 ( ( ( =( ( (
βπ 2
β1 + Cβ1 π Eπ Mπ (
π2 2π 2 β 1 π2 d
d
) ) ) ) , ) )
d
βπ 2 2π 2 β 1 βπ 2
π2 βπ 2
β1)π
Eπ
( ( ( =( ( (
βπ 1
π1 2π 1 β 1 π1 d
d
) ) ) ) . ) )
d
βπ 1 2π 1 β 1 βπ 1
π1 2π 1 β 1 1 βπ 1
(
β1)π (44)
Substituting (25)-(26) and (32)-(33) into (42)-(43), respectively, and solving the simultaneous matrix equations (42)(43), we have P0 1 + π0,0 π 2 πΌ1 (Ξ β β1 = VHβ1 π Fπ Dπ (
π 1/π0,0 )
π Vπ0,0
β
Pπ0 β X1
)
(45)
β1 P1 = Cβ1 π (VVAπ Hπ + VIπ ) π 1 + π0,0 π 2 πΌ1 (Ξ β 1/π0,0 ) β π0,0
π2 πΌ1 Ξ π 2 π0,0 β
Pπ0 β X1 π Vπ0,0
{0, π½π = { 1, {
)
β1 + π 2 VVCβ1 π Aπ Hπ X3 ,
(46) where Dπ = ( 1 Aπβ1 )π, Mπ = ( 1 Bπβ1 )π, Iπ is an identity matrix of degree π, and the remaining notations are consistent with the previous ones. One may note that if we could obtain the queue-length π , the arbitrary distribution at departure epoch, Pπ0 , Pπ1 , and π0,0 epoch probabilities, ππ,0 (0 β€ π β€ π) and ππ,1 (1 β€ π β€ π), can be derived from (45) and (46). Its main steps are introduced as follows: (a) Gain the probabilities of π1,1 (1) and P1 (1) expressed π by π0,0 after substituting π0,0 , Pπ0 , and Pπ1 into (26) and (33), respectively. (b) Obtain the arbitrary epoch probabilities of P0 and P1 expressed by π0,0 from (45) and (46) as well as the arbitrary epoch probability of ππ,1 expressed by π0,0 from the normalization condition π0,0 + βπ π=1 ππ,0 + π = 1. βπ π=1 π,1
(d) Achieve the values of P0 and P1 after substituting the value of π0,0 back into (45) and (46), as well as the value of ππ,1 through normalization condition. So, in the following subsection, using the embedded Markov chain technique, we investigate the queue-length distribution at a departure epoch.
+ π 2 VHβ1 π X3 ,
β
FπDβ1 π (
β VPπ0 ) + VX1 β X2
(c) Get the value of π0,0 after substituting π1,1 (1), P1 (1), P1 , and ππ,1 into (15).
β π0,0
π2 πΌ1 Ξ
π 2 π0,0
π Vπ0,0
π1 πΌ1 Ξ (VPπ1
2π 2 β 1 1
(
2π 1 β 1
π 2 π0,0
)
3.2. Steady State Queue Length at a Departure Epoch π+ . Let πΏ π denote the queue length immediately after the departure epoch π+ and define the variable of π½π :
the departure epoch π+ locates in a working vacation, the departure epoch π+ locates in a normal busy period.
Thus, {(πΏ π , π½π ), π β₯ 1} is a two-dimensional Markov chain with state space Ξ© = {(π, π ), 0 β€ π β€ π β 1; π = 0, 1}. Denote the one step transition probability by π(π,π 1 )(π,π 2 ) = π{πΏ π+1 = π, π½π+1 = π 2 | πΏ π = π, π½π = π 1 } and define ππ(1) = βππ=1 ππ(1) , π0(1) = 0; ππ(2) = βππ=1 ππ(2) , π0(2) = 0, where the random variables
(47)
of ππ(π) , π = 1, 2, denote the arrival intervals with the same distribution as π(π) , π = 1, 2. Then the one step transition probability matrix (TPM), denoted by Q = (π(π,π 1 )(π,π 2 ) )2πβ1 , will be obtained in the following work. (1) The state transition (π, 0) β (π, 0) (1 β€ π β€ π β 1; π β 1 β€ π β€ π β 1; π =ΜΈ 0) occurs if the length of vacation (or
8
Discrete Dynamics in Nature and Society
remaining vacation) is greater than a service time in working vacation; that is, π(V) < π, and π+1βπ customers arrive during (2) (2) β€ π(V) < ππ+2βπ ; then it gets the service time π(V) ; that is, ππ+1βπ
the vacation time and the normal service time follows the vacation; that is, π(V) > π; π(2) > π; π(1) > π(π) . Then we have πΏ1 β π(1,0)(0,0) = π {π(V) β€ π; π(2) > π(V) }
ππ+1βπ β π(π,0)(π,0)
+ π {π(V) > π; π(2) > π; π(1) > π(π) }
(2) (2) = π {π(V) < π; ππ+1βπ β€ π(V) < ππ+2βπ } β
=
β π=max{1,π+1βπ}
(V) ππ (
π
β
π=1
π+1βπ πβ(π+1βπ) π π2 V ,
) π2 π+1βπ
β
ππβπ β π(π,0)(πβ1,0) β
(2) = β π {π(V) < π; ππ(2) β€ π(V) < ππ+1 } π=πβπ
β β π πβπ (V) = β β ππ ( ) ππ2 π2 Vπ . π π=πβπ π=π
Similarly, for 1 β€ π β€ π β 1, we have (2) ππ β π(0,0)(π,0) = V β
π {π(V) < π; ππ(2) β€ π(V) < ππ+1 }
π=1
β
π {π(V) > π; π(2) > π; π(1) > π(π) } + V β
π {π(1) > π(π) } β
(2) = V β
β π {π(V) < π; ππ(2) β€ π(V) < ππ+1 }
π
π=1
β
β
π
π=1
π
(π) + β ππ π1 V = V β
πΏ1 + V β
π.
π πβπ (V) = β β ππ ( ) ππ2 π2 Vπ+1 = V β
ππβ1 . π π=πβ1 π=π β
π=1
(2) The state transition (1, 1) β (0, 0) occurs if no customer arrives during a service time in normal busy period; that is, π(1) > π(π) . So we have
>π } =
β
π
π=1
π=πβ1
π β π(1,1)(0,0) = π {π
(52)
(V) π2 Vπ + β VVπ π {π(V) > π} π2 β ππ(π) π1 = β ππ
β
β
(π) π π1 . β ππ π=1
π=1
= V β
π {π(V) β€ π; π(2) > π(V) } + V
(49)
(π)
π
(4) The state transition (0, 0) β (0, 0) occurs under two cases. First, the vacation does not end immediately after the first arrival epoch behind the previous departure and the length of vacation (or remaining vacation) is not less than a service time in working vacation and no customer arrives during the service time, or the length of vacation (or remaining vacation) is less than a service time in working vacation and no customer arrives during the vacation time and the service time in normal busy period follows the vacation. Second, the vacation just ends immediately after the first arrival epoch behind the previous departure (thus, the first arrival will obtain a normal service) and no arrival occurs during the normal service time. Then we have
1 β€ π β€ π β 2,
(1)
β
πΏ0 β π(0,0)(0,0)
β π π πβπ (V) ( ) π 2 π2 Vπ+1 = V β
ππ , = β ππ π π=π
β
π
+ β VVπβ1 π {π(V) > π} π2 β ππ(π) π1 .
π β 1 β€ π β€ π β 2, π =ΜΈ 0, (48)
ππβ1 β π(0,0)(πβ1,0)
(51)
π
(V) = β ππ π2 Vπβ1
(50)
(5) The state transition (π, 1) β (π, 1) (1 β€ π β€ π β 1; π β 1 β€ π β€ π β 1; π =ΜΈ 0) occurs if π + 1 β π customers arrive (1) during a service time in normal busy period; that is, ππ+1βπ β€ (1) . It yields π(π) < ππ+2βπ
(1) (1) π½π+1βπ β π(π,1)(π,1) = π {ππ+1βπ β€ π(π) < ππ+2βπ }
=
π π+1βπ πβ(π+1βπ) (π) ) π 1 π1 ππ ( , π+1βπ π=max{1,π+1βπ} β
β
π β 1 β€ π β€ π β 2, π =ΜΈ 0, (3) The state transition (1, 0) β (0, 0) occurs if the length of vacation (or remaining vacation) is not less than a service time in working vacation and no customer arrives during the service time; that is, π(V) β€ π; π(2) > π(V) , or the length of vacation (or remaining vacation) is less than a service time in working vacation and no customer arrives during
β
(1) } π½πβπ β π(π,1)(πβ1,1) = β π {ππ(1) β€ π(π) < ππ+1 π=πβπ
β β π πβπ (π) = β β ππ ( ) ππ1 π1 . π π=πβπ π=π
(53)
Discrete Dynamics in Nature and Society
9
(6) The state transition (π, 0) β (π, 1) (1 β€ π β€ π β 1; π β 1 β€ π β€ π β 1; π =ΜΈ 0) occurs if the length of vacation (or remaining vacation) is less than a service time in working vacation; that is, π(V) > π, and π + 1 β π customers arrive during the vacation time and the service time in normal busy period (assuming that π customers arrive during the vacation and π + 1 β π β π customers arrive during the service time in (2) (1) ; ππ+1βπβπ β€ π(π) < normal busy period); that is, ππ(2) β€ π < ππ+1
(1) ππ+2βπβπ , or the length of vacation (or remaining vacation) equals a service time in working vacation and π + 1 β π customers arrive during the service time; that is, π(V) = π; (2) (2) ππ+1βπ β€ π(V) < ππ+2βπ . Then it leads to π+1βπ
(2) ; πΎπ+1βπ β π(π,0)(π,1) = β π {π(V) > π; ππ(2) β€ π < ππ+1
(1) (1) (2) ππ+1βπβπ β€ π(π) < ππ+2βπβπ } + π {π(V) = π; ππ+1βπ
(V)
β€π
(2) < ππ+2βπ }
= β
β
β
VV
πβ1
(V)
π {π
π=0
(1) (2) β€ π(π) < ππβπ+1 } + V β
π {π(V) = π; ππ(2) β€ π < ππ+1 }+V π
(1) β
π {ππ(1) β€ π(π) < ππ+1 }=β
β
β
VVπ π {π(V) > π}
π=0 π=max{1,π}
β π π πβπ πβπ πβ(πβπ) (π) β
( ) ππ2 π2 β
ππ ( ) π 1 π1 β π πβπ π=max{1,πβπ}
π π πβπ (V) VVπ ππ ( ) π 2 π2 + V π π=max{1,π} β
β
β π π πβπ (π) ( ) π 1 π1 = V β
πΎπ + V β
π½π , β
β ππ π π=π
> π}
π=0 π=max{1,π}
1 β€ π β€ π β 2,
β
ππβ1 β π(0,0)(πβ1,1) = V β
β π {π(V) > π;
π πβπ V β
( ) ππ2 π2 β
π½π+1βπβπ + ππ+1βπ β
, V π
π=πβ1
π customers arrive during the length of π(π) + π} + V
π β 1 β€ π β€ π β 2, π =ΜΈ 0, β
π
(2) (1) ππ β π(0,0)(π,1) = V β
β π {π(V) > π; ππ(2) β€ π < ππ+1 ; ππβπ
+
π=0
π+1βπ
Similarly, for 1 β€ π β€ π β 1, we have
β
β
β π {π(V) = π; π=πβ1
(V)
πΎπβπ β π(π,0)(πβ1,1) = β π {π
> π;
(55) (V)
π customers arrive during the length of π } + V
π=πβπ
β
π customers arrive during the length of π(π)
β
β π {π customers arrive during the length of π(π) } π=πβ1
β
(V)
+ π} + β π {π
= π;
π=πβπ
(54) πβ2
β
(2) ; ππ(1) β€ π(π) β π {π(V) > π; ππ(2) β€ π < ππ+1
= Vβ
β
π=0 π=πβ1βπ
π customers arrive during the length of π(V) } πβπβ1
= β
β
(2) ; ππ(1) β π {π(V) > π; ππ(2) β€ π < ππ+1
π=0 π=πβπβπ
β
(1) (2) β€ π(π) < ππ+1 } + β π {π(V) β₯ π; ππ(2) β€ π < ππ+1 } π=πβπ
πβπβ1
= β
π=0
π πβπ VVπβ1 π {π(V) > π} ( ) ππ2 π2 π π=max{1,π} β
β β
β
β
π½πβπβπ + β β VVπβ1 π {π(V) β₯ π} π=πβπ π=π
π πβπ β
( ) ππ2 π2 . π
β
(1) (2) < ππ+1 } + V β
β π {π(V) β₯ π; ππ(2) β€ π < ππ+1 }+V π=πβ1
β
(1) } β
β π {ππ(1) β€ π(π) < ππ+1 π=πβ1
π πβπ VVπ π {π(V) > π} ( ) ππ2 π2 π π=0 π=πβ1βπ π=max{1,π}
πβ2
= β
β
β
β
β
β β β π πβπ (π) β
β ππ ( ) ππ1 π1 + β β VVπ π {π(V) β₯ π} π=π π π=πβ1 π=π β β π π πβπ πβπ (π) ( ) ππ1 π1 = V β
( ) ππ2 π2 + V β
β β ππ π π π=πβ1 π=π
β
πΎπβ1 + V β
π½πβ1 .
10
Discrete Dynamics in Nature and Society
To obtain the TPM Q, some additional notations are introduced as follows: Yπ = (ππ , ππ ) ,
1 β€ π β€ π β 1;
Subsequently, the queue-length probabilities at departure epoch, that is, Pπ , are obtained by using software of MATLAB. Moreover, we finally work out the queue-length distribution at arbitrary epoch.
π
Ξ = (πΏ1 , π) ; Rπ = (
ππ πΎπ 0 π½π
),
(56) 0 β€ π β€ π β 1.
Using lexicographical sequence for the states, the structure of Q is given by πΏ0 Y1 β
β
β
Yπβ4 Yπβ3 Yπβ2 Yπβ1 ( ( ( ( Q=( ( ( ( (
R0
R1 R0
(
(57)
(
Q β I2πβ1
R2 (π) ππ,0
R1 )
e
O(2πβ1)Γ1 ) β
Pπ = ( ), 1
(π) (π) β ππ,0 β lim ππ,0 (π ) ,
(59)
(π) (π) β ππ,1 β lim ππ,1 (π ) .
(60)
π ββ
π π π π π , π1,0 , π1,1 , . . . , ππβ1,0 , ππβ1,1 )π be a Let Pπ = (π0,0 column vector of departure epoch probabilities; e = (1, 1, . . . , 1)1Γ(2πβ1) is a row vector of dimension of 2π β 1; then we have the system linear equations {QT Pπ = Pπ ; ePπ = 1}, which can be directly converted into the following equations: T
β β or ππ,1 is the steady state probability of π customers ππ,0 waiting in system at an arbitrary epoch πβ during a working vacation or normal busy period. (π) β (π) β (π ) or ππ,1 (π ) is the transient probability of π ππ,0 customers waiting in system at a prearrival epoch π β during a working vacation or normal busy period:
Ξ R1 β
β
β
Rπβ4 Rπβ3 Rπβ2 Rπβ1
) R0 β
β
β
Rπβ5 Rπβ4 Rπβ3 Rπβ2 ) ) .. .. .. .. ) ) d . . . . ). ) R0 R1 R2 R3 ) )
3.3. Steady State Queue Length at Other Epochs. To find the queue-length distributions at a potential arrival epoch πβ , prearrival epoch, arbitrary epoch π, and outside observerβs observation epoch, we define the following additional notations.
(58)
where I2πβ1 is an identity square matrix with (2π β 1) dimensions and O(2πβ1)Γ1 is a column vector with 2π β 1 dimensions and all of itsβ entries are equal to zero.
(π) ππ,1
π ββ
or is the steady state probability of π customers waiting in system at an outside observerβs observation epoch during a working vacation or normal busy period.
(π) (π) or ππ,1 is the steady state probability of π cusππ,0 tomers waiting in system at an arbitrary epoch π during a working vacation or normal busy period.
From Figure 1, it is clear that (π) β ππ,0 = ππ,0 = ππ,0 ,
0 β€ π β€ π,
(π) β = ππ,1 = ππ,1 , ππ,1
0 β€ π β€ π.
(61)
The prearrival epoch probabilities are determined by the following relations:
(π) (π) β ππ,0 = lim ππ,0 (π ) = lim π {π (π β ) = π; π (π β ) = 0 | A customer arrives in time interval (π β , π )} π ββ
π ββ
π 2 ππ,0 π {π (π ) = π; π (π β ) = 0; A customer arrives in time interval (π β , π )} , = π β π ββ π {A customer arrives in time interval (π , π )} π 2 βπ=0 ππ,0 + π 1 βπ π=1 ππ,1
= lim
β
(62)
0 β€ π β€ π.
Similarly, we have (π) = ππ,1
π 1 ππ,1 π 2 βπ π=0
ππ,0 + π 1 βπ π=1 ππ,1
,
1 β€ π β€ π.
(63)
(π) We can derive the conclusion of ππ,π = ππ,π from (62) and (63) under the condition of π 1 = π 2 ; it means the GASTA
(geometric arrivals see time average) property does not hold if π 1 =ΜΈ π 2 . (π) and ππ,π can also be conducted The relations between ππ,π by considering the arbitrary epochs π and πβ in Figure 1: (π) = π2 π0,0 , π0,0 (π) ππ,0 = π2 ππ,0 + π 2 ππβ1,0 ,
1 β€ π β€ π β 1,
Discrete Dynamics in Nature and Society
11
(π) ππ,0 = ππ,0 + π 2 ππβ1,0 ,
Table 1: System queue length distribution at various epochs when service time is geometric with πΌ1 = 4, πΌ2 = 7.1429, π 1 = 0.22, π 2 = 0.12, ] = 0.025, and π = 15.
(π) π1,1 = π1 π1,1 , (π) ππ,1 = π1 ππ,1 + π 1 ππβ1,1 , (π) ππ,1
= ππ,1 + π 1 ππβ1,1 . (64)
Thus the arbitrary epoch (π) probabilities are determined by (64).
4. Performance Evaluation Performance measures of the queueing system can easily be obtained based on the achieved queue-length distribution in Section 3. 4.1. Blocking Probability. Blocking probability of customer (denoted by πloss ) is pretty important in a finite buffer queueing system: (π) (π) + ππ,1 , πloss = ππ,0
(65)
(π) (π) where ππ,0 and ππ,1 are given by (62) and (63), respectively.
4.2. Average Queue Length. From (61), three sorts of average queue length are presented, respectively, as follows: (1) Average queue length is as follows: π
(π)
π
π
π=1
π=1
= β πππ,0 + β πππ,1 .
(π)
π
(67)
π=1
(3) Average queue length during normal busy period is as follows: (π)
π
π2 = β πππ,1 .
(68)
π=1
4.3. Average Sojourn Time for a Customer. Denoting the average sojourn time by π and using Littleβs rule, we have (π)
π=
π , ππ
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
(π)
0.1925 0.1267 0.0717 0.0406 0.0230 0.0130 0.0073 0.0041 0.0023 0.0013 0.0008 0.0004 0.0003 0.0002 0.0001 0.0001
(π) ππ,1
(π) ππ,0
0.0384 0.0543 0.0583 0.0564 0.0517 0.0461 0.0404 0.0350 0.0301 0.0258 0.0221 0.0189 0.0162 0.0138 0.0081
0.1347 0.0886 0.0502 0.0284 0.0161 0.0091 0.0051 0.0029 0.0016 0.0009 0.0006 0.0003 0.0002 0.0001 0.0000 0.0000
(π)
(π)
(π) ππ,1
(π) ππ,0
(π) ππ,1
0.0492 0.0696 0.0748 0.0723 0.0663 0.0591 0.0518 0.0449 0.0386 0.0331 0.0283 0.0242 0.0208 0.0177 0.0104
0.1694 0.1346 0.0783 0.0443 0.0251 0.0142 0.0080 0.0045 0.0025 0.0014 0.0009 0.0005 0.0003 0.0002 0.0001 0.0001
0.0300 0.0508 0.0574 0.0568 0.0527 0.0473 0.0417 0.0362 0.0312 0.0267 0.0230 0.0200 0.0168 0.0143 0.0111
π = 3.8425, π1 = 0.6730, π2 = 3.1695, πloss = 0.0105, π = 22.397.
software package, the effects of some parameters on the blocking probability and average sojourn time are also investigated.
(66)
(2) Average queue length during working vacation is as follows: π1 = β πππ,0 .
(π) ππ,0
π
2 β€ π β€ π β 1,
(69)
π where π π = (1βπloss )(π 2 βπ π=0 ππ,0 +π 1 βπ=1 ππ,1 ) is the effective average arrival rate.
5. Discussion of Numerical Performance Characteristics In this section, some numerical conclusions in the form of table or graph are reported. Moreover, using the MATLAB
5.1. Numerical Illustration of the System Performance Measures. To illustrate the effectiveness of the queue-length solutions obtained in Section 3, the numerical results of queue-length distributions under some certain cases are given in Tables 1 and 2. And, the corresponding blocking probability, average queue length, and average sojourn time are given at the bottom of the tables. At the same time, the queue-length distributions in the form of graphs are also demonstrated in Figures 2(a) and 2(b). 5.2. Sensitivity Analysis. Figures 3(a) and 3(b) give the numerical illustrations of the effects of π on the blocking probability and average sojourn time under three kinds of service time distributions; that is, (1) service time is deterministic: {π4(π) = 1}, {π6(V) = 1} with other parameters: π 1 = 0.23, π 2 = 0.15, and V = 0.008; (2) service time is geometric with average service times: πΌ1 = 3.3333, πΌ2 = 5, and other parameters: π 1 = 0.2, π 2 = 0.1, V = 0.008; (3) service time is arbitrary: {π3(π) = 0.01, π4(π) = 0.05, π5(π) = 0.1, π6(π) = 0.2, π7(π) = 0.4, π8(π) = 0.24}; {π4(V) = 0.15, π6(V) = 0.25, π8(V) = 0.3, (V) = 0.05} with other parameters: π 1 = 0.136, π9(V) = 0.25, π10 π 2 = 0.13, and V = 0.008. It can be seen from Figures 3(a) and 3(b) that, for each case, the blocking probability and average sojourn time both decrease as system capacity π increases and both of them become stable with increasing π. Figures 4(a) and 4(b) give the numerical illustrations of the effects of π 2 on the blocking probability and average
12
Discrete Dynamics in Nature and Society Service time is geometric distribution with parameter πΌ1 = 4, πΌ2 = 7.1429
0.2
0.12
0.16
Probability of queue length
Probability of queue length
0.18
0.14 0.12 0.1 0.08 0.06 0.04
0.1 0.08 0.06 0.04 0.02
0.02 0
Service time is arbitrary distribution
0.14
0
5 10 System queue length at three kinds of epochs
15
Prearrival epoch probability Arbitrary epoch (n) probability Arbitrary epoch (n+ ) probability
0
0
5 10 System queue length at three kinds of epochs
15
Prearrival epoch probability Arbitrary epoch (n) probability Arbitrary epoch (n+ ) probability
(a)
(b)
Figure 2: (a) Steady queue length distributions at different epochs. (b) Steady queue length distributions at different epochs.
Table 2: System queue length distribution at various epochs when service time is arbitrary with {π3(π) = 0.01, π4(π) = 0.05, π5(π) = 0.1, π6(π) = 0.2, π7(π) = 0.4, π8(π) = 0.24}, {π4(V) = 0.15, π6(V) = 0.25, π8(V) = (V) 0.3, π9(V) = 0.25, π10 = 0.05}, and π 1 = 0.136, π 2 = 0.13, V = 0.008, and π = 15. π 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
(π)
(π) ππ,0
(π) ππ,1
(π) ππ,0
(π) ππ,1
(π) ππ,0
(π) ππ,1
0.0811 0.1008 0.0819 0.0567 0.0377 0.0250 0.0166 0.0110 0.0073 0.0049 0.0033 0.0022 0.0015 0.0011 0.0008 0.0003
0.0334 0.0558 0.0652 0.0659 0.0618 0.0554 0.0483 0.0412 0.0347 0.0289 0.0238 0.0195 0.0159 0.0129 0.0051
0.0790 0.0982 0.0798 0.0553 0.0367 0.0244 0.0162 0.0107 0.0071 0.0048 0.0032 0.0021 0.0015 0.0011 0.0008 0.0003
0.0340 0.0569 0.0665 0.0672 0.0630 0.0565 0.0492 0.0420 0.0354 0.0295 0.0243 0.0199 0.0162 0.0132 0.0052
0.0706 0.0982 0.0844 0.0600 0.0402 0.0267 0.0177 0.0117 0.0078 0.0052 0.0035 0.0023 0.0016 0.0012 0.0008 0.0004
0.0289 0.0528 0.0639 0.0658 0.0624 0.0563 0.0493 0.0422 0.0356 0.0297 0.0245 0.0201 0.0164 0.0133 0.0069
(π)
(π)
π = 4.569, π1 = 1.0948, π2 = 3.4742, πloss = 0.0055, π = 34.249.
sojourn time under three kinds of service time distributions; that is, (1) service time is deterministic: {π4(π) = 1}, {π6(V) = 1} with other parameters: π 1 = 0.24, π = 15, and V = 0.008;
(2) service time is geometric with average service times: πΌ1 = 2, πΌ2 = 3.3333 and other parameters: π 1 = 0.46, π = 15, V = 0.008; (3) service time is arbitrary: {π3(π) = 0.01, π4(π) = 0.05, π5(π) = 0.1, π6(π) = 0.2, π7(π) = 0.4, π8(π) = 0.24}; {π4(V) = 0.15, (V) = 0.05} with π6(V) = 0.25, π8(V) = 0.3, π9(V) = 0.25, π10 other parameters: π 1 = 0.136 and V = 0.008. The three curves in Figure 4(a) or Figure 4(b) exhibit an increasing shape. We observe from Figure 4(a) that, for each case, the blocking probability becomes sensitive after a certain arrival rate during working vacation (π 2 ) and seems to tend to be unstable as π 2 β π 1 . For three cases in Figure 4(b), we can see that the average sojourn time gets sensitive after a certain value of π 2 and likely tends to be stable as π 2 β π 1 .
6. A Numerical Example To display the application of the above models, a real problem concerning express logistics services is studied. In an express logistics service center with the maximum capacity of π (in other words, if the number of express parcels accumulates to π the new arriving express parcels will be delivered to other service centers), the express parcels arrive in distribution center according to a Poisson process. The arrival rate of the express parcels depends on the state of the server in the distribution center. When the server is on duty, the arrival rate is π 1 . On the other hand, the rate is π 2 < π 1 if the server is on vacation. In this service center, the semivacation policy is adopted: after dealing with all the waiting express parcels, the server takes vacation. To improve the service efficiency, the manager requires the server to keep on providing service during his vacation with a low service rate. When returning from a vacation and finding any express parcels waiting for service, the server returns the low service rate to a normal
Discrete Dynamics in Nature and Society
13
0.16
40
0.14
35 Average sojourn time
0.12
Ploss
0.1 0.08 0.06 0.04
25 20 15 10
0.02 0
30
0
5
10 15 System capacity N
20
5
25
0
Service time is deterministic Service time is geometric Service time is arbitrary
5
10 15 System capacity N
20
25
Service time is deterministic Service time is geometric Service time is arbitrary
(a)
(b)
Figure 3: (a) Effect of π on blocking probability under different service time distributions. (b) Effect of π on average sojourn time under different service time distributions. 40
0.09 0.08
35 Average sojourn time
0.07
Ploss
0.06 0.05 0.04 0.03
30 25 20 15
0.02 10
0.01 0
0
0.02 0.04 0.06 0.08 0.1 Arrival rate during working vacation period (π 2 )
0.12
Service time is deterministic Service time is geometric Service time is arbitrary (a)
5
0
0.02 0.04 0.06 0.08 0.1 Arrival rate during working vacation period
0.12
Service time is deterministic Service time is geometric Service time is arbitrary (b)
Figure 4: (a) Effect of π 2 on blocking probability under different service time distributions. (b) Effect of π 2 on average sojourn time under different service time distributions.
level. Otherwise, the server takes the next vacation. The length of a working vacation π is geometrically distributed with parameter V. The service time for each parcel during normal busy period is an arbitrarily distributed variable with mean value of πΌ1 . The service time for each parcel during working vacation is also an arbitrarily distributed variable with mean value of πΌ2 .
Thus, this express logistics service center can be modeled by the finite-capacity πΊππ/πΊ/1/π queueing system with working vacation and different input rate studied in this paper. To realize precise control, the manager considers the following cost elements: π1 β‘ fixed possessing fee per unit time for a express parcel in center;
14
Discrete Dynamics in Nature and Society π2 (π) β‘ unit time fee for possessing π (1 β€ π β€ π) express parcels during working vacation; π3 (π) β‘ unit time fee for possessing π (1 β€ π β€ π) express parcels during normal busy period; π4 β‘ fixed service fee per unit time during working vacation; π5 β‘ fixed service fee per unit time during normal busy period.
Based on the cost elements defined above, the optimal cost problem can be modeled mathematically by π
π
π=1
π=1
: β (πΌ2 ) = π1 β
π + βπ2 (π) β
ππ,0 + βπ3 (π) β
ππ,1 min πΌ 2
π¦
+
π4 π5 + , πΌ2 πΌ1
(π)
1 [(π¦ = 2
(π) 2
2
(70)
2
where ππ,0 , ππ,1 , and π are determined by (45), (46), and (69), respectively. Regarding the service during working vacations as a piece of additional work for the server, the proper service rate during that time is a critical decision variable for the manager to arrange the optimal operation. The key task of the manager is to determine the appropriate value of service rate during working vacation (denoted by πΌ2β ) in (70) to minimize the operating cost. One may note that it would be pretty difficult to solve the optimum problem (70) by using analytic method because of the highly nonlinear and complex of the given cost function. Instead, we apply the parabolic method to deal with it. Based on the introduction of parabolic method (see [19]), we design the following steps. Step 1 (initialization). Choose a starting 3-point pattern {π¦(π) , π¦(π) , π¦(π) } along with a stopping tolerance π = 10β5 and initialize the iteration counter π = 0. Substitute these initial values into the following approximate formula
2
2
2
) β (π¦(π) ) ] β (π¦(π) ) + [(π¦(π) ) β (π¦(π) ) ] β (π¦(π) ) + [(π¦(π) ) β (π¦(π) ) ] β (π¦(π) ) [π¦(π) β π¦(π) ] β (π¦(π) ) + [π¦(π) β π¦(π) ] β (π¦(π) ) + [π¦(π) β π¦(π) ] β (π¦(π) )
Step 2 (stopping). If |π¦(π) β π¦(π) | β€ π, stop and report approximate optimum solution π¦(π) . Step 3 (quadratic fit). Compute a quadratic fit optimum π¦(π) according to the formulae (70) and (71). Then if π¦(π) β€ π¦(π) , go to Step 4, and if π¦(π) > π¦(π) go to Step 5. Step 4 (left). If β(π¦(π) ) is superior to β(π¦(π) ) (less for a minimize, greater for a maximize), then update π¦(π) β π¦(π) . Otherwise, replace π¦(π) β π¦(π) , π¦(π) β π¦(π) . Either way, advance π = π + 1 and return to Step 2. Step 5 (right). If β(π¦(π) ) is superior to β(π¦(π) ) (less for a minimize, greater for a maximize), then update π¦(π) β π¦(π) . Otherwise, replace π¦(π) β π¦(π) , π¦(π) β π¦(π) . Either way, advance π = π + 1 and return to Step 2. It is assumed that the systems parameters are as follows. (1) The input rates of express parcels during working vacation and normal busy period are π 2 = 0.3 and π 1 = 0.38, respectively. (2) The working vacation time (π) follows a geometric distribution with parameter V = 0.08 and the capacity of system is π = 15. (3) The service time during normal busy period is arbitrarily distributed as {π1 = 0.2, π2 = 0.4, π3 = 0.2, π4 = 0.1, π5 = 0.1}.
.
(71)
The other parameters in (70) are given as follows: π1 = 90, π2 (π) = 12β
π+ β5 π3 , π3 (π) = 15β
π+ β3 π5 , π4 = 1800, π5 = 2200. So, the effect of service rate during working vacation period (1/πΌ2 ) on the operating fee (β(πΌ2 )) is demonstrated in Figure 5. From Figure 5, choosing an initial 3-point pattern (1/πΌ)(π) = 0.05, (1/πΌ)(π) = 0.1, (1/πΌ)(π) = 0.15, and the stopping tolerance π = 10β5 , it obtains the optimal value of πΌ2 after three iterations: πΌ2β = 10.5820 which leads to the minimum expected operating fee: β(πΌ2β ) = 2849.9146.
7. Conclusions For the first time, we carry out an analysis of finite buffer πΊππ/πΊ(πππ)/1/π queue with working vacations and different input rate. Using two kinds of classical analysis techniques, we derive the queue-length solutions in the form of formula at different epoches (given by Section 3). Through this solution, we also obtain some important performance characteristics (given by Section 4). Based on the queuelength distribution, a state-dependent cost function is developed from a express logistics service center and optimally analyzed in Section 6. This paper is a beginning study for finite buffer πΊππ/πΊ/1/π queue with working vacation. In the future, research topics such as πΊπππ /πΊ/1/π with batch arrivals, πΊππ/πΊ/1/π with Bernoulli-schedule working vacation, πΊππ/πΊ/1/π with π-policy, and so on can be studied with the same analysis techniques.
Discrete Dynamics in Nature and Society
15
Operating cost
3100 3050
[11]
3000
[12]
2950
[13]
2900 2850 0
0.05
0.1
0.15
0.2
0.25
0.3
[14]
Service rate during working vacation: 1/πΌ2
Figure 5: Effect of 1/πΌ2 on the operating cost per unit time. [15]
Conflict of Interests The authors declare that there is no conflict of interests regarding the publication of this paper.
Acknowledgments This research was supported (in part) by the National Natural Science Foundation of China (no. 71171138), National Natural Science Foundation of China (no. 71201126), and the Fundamental Research Funds for the Central Universities (JBK150930).
References [1] H. Takagi, Queueing AnalysisβA Foundation of Performance Evaluation, Volume 3: Discrete-Time Systems, North-Holland, New York, NY, USA, 1993. [2] N. Tian, X. Xu, and Z. Ma, Discrete Time Queue Theory, Science Press, Beijing, China, 2007. [3] A. S. Alfa, βVacation models in discrete time,β Queueing Systems, vol. 44, no. 1, pp. 5β30, 2003. [4] L. D. Servi and S. G. Finn, βM/M/1 queues with working vacations (M/M/1/WV),β Performance Evaluation, vol. 50, no. 1, pp. 41β52, 2002. [5] J. Li, N. Tian, and W. Liu, βDiscrete-time GI/Geo/1 queue with working vacations,β Queueing Systems, vol. 56, pp. 53β63, 2007. [6] J. Li and N. Tian, βThe discrete-time GI/Geo/1 queue with working vacations and vacation interruption,β Applied Mathematics and Computation, vol. 185, no. 1, pp. 1β10, 2007. [7] J.-H. Li, βAnalysis of the discrete-time Geo/G/1 working vacation queue and its application to network scheduling,β Computers and Industrial Engineering, vol. 65, no. 4, pp. 594β604, 2013. [8] X. W. Yi, βThe Geo/G/1 queue with disasters and multiple working vacations,β Stochastic Models, vol. 23, pp. 537β549, 2007. [9] J.-H. Li, W.-Q. Liu, and N.-S. Tian, βSteady-state analysis of a discrete-time batch arrival queue with working vacations,β Performance Evaluation, vol. 67, no. 10, pp. 897β912, 2010. [10] S. Gao and Z. Liu, βPerformance analysis of a discrete-time Geoπ /G/1 queue with single working vacation,β World Academy
[16]
[17]
[18]
[19]
of Science, Engineering and Technology, vol. 56, pp. 1333β1341, 2011. C. Goswami and N. Selvaraju, βThe discrete-time MAP/PH/1 queue with multiple working vacations,β Applied Mathematical Modelling, vol. 34, no. 4, pp. 931β946, 2010. V. Goswami and S. K. Samanta, βPerformance analysis of a GI [π₯] /Geo/m/N queue with partial- and total-batch rejection,β Computers & Mathematics with Applications, vol. 54, no. 2, pp. 203β219, 2007. M. M. Yu, Y. H. Tang, and M. M. Yu, βSteady state analysis and computation of the πΊπΌ[π₯] /ππ/1/πΏ queue with multiple working vacations and partial batch rejection,β Computers and Industrial Engineering, vol. 56, pp. 1243β1253, 2009. M. M. Yu, Y. H. Tang, Y. H. Fu, and L. Pan, βGI/Geom/1/N/ MWV queue with changeover time and searching for the optimum service rate in working vacation period,β Journal of Computational and Applied Mathematics, vol. 235, no. 8, pp. 2170β2184, 2011. M. Zhang and Z. T. Hou, βSteady state analysis of the πΊπΌ/π/1/ π queue with a variant of multiple working vacations,β Computers and Industrial Engineering, vol. 61, no. 4, pp. 1296β1301, 2011. S. Gao, J. T. Wang, and D. Zhang, βDiscrete-time GI π₯ /Geo/1/N queue with negative customers and multiple working vacations,β Journal of the Korean Statistical Society, vol. 42, no. 4, pp. 515β528, 2013. A. Banerjee, U. Gupta, and V. Goswami, βAnalysis of finitebuffer discrete-time batch-service queue with batch-sizedependent service,β Computers & Industrial Engineering, vol. 75, pp. 121β128, 2014. V. Bhaskar and P. Lallement, βModeling a supply chain using a network of queues,β Applied Mathematical Modelling, vol. 34, no. 8, pp. 2074β2088, 2010. L. R. Ronald, Optimization in Operations Research, Prentice Hall, Upper Saddle River, NJ, USA, 1997.
Advances in
Operations Research Hindawi Publishing Corporation http://www.hindawi.com
Volume 2014
Advances in
Decision Sciences Hindawi Publishing Corporation http://www.hindawi.com
Volume 2014
Journal of
Applied Mathematics
Algebra
Hindawi Publishing Corporation http://www.hindawi.com
Hindawi Publishing Corporation http://www.hindawi.com
Volume 2014
Journal of
Probability and Statistics Volume 2014
The Scientific World Journal Hindawi Publishing Corporation http://www.hindawi.com
Hindawi Publishing Corporation http://www.hindawi.com
Volume 2014
International Journal of
Differential Equations Hindawi Publishing Corporation http://www.hindawi.com
Volume 2014
Volume 2014
Submit your manuscripts at http://www.hindawi.com International Journal of
Advances in
Combinatorics Hindawi Publishing Corporation http://www.hindawi.com
Mathematical Physics Hindawi Publishing Corporation http://www.hindawi.com
Volume 2014
Journal of
Complex Analysis Hindawi Publishing Corporation http://www.hindawi.com
Volume 2014
International Journal of Mathematics and Mathematical Sciences
Mathematical Problems in Engineering
Journal of
Mathematics Hindawi Publishing Corporation http://www.hindawi.com
Volume 2014
Hindawi Publishing Corporation http://www.hindawi.com
Volume 2014
Volume 2014
Hindawi Publishing Corporation http://www.hindawi.com
Volume 2014
Discrete Mathematics
Journal of
Volume 2014
Hindawi Publishing Corporation http://www.hindawi.com
Discrete Dynamics in Nature and Society
Journal of
Function Spaces Hindawi Publishing Corporation http://www.hindawi.com
Abstract and Applied Analysis
Volume 2014
Hindawi Publishing Corporation http://www.hindawi.com
Volume 2014
Hindawi Publishing Corporation http://www.hindawi.com
Volume 2014
International Journal of
Journal of
Stochastic Analysis
Optimization
Hindawi Publishing Corporation http://www.hindawi.com
Hindawi Publishing Corporation http://www.hindawi.com
Volume 2014
Volume 2014