Abstract

This paper considers a queue with vacations and multiple service phases. Whenever the system becomes empty, the server takes a vacation, causing the system to move to vacation phase . If the server returns from a vacation to find no customer waiting, another vacation begins. Otherwise, the system jumps from phase to some service phase with probability Using the matrix geometric solution method and semi-Markov process, we obtain the distributions of the stationary system size at both arrival and arbitrary epochs. The distribution of the stationary waiting time of an arbitrary customer is also derived. In addition, we present some performance measures such as mean waiting time of an arbitrary customer, mean length of the type- cycle, and mean number of customers in the system at the end of phase . Finally, some numerical examples are presented.

1. Introduction

Queueing system with vacations has been well studied in the past three decades and widely used to model many problems in computer networks, communication, service systems, and manufacturing systems. Levy and Yechiali [1] were first to investigate the queueing model with vacations. Later, many researchers have made an extensive study of such a model under the assumption that the server takes vacations between two successive busy periods. Excellent surveys on queueing models with vacations can be found in Doshi [2], Takagi [3], Tian and Zhang [4], Ke et al. [5], and so on.

We consider a type vacation queue in which the interarrival times form an independent identically distributed sequence of random variables having a general distribution function. Some literatures on this type of vacation queue have emerged. In 1989, Tian et al. [6] applied the matrix analytic method to analyze a queue with exhaustive service and multiple exponential vacations. Chatterjee and Mukherjee [7] analyzed the same model as that in Tian et al. [6]. But in [7], the vacation times are independently and identically distributed with a general distribution. Chae et al. [8] studied the queue with single vacation and obtained the stochastic decomposition structures of queue length and the sojourn time. Baba [9] considered a queue with multiple working vacations. Banik et at. [10] provided a study on a finite buffer queue with multiple working vacations. The queue with multiple working vacations and vacation interruption was analyzed by Li et al. [11]. Recently, a queue with single working vacation can be seen in the survey of Li and Tian [12]. Tao et al. [13] analyzed the queue with Bernoulli-schedule-controlled vacation and vacation interruption. Ye and Liu [14] investigated the with single working vacation and vacations.

In this paper, we extend the excellent works of Tian et al. [6] and Li and Liu [15] to a vacation queue with multiple service phases. In [6], the service rate is a constant. In fact, in most of the literature on queueing theory, the service rate is homogeneous; that is, it is a constant. But, it is not reasonable in some cases. In real life, the service rate may change with the change of the environment. Several authors have contributed to the investigation of the queueing systems whose service rates are variable, including Yechiali and Naor [16], Neuts [17], Boxma and Kurkova [18], Cordeiro and Kharoufeh [19], and B. Kim and J. Kim [20]. Most recently, Paz and Yechiali [21] considered an queue in a multiphase random environment with disasters. In their model, the system moves from repair phase to some service environment with a certain probability after being repaired. Jiang et al. [22, 23] extended Paz and Yechiali’s work to an and queue. In [15], Li and Liu studied a discrete-time queue with vacations in random environment in which the system jumps from vacation phase to a service phase with a certain probability when vacation phase ends. Inspired by [6, 15], we investigate the vacation queue with multiple service phases. When vacation phase ends, the system switches to a service environment with a certain probability, where the service rate in each service phase may be different.

The queueing system we discuss has potential application in several situations. For example, in manufacturing systems, a flexible manufacturing facility can be considered to be a server, which is mainly used to produce customer-specified products. When there are no customer backorders, the facility keeps on taking vacations. If, on return from a vacation, there is at least one customer order waiting, the facility then resumes service normally. But the service rate may change since the operator may be different.

The rest of this paper is organized as follows. Section 2 presents the model description. In Section 3, we provide the transition analysis for an embedded Markov chain. Section 4 is devoted to derive the stationary system size distribution at arrival epochs. Section 5 gives the stationary system size distribution at arbitrary epochs. Sections 6, 7, and 8 present the waiting time distribution, mean number of customers in the system at the end of phase , and results for cycle analysis, respectively. Section 9 provides some numerical examples and Section 10 concludes the paper.

2. Model Description

In this paper, we provide a detailed analysis of the GI/M/1 queue with vacations and multiple service phases. Our queueing system is described as follows. Whenever the system becomes empty, the server begins a vacation of random length ; that is to say, the system moves to vacation phase . If the server returns from a vacation to find no customer waiting, another vacation begins. Otherwise, the system jumps from phase to some service phase with probability , where and . Let represent the arrival epoch of th customer with . The interarrival times are independent and identically distributed (i.i.d.) with a general distribution function, denoted by , a mean, denoted by , and a Laplace Stieltjes transform (LST), denoted by . When the system is in phase , the server stops serving customers, and the vacation times are i.i.d. exponentially distributed with rate . When the system is in service phase , the service times are i.i.d. exponential random variables with rate of . Note that the system can not directly move from one service phase to another service phase. That is, if the system becomes empty, it must move to phase first. In addition, once the system moves to service phase , the customers are served with the fixed rate . Finally, the interarrival times, service times, and vacation times are assumed to be mutually independent, and customers are served according to the discipline of first-come-first-served.

3. Embedded Markov Chain

Let denote the number of customers in the system at time , and let represent the number of customers before the th arrival. Definewhere .

Because both vacation and service times have memoryless property, the process is an embedded Markov chain with the state space

In order to express the transition matrix of , let us define

Now, we consider the transition probabilities of . First, considering the case that the system is in service phase , the transition from to occurs if there are service completions during an interarrival time. Then, we haveThe transition from to arises if customers are served and then the server enters into the vacation phase. From (4), we obtainSecond, the transition from to is possible, only if . This transition occurs if the remaining vacation time is greater than an interarrival time. Then, we haveThird, the transition from to occurs if there are service completions between the end of a vacation and a customer arriving. Therefore we havefor . For , , we haveFrom (6)–(8), we get

If we sequence the states in the lexicographic order, , the transition probability matrix of can be written as the Block-Jacobi matrixwhereIt is clear that is a stochastic matrix and the process is irreducible and aperiodic.

4. Stationary Distribution at Arrival Epochs

In this section, we will derive the stationary distribution of at the arrival epochs by using the matrix geometric approach. First, we introduce the following lemmas.

Lemma 1. The Markov chain is stable if and only if and , .

Proof. It is easy to see that our system acts as the classical queue with arrival rate and service rate during service phase . So as long as and , , the Markov chain is stable. That is, and , , are a sufficient condition for stability of . On the other hand, obviously, if , the Markov chain will not be stable, and if there is an , , since , then when the system moves to service phase , the Markov chain will not be stable, either. Thus, and , , are necessary for stability of .

Lemma 2. If , then the equation has a unique root in the range , .

Proof. We set . Evidently, , and . Further, for , we haveSince , , then . Thus, the equation has a unique root in the range , denoted by .

Lemma 3. If , , then the matrix equation has the minimal nonnegative solutionwhere , is the unique root of equation in the range , , and

Proof. Since each is a special upper diagonal matrix, if there exists the solution of the matrix equation , then can be assumed having the same upper diagonal structure asThenSubstituting into the matrix equation, we haveThus, , and from Lemma 2, is the unique root of equation in the range , . Substituting in the third equation of (17), we haveBy substituting (18) and in the third equation of (17), we can obtain Then the proof is completed.

Let be the stationary probability vector of , where

Theorem 4. If and , , the stationary probability vector exists and is given byand for , can be obtained bywhere is a column vector with all its components equal to one, is the identity matrix, andwith

Proof. Based on Theorem  1.5.1 of Neuts [24], if the Markov chain is positive recurrent, then the matrixhas positive left invariant vector, and is given by the positive left invariant vector and the normalizing conditionwhere is a column vector with all its components equal to one and is the identity matrix. From Lemma 1, if and , , then is positive recurrent; thus we have (21) and (22).
For , using equation (1.5.4)  of Neuts [24], we obtainNow, we are ready to derive the expression of in the following.
Substituting the expressions for , , , , and in (25), we havewhereFor , we first haveFrom (see Lemma 3), then can be obtained byObviously, we have , and from (30), we obtainFor , we haveIt is easy to obtain the expressions for ,To compute the expression for , we first haveTherefore, from (14),Finally, the expressions for , can be easily obtained byThen the proof is completed.

Remark 5. If , let ; we havewhere , is the unique root in the range of equation , and , which are derived by Tian et al. [6].

Remark 6. If , let ; thenwhereFrom (21) and (22), we havewhereAll the above results coincide with the results derived in [6].

5. The Stationary Distribution at Arbitrary Epochs

In this section, we will derive the limiting distribution of by using the method of the semi-Markov process (SMP). To this end, we consider another stochastic process , where , and . Clearly, is a SMP, and is its embedded Markov chain.

Let denote the time that SMP resides in state , where . By the definition of SMP, we have , and , for all . LetThenEvidently, we have ; that is, the SMP and its embedded Markov chain have an identical limiting distribution.

Let . From the theory of SMP (see Gross et al. [25], P. 299), we obtainFor , from (22), we have

Similarly, for , we haveFinally, for , we can obtain .

Then, the expected stationary system size at an arbitrary epoch, denoted by , can be given by

Remark 7. If , let ; substituting the results in Remarks 5 and 6 into (46) and (47), we obtainthenwhich coincide with the result derived in [6].

6. The Stationary Waiting Time Distribution

Let and denote the stationary waiting time of an arbitrary customer and its LST, respectively. Due to the memoryless property of exponential distribution, the waiting time distribution of an arbitrary customer is given bywhere denotes the distribution of the vacation time, denotes the distribution of the service time in service phase , star denotes convolution, and denotes the -fold convolution of .

Then, from (22) and (51), we obtain the LST of the waiting time distribution as follows:where and denote the LSTs of and , respectively.

By (52), the mean waiting time of an arbitrary customer can be given by

Remark 8. If , let ; substituting the results in Remarks 5 and 6 into (52) and (53), we havewhich are derived in [6].

7. Mean Number of Customers in the System at the End of Phase 0

Let denote the mean number of customers in the system at the end of phase , and let represent the remaining interarrival time. The probability that no customer arrives during a vacation period is given byThat is, the probability that at least one customer arrives during a vacation period is .

In our model, if a vacation ends, the server finds no customer waiting, and a new vacation begins; otherwise, the system moves from phase to some service phase . Thus, the number of vacations in phase is distributed according to geometric distribution with parameter . Because the mean time of each vacation is , the mean time that the system spends in phase , denoted by , can be obtained bywhich is the product of the mean number of vacations that the system resides in phase and the mean time of each vacation.

From (56), the mean number of customers in the system at the end of phase iswhich is just the product of the mean time that the system spends in phase and the arrival rate of customers in phase .

8. Cycle Analysis

We define a cycle as the time interval between two successive epochs at which phase commences, . Then there are types of cycles. The length of type- cycle is denoted by .

First, we derive the mean length of the type- cycle.

During the type- cycle, the system visits vacation phase and certain service phase one time, , respectively. We know that the mean time that the system spends in phase is (see (56)). And when the system jumps from phase into certain service phase with probability , from (57), the mean time that the system spends in service phase should be equal to the product of the mean number of customers in the system at the end of phase and the mean busy period that one customer induces in service phase . Let represent the mean time that the system resides in service phase . Then we havewhere is the mean busy period that one customer induces in service phase .

Therefore, the mean length of the type- cycle is

Next, we consider the type- cycle, .

During the type- cycle, the time that the system visits phase follows a geometric distribution with parameter . And it is easy to find that the mean length of type- cycle during which the system visits phase times is Then we can obtain the mean length of type- cycle as follows:where .

9. Numerical Examples

In this section, some numerical experiments are shown to explore the effect of the model parameters on the system performance measures. First, we assume that customers arrive according to a Poisson process with rate , and ; that is, the system we consider translates into an queue with two service phases and a vacation phase. The model parameters are chosen as , , , , , and , unless they are considered as variables or their values are given in the respective figures. Using Lemma 3 and Theorem 4, the stationary state probability can be obtained. Then we can derive a variety of performance measures of the system.

Figure 1 demonstrates the effect of on for different vacation rate . As intuitively expected, the mean waiting time of an arbitrary customer increases with the increase of for any . And for a fixed , decreases as increases. This is obvious because as increases, the mean time of vacation decreases, and there are fewer customers in the system. The effect of on for different values of is illustrated in Figure 2. It can be observed that decreases with the increase of for different values of . And if is fixed, as intuition tells us, decreases as increases. In Figure 3, we plot the change trend of the mean waiting time of an arbitrary customer with varying values of . It is obvious that, for any , the larger is, the larger the mean waiting time becomes. And for a fixed , decreases with the increase of , as we expect.

Figure 4 demonstrates the effect of on for different vacation rate . It can be observed that, with the increase of , the probability that the system is empty declines for any , and if is fixed, increases with the increase of . Evidently, the change trends agree with the intuitive expectations. The effect of on is illustrated in Figure 5. As intuitively expected, we can see that increased leads to the larger for any given . Moreover, if is fixed, increases with the increase of . In Figure 6, we plot the change trend of with varying. We can find that decreases as increases for any given . For a given , when is relatively small, increases with the increase of ; however, when is relatively large, decreases with the increase of . That is, when is larger, the influence of to is greater. This phenomenon can be explained from the fact that .

Then, in Figure 7, we present a comparison result of three queueing models: the , , and models, where stands for a -Erlangian arrival interval and stands for a deterministic arrival interval. As demonstrated in Figure 7, the mean waiting time increases with the increase of for the three models, and for a fixed , the model has the largest value of , and the model has the smallest value.

Finally, Figures 810 demonstrate the effect of and on for the above three interarrival distributions when is fixed, where . In Figure 8, we plot the change trend of as increases from to under the corresponding three models, given that and . We can observe that is symmetrical about and the system efficiency is best when for each model. However, in Figures 9 and 10, we can see that if , , and , is not symmetrical and the value of that the system efficiency is best is greater than ; if , , and , is not symmetrical as well and the value of that the system efficiency is best is less than . Note that when , the model with two service phases actually translates into the model with only one service phase. From Figures 810, we can see that multiple service phases have important influence on the performance of the queueing system.

10. Conclusion

In this paper, we have carried out an analysis of queue with vacations and multiple service phases. We have obtained the distributions of the stationary system size at arrival and arbitrary epochs. Further, we have obtained the stationary waiting time distribution of an arbitrary customer. Some important performance measures of the system such as the mean waiting time of an arbitrary customer, the mean length of the type- cycle, and the mean number of customers in the system at the end of phase are obtained. Finally, the influence of the model parameters on several performance characteristics is demonstrated through some numerical experiments.

Conflicts of Interest

The authors declare that there are no conflicts of interest regarding the publication of this paper.

Acknowledgments

This work was supported by the National Natural Science Foundation of China (Grant no. 11201229).