A Batch Arrival Single Server Queue with Server Providing General Service in Two Fluctuating Modes and Reneging during Vacation and Breakdowns

We study the behavior of a batch arrival queuing system equipped with a single server providing general arbitrary service to customers with different service rates in two fluctuating modes of service. In addition, the server is subject to random breakdown. As soon as the server faces breakdown, the customer whose service is interrupted comes back to the head of the queue. As soon as repair process of the server is complete, the server immediately starts providing service in mode 1. Also customers waiting for service may renege (leave the queue) when there is breakdown or when server takes vacation. The system provides service with complete or reduced efficiency due to the fluctuating rates of service.We derive the steady state queue size distribution. Some special cases are discussed and numerical illustration is provided to see the effect and validity of the results.


Introduction
In this paper, we study a single server queue where the server is providing service in two different modes with probabilities  1 and  2 .In real life, service offered to each arriving unit may not be at the same rate.Sometimes the service offered by the server may be fast, mostly normal, and at times slow.Thus the efficiency of a queuing system is completely affected by different modes of service.In the current age of electronics, most of the servers in a queuing system are electronic devices.It is very natural that such machines may experience sudden mechanical breakdown which cause the stoppage of service until the machine is repaired.In such cases, the customer whose service is interrupted returns back to the head of the queue and waits until repair process is completed.In the real world, we see such breakdown occurring in machines used in production and manufacturing units, communication systems, traffic intersections, automatic teller machines, and so forth.
The server while providing service may take a pause or break which is referred to as vacation in the queuing literature.We have also considered the phenomenon of customers' impatience called reneging.Persons may renege or leave the queue after joining as they become impatient when the server breaks down or during server vacation.Here we assumed reneging to happen during breakdowns and vacation.This is a very realistic situation where we come across situations where customers prefer to leave without receiving service when there is a failure in the service system or the server is not available for a certain period of time.
There have been extensive studies in queues with vacations by prominent researchers since the last decade.Levy and Yechiali [1], Takagi [2], Doshi [3], Madan [4][5][6], to name a few.We see numerous contributions on queues with breakdown and service interruptions; see, for example, authors like Gaver [7], Aissani and Artalejo [8], Wang et al. [9], Ke [10], Tang [11], and Gray et al. [12].Recently, Khalaf et al. [13] have studied some queuing systems with random breakdown and delay times.Most of the queues studied here have focused on a single server providing service in the same rate and breakdown occurring during the working state of the server.But in our study, we have assumed that failure or 2 Journal of Probability and Statistics breakdown can occur even when the server is in idle state.Also, we further assumed that the server provides service in two fluctuating modes at two different rates.
Further significant contribution has been done on queues dealing with impatient customers like reneging and balking.Queues with reneging had been initially studied by Daley [14].We find studies on queues with reneging by authors like Altman and Yechiali [15], Bae et al. [16], Ancker and Gafarian [17], Choudhury and Medhi [18], and Zhang et al. [19].We see real-life implications on reneging during breakdown and vacations as persons waiting for service may discard the queue due to the absence of the server.
The mathematical model is defined under the following assumptions.
(1) Customers (or units) arrive in batches of variable size according to a compound Poisson Process.Let    ( = 1, 2, 3, . ..) be the first-order probability of arrival of batch "" customers in the system at a short interval of time (,  + ], where 0 ≤   ≤ 1, ∑ ∞ =1   = 1;  > 0 is the arrival rate of batches.(2) There is one server providing service in 2 fluctuating modes.The units are served one by one on a first come first served basis.We assume that the probability of providing service in mode 1 is  1 and mode 2 is  2 ( 1 +  2 = 1).The service time follows general distributions  1 and  2 at modes 1 and 2 with rates of service  1 and  2 , respectively.Let   () and   () be the distribution function and density function of the service time, respectively.The conditional probability of the service time during the interval (, +) given that elapsed service time is  is and thus (3) The system may fail or be subjected to breakdown at random.The breakdowns are time-homogeneous in the sense that the server can fail even while it is idle.The customer receiving service during breakdown returns back to the head of the queue.Once repair process is complete, the server immediately provides service to the customer in mode  1 .We assume that time between breakdowns occurs according to a Poisson process with mean rate of breakdown as  > 0. Further, the repair times follow a general (arbitrary) distribution with distribution function () and density function ().Let the conditional probability of completion of the repair process be () such that () = ()/(1 − ()) and thus () = () exp(− ∫  0 ()).(4) After each service completion, the server may take a vacation of random length with probability  or remain in the system with probability 1 − .The server's vacation time follows a general (arbitrary) distribution with distribution function () and density function ().Let () be the conditional probability of completion of vacation during the interval (,  + ] during the elapsed vacation time , so that and therefore (5) We assume that customers may renege (leave the system after joining the queue) when the server is on vacation and reneging is assumed to follow exponential distribution with parameter .Thus () =  − ,  > 0. Let  be the probability that a customer can renege during a short interval of time (,  + ].

Definitions and Notations
Let  ()  (, ) = Probability that at time  the server is providing service in mode , ( = 1, 2) since elapsed time , and there are  ( ≥ 0) customers in the queue excluding one customer in service.
()  () = ∫ ∞ 0   () (, ) = Probability that at time  there are  ( ≥ 0) customers in the queue excluding one customer in service irrespective of the value  ( = 1, 2).  (, ) = Probability that the server is under repairs since elapsed time  and there are  ( ≥ 0) customers in the queue.
() = ∫ ∞ 0   (, ) = Probability that the server is under repairs and there are  ( ≥ 0) customers in the queue irrespective of the value .
(, ) = ∫ ∞ 0 (, ) = Probability that at time  the server is on vacation with elapsed vacation time  and there are  ( ≥ 0) customers waiting in the queue for service.
() = ∫ ∞ 0   (, ) = Probability that at time  the server is on vacation and there are  ( ≥ 0) customers in the queue irrespective of the value . = the steady state probability that the server is idle.

Steady State Equations Governing the System
According to the assumptions above, we derive the following steady state differential equations:

𝑑 𝑑𝑥
(1)  0 () + ( +  1 () + )  (1)  0 () = 0 (4) The boundary conditions for solving the above differential equations are  (1)   (0 The left side indicates the probability that there is one customer in service and  customers in the queue.Zero in the parentheses of the left side of the boundary condition (12) implies the moment when the service starts in mode 1.The right side of (12) shows five mutually exclusive cases each contributing to the immediate start of service in mode 1.The first term on the right side means that as soon as a batch of size  + 1 arrives when the system is empty, the service in mode 1 starts immediately.Similarly, other terms on the right side of (12) indicate that just after the completion of a service in mode 1 or in mode 2, or completion of a vacation or completion of repairs, the service in mode 1 immediately starts.Utilizing similar reasoning, we get the other boundary conditions as follows:
Now utilize (49), ( 50), (51), and (52) in the normalizing condition and obtain  as Thus the utilization factor is obtained as Equation ( 53) is the stability condition under which the steady state exists given by  < 1.
We can substitute the value of  in (49)-( 52) and obtain clear and explicit expression for  () (1);  = 1, 2, the steady state probability that the server is active and providing service to customers in two fluctuating modes, 1 and 2 at any random point of time, (1) the steady state probability that the server is in failed state and is under repairs, and (1) the steady state probability that the server goes for vacation at any random point of time.
The probability generating function of the queue length irrespective of whether the server is idle but available in the system or the server is under repairs or whether the server is on vacation is obtained as   () =  +  (1) () +  (2) () +  () +  () . (55)

Special Cases
Case 1 (no reneging).Here we take  = 0. Then our model changes to a batch arrival single server vacation queue with server providing service in two fluctuating modes with breakdown and no reneging.
Then  changes to  =  − () and our equations in (46) reduce to  (1) where and  is given by Thus the stability condition  is Case 2 (no breakdowns and no reneging).Here  = 0,  = 0. Then the queuing model changes to a Batch arrival single server vacation queue with server providing service in two fluctuating modes.Thus  =  − (),  =  − () and equations in (46) reduce to  (1) where The probability of idle time  is Thus  = ()[ 1 ( 1 ) +  2 ( 2 ) + ()] < 1, where ( 1 ) and ( 2 ) are the expected value of service completion in modes 1 and mode 2, respectively.
Case 3 (no vacation).Here we take  = 0. Consequently our probability generating functions for the server providing service in modes 1 and 2 at random point of time are given by  (1) The steady state probability that the server is under repairs at random point of time is Thus , the probability of idle time is and the stability condition under which the steady state exists is Case 4 (server providing service in mode).In this case, we take  1 = 1,  2 = 0. Thus our probability generating functions for server providing service in mode 1, server under repairs, and server taking vacation are, respectively, given by ( 67), (68), and ( 69) The probability of idle time  is The utilization factor of the system is given by Case 5 (no breakdown, no vacation and no reneging).The corresponding results for this particular case are obtained by putting  = 0,  = 0,  = 0. Consequently  =  − (),  =  − ().Thus  *  (0) = 1,  = 1, 2,  * (0) = 1,  * (0) = 1.With these substitutions in our main results, we obtain the following.
The probability generating functions of the queue size when the server is providing service in mode 1 and mode 2 are The idle time probability  is given by Thus  = (){ 1 ( 1 ) +  2 ( 2 )} < 1 is the stability condition under which the steady state condition holds and (  ) = lim  → 1 [(1 −  *  ( − ()))/( − ())];  = 1, 2 is the expected value of service completion in mode 1 and mode 2, respectively.
Case 6 (no breakdown, no vacation and no reneging and server providing service in single mode).The corresponding results for this particular case are obtained by putting  = 0,  = 0,  = 0, and  2 = 0. Consequently  1 = 1, = −(), with these substitutions in our main results, we obtain the following.
The probability generating function of the queue size when the server is providing service in single mode  (1) The idle time probability  is given by  = 1 − ()() and  = ()() < 1, is the stability condition under which the steady state conditions are satisfied.
Equation (74) gives the probability generating function of the number of customers in the queue at random epoch for an   //1 queueing system.The units of arrivals are also assumed to be one by one, such that () = 1.Also here () = 1/ and () = 1/.Thus our equations in (46) changes to  (1) Probability that the server is providing service in mode 1 and mode 2 at a random point of time is The probability that the server is under repairs at random point of time is Probability that the server is on vacation at random point of time is The probability that the server is idle but available in the system is given by And the utilization factor is (80)

Numerical Example
We illustrate a numerical example in order to see the effect and validity of our results of the different parameters used in our model, namely, the failure rate , reneging rate , the completion of repairs parameter , and completion of vacation  on the utilization factor  and on the probabilities of various states of the system, namely, the working state, failure state, vacation, and idle state.We choose all the values of the parameters arbitrarily such that the stability condition (54) is not violated.We consider the special Case 6 for our numerical illustration.We fix the values of arrival rate , service rates  1 and  2 , the probabilities of providing service in modes 1 and 2  1 and  2 , and probability of server taking vacation .
Numerical Table 1 shows that for fixed  (repair completion rate) and fixed  (breakdown rate), the effect of increasing the reneging rate () and decrease in the vacation completion rate () shows a decrease in the utilization factor () and an increase in the idle time .It also shows that due to these changes, there is decrease in the probability of the server providing service in modes 1 and 2, respectively.It is clear from Figure 1 that as the rate of reneging increases, the proportion of server busy period () also increases while Table 1:  = 4,  1 = 8,  2 = 10,  1 = 0.4,  2 = 0.6, and  = 0.5.

Figure 2 :Figure 3 :
Figure 2: Effect of breakdown parameter  on the probability that the server is providing service in mode 1 (when  = 6,  = 2,  = 5).