This article studies a complex queueing system with vacations in a multi-phase random environment. When the system is in operative phase , , customers are served one by one. Whenever the system becomes empty at a service completion instant, the server starts a vacation, causing the system to move to vacation phase. When a vacation ends, if the system is empty, another begins. Otherwise, the system moves from the vacation phase to some operative phase with probability , . Using the method of probability generating function, we obtain the distribution for the steady-state queue length at arbitrary epoch. We also derive the distributions for the stationary sojourn time and the length of the server’s working time in a service cycle, respectively. Finally, we present some special cases and numerical examples.
Due to the important applications in various fields, such as production managing, computer systems, and communication networks, the vacation queues have been largely investigated in the past three decades. In 1986, Doshi1 wrote an excellent survey on vacation models. Since then, a large number of papers on vacation models have appeared, and many kinds of vacation policies have been presented. We give a few examples. Servi and Finn2 first introduced working vacation policy in an queueing system, where the server provides service at a lower speed rather than completely stopping service during the vacation period. Later, Li and Tian3 studied a queue with working vacations and introduced a new policy: vacation interruption in their paper. Under such a policy, the server can come back to the normal service rate no matter whether the vacation ends. And Gao and Liu4 presented an queue with single working vacation and vacation interruption under Bernoulli schedule. In this model, a customer is served at a lower service rate in the working vacation, and if there are customers in the queue at the instant of a service completion, the server resumes a normal busy period with probability or continues the vacation with probability . Recently, Vijaya Laxmi and Jyothsna5 investigated an queue with working vacations and Bernoulli schedule vacation interruption wherein the customers may be impatient. That is, during a working vacation, customers may renege due to impatience. Ye and Liu6 considered an M/M/1 queue with two vacation policies which comprise single working vacation and multiple vacations. For more comprehensive and excellent study on vacation models, the readers may refer to some researchers’ works such as Takagi,7 Tian and Zhang,8 and Ke et al.9
The emergence of queueing system operating in random environment has attracted much attention due to its important applications in many fields, such as manufacturing system, transportation system, and financial system. An queue in a two-phase random environment has been studied by Yechiali and Naor,10 Yechiali,11 Neuts,12 Kella and Whitt,13 and others, where the arrival and service levels may vary in different phase. And some researchers discussed the queue in a two-phase random environment, for example, Neuts,14 Boxma and Kurkova,15 and Huang and Lee.16 Falin17 studied the queue with arrival and service rate depending on the state of an auxiliary semi-Markov process and obtained the mean number of customers in the system. Blom et al.18 analyzed several aspects of the Markov-modulated infinite-server queue and derived some interesting results, such as some limit property. Baykal-Gursoy et al.19 analyzed the vehicular traffic flow interrupted by incidents using queueing models. Cordeiro and Kharoufeh20 studied an retrial queue with an unreliable server whose arrival, service, failure, repair, and retrial rates are all modulated by an exogenous random environment. Kim and Kim21 investigated a single server queue in which the service rate varied according to the underlying continuous time Markov process with finite states. Paz and Yechiali22 studied an queue in a multi-phase random environment where the system suffered a disastrous failure. Jiang et al.23 extended22 to an queueing system.
The queue with vacation and queue in random environment have been investigated extensively. But, to the best of our knowledge, the queueing system with vacations operating in random environment, which will be discussed in this article, has not been studied. But in fact, such a queueing system has many significant applications. For example, in a production system, the server usually has a vacation period when there is no workload to be processed. If on return from a vacation, the server finds one or more customers waiting, he or she goes on serving until the system becomes empty. But the service rate may change. The new service rate may depend on the arrival rate, environmental conditions, and operator experience. The above situation can be modeled by the queueing system with vacations operating in random environment. Also, the queueing system we discuss can be applied to performance evaluation of multibody systems. In general, complex mechanical systems (multibody systems) in many engineering fields, such as weapons, vehicles, and precision machineries, can be thought of as service systems. For example, a manufacturing facility used for producing customer-specified orders can be considered to be a server. The server takes vacations when there are no customer backorders. When returning from vacations, the server may have a new service intensity because of the different environmental conditions, such as different order quantity and different operator experience. In this situation, it is likely that the performance of the manufacturing facility can be evaluated by the queueing system we consider.
The rest of this article is organized as follows. Section “Model description” provides the model description. Section “Steady-state distribution” is devoted to obtain the probability generating function (PGF) of the steady-state queue length distributions at an arbitrary epoch. In section “Performance measure,” various performance measures, such as average queue length, average sojourn time, and the average length of working time in a service cycle, are calculated. Section “Special case” presents two special cases. Section “Numerical results” gives some numerical results and section “Conclusion” concludes the article.
Model description
We consider an type queueing system with vacations operating in a multi-phase random environment. When the system is in operative phase , , customers arrive according to a Poisson process of rate , and the service times of successive customers are independent and identically distributed random variables with exponential distribution with rate . Customers are served one by one according to the discipline of first-come first-served (FCFS). Whenever the system becomes empty at a service completion instant, the server starts a vacation, causing the system to move to a vacation phase . The vacation time is exponentially distributed with rate . In phase , the Poisson arrival rate is , and the server does not serve customers. When a vacation ends, if the system is empty, another begins. Otherwise, the system jumps from the vacation phase to some operative phase with probability , , where , . Note that there are no direct jumps among the operative phases. That is, if the system is in phase , , it must move to phase 0 when the system is empty. It stays in phase until there are customers in the system when a vacation ends, only then, can the system jump back to one of the operative phase , .
We represent the state of the system at time by a pair , where records the number of customers in the system and denotes the phase in which the system operates. It is obvious that the process is a continuous time Markov chain with state space and its transition rate diagram is shown in Figure 1.
State transition rate diagram of .
Steady-state distribution
In operative phase , , it is readily seen that the system acts as the classical M/M/1 queue with Poisson arrival rate and service rate . So as long as , , the system is stable. Moreover, if for a certain , when the system moves to phase , the system will not be stable. Hence, , , is the necessary and sufficient condition for the stability of the system we consider.
Assume that the above stability condition is fulfilled. Next, we analyze the steady-state distribution of the system.
We first define
The system’s steady-state balance equations are presented below
where is the Kronecker symbol.
We will use the method of PGF to solve the above balance equations, so we define the partial PGFs as follows
If the stability condition , , holds, the PGF of the steady-state queue length is given by
where
Performance measure
In this section, we will determine some interesting performance measures of the system.
Let be the number of customers in the system. Then, taking derivative of at , we have average number of customers in the system as follows
Next, we analyze the average time that the system resides in vacation phase . It is easy to know that the probability of no customer arrival during a vacation is , that is, the probability that there are customers in the system at the end of vacation is . We know that if the system is empty when a vacation ends, another vacation begins, otherwise, the system jumps from the vacation phase to some operative phase . So, the number of vacation in phase is distributed with geometric distribution with parameter . Therefore, the average number of vacation is . Because the vacation time is exponentially distributed with rate , the average time of vacation is . Hence, the average time that the system resides in vacation phase is .
Using the above result, the average number of customers at the end of phase is , which is the product of the average time residing in phase and arrival rate of customer in phase . That is to say, the average number of customers at the beginning of some operative phase is . So, the average duration of time that the system resides in operative phase is , where is the mathematical expectation of busy period that one customer induces in phase .
From equations (5) and (12), the system is in phase with probability
Intuitively, the probability that the system is in phase is equal to the long-run proportion of time during which the system resides in phase . From the renewal-reward theorem, we have
where represents the average time between two consecutive instants at which a vacation phase commences, that is, the average length of a cycle, and is the average length of working time in this cycle. The detailed calculation of the average length of working time in this cycle will be presented below (see equation (27)).
Similarly, the probability that the system is in phase , , is equal to
Moreover, the probability that the system is empty is
It can also be explained by renewal-reward theorem. The average time required for one customer arrival in phase is . So, the proportion of time the system resides in state is given by
Now, cycle analysis will be given. A cycle is defined as the duration of time between two consecutive instants of phase beginning, . Then, we have types of cycles. Let be the length of type cycle, . Obviously, . Next, we analyze , .
During type cycle, the probability that the system visits the phase times is , where , and the average length of the cycle in this case is
Hence, we can obtain that
for . By equation (19) and renewal-reward theorem, we can also obtain the probability that the system resides in phase
The sojourn time of a customer is an important performance measure. We will derive the Laplace–Stieltjes transform (LST) of the stationary sojourn time distribution of an arbitrary customer. Let and be the stationary sojourn time of an arbitrary customer and a customer that arrives to the system when it is in state , respectively.
When a customer arrives in state , , the sojourn time until departure is the sum of service completions, which has Erlang distribution with stages and parameter . That is, . And its LST is
where is the LST of service time distribution in phase .
When a customer arrives in state , , the sojourn time until departure is the sum of residual vacation time and the service times of customers. Note that the residual vacation time is identically distributed with vacation time, and the system moves from phase to phase with probability , , where , . Combining all these things, we have
where and are the LST of sojourn time and vacation time , respectively.
Then, the LST of the stationary sojourn time distribution of an arbitrary customer can be given as follows
Using equation (22), the average sojourn time of an arbitrary customer is derived by
where
Finally, we give the LST of the length of working time in the type cycle. That is, we give the LST of the length of working time in the time interval between two consecutive instants of phase commencing.
Assume that the system is in state when the working time begins, where , . And in this case, we define and as the length of working time and its LST, respectively. Then, and are also the length of busy period caused by customers and its LST, respectively. Obviously, we have
where is determined by , and is the LST of service time distribution.
We denote by and the length of working time in the type cycle and its LST, respectively. Let be the probability that there are arrivals during phase , and be the probability that customers arrive during a vacation. Then, we can easily get
and
where is the probability that there are no arrivals during a vacation.
Combining all the things, we have
Thus, the average length of working time in the type cycle is
Special case
A special case of our model introduced in section “Model description” is when . That is, there are only one operative phase and one vacation phase. Assuming that the arrival rates are homogeneous, that is, . Then, our model translates into a classical queues with multiple vacations. Let . From equations (13) and (14), the PGF of the steady-state queue length is
The average steady-state queue length is
The average sojourn time of an arbitrary customer is
Another special case of our model introduced in section “Model description” is when the system is homogeneous, that is, all arrival rates and service rates are equal. In this case, our model also translates into queues with multiple vacations. Substituting and into equation (13), we obtain the PGF of the steady-state queue length as follows
Servi and Finn2 discussed queues with multiple working vacation. Assume in Servi and Finn2 that service rate during the working vacation. The model in this case coincides with our two special models. Of course, the aforementioned results are the same as well. Also, if we assume the service time distribution is exponential with parameter in Tian and Zhang’s system (Tian and Zhang,8 Theorem , p.19), equations (26) and (30) can be verified to be in agreement with the result of Theorem in Tian and Zhang.8
Numerical results
In this section, based on the results obtained, we present some numerical examples to study the impact of the parameters on the average queue length and average sojourn time. Without loss of generality, we assume that , then the system has two operative phases and a vacation phase.
First, we assume that the system parameters are . In Figure 2, we demonstrate the impact of the probability on the average queue length for different vacation rate . Figure 2 indicates that increases as increases when is equal to , respectively. On the other hand, if is fixed, decreases as increases.
The expected number of customers in the system versus .
Second, in Figure 3, we demonstrate the impact of the service rate on the average queue length for different values of . Assume that . Figure 3 indicates that decreases as increases when is equal to , respectively. On the other hand, if is fixed, decreases as increases.
The expected number of customers in the system versus .
Third, in Figure 4, we demonstrate the impact of the probability on the average sojourn time for different values of . Assume that the system parameters are . Figure 4 indicates that increases as increases when is equal to , respectively. On the other hand, if is fixed, decreases as increases.
The expected sojourn time versus .
Next, in Figure 5, we demonstrate the impact of the service rate on the average sojourn time for different values of . Assume that . Figure 5 indicates that decreases as increases for all different . On the other hand, if is fixed, decreases as increases.
The expected sojourn time versus .
Finally, suppose that . We present some numerical results of for and in Table 1. From Table 1, it is observed that for a fixed , decreases as increases. Also, it is observed that for , decreases as increases; however, for , increases as increases. Note that the critical value of is not equal to , that is, 2. This is true because of the effect of random environment.
The expected number of customers in the system versus and .
q1
0.10
0.25
0.40
0.55
0.70
0.85
1.0
E(L)
1.5
14.0309
13.5213
12.8333
11.8535
10.3462
7.7281
2.0556
1.6
7.1222
6.7469
6.2778
5.6746
4.8704
3.7444
2.0556
1.7
4.8636
4.5874
4.2619
3.8725
3.3986
2.8089
2.0556
1.8
3.7593
3.5588
3.3333
3.0778
2.7857
2.4487
2.0556
1.9
3.1120
2.9711
2.8185
2.6527
2.4717
2.2735
2.0556
2.0
2.6905
2.5976
2.5000
2.3974
2.2895
2.1757
2.0556
2.1
2.3963
2.3427
2.2879
2.2318
2.1744
2.1157
2.0556
2.2
2.1806
2.1597
2.1389
2.1181
2.0972
2.0764
2.0556
2.3
2.0163
2.0232
2.0299
2.0365
2.0430
2.0493
2.0556
2.4
1.8877
1.9198
1.9476
1.9760
2.0034
2.0299
2.0556
Conclusion
In this article, we studied an queue with vacation in a multi-phase random environment. For this model, we obtained the PGF of the steady-state queue length at arbitrary epoch. Performance measures such as the average queue length, the average length of a cycle, and the probability that the system is in phase were also presented. Furthermore, we obtained the LST of the steady-state sojourn time distribution of an arbitrary customer and the server’s working time distribution in a cycle, respectively. We investigated two special cases of our model. Finally, we gave some numerical examples to demonstrate the impact of parameters on the average queue length and the average sojourn time, respectively.
Footnotes
Academic Editor: Chuanzeng Zhang
Declaration of conflicting interests
The author(s) declared no potential conflicts of interest with respect to the research, authorship, and/or publication of this article.
Funding
The author(s) disclosed receipt of the following financial support for the research, authorship, and/or publication of this article: This work was supported by National Natural Science Foundation of China (Grant No. 60874118).
References
1.
DoshiB. Queueing systems with vacations—a survey. Queueing Syst1986; 1: 29–66.
2.
ServiLDFinnSG. M/M/1 queues with working vacations (M/M/1/WV). Perform Evaluation2002; 50: 41–52.
3.
LiJTianN. The discrete-time GI/Geo/1 queue with working vacations and vacation interruption. Appl Math Comput2007; 185: 1–10.
4.
GaoSLiuZ. An M/G/1 queue with single working vacation and vacation interruption under Bernoulli schedule. Appl Math Model2013; 37: 1564–1579.