1 Introduction

In modern Qeueing theory it is often assumed that a customer’s service may have k phases and also be incredible, so he/she/it must repeated the service. This events was studied for the first time in Shahkar and Badamchizah [17]. Moreover vacation and restricted admissibility are usual events that occur in queueing systems.

For example, in communication networks a packet which is transmitted from the source is returned to the transmitter until it is successfully received at destination and in production system each defective item is sent back to the server for rework by the quality control desk. Unlike most of the other single server queues in which the server provides only one kind of service, the server provides k types of heterogeneous services and a customer may choose either type of service under single vacation policy. In the analysis of this model, steady state results for the probability generating functions of the queue size and the system size, the expected number of customers and the expected waiting time of customer in the queue and the system are obtained.

In general, queueing theory is an important subject in computers and operations research. Buffers /queues are used to store information that can not be transmitted instantaneously. Classical queueing systems assume that customers are in continuous contact with the server, that is, they can see whether or not the server is busy and thus commence service immediately whenever the service station becomes idle. However, queueing systems with elapse differ in that customers do not know the server state and consequently must verify if the server is idle from time to time. It is natural for telephone callers to break contact when the line is occupied and re-apply for connection later as a vacation. Madan [10], Madan and Choudhury [14] studied the M/G/1 queueing system with two phases of heterogeneous services such that the first phase of service follows by the second phase of service, under a Bernoulli vacationr schedule. An M X/G/1 queue system with an additional service channel were analyzed by Choudhury [8]. Furthermore, a similar work can be found in Artalejo [2] and Ke [9].

Madan and Choudhury [13] proposed an M X/G/1 queueing system, assuming batch arrivals with restricted admissibility of arriving batches and Bernoulli schedule server vacation. Earlier, Madan and Abu-Dayyeh [11, 12] dealt with this type of model and studied some aspects of batch arrivals Bernoulli vacation models with restricted admissibility, where all arriving batches are not allowed into the system at all time. Furtheremore in Chaudhry [5] and Alnowibet [1] the M/G/1 queueing systems with optional service are analyzed.

Recently in Badamchizadeh and Shahkar [3], Badamchizadeh [4], Salehirad and Badamchizadeh [16] has extended this models.

In many applications such as hospital services, production systems, bank services, computer and communication networks, there is many phases of services such that after completion of services, customers may leave the system or may immediately go for the next phase of service, or the services must be repeated.

In this paper the general case is study such that there are k phases of services, vacation and restricted admissibility. Unlike the usual batch arrival queueing systems, the policy of restricted admissibility of batches in which not all batches are allowed to join the system at all times, has been assumed in this model. In other words, an arriving batch will be allowed to join the system during the server’s non-vacation and vacation periods with constant probabilities. Also in this system for overhauling or maintenance purposes of the system, or serving other customers, the server being fatigue or for other reasons not mentioned here, the server may go to vacation.

In this paper the aim is the analyze of steady state conditon in a single server queue with a batch arrival Poisson input, k phases of heterogeneous service, restricted admissibility of batches, randomly feedback in services, and Bernoulli vacation for server. In Section 2 we deal with the mathematical model and definitions. Steady-State conditions and generating functions are discussed in Section 3. Mean queue size and mean response time are computed in Section 4, where in Section 5 some special cases are investigated. Finaly wiyh some numerical method the validity of model has been examined.

2 Mathematical model and definitions

We consider a queueing system such that:

  1. i)

    Customers arrive at the system in a compound Poisson process with a batch of random size X and mean rate λ > 0. Size of succesive arriving batches are X 1, X 2,…, where i.i.d random variables, distributed with probability mass function(p.m.f) \(d_{n}=Prob[X_{i}=n];n\geqslant 1\), probability genrerating function(PGF) \(d(z)=E[z^{X}_{1}]\). The first and second moments d (1) = E[X] and d (2) = E[X 2]; respectively, are assumed to be finite.

  2. ii)

    The server provides k phases of heterogenous service in succession. The service discipline is assumed to be on the basis of first come, first serve(FCFS). The first phase of service is essential for all customers, but as soon as the essential service is completed, a tagged customer moves for second phase with probability γ 1, feedback to tail of original queue with probability α 1 or leaves the system with probability β 1 = 1 − α 1γ 1.

    Similarly after completion of the second phase with probability γ 2 the customer leads to the third service or with probability α 2 feedback to the tail of original queue, or leaves the system with probability β 2 = 1 − α 2γ 2. Like that, in k’th phase he/she/it feedback with probability α k or leaves the system with probability 1 − α k .

    The service times for k phases are independent random variables, denoted by B i , i = 1, 2, …, k. Their Laplace-Stieltjes transform (LST)are \(B_{i}^{\ast }(s),i=1,2,\ldots ,k\) where we assume they have finite moments \(E({B_{i}^{l}})\) for \(l\geqq 1\) and i = 1, 2, … k.

  3. iii)

    There is a policy restricted admissibility of batches in which not all batches are allowed to join the system at all times. Let a(0 ≦ a ≦ 1) and b(0 ≦ b ≦ 1) be the probability that an arriving batch will be allowed to join the system during the period of the server’s non-vacation period(service time) and vacation period respectively.

  4. iv)

    As soon as each phase of a customer’s services is completed, the server may go for a vacation of random length V with probability 𝜃(0 ≤ 𝜃 ≤ 1) or it may continue to serve the next customer, if any, with probability (1 − 𝜃), otherwise it remains in the system and waits for a new arrival. We denote V(x),V (s) and E(V l) for distribution function (DF), LST and l t h finite moment of V,respectively, where l≥1.

  5. v)

    The random variables B i and V are all independent variables.

Definition 2.1

The modified service time or the time required by a customer to complete the service cycle is given by:

$$ B=\left\{\begin{array}{ll} B_{1}+{\sum}_{i=2}^{k} \gamma_{1} \gamma_{2} {\ldots} \gamma_{i-1} B_{i} & \text{with probability} (1-\theta)\\ B_{1}+{\sum}_{i=2}^{k} \gamma_{1}\gamma_{2} {\ldots} \gamma_{i-1} B_{i}+V & \text{with probability~} \theta \end{array}\right. $$
(2.1)

then the LST B (s) of B is given by

$$ B^{\ast}(s)=\theta B_{1}^{\ast}(s)\prod\limits_{i=2}^{k}\gamma_{1} \gamma_{2} {\ldots} \gamma_{i-1} B_{i}^{\ast}(s)V^{\ast}(s)+(1-\theta)B_{1}^{\ast}(s)\prod\limits_{i=2}^{k}\gamma_{1} \gamma_{2} {\ldots} \gamma_{i-1} B_{i}^{\ast}(s) $$
(2.2)

Further, for i = 1, 2, …, k we assume that B i (0) = 0, B i (∞) = 1 and B i (x) are continuous at x = 0, so that

$$ \mu_{i}(x)dx=\frac{dB_{i}(x)}{1-B_{i}(x)} $$
(2.3)

is the first order differential equation(hazard rate functions) of B i .

Also, V(0) = 0, V(∞) = 1 and V(x) is continuous at x = 0 , so that

$$ \nu(x)dx=\frac{dV(x)}{1-V(x)} $$
(2.4)

is hazard rate function of V.

Definition 2.2

Let N Q (t) be the queue size(including one being served, if any) at time ’t’ and for i = 1, 2, …, k the supplementary variables are defined as :

$$\begin{array}{l} B_{i}^{0}(t)\equiv \text{~the elapsed~} kth \text{~phase of service at time 't'}\\ V^{0}(t)\equiv \text{~the elapsed vacation time at time 't'} \end{array} $$

Now let us introduce the following random variables:

$$ Y(t)=\left\{\begin{array}{ll} 0 & \text {if the server is idle at time 't',}\\ i & \text {if the server is busy with~} ith~\text{phase of service at time 't'},\quad i=1,2,\ldots,k\\ k+1 & \text {if the server is on vacation at time 't'}. \end{array}\right. $$
(2.5)

From this we have a bivariate Markov process {N Q (t),L(t)} where L(t) = 0 if Y(t) = 0; \(L(t) ={B_{i}^{0}}(t)\) if Y(t) = i for i = 1, 2, …, k and L(t) = V 0(t) if Y(t) = k + 1. Now for i = 1, 2, …, k the following probabilities are define as:

$$\begin{array}{@{}rcl@{}} Q_{n}(x,t)=Prob[N_{Q}(t)=n,L(t)=V^{0}(t);x<V^{0}(t)\leqslant x+dx]\quad x>0,\quad n\geqslant0\\ P_{i,n}(x,t)=Prob[N_{Q}(t)=n,L(t)={B_{i}^{0}}(t);x<{B_{i}^{0}}(t)\leqslant x+dx]\quad x>0,\quad n\geqslant1 \end{array} $$

and

$$R_{0}(t)=Prob[N_{Q}(t)=0, L(t)=0] $$

Now the analysis of the limiting behaviour of this queueing process at a random epoch can be performed with the help of Kolmogorov forward equations, provided the following limits exist and are independent of initial state :

$$\begin{array}{c} R_{0}=\lim_{t\rightarrow \infty}R_{0}(t)\\ P_{i,n}(x)dx=\lim_{t\rightarrow\infty}P_{i,n}(x,t)dx\quad i=1,2,\ldots,k \quad x>0,\ n\geqslant1\\ Q_{n}(x)dx=\lim_{t\longrightarrow\infty}Q_{n}(x,t)dx\quad x>0,\quad n\geqslant0 \end{array} $$

Definition 2.3

For i = 1, 2, …, k the PGF of these probabilities are defined as follow:

$$ P_{i}(x,z)=\sum\limits_{n=1}^{\infty} z^{n}P_{i,n}(x)\quad |z|\leqslant1,\quad x>0 $$
(2.6)
$$ P_{i}(0,z)=\sum\limits_{n=1}^{\infty} z^{n}P_{i,n}(0)\quad |z|\leqslant1 $$
(2.7)

Also

$$ Q(x,z)=\sum\limits_{n=0}^{\infty} z^{n}Q_{n}(x)\quad |z|\leqslant1 ,\quad x>0 $$
(2.8)
$$ Q(0,z)=\sum\limits_{n=0}^{\infty} z^{n}Q_{n}(0) $$
(2.9)

3 Steady-state probability generating function

From Kolmogorov forward equations , for i = 1, 2, …, k the steady-state conditions can be written as follow

$$ \frac{d}{dx}P_{i,n}(x)\,+\,[\lambda +\mu_{i}(x)]P_{i,n}(x)\,=\,\lambda (1-a)P_{i,n}(x)\,+\, \lambda a\sum\limits_{k=1}^{n} d_{k} P_{i,n-k}(x)\quad n\!\geq \!2 ,\quad x\!>\!0 $$
(3.10)

and for n = 1

$$ \frac{d}{dx}P_{i,1}(x)+[\lambda +\mu_{i}(x)]P_{i,1}(x)=\lambda (1-a)P_{i,1}(x),\quad x>0 $$
(3.11)
$$ \frac{d}{dx} Q_{n}(x)+[\lambda +\nu (x)]Q_{n}(x)=\lambda (1-b)Q_{n}(x)+ \lambda b \sum\limits_{k=1}^{n}d_{k}Q_{n-k}(x)~~ n\geq 1,\quad x>0 $$
(3.12)
$$ \frac{d}{dx} Q_{0}(x)+[\lambda +\nu (x)]Q_{0}(x)=\lambda (1-b)Q_{0}(x) $$
(3.13)

also

$$\begin{array}{@{}rcl@{}} \lambda R_{0}&=&\lambda (1-a) R_{0}+(1-\theta)\sum\limits_{i=1}^{k}\beta_{i} {\int}_{0}^{+\infty} \mu_{i}(x)P_{i,1}(x)dx+(1-\theta )(1-\alpha_{k})\\ &&\times{\int}_{0}^{+\infty} \mu_{k}(x) P_{k,1}(x)dx+ {\int}_{0}^{+\infty}~ \nu (x)Q_{0}(x)dx \end{array} $$
(3.14)

For n ≥ 1 these sets of equations are to be solved under the following boundary conditions at x = 0

$$\begin{array}{@{}rcl@{}} P_{1,n}(0)&=&\lambda a d_{n} R_{0}+\sum\limits_{i=1}^{k} \alpha_{i} {\int}_{0}^{+\infty} \mu_{i}(x) P_{i,n}(x)dx + (1-\theta)\sum\limits_{i=1}^{k-1}\beta_{i}{\int}_{0}^{+\infty} \mu_{i}(x) P_{i,n+1}(x)dx\\ &&+(1-\theta)(1-\alpha_{k}) {\int}_{0}^{+\infty} \mu_{k}(x) P_{k,n+1}(x)d x+ {\int}_{0}^{+\infty}\nu(x)Q_{n}(x)dx \end{array} $$
(3.15)

and

$$ P_{i,n}(0)= \gamma_{i-1}{\int}_{0}^{+\infty} \mu_{i}(x) P_{i-1,n}(x)dx,\quad n\geqslant 1 $$
(3.16)

also for n ≥ 0

$$ Q_{n}(0)=\theta \sum\limits_{i=1}^{k-1}\beta_{i} {\int}_{0}^{+\infty}\mu_{i}(x)P_{i,n+1}(x)dx+ \theta (1-\alpha_{k}) {\int}_{0}^{+\infty} \mu_{k}(x) P_{k,n+1}(x)dx $$
(3.17)

Finally the normalizing condition is

$$ R_{0}+\sum\limits_{i=1}^{k} \sum\limits_{n=1}^{\infty} {\int}_{o}^{+\infty} P_{i,n}(x)dx + \sum\limits_{n=0}^{\infty} {\int}_{0}^{+\infty} Q_{n}(x)dx=1 $$
(3.18)

Theorem 3.1

For i = 1, 2,…,k from Eqs. 3.10 and 3.11 we have

$$ P_{i}(x,z)=P_{i}(0,z)[1-B_{i}(x)]e^{-\lambda a(1-d(z))x}~~ x>0 $$
(3.19)

and from Eqs. 3.12 , 3.13

$$ Q(x,z)=Q(0,z)[1-V(x)]e^{-\lambda b (1-d(z))x}\quad x>0 $$
(3.20)

Lemma 3.2

For i = 1, 2,…, k let

$$ B_{i}^{\ast}(\lambda a(1 -d(z))={\int}_{0}^{+\infty} e^{-\lambda a (1-d(z))x} dB_{i}(x) $$
(3.21)
$$ V^{\ast}(\lambda b(1-d(z))={\int}_{0}^{+\infty} e^{-\lambda b(1-d(z))x} dV(x) $$
(3.22)

be the z-transform of B i and V respectively, then

$$\begin{array}{@{}rcl@{}} I)z{P_{1}}(0,z)\! &=& \!\!\lambda ad(z){R_{0}}z\! +\! z{P_{1}}(0,z)\sum\limits_{i = 1}^{k} {\alpha_{i}}B_{i}^{\ast}\left(\lambda a(1 \!\,-\, d(z))\right. \,+\, (1 \!\,-\, \theta )P_{1}(0,z)\sum\limits_{i = 1}^{k} \beta_{i}B_{i}^{\ast}\left(\lambda a(1 \,-\, d(z))\right.\\ &&+ (1 \!- \theta )(1 \!- {\!\alpha_{k}})B_{k}^{\ast}\left(\lambda a(1 - d(z))\right. + zQ(0,z){V^{\ast}}\left(\lambda b(1 - d(z))\right. \,-\, \lambda a{R_{0}}z \end{array} $$
(3.23)

and for i = 1, 2,…, k

$$ II)P_{i}(0,z)={\Gamma}_{i-1}A_{i-1}^{\ast}(\lambda a(1-d(z))P_{1}(0,z) $$
(3.24)

where

$${{\Gamma}_{j}} = {\gamma_{1}}{\gamma_{2}} {\cdots} {\gamma_{j}} $$

and

$$ A_{j}^{\ast}(\lambda a(1 - d(z)) = \prod\limits_{i = 1}^{j} B_{i}^{\ast}\left(\lambda a(1 - d(z))\right. $$
(3.25)
$$ III)zQ(0,z) = \theta \sum\limits_{i = 1}^{k - 1} {\beta_{i}}B_{i}^{\ast}\left(\lambda a(1 - d(z))\right. P_{i}(0,z) + \theta (1 - {\alpha_{k}}) B_{k}^{\ast}\left(\lambda a(1 - d(z))\right. P_{k}(0,z) $$
(3.26)

Proof

  1. I):

    By multiplying Eq. 3.15 in z n and summation from n = 1 to +∞, adding Eq. 3.14 to result and using Eqs. 3.21 and 3.22.

  2. II):

    By multiplying Eq. 3.16 in z n and summation from n = 1 to +∞.

  3. III):

    By multiplying Eq. 3.17 in z n and summation from n = 1 to +∞.

In the rest of this section for simplifying the formulas we omit (λ a(1 − d(z))) from \(B_{i}^{\ast }\) and (λ b(1 − d(z))) from V .

Corollary 3.3

From Eq. 3.23

$$ {P_{1}}(0,z)\! =\! \frac{z\lambda a{R_{0}}(d(z) \! -\! 1)}{\left[{\beta_{1}}B_{1}^{\ast} \! -\! \sum\limits_{i = 2}^{k - 1} {\beta_{i}}{{\Gamma}_{i - 1}}A_{i}^{\ast} \! + \! (1 \! - {\! \alpha_{k}}){{\Gamma}_{k - 1}}A_{k}^{\ast}\right][1 \! -\! \theta (1 \! -\! V^{\ast})] \! -\! z\left(1 \! -\! {\alpha_{1}}B_{1}^{\ast}\! -\! \sum\limits_{i = 1}^{k} {\alpha_{i}}{{\Gamma}_{i \! -\! 1}} A_{i}^{\ast}\right)} $$
(3.27)

Remark 3.4

We set G(z) = [1 − 𝜃(1 − V (λ b(1 − d(z)))]. In the systems with vacation, this function has a main role. Also if \(H(z)=[\beta _{1}B_{1}^{\ast }+{\sum }_{i=2}^{k-1}\beta _{i} {\Gamma }_{i-1}A_{i}^{\ast }+(1-\alpha _{k}){\Gamma }_{k-1}A_{k}^{\ast }]\) and \(K(z) = 1 - {\alpha _{1}}B_{1}^{\ast } - \sum \limits _{i= 2}^{k} {\alpha _{i}}{{\Gamma }_{i - 1}} A_{i}^{\ast }\), then

$$ {P_{1}}(0,z) = \frac{z\lambda a{R_{0}}\left.(d(z) - 1)\right)}{zK(z)-H(z)G(z)} $$
(3.28)

and from Eqs. 3.24 and 3.25 we have respectively

$$ {P_{i}}(0,z) = \frac{z\lambda a{R_{0}}\left.(d(z) - 1)\right){{\Gamma}_{i - 1}}A_{i}^{\ast}}{zK(z)-H(z)G(z)} $$
(3.29)

and

$$ Q(0,z) = \frac{z\lambda a{R_{0}}\left.(d(z) - 1)\right)H(z)}{zK(z)-H(z)G(z)} $$
(3.30)

Corollary 3.5

Since

$$P_{1}(z)= {\int}_{0}^{+\infty}\ P_{1}(x,z)dx $$

hence from Eq. 3.19 for i = 1, using Eq. 3.28 and integration by part we have

$$ {P_{1}}(z) = \frac{zR_{0}(1 - B_{1}^{\ast})}{H(z)G(z)-zK(z)} $$
(3.31)

Similarly from Eqs. 3.19 for i = 2,…,k, 3.29 and 3.30 we have

$$\begin{array}{@{}rcl@{}} P_{i}(z)={\int}_{0}^{+\infty}P_{i}(x,z)dx&=&{\int}_{0}^{+\infty}P_{i}(0,z)[1-B_{i}(x)]e^{-\lambda \alpha(1-d(z))x}dx\\ &=&\frac{z{R_{0}}(1 - B_{i}^{\ast}){{\Gamma}_{i - 1}}A_{i - 1}^{\ast}}{H(z)G(z)-zK(z)} \end{array} $$
(3.32)

and

$$ Q(z) = \frac{\theta {R_{0}}(1 - {V^{\ast}})H(z)}{H(z)G(z)-zK(z)} $$
(3.33)

Remark 3.6

The unknown constant R 0 can be determined by using normalizing condition (3.18) which is

$$ R_{0}+P_{1}(1)+\sum\limits_{i=2}^{k}P_{2}(1)+Q(1)=1 $$
(3.34)

From Eqs. 3.31, 3.32 and 3.33 we have

$$ {R_{0}}[1 + P_{1}(z) + \sum\limits_{i = 2}^{k} P_{i}(z) + Q(z)] = {R_{0}}\left[\frac{(1 - z)H(z)}{H(z)G(z) - zK(z)}\right] $$
(3.35)

R 0 is the steady-state probability that the server is idle but available in the system, hence 1 − R 0 = ρ < 1 is the utilization factor of this system and the stability condition that under which the steady state solution exists.

The values of H(z), G(z), K(z) and their derivatives have main roles in rest of article, which are in next lemma.

Lemma 3.7

According to lemma (3.8) from [ 17 ] we have:

$$ \frac{d}{dz}A_{i}^{\ast}\left(\lambda a(1 - d(z))\right.{|_{z = 1}} = \lambda aE(X)\sum\limits_{l = 1}^{i} {E(B_{l})} $$
(3.36)
$$ \frac{d^{2}}{dz^{2}}A_{i}^{\ast}\left(\lambda a(1 - d(z))\right.{|_{z = 1}} \,=\, [\lambda aE(X)]^{2}\left\{ {\left[\sum\limits_{l =1}^{i} {E(B_{l})} \right]^{2}}\! +\! \sum\limits_{l = 1}^{i} {\text{var}} (B_{l})\right\} + \lambda aE(X(X - 1))\sum\limits_{l= 1}^{j} {E(B_{l})} $$
(3.37)

Now from Eq. 3.35

$$\rho=1-R_{0} = \frac{z[H(z) - K(z)] + H(z)[G(z) - 1]}{(z - 1)H(z)}\left| {{~}_{z = 1}} \right. $$

From remark (3.4)

$$ H(1)-K(1)=0,\qquad G(1)=1 $$
(3.38)

hence ρ is \(\frac {0}{0} \), therfore by L’Hopital rule we have

$$ \rho \,=\, \frac{H^{\prime}(1) \,-\, K^{\prime}(1) \,+\, H(1)G^{\prime}(1)}{H(1)}\,=\, \frac{\left[({\alpha_{1}} \!+ {\beta_{1}})(B_{1}^{\ast})^{\prime} + \sum\limits_{i = 2}^{k - 1} {({\alpha_{i}} + {\beta_{i}}){{\Gamma}_{i - 1}}\left(A_{i}^{\ast}\right)^{\prime} + \left(A_{k}^{\ast}\right)^{\prime}} \right]}{{\beta_{1}} + \sum\limits_{i = 2}^{k - 1}{\beta_{i}}{{\Gamma}_{i - 1}} + (1 - {\alpha_{k}}){{\Gamma}_{k - 1}}}+ \theta (V^{\ast})^{\prime} $$
(3.39)

4 Mean queue size and other measures of system

From Eqs. 3.31, 3.32, 3.33 and 3.35 the PGF of the queue size distribution at a random epoch is

$$\begin{array}{@{}rcl@{}} P_{Q}(z)&=&R_{0}+P_{1}(z)+P_{2}(z)+zQ(z)\\ &=&(1-\rho)\frac{(z-1)H(z)}{zK(z)-H(z)G(z)} \end{array} $$
(4.40)

Let L Q be the mean number of customers in the queue (i.e mean queue size), then we have

$$ L_{Q}=\frac{dP_{Q}(z)}{dz}\mid_{z=1} $$
(4.41)

Let \(P_{Q}(z)=(1-\rho )\frac {f(z)}{g(z)}\) where f(z) = (z−1)H(z) and g(z) = z K(z) − H(z)G(z).

f(z) and g(z) are zero at z = 1, hence L Q is the form \( \frac {0}{0} \). So using L’Hopital rule we have

$$ L_{Q}=(1-\rho)\frac{f^{\prime\prime}(1)g^{\prime}(1)-f^{\prime}(1)g^{\prime\prime}(1)}{2[g^{\prime}(1)]^{2}} $$
(4.42)

By computing f (1),f (1),g (1) and g (1) we have

$$\begin{array}{@{}rcl@{}} L_{Q} &=& \frac{g^{\prime}(1)}{f^{\prime}(1)}\frac{f^{\prime\prime}(1)g^{\prime}(1) - g^{\prime\prime}(1)f^{\prime}(1)}{2[g^{\prime}(1)]^{2}} = \frac{f^{\prime\prime}(1)}{2f^{\prime}(1)} - \frac{g^{\prime\prime}(1)}{2g^{\prime}(1)}\\ &=&\! \frac{H^{\prime}(1)}{H(1)}\,-\, \frac{2K^{\prime}(1) \,+\, K^{\prime\prime}(1) \,-\, H^{\prime\prime}(1) \,-\, 2H^{\prime}(1)G^{\prime}(1) \,-\, H(1)G^{\prime\prime}(1)}{2[K(1) \,+\, K^{\prime}(1) \,-\, H^{\prime}(1) \,-\, H(1)G^{\prime}(1)]} \end{array} $$
(4.43)

Now for computing the mean waiting-time of a test customer in this model, by using Little’s formula, this measure of system is equal

$$ W_{Q}=\frac{L_{Q}}{\lambda_{X}} $$
(4.44)

where, following the admissibility assumption of our model, λ X the actual arrival rate of batches is given by

$$\lambda_{X}=\lambda \alpha~(\text{proportion of non-vacation time})~+\lambda \beta~(\text{proportion of vacation time}) $$

But from Remark 3.2 we have

$$\text{the proportion of vacation time}~ =Q(1)=\theta \lambda b E(X)E(V) $$

Hence the proportion of non-vacation time including the first and second service times and idle time, is equal 1 − 𝜃 λ b E(X)E(V). Consequently

$$ \lambda_{X}=\lambda a + (b -a)\theta \lambda^{2} b E(X)E(V) $$
(4.45)

4.1 Particular case

If α i → 0 for each i = 1, 2, …, k, then K(z) = 1, and also H(1) = 1, therefore ρ = H (1) − G (1) and

$$ L_{Q}=H^{\prime}(1)+\frac{H^{\prime\prime}(1)+2H^{\prime}(1)G^{\prime}(1)+G^{\prime\prime}(1)}{2\left(1-H^{\prime}(1)-G^{\prime}(1)\right.} $$
(4.46)

5 Special cases and numerical results

Analyzing a queueing system via actual cases are very important and useful way to confirm the models. In this section we chose known distributions for service times and vacation time, so with this, and by some numerical approches the validity of the system are examained. Also this approch explains that our model can function reasonably well for certain practical problems. For simple computations we assume k = 2.

Case 1

For each i = 1,2, let the distribution of services time be p i -Erlang as follows:

$$\text{dB}_{\mathrm{i}}(x) = \frac{(p_{i}\mu_{i})^{\mu_{i}} x^{p_{i} - 1} e^{-p_{i} \mu_{i}x}}{(p_{i} - 1)!}dx\quad x > 0,p_{i} \geq 1 $$

hence

$$B_{i}^{\ast} (\lambda - \lambda d(z)) = \frac{(p_{i} \mu_{i} )^{p_{i}}}{\left[\lambda \left.(d(z) - 1) + p_{i} \mu_{i}\right) \right]^{p_{i}}} $$

so \(E(B_{i})=\frac {1}{\mu _{i}}\) and \(E\left (B_{i}^{2}\right )=\frac {p_{i} +1}{p_{i}{\mu _{i}^{2}}}\).

Also we assume the distribution of vacation time be q-Erlang

$$dV (x) = \frac{(q \nu )^{\nu} x^{q - 1} e^{- q \nu x}}{(q - 1)!}dx \quad x > 0, q\geq 1 $$

hence

$$V^{\ast} (\lambda - \lambda d(z)) = \frac{(q \nu )^{q}}{[\lambda (d(z) - 1) + q\nu]^{q}} $$

so \(E(V)=\frac {1}{\nu }\) and \(E(V^{2})=\frac {q+1}{q\nu ^{2}}\). If we chose geometric distribution for batch size, i.e d n = d(1 − d)n−1, 0 < d < 1, then \(E(X)=\frac {1}{d}\) and \(E(X(X-1))=\frac {2(1-d)}{d^{2}}\).

Now for numerical result we assume the following values for parameters such that the steady state condition(ρ < 1) obtained

Now by using above values and Eq. 3.39, the steady state condition is ρ = .227λ < 1, so λ < 4.4. By using Eq. 4.43

$$L_{Q}=.06 \lambda+\frac{.144\lambda+.004 \lambda^{2}}{.58-.13\lambda} $$

The graph of model is in Fig. 1.

Fig. 1
figure 1

L Q vis-a-vis λ

Now in this case we analyze L Q with respect to 𝜃. Using values of Table 1, and λ = 3 the steady-state condition is ρ = .18+.498𝜃 < 1, hence 𝜃 < .76. Also

$$L_{Q}=.18+\frac{.4782+.35\theta}{.34-.445\theta} $$

Figure 2 shows the graph of model. Also in Table 2 some values of L Q against 𝜃 are computed. Untile 𝜃 = .6, the system is tolerable, but after 𝜃 = .7 the system blows up.

Table 1 Values of parameters
Fig. 2
figure 2

L Q vis-a-vis 𝜃 for λ = 3

Table 2 Values of L Q with respect λ

Some values of L Q against λ are in Table 2.

Case 2

In this case we assume for i = 1, 2 the distribution of service times and vacation time are exponential as follow

$$dB_{i}(x) = \mu_{i} e^{- \mu_{i}x} dx,\quad E(B_{i}) = \frac{1}{\mu_{i}}\quad E\left(B_{i}^{2}\right) = \frac{2}{\mu_{i}^{2}} $$

and

$$dV (x) = \nu e^{- \nu x} dx,\quad E(V) = \frac{1}{\nu} \quad E\left(V^{2} \right) = \frac{2}{\nu^{2}} $$

With geometric distribution for batch size according to Case 1 and following values for parameters in Table 3 the steady state condition with respect μ 1 and μ 2 is \(\rho =\frac {.96}{\mu _{1}}+\frac {.29}{\mu _{2}}+.03<1\). Also

$$L_{Q}=\frac{.5}{\mu_{1}}+\frac{.11}{\mu_{2}}+\frac{\frac{1.12}{\mu_{1}}+\frac{.36}{\mu_{2}}+\frac{.32}{\mu_{1}^{2}}+.06\left[\left(\frac{1}{\mu_{1}}+\frac{1}{\mu_{2}}\right)^{2}+\left(\frac{1}{\mu_{1}^{2}}+\frac{1}{\mu_{2}^{2}}\right)\right]}{1-\frac{1}{\mu_{1}}+\frac{.3}{\mu_{2}}} $$

and the graph of model is in Fig. 3. According to this curve and values of Table 4, L decresses with respet μ i (Table 5), and according to values of tables after μ 1 = μ 2 = 2 the system is stable. Also since L Q = −6.19 when μ 1 = μ 2 = 1, then steady state condition begins after μ 1 = μ 2 = 1.28, but after μ 1 = μ 2 = 2, the system is stable.

Table 3 values of L Q with respect 𝜃
Fig. 3
figure 3

L vis-a-vis μ 1 a n d μ 2

Table 4 values of parameters
Table 5 values of L Q with respect μ i

6 Concluding remarks

In this paper we have studied a batch arrival k phases queueing system with randomly feedback, admissibility restricted and server’s vacation which generalized classical M/G/1 queue. An application of this model can be found in mobile network where the messages are in batch form, the service may have many phases such that services may be unaccepted and customer may repeat the services. Also, because of admissibility restriction in service or system, all batches don’t enter in service. Our investigations are concerned with not only queue size distribution but also waiting time distribution. This model extends the systems for example in Artalejo [2], Badamchizadeh and Shahkar [3], Badamchizadeh [4], Choudhury [7], Madan and Choudhury [13] and Madan and Choudhury [14]. A practical generalization for this system is to consider optional services and optional vacation.