Journal of Probability and Statistics

Volume 2011, Article ID 812726, 11 pages

http://dx.doi.org/10.1155/2011/812726

## On a Batch Arrival Queuing System Equipped with a Stand-by Server during Vacation Periods or the Repairs Times of the Main Server

^{1}School of Information Systems Computing and Mathematics, Brunel University, Middlesex UB83PH, UK^{2}College of Information Technology, Ahlia University, P.O. Box 10878, Bahrain

Received 25 January 2011; Accepted 20 May 2011

Academic Editor: Rongling Wu

Copyright © 2011 Rehab F. Khalaf 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.

#### Abstract

We study a queuing system which is equipped with a stand-by server in addition to the main server. The stand-by server provides service to customers only during the period of absence of the main server when either the main server is on a vacation or it is in the state of repairs due to a sudden failure from time to time. The service times, vacation times, and repair times are assumed to follow general arbitrary distributions while the stand-by service times follow exponential distribution. Supplementary variables technique has been used to obtain steady state results in explicit and closed form in terms of the probability generating functions for the number of customers in the queue, the average number of customers, and the average waiting time in the queue while the MathCad software has been used to illustrate the numerical results in this work.

#### 1. Introduction

Due to their wide applications in flexible manufacturing or computer communication systems, queueing system with vacations and queueing system with breakdowns have been studied by several authors including [1–8]. Recently the authors of [9] have studied some queueing systems with vacations and breakdowns.

In this work, we study an queueing system with Bernoulli schedule vacations and random breakdowns with an additional significant assumption that the system deploys a stand-by server during the vacation periods and the repair periods of the main server.

Madan [10] studied the steady state behavior of a queuing system with a stand-by server which provides service to costumers only during the repair period. In that work, repair times were assumed to follow an exponential distribution. The present paper considers both vacations and breakdowns with additional assumptions of deployment of a standby during the vacation periods and repair periods. We generalize results obtained not only by Madan [10] but also the results obtained by Maraghi et al. [9]. Most importantly, we assume that the service times, vacation times, and repair times have different general (arbitrary) distributions while the stand-by service times follow exponential distribution. Out of five distributions in this model we assume that four are a generally distributed, this is very important because all the other distributions such as exponential, deterministic, and Erlang-k distributions will be included.

The rest of this paper is arranged as follow. Section 2 gives the assumptions underlying the considered queueing system. Related definitions and used notations are given in Section 3. Equations governing the system are formulated in Section 4. In Section 5, we give the solution of the equations formulated in the previous section to find the queue size distribution at a random epoch. The average queue size and the average waiting time are given in Section 6. In Section 7, we consider a numerical example to illustrate application of our results.

#### 2. Assumptions

Customers arrive at the system in batches of variable size in a compound Poisson process. Let be the first order probability that a batch of *i *customers arrives at the system during a short interval of time , where and and is the mean arrival rate of batches. The customers provided service one by one on a “first come- first served basis.”

The service times of the main server follow a general (arbitrary) distribution with distribution function and density function . Let be the conditional probability density of service completion during the interval , given that the elapsed service time is , so that and, therefore

On completion of a service, the server may take a vacation of random length with probability , or may stay in the system providing service with probability , where .

The server’s vacation times follow a general (arbitrary) distribution with distribution function and density function . Let be the conditional probability of a completion of a vacation during the interval given that the elapsed vacation time is , so that and, therefore

The system may break down at random, and breakdowns are assumed to occur according to a Poisson stream with mean breakdown rate . Further we assume that once the system breaks down, the customer whose service is interrupted comes back to the head of the queue but it is instantly taken up for service by the stand-by server.

Once the system breaks down, its repairs start immediately and the duration of repairs follows a general (arbitrary) distribution with distribution function and density function . Let be the conditional probability density of repair completion during the interval , given that the elapsed repair time is , so that and, therefore

The stand-by server starts serving the customers as soon as the main server breaks down or as soon as the main server leaves for a vacation after completing a service. The stand-by service times follow an exponential distribution with stand-by service rate and mean stand-by service time .

We further assume that the main server joins the system immediately after the completion of its vacation or completion of its repairs, and the customer being served by the stand-by server is immediately transferred to the main server to start a service afresh.

All stochastic processes involved in the system are independent of each other.

#### 3. Notations

We let(i): probability that at time , there are customers in the queue excluding one customer in the service served by the main server, and the elapsed service time of this customer is . Accordingly, denotes the probability that there are customers in the queue excluding one customer in service irrespective of the value of ;(ii): probability that at time , there are customers in the queue (and one customer is being served by the stand-by server), and the main server is on vacation with elapsed vacation time . Accordingly, denotes the probability that at time , there are customers in the queue and the server is on vacation irrespective of the value of . As soon as the vacation starts the stand-by server starts serving the customers in the system;(iii): Probability that at time , there are () customers in the queue (and one customer is being served by the stand-by server) while the system is under repair with elapsed repair time . Accordingly, denotes the probability that at time , there are customers in the queue and the server is under repair irrespective of the value of ;(iv): probability that at time , there are no customers in the system and the server is idle but available in the system.

Assuming that the steady state exists, we let

#### 4. Equations Governing the System

According to the assumptions mentioned above, we have four possible states of our system during a short time interval : the first state is that the main server is providing service, the second is that the main server is on vacation and the stand-by server is providing service, the third state is that the main server is inactive due to a system breakdown and is under repair and the stand-by server is providing service, the last possible state is that the server is idle (there are no customers in the system) but available in the system. By discussing the probabilities of every situation and finding the limit as , we obtain the following set of differential-difference equations The following boundary conditions will be used to solve the above equations:

#### 5. Queue Size Distribution at a Random Epoch

Defining the following probability generating functions we multiply (4.1) by , take summation over from 1 to , adding to (4.2) then by simplifying and using (5.1) we get Using the same process, from (4.3), (4.4) and (4.5), (4.6) we get, respectively, Multiply (4.8) by , sum over from 0 to , and use the generating functions defined in (5.1), we get From (4.7), we have Multiply (4.9) by and sum over from 0 to , we get Similarly, from (4.10) we get Integrating (5.2) from 0 to yields where is given by (5.6). Let us consider .

Integrating equation (5.9) by parts with respect to yields where is the Laplace-Stieltjes transform of the service time .

Now multiplying both sides of (5.9) by and integrating over we get Using (5.11), from (5.7) we get Similarly, we integrate (5.3) from 0 to , we get Substituting by the value of from (5.12) in (5.13) we get

Let us consider now integrating (5.14) by parts with respect to we get where is the Laplace-Stieltjes transform of the vacation time .

Now multiplying both sides of (5.14) by and integrating over we get

Now integrating (5.4) from 0 to , yields

Substituting by the value of from (5.8) in (5.17) we get integrating (5.18) by parts with respect to we get where is the Laplace-Stieltjes transform of the repair time .

Now multiplying both sides of (5.18) by and integrating over we get

Now using (5.11), (5.16) and (5.20), (5.6) becomes where , from (5.21) equations (5.10), (5.15) and (5.19) become, respectively, Let denote the probability generating function of the queue size irrespective of the state of the system. That is, .

Then adding (5.22) we obtain

In order to find , we use the normalization condition Note that if then and , so is indeterminate of form. Therefore, we apply L’Hopitals Rule twice on (5.23), we get where and are the numerator and denominator of the right hand side of (5.23) respectively. Double primes in (5.25) denote the second derivative at . Carrying out the derivatives at we have where is the mean batch size of the arriving customers, , and the mean vacation time, and , and is the mean repair time.

Therefore, adding to (5.25) and equaling to 1 and simplifying we get From (5.28) we can find the utilization factor, , where .

As a particular case if we assume there is no stand by server this means that , using this in the main results of this paper, we get, These results agree with results given by [9].

#### 6. The Average Queue Size and the Average Waiting Time

Let denote the mean number of customers in the queue under the steady state. Then
Since this formula gives 0/0 form, then using the L'Hopital's rule four times we obtain
where and are given in (5.26) and (5.27), respectively, and
where **.**

#### 7. Numerical Example

To illustrate the results of this chapter numerically we consider that the service times, vacation times, stand-by service times, and repair times are exponentially distributed. All the values were chosen so that the steady state condition is satisfied. In Table 1 we will show the effect of the new contribution of this paper, where we will show the influence of the new parameter (stand-by service rate) on the trends. We choose the following values , , , , , , , and , we consider that takes the values 0, 1, 4, 6, 8, and 10.

Table 1 shows that increasing the value of decreases the value of utilization factor, the mean queue size, and the mean waiting time of the customers while the server idle time increases. All the trends shown by the table are as expected.

#### Acknowledgments

The authors would like to express their deep appreciation and thanks to the referee(s) for their comments and suggestions, which led to improvement of the paper in its present form.

#### References

- Y. Levy and U. Yechiali, “An M/M/s queue with servers vacations,”
*INFOR Journal*, vol. 14, no. 2, pp. 153–163, 1976. View at Google Scholar · View at Scopus - S. W. Fuhrmann and R. B. Cooper, “Stochastic decomposition in
*M*/*G*/1 queue with generalized vacations,”*Operations Research*, vol. 33, no. 5, pp. 1117–1129, 1985. View at Google Scholar · View at Scopus - B. T. Doshi, “Queueing systems with vacations—a survey,”
*Queueing Systems*, vol. 1, no. 1, pp. 29–66, 1986. View at Publisher · View at Google Scholar · View at Scopus - A. Aissani and J. R. Artalejo, “On the single server retrial queue subject to breakdowns,”
*Queueing Systems*, vol. 30, no. 3-4, pp. 309–321, 1998. View at Google Scholar · View at Scopus - J. Wang, J. Cao, and Q. Li, “Reliability analysis of the retrial queue with server breakdowns and repairs,”
*Queueing Systems*, vol. 38, no. 4, pp. 363–380, 2001. View at Publisher · View at Google Scholar · View at Scopus - W. J. Gray, P. P. Wang, and M. Scott, “A queueing model with multiple types of server breakdowns,”
*Quality Technology and Quantitative Management*, vol. 1, no. 2, pp. 245–255, 2004. View at Google Scholar - Q. Xu, S. Bao, Z. Ma, and N. Tian, “${M}^{[X]}/G/1$ queue with multiple vacations,”
*Stochastic Analysis and Applications*, vol. 25, no. 1, pp. 127–140, 2007. View at Publisher · View at Google Scholar · View at Scopus - K. C. Madan, W. Abu-Dayyeh, and M. Gharaibeh, “Steady state analysis of two
*Mx*/*Ma,b*/1 queue models with random breakdowns,”*International Journal of Information and Management Sciences*, vol. 14, no. 3, pp. 37–51, 2003. View at Google Scholar · View at Scopus - F. A. Maraghi, K. C. Madan, and K. Darby-Dowman, “'Batch arrival queueing system with random breakdowns and Bernoulli schedule server vacations having general vacation time distribution,”
*International Journal of Information and Management Sciences*, vol. 20, no. 1, pp. 55–70, 2009. View at Google Scholar · View at Scopus - C. K. Madan, “A bulk input queue with a stand-by,”
*The South African Statistical Journal*, vol. 29, pp. 1–7, 1995. View at Google Scholar