1 Introduction

Finite-source retrial queues are very useful and effective stochastic systems to model several problems arising in telephone switching systems, telecommunication networks, computer networks and computer systems, call centers, wireless communication systems, etc. To see their importance the interested reader is referred to the following works and references cited in them, for example Artalejo and Corral (2008); Dragieva and Phung-Duc (2017); Falin and Artalejo (1998); Falin and Templeton (1997); Gómez-Corral and Phung-Duc (2016) and Kim and Kim (2016).

Since in practice some components of the systems are subject to random breakdowns it is of basic importance to study reliability of retrial queues with server’s breakdowns and repairs. Finite-source retrial queues with an unreliable server have been investigated in several recent papers, see for example Almási et al. (2005); Dragieva (2014); Gharbi and Dutheillet (2011); Ikhlef et al. (2016); Roszik (2004); Wang et al. (2010, 2011) and Zhang and Wang (2013).

Searching the scientific databases we have noticed that relatively just a small number of papers have been devoted to systems when the arriving calls (primary or secondary) causes collisions to the request under service and both go to the orbit, see for example Ali and Wei (2015); Choi et al. (1992); Kim (2010); Kumar et al. (2010) and Peng et al. (2014). It should be noted that collisions decrease the effectiveness of the system performance. That is why new protocols should be developed to avoid the collision but unfortunately, it cannot be neglected, see Cao et al. (2018); Jinsoo et al. (2018); Kwak et al. (2017, 2018), Wentink (2017) and Yeo et al. (2017). This fact shows the importance of the mathematical modeling of such systems.

A research group in Tomsk State University (Russian Federation) has developed a very effective asymptotic method (Nazarov and Moiseeva 2006) by the help of which various systems have been investigated. Concerning to finite-source retrial systems with collision we should mention the following papers (Kvach 2014; Kvach and Nazarov 2015a, b, c; Nazarov et al. 2014).

A research group in Univesity of Debrecen (Hungary) has been dealing with systems with unreliable server/s as can be seen, for example in Almási et al. (2005); Sztrik (2005); Sztrik et al. (2006) and Wüchner et al. (2010) and that is why it was understandable that the two research groups started cooperation in 2017.

The present model is a generalization of the M/G/1//N retrial system treated in Kvach and Nazarov (2015a) where the server was reliable and the M/M/1//N system with unreliable server analyzed in Nazarov et al. (2019, 2019). The generalization has its own importance since the resulting new Kolmogorov-equations are more complicated and hence the solution needs more investigations. Even the method is the same but the system, equations, and the solution are different. The situation is similar when we use generating function, Laplace-transform, characteristic function approach for the solution of a given problem. In Tóth et al. (2017) the present model has been analyzed employing stochastic simulation and in Nazarov et al. (2019) by an algorithmic approach. The examples treated in these papers are the test results for comparisons to the present paper.

In this paper, a finite-source M/GI/1 retrial queuing system with collisions of customers and an unreliable server is considered. Applying the method of asymptotic analysis under the condition of an unlimited growing number of sources it is proved that the limiting probability distribution of the central and the normalized number of customers in the system follows a normal law with given parameters. Based on the first two asymptotic moments a Gaussian approximation is constructed. Accuracy and the range of applicability of the proposed approximation are analyzed. Based on these results in a consecutive paper by plan the asymptotic distribution of the waiting time distribution will be analyzed.

The rest of the paper is organized as follows. In Sections 2 and 3 the full description of the model is given with the help of the corresponding two-dimensional Markov process. Using a supplementary variable of residual service time the corresponding Kolmogorov-equations are derived in steady-state. Sections 4 and 5 are devoted to the first and second-order asymptotic. In Section 6 a Gaussian approximation is proposed to get the prelimit distribution of the number of customers in the system. We deal with several examples and comparisons showing the advantage of the asymptotic methods, and some comments are made. Finally, the paper ends with a Conclusion and some plans are highlighted.

2 Model Description and Notation

Let us consider (Fig. 1) a retrial queuing system of type M/GI/1//N with the collision of the customers and an unreliable server. The number of sources is N and each of them can generate a primary request with the rate λ/N. A source cannot generate a new call until the end of the successful service of this customer. If a primary customer finds the server idle and not failed he enters into service immediately in which the required service time has a probability distribution function B(x). Let us denote the service rate function by \(\mu (y)=B^{\prime }(y)(1-B(y))^{-1}\) and it’s Laplace -Stieltjes transform by B(y), respectively. Otherwise, if the server is busy an arriving (primary or repeated) customer involves in collision with the customer under service and they both move into the orbit. The retrial time of requests is exponentially distributed with the rate σ/N. We assume that the server is unreliable. The lifetime is supposed to be exponentially distributed with failure rate γ0 if the server is idle and with the rate γ1 if it is busy. When the server breaks down it is immediately sent for repair and the recovery time is assumed to be exponentially distributed with the rate γ2. We deal with the case when the server is down all sources continue the generation of customers and send it to the orbit. Similarly, customers may retry from the orbit to the server but all arriving customers immediately go into the orbit. Furthermore, in this unreliable model, we suppose that the interrupted request goes to the orbit immediately and its next service is independent of the interrupted one. All the above mentioned random variables are assumed to be independent of each other.

Fig. 1
figure 1

Finite-source M/GI/1 retrial queueing system with collision of the customers and unreliable server

Let Q(t) be the number of customers in the system at time t, that is, the total number of customers in the orbit and in service. Similarly, let C(t) be the server state at time t, that is

$$ C(t)=\left\{ \begin{array}{lll} 0, & \text{ if the server is idle at time} t, \\ 1, & \text{ if the server is busy at time} t, \\ 2, & \text{ if the server is down (under repair) at time} t. \end{array} \right. $$

Thus, we will investigate the process {C(t),Q(t)} which is not Markov. Using the supplementary variable method let us introduce the random process z(t) equals to the residual service time, that is the time interval from the moment t until the end of the successful service of the customer.

As we can see {C(t),Q(t),z(t)} is multi-dimensional Markov process, the component z(t) is determined only in those moments when the server is busy, that is when C(t) = 1.

3 Kolmogorov-Equations for the Steady-Steady Probability Distribution of the Number of Customers in the System

The present paper is a continuation of investigations published in Nazarov et al. (2017a). However, for a better understanding and compactness of our research, we repeat some parts of the above-mentioned paper.

Let us define the following probabilities

$$ \begin{array}{l} \displaystyle P_{k}(j,t)= P\{C(t)=k,Q(t)=j\},\qquad k=0,1,2 \\ \displaystyle P_{1}(j,z,t)= P\{C(t)=1,Q(t)=j,z(t)<z\}. \end{array} $$

It is easy to see that \( P_{1}(j,t) = \lim \limits _{z\rightarrow \infty } P\{C(t)=1,Q(t)=j,z(t)<z\}. \)

In a standard way, we can write the corresponding steady-state Kolmogorov-equations as follows

$$ \begin{array}{@{}rcl@{}} &&-\left[\lambda\frac{N-j}{N}+\sigma\frac{j}{N}+\gamma_{0} \right]P_{0}(j)+\frac{\partial P_{1}(j+1,0)}{\partial z}+\lambda \frac{N-j+1}{N} P_{1}(j-1) \\ &&+\displaystyle\frac{j-1}{N}\sigma P_{1}(j)+\gamma_{2} P_{2}(j)=0\ ,\\ && \frac{\partial P_{1}(j,z)}{\partial z}-\frac{\partial P_{1}(j,0)}{\partial z} -\left[\lambda\frac{N-j}{N}+\sigma\frac{j-1}{N}+\gamma_{1} \right]P_{1}(j,z) \\ &&+\displaystyle \lambda \frac{N-j+1}{N} B(z) P_{0}(j-1)+\frac{j}{N}\sigma B(z) P_{0}(j)=0\ ,\\ &&-\left[\lambda\frac{N-j}{N}+\gamma_{2} \right]P_{2}(j)+\lambda\frac{N-j+1}{N} P_{2}(j-1)+ \gamma_{0} P_{0}(j)+\gamma_{1} P_{1}(j)=0\ . \end{array} $$
(1)

Denoting the partial characteristic functions by

$$ \begin{array}{l} H_{k}(u)=\sum\limits_{j=0}^{N}{e^{iuj}P_{k}(j)} ,\ \ \ k=0,2 \ , \\ H_{1}(u,z)=\sum\limits_{j=1}^{N}{e^{iuj}P_{1}(j,z)} , \qquad H_{1}(u) = \lim\limits_{z\rightarrow\infty} H_{1}(u,z), \end{array} $$
(2)

where \(i=\sqrt {-1}\) is the imaginary unit then system (1) can be rewritten as

$$ \begin{array}{l} \displaystyle -\left( \lambda+\gamma_{0}\right) H_{0}(u)+\left[\lambda e^{iu}-\frac{\sigma}{N}\right]H_{1}(u)+\gamma_{2} H_{2}(u) \\\displaystyle+e^{-iu}\frac{\partial H_{1}(u,0)}{\partial z}+i\frac{(\sigma-\lambda)}{N} H_{0}^{\prime}(u)+ i\frac{(\lambda e^{iu}-\sigma)}{N}H_{1}^{\prime}(u)=0\ , \\ \displaystyle \lambda e^{iu}B(z) H_{0}(u) -\left[\lambda+\gamma_{1}-\frac{\sigma}{N}\right] H_{1}(u,z)+\frac{\partial H_{1}(u,z)}{\partial z} \\ \displaystyle-\frac{\partial H_{1}(u,0)}{\partial z}+i\frac{\left( \lambda e^{iu}-\sigma\right)}{N}B(z)H_{0}^{\prime}(u)+i\frac{\left( \sigma-\lambda\right)}{N} \frac{\partial H_{1}(u,z)}{\partial u}=0\ , \\ \displaystyle \gamma_{0} H_{0}(u)+\gamma_{1} H_{1}(u) +\left[\lambda \left( e^{iu}-1\right)-\gamma_{2}\right] H_{2}(u) \displaystyle+i\frac{\lambda}{N}\left( e^{iu}-1\right)H_{2}^{\prime}(u)=0\ . \end{array} $$
(3)

Summarizing the equations of the system (3) and letting \(z\rightarrow \infty \) we obtain

$$ \begin{array}{l} \displaystyle\lambda \left[H_{0}(u)+H_{1}(u)+ H_{2}(u)\right]+ i\frac{\lambda}{N}\left[H_{0}^{\prime}(u)+H_{1}^{\prime}(u)+H_{2}^{\prime}(u)\right]-e^{-iu}\frac{\partial H_{1}(u,0)}{\partial z} =0\ . \end{array} $$
(4)

We aim to solve systems (3)–(4) by the method of asymptotic analysis under the limiting condition of an unlimited growing number of sources. Since for finite values N the authors do not know any method for solving systems of linear differential equations with variable coefficients we apply \(N\rightarrow \infty \). Besides, to the best knowledge of the authors, such systems do not have an analytical solution.

4 Asymptotic of the First Order

Theorem 1

Let \(Q(\infty )\) be the number of customers in the system in steady-state then

$$ \lim\limits_{N\rightarrow\infty}E\!\exp\left\{i w\frac{Q(\infty)}{N}\right\}=\exp\left\{i w\kappa_{1}\right\} \ , $$
(5)

where the value of parameter κ1 is the positive solution of the equation

$$ \displaystyle \lambda\left( 1-\kappa_{1}\right)-a[\kappa_{1}]\left[R_{0}[\kappa_{1}]-R_{1}[\kappa_{1}]\right]+\gamma_{1} R_{1}[\kappa_{1}]=0, $$
(6)

here \(a\left [\kappa _{1}\right ]\) is

$$ a\left[\kappa_{1}\right]=\displaystyle \lambda \left( 1-\kappa_{1}\right)+\sigma\kappa_{1}, $$
(7)

and the stationary distributions of probabilities Rk[κ1] of the service state k are defined as follows

$$ \begin{array}{@{}rcl@{}} R_{0}[\kappa_{1}]&=&\displaystyle\left\{\frac{\gamma_{0}+\gamma_{2}}{\gamma_{2}}+\frac{\gamma_{1}+\gamma_{2}}{\gamma_{2}}\cdot\frac{a\left[\kappa_{1}\right]}{a\left[\kappa_{1}\right]+\gamma_{1}}\left[1-B^{*}(a[\kappa_{1}]+\gamma_{1})\right] \right\}^{-1}, \\ R_{1}[\kappa_{1}]&=&\displaystyle R_{0}[\kappa_{1}]\frac{a\left[\kappa_{1}\right]}{a\left[\kappa_{1}\right]+\gamma_{1}}\cdot\left[1-B^{*}(a[\kappa_{1}]+\gamma_{1})\right] , \\ R_{2}[\kappa_{1}]&=&\displaystyle\frac{1}{\gamma_{2}}\displaystyle\left[\gamma_{0} R_{0}[\kappa_{1}]+\gamma_{1} R_{1}[\kappa_{1}]\right]. \end{array} $$
(8)

The proof of the theorem was published earlier in Nazarov et al. (2017a) therefore we give only the system of equations from the proof of Theorem 1 which we will need in the proof of Theorem 2, namely

$$ \begin{array}{l} \displaystyle R_{1}^{\prime}(0)-aR_{0}+\left[a+\gamma_{1}\right]R_{1}=0, \ \\ \displaystyle R_{1}^{\prime}(0)= aR_{0} B^{*}(a+\gamma_{1}), \ \\ \displaystyle \gamma_{0} R_{0}+\gamma_{1} R_{1} -\gamma_{2} R_{2}=0, \ \\ \displaystyle R_{1}^{\prime}(0)-\lambda(1-\kappa_{1})=0. \ \end{array} $$
(9)

Besides, R1(z) denotes the steady-state probability that the server is busy and the residual service time is less than z which was obtained in the following form

$$ \displaystyle R_{1}(z)=e^{\left[\delta(\kappa)+\gamma_{1}\right]z}{\int\limits^{z}_{0}}e^{-\left[\delta(\kappa)+\gamma_{1}\right]x}\left\{ R_{1}^{\prime}(0)-\delta(\kappa)R_{0} B(x)\right\}dx. $$
(10)

If we denote by \(R_{1}^{\ast }(w)\) its Laplace-Stieltjes transform then it is not difficult to show that \(R_{1}^{\ast }(a+\gamma _{1}) = -a R_{0}B^{\ast ^{\prime }}(a+\gamma _{1})\).

Furthermore, R0, R1 stand for the steady-state probability that the server is idle, busy, respectively. Here for the simplified notation, we do not show the dependence on κ1 of the corresponding quantities, since as soon as κ1 is obtained they are defined. We will return to this system later in the proof of Theorem 2.

Here we should mention that the solution of Eq. 6 is not unique as we could see in the paper (Nazarov et al. 2017b). In that work an example was given for the reliable case with gamma-distributed service time and very special input parameters. The bi-stability phenomenon is very seldom was treated and explained.

In the following, we assume that the solution is unique. This could be validated, for example with the help of simulation by drawing the steady-state distribution of the number of customers in the system.

Hence the prelimit value of the average number of customers in the system, that is when N is fixed can be approximated by

$$ E\left\{Q(\infty)\right\} \approx N\kappa_{1}. $$

5 Asymptotic of the Second Order

The novelty of the paper is in this section since we will get a second-order approximation for a system with an unreliable server. The method is the same as in Kvach and Nazarov (2015a) but in this case, the system of Kolmogorov-equations is more complicated due to the unreliability of the server. To get the solution we need more steps and the structure of the solution is different. To get the variance is not obvious even in a special case when the failure rates of the server are zero which is the model treated in Kvach and Nazarov (2015a). To obtain a better approximation we need the variance that is the reason we state the following theorem

Theorem 2

$$ \lim\limits_{N\rightarrow\infty}E\!\exp\left\{iw\frac{Q(\infty)-\kappa_{1} N}{\sqrt{N}}\right\}=\exp\left\{\frac{(i w)^{2}}{2}\kappa_{2}\right\}, $$
(11)

the value of parameter κ2 is defined by expression

$$ \kappa_{2} =\displaystyle\frac{\lambda\left( 1-\kappa_{1}\right)\left\{b_{2}\displaystyle\left[1-b_{3}\right]+\lambda\left( 1-\kappa_{1}\right)(a+\gamma_{1})R_{2}+b_{1}\left[R_{0}-b_{3}\right]\right\}}{\lambda b_{2} +\left( \sigma-\lambda\right)\left\{(b_{1}+b_{2})\left[b_{3}-R_{1}^{\ast}(a+\gamma_{1})\right]-b_{1}\left[R_{0}-R_{1}\right]\right\} }, $$
(12)

where

$$ b_{1}=\lambda\left( 1-\kappa_{1}\right)(\gamma_{1}+\gamma_{2}), \quad b_{2}=\gamma_{2}\left[a+\gamma_{1}\right], \quad b_{3}=R_{0} B^{\ast}(a+\gamma_{1}), $$

and \(R_{1}^{\ast }(a+\gamma _{1})\) is the Laplace-Stieltjes transform of R1(z) given by eq.(10).

Proof

Introducing the following replacement in systems (3)–(4)

$$ \begin{array}{l} H_{k}(u)=\displaystyle H_{k}^{(2)}(u)e^{iuN\kappa_{1}}, \ \ \ k=0,1,2,\\ H_{1}(u,z)=\displaystyle H_{1}^{(2)}(u,z)e^{iuN\kappa_{1}}, \end{array} $$
(13)

and denoting a = a(κ1) = λ(1 − κ1) + σκ1, we obtain system of equations for function \(H_{0}^{(2)}(u)\), \(H_{1}^{(2)}(u,z)\), \(H_{1}^{(2)}(u)\) and \(H_{2}^{(2)}(u)\) in the form

$$ \begin{array}{l} \displaystyle -\left[a+\gamma_{0}\right] H_{0}^{(2)}(u)+ \left[\lambda e^{iu}(1-\kappa_{1})+\sigma\kappa_{1}-\frac{\sigma}{N}\right]H_{1}^{(2)}(u) +\gamma_{2} H_{2}^{(2)}(u)\\ \displaystyle+i\frac{\left( \sigma-\lambda\right)}{N} H_{0}^{(2)^{\prime}}(u)+ i\frac{\left( \lambda e^{iu}-\sigma\right)}{N}H_{1}^{(2)^{\prime}}(u)+e^{-iu}\frac{\partial H_{1}^{(2)}(u,0)}{\partial z}=0\ , \\ \displaystyle\left[ \lambda e^{iu}(1-\kappa_{1})+\sigma\kappa_{1}\right]B(z) H_{0}^{(2)}(u)-\left[a+\gamma_{1}-\frac{\sigma}{N}\right] H_{1}^{(2)}(u) \\ \displaystyle+i\frac{\left( \lambda e^{iu}-\sigma\right)}{N}B(z) H_{0}^{(2)^{\prime}}(u,z)+i\frac{\left( \sigma-\lambda\right)}{N} \frac{\partial H_{1}^{(2)}(u,z)}{\partial u} \\ \displaystyle + \frac{\partial H_{1}^{(2)}(u,z)}{\partial z}-\frac{\partial H_{1}^{(2)}(u,0)}{\partial z}=0\ , \\ \displaystyle \gamma_{0} H_{0}^{(2)}(u)+\gamma_{1} H_{1}^{(2)}(u) +\left[\lambda \left( 1-\kappa_{1}\right)\left( e^{iu}-1\right)-\gamma_{2}\right] H_{2}^{(2)}(u) \\ \displaystyle+i\frac{\lambda}{N}\left( e^{iu}-1\right)H_{2}^{(2)^{\prime}}(u)=0\ , \\ \displaystyle\lambda\left( 1-\kappa_{1}\right)\left[ H_{0}^{(2)}(u)+H_{1}^{(2)}(u)+H_{2}^{(2)}(u)\right]- e^{-iu}\frac{\partial H_{1}^{(2)}(u,0)}{\partial z} \\ \displaystyle+ i\frac{\lambda}{N}\frac{d}{du}\left[H_{0}^{(2)}(u)+H_{1}^{(2)}(u)+H_{2}^{(2)}(u)\right]=0\ . \end{array} $$
(14)

Introducing the following substitutions

$$ \begin{array}{l} \displaystyle\frac{1}{N}=\varepsilon^{2}\ ,\qquad u=\varepsilon w\ ,\\ \displaystyle H_{k}^{(2)}(u)=F_{k}^{(2)}(w,\varepsilon)\ , \ k=0,1,2 ; \ \ \ \ \ H_{1}^{(2)}(u,z)=F_{1}^{(2)}(w,z,\varepsilon)\ . \end{array} $$
(15)

system (14) can be rewritten as

$$ \begin{array}{l} \displaystyle -\left[a+\gamma_{0}\right] F_{0}^{(2)}(w,\varepsilon)+\left[\lambda e^{i\varepsilon w}(1-\kappa_{1})+\sigma\kappa_{1}-\varepsilon^{2}\sigma\right]F_{1}^{(2)}(w,\varepsilon) \\ \displaystyle +\gamma_{2} F_{2}^{(2)}(w,\varepsilon)+\varepsilon i\left( \sigma-\lambda\right)\frac{\partial F_{0}^{(2)}(w,\varepsilon)}{\partial w}\\ \displaystyle+ \varepsilon i\left( \lambda e^{i\varepsilon w}-\sigma\right)\frac{\partial F_{1}^{(2)}(w,\varepsilon)}{\partial w}+e^{-i\varepsilon w}\frac{\partial F_{1}^{(2)}(w,0,\varepsilon)}{\partial z}=0\ , \\ \displaystyle\left[ \lambda e^{i\varepsilon w}(1-\kappa_{1})+\sigma\kappa_{1}\right]B(z) F_{0}^{(2)}(w,\varepsilon) -\left[a+\gamma_{1}-\varepsilon^{2}\sigma\right] F_{1}^{(2)}(w,z,\varepsilon) \\ \displaystyle+\varepsilon i\left( \lambda e^{i\varepsilon w}-\sigma\right)B(z)\frac{\partial F_{0}^{(2)}(w,\varepsilon)}{\partial w}+\varepsilon i\left( \sigma-\lambda\right)\frac{\partial F_{1}^{(2)}(w,z,\varepsilon)}{\partial w} \\ \displaystyle+\frac{\partial F_{1}^{(2)}(w,z,\varepsilon)}{\partial z}-\frac{\partial F_{1}^{(2)}(w,0,\varepsilon)}{\partial z}=0\ , \\ \displaystyle \gamma_{0} F_{0}^{(2)}(w,\varepsilon)+\gamma_{1} F_{1}^{(2)}(w,\varepsilon) +\left[\lambda \left( 1-\kappa_{1}\right)\left( e^{i\varepsilon w}-1\right)-\gamma_{2}\right] F_{2}^{(2)}(w,\varepsilon) \\ \displaystyle+\varepsilon i\lambda\left( e^{i\varepsilon w}-1\right)\frac{\partial F_{2}^{(2)}(w,\varepsilon)}{\partial w}=0\ , \\ \displaystyle\lambda\left( 1-\kappa_{1}\right)\left[ F_{0}^{(2)}(w,\varepsilon)+F_{1}^{(2)}(w,\varepsilon)+F_{2}^{(2)}(w,\varepsilon)\right]-e^{-i\varepsilon w}\frac{\partial F_{1}^{(2)}(w,0,\varepsilon)}{\partial z} \\ \displaystyle+ \varepsilon i\lambda\frac{\partial}{\partial w}\left[F_{0}^{(2)}(w,\varepsilon)+F_{1}^{(2)}(w,\varepsilon)+F_{2}^{(2)}(w,\varepsilon)\right]=0\ . \end{array} $$
(16)

Our method is constructive. We show that the solution of this system can be written in the form of decomposition

$$ \begin{array}{l} F_{k}^{(2)}(w,\varepsilon)={\varPhi}_{2}(w)\left\{R_{k}+i\varepsilon w f_{k}\right\}+o(\varepsilon)\ , \ \ k=0,1,2 \\ F_{1}^{(2)}(w,z,\varepsilon)={\varPhi}_{2}(w)\left\{R_{1}(z)+i\varepsilon w f_{1}(z) \right\}+o(\varepsilon)\ . \end{array} $$
(17)

Substituting this form (17) into (16) keeping in mind the notion of o(ε) after simplifications we receive the following system of equations

$$ \begin{array}{l} \displaystyle -\left[a+\gamma_{0}\right]\left\{R_{0}+i\varepsilon w f_{0}\right\} + a \left\{R_{1}+i\varepsilon w f_{1}\right\} +i \varepsilon w \lambda (1-\kappa_{1})R_{1}+ i\varepsilon w f_{1}^{\prime}(0)\\ \displaystyle +\gamma_{2}\left\{R_{2}+i\varepsilon w f_{2}\right\}+(1- i\varepsilon w )R_{1}^{\prime}(0)+i \varepsilon \left( \sigma-\lambda\right)\left( R_{0}-R_{1}\right)\frac{{\varPhi}_{2}^{\prime}(w)}{{\varPhi}_{2}(w)} =o(\varepsilon)\ ,\\ \displaystyle a B(z) \left\{R_{0}+i\varepsilon w f_{0}\right\} -\left[a+\gamma_{1}\right] \left\{R_{1}(z)+i\varepsilon w f_{1}(z)\right\} \\ \displaystyle +i \varepsilon w \lambda (1-\kappa_{1}) B(z)R_{0} +R_{1}^{\prime}(z)-R_{1}^{\prime}(0)+i\varepsilon w \left[f_{1}^{\prime}(z)-f_{1}^{\prime}(0)\right] \\ \displaystyle +i \varepsilon \left( \lambda-\sigma\right)\left[R_{0} B(z)-R_{1}(z)\right]\frac{{\varPhi}_{2}^{\prime}(w)}{{\varPhi}_{2}(w)} =o(\varepsilon)\ ,\\ \displaystyle \gamma_{0}\left\{R_{0}+i\varepsilon w f_{0}\right\}+\gamma_{1}\left\{R_{1}+i\varepsilon w f_{1}\right\} - \gamma_{2}\left\{R_{2}+i\varepsilon w f_{2}\right\} \\ \displaystyle+i\varepsilon w \lambda \left( 1-\kappa_{1}\right) R_{2}= o(\varepsilon)\ , \\ \displaystyle\lambda\left( 1-\kappa_{1}\right)\left\{1+i\varepsilon w\left( f_{0}+f_{1}+f_{2}\right)\right\}-(1-i\varepsilon w) R_{1}^{\prime}(0)-i\varepsilon w f_{1}^{\prime}(0) \\ \displaystyle+ i \varepsilon \lambda \frac{{\varPhi}_{2}^{\prime}(w)}{{\varPhi}_{2}(w)}= o(\varepsilon)\ . \end{array} $$

After some calculations it can be seen that as \(\varepsilon \rightarrow 0 \) this system can be rewritten in the form

$$ \begin{array}{l} \displaystyle -\left[a+\gamma_{0}\right] f_{0}+ a f_{1}+\gamma_{2} f_{2}+ f^{\prime}_{1}(0)=-\lambda \left( 1-\kappa_{1}\right) R_{1}+ R_{1}^{\prime}(0)\\ \displaystyle-\left( \sigma-\lambda\right)\left( R_{0}-R_{1}\right)\frac{{\varPhi}_{2}^{\prime}(w)}{w {\varPhi}_{2}(w)}\ , \\ \displaystyle a B(z) f_{0}-\left[a+\gamma_{1}\right] f_{1}(z)+f^{\prime}_{1}(z)-f^{\prime}_{1}(0)=-\lambda\left( 1-\kappa_{1}\right)B(z) R_{0}\\ \displaystyle+\left( \sigma-\lambda\right)\left[R_{0} B(z)-R_{1}(z)\right]\frac{{\varPhi}_{2}^{\prime}(w)}{w {\varPhi}_{2}(w)}\ , \\ \displaystyle \gamma_{0} f_{0}+\gamma_{1} f_{1}-\gamma_{2} f_{2}=-\lambda\left( 1-\kappa_{1}\right) R_{2}\ , \\ \displaystyle \lambda\left( 1-\kappa_{1}\right) \left[f_{0}+f_{1}+f_{2}\right]-f^{\prime}_{1}(0)=-R_{1}^{\prime}(0) -\lambda\frac{{\varPhi}_{2}^{\prime}(w)}{w {\varPhi}_{2}(w)}\ . \end{array} $$
(18)

From these systems we get that function Φ2(w) can be written as

$$ {\varPhi}_{2}(w)=\exp{\left\{\frac{(iw)^{2}}{2}\kappa_{2}\right\}}\ , $$
(19)

coinciding with (11).

From (19) it follows that the expression \(\displaystyle \frac {{\varPhi }_{2}^{\prime }(w)}{w {\varPhi }_{2}(w)}\) is constant and has a form

$$ \frac{{\varPhi}_{2}^{\prime}(w)}{w{\varPhi}_{2}(w)}=-\kappa_{2}\ . $$

Thus, system (18) can be rewritten as

$$ \begin{array}{l} \displaystyle -\left[a+\gamma_{0}\right] f_{0}+ a f_{1}+\gamma_{2} f_{2}+ f^{\prime}_{1}(0)=-\lambda \left( 1-\kappa_{1}\right) R_{1}+ R_{1}^{\prime}(0)\\ \displaystyle+\left( \sigma-\lambda\right)\left( R_{0}-R_{1}\right)\kappa_{2}\ , \\ \displaystyle a B(z) f_{0}-\left[a+\gamma_{1}\right] f_{1}(z)+f^{\prime}_{1}(z)-f^{\prime}_{1}(0)=-\lambda\left( 1-\kappa_{1}\right)B(z) R_{0}\\ \displaystyle-\left( \sigma-\lambda\right)\left[R_{0} B(z)-R_{1}(z)\right]\kappa_{2}\ , \\ \displaystyle \gamma_{0} f_{0}+\gamma_{1} f_{1}-\gamma_{2} f_{2}=-\lambda\left( 1-\kappa_{1}\right) R_{2}\ , \\ \displaystyle \lambda\left( 1-\kappa_{1}\right) \left[f_{0}+f_{1}+f_{2}\right]-f^{\prime}_{1}(0)=\lambda\kappa_{2}-R_{1}^{\prime}(0) \ . \end{array} $$
(20)

Let us consider in more detail the second equation of the system (20). Using standard methods it is not difficult to see that the solution of this equation is

$$ \begin{array}{l} \displaystyle f_{1}(z)=e^{\left[a+\gamma_{1}\right]z}{\int\limits^{z}_{0}} e^{-\left[a+\gamma_{1}\right]y}\left[f^{\prime}_{1}(0)+(\sigma-\lambda)\kappa_{2} R_{1}(y) \right. \\ \displaystyle \left. -\left\{a f_{0}+(\sigma-\lambda)R_{0} \kappa_{2}+\lambda (1-\kappa_{1})R_{0}\right\}B(y) \right]dy. \end{array} $$
(21)

Execute the limiting transition at \(z\rightarrow \infty \) and take into account that the first factor of the right part of equality (21) in a limiting condition tends to infinity. Thus we can conclude that the second factor is equal to zero, that is

$$ \begin{array}{l} \displaystyle f^{\prime}_{1}(0) \int\limits^{\infty}_{0} e^{-\left[a+\gamma_{1}\right]y}dy+ (\sigma-\lambda)\kappa_{2} \int\limits^{\infty}_{0} e^{-\left[a+\gamma_{1}\right]y} R_{1}(y)dy \\ \displaystyle -\left[a f_{0}+(\sigma-\lambda)R_{0} \kappa_{2}+\lambda (1-\kappa_{1})R_{0}\right] \int\limits^{\infty}_{0} e^{-\left[a+\gamma_{1}\right]y} B(y)dy=0 \ . \end{array} $$

Performing simple calculations we obtain

$$ \begin{array}{l} \displaystyle f^{\prime}_{1}(0) -\left[a f_{0}+(\sigma-\lambda)R_{0} \kappa_{2}+\lambda (1-\kappa_{1})R_{0}\right] B^{*}(a+\gamma_{1}) \\ \displaystyle +(\sigma-\lambda)\kappa_{2} R_{1}^{*}(a+\gamma_{1})=0 \ . \end{array} $$
(22)

Taking into account the obtained equality (22) let us rewrite system (20) in the following form

$$ \begin{array}{l} \displaystyle -\left[a+\gamma_{0}\right] f_{0}+ a f_{1}+\gamma_{2} f_{2}+ f^{\prime}_{1}(0)=-\lambda \left( 1-\kappa_{1}\right) R_{1}+ R_{1}^{\prime}(0)\\ \displaystyle+\left( \sigma-\lambda\right)\left( R_{0}-R_{1}\right)\kappa_{2}\ , \\ \displaystyle f^{\prime}_{1}(0) -a B^{*}(a+\gamma_{1}) f_{0}= \lambda (1-\kappa_{1})R_{0} B^{*}(a+\gamma_{1}) \\ \displaystyle +(\sigma-\lambda)\kappa_{2} \left[R_{0} B^{*}(a+\gamma_{1})-R_{1}^{*}(a+\gamma_{1})\right] \ . \\ \displaystyle \gamma_{0} f_{0}+\gamma_{1} f_{1}-\gamma_{2} f_{2}=-\lambda\left( 1-\kappa_{1}\right) R_{2}\ , \\ \displaystyle \lambda\left( 1-\kappa_{1}\right) \left[f_{0}+f_{1}+f_{2}\right]-f^{\prime}_{1}(0)=\lambda\kappa_{2}-R_{1}^{\prime}(0) \ . \end{array} $$
(23)

Solution of the system (23) can be obtained in several steps, namely Step 1. Add the first and third equations of system (23) and subtract the second equation of system (23) from their sum then we obtain

$$ \begin{array}{l} \displaystyle -a \left[1- B^{*}(a+\gamma_{1}) \right] f_{0} +\left[a+\gamma_{1}\right] f_{1}=- \lambda (1-\kappa_{1})\left[R_{0} B^{*}(a+\gamma_{1})+R_{1}+R_{2}\right] \\ \displaystyle +(\sigma-\lambda)\kappa_{2} \left\{R_{0} \left[1-B^{*}(a+\gamma_{1})\right]-R_{1}+R_{1}^{*}(a+\gamma_{1})\right\}+R_{1}^{\prime}(0) \ . \end{array} $$
(24)

From the fourth equation of system (9) it follows that \(R_{1}^{\prime }(0)=\lambda (1-\kappa _{1})\). Also it is not difficult to get that \(\displaystyle a\left [1-B^{*}(a+\gamma _{1})\right ]=\frac {R_{1}}{R_{0}}(a+\gamma _{1})\). Then we can rewrite (24) in the form

$$ \begin{array}{l} \displaystyle -R_{1} \left[a+\gamma_{1}\right] f_{0} + R_{0} \left[a+\gamma_{1}\right] f_{1}= \lambda (1-\kappa_{1}){R_{0}^{2}}\left[1- B^{*}(a+\gamma_{1})\right] \\ \displaystyle +(\sigma-\lambda)\kappa_{2} R_{0} \left\{R_{0} \left[1-B^{*}(a+\gamma_{1})\right]-R_{1}+R_{1}^{*}(a+\gamma_{1})\right\} \ , \end{array} $$

from which we obtain

$$ \begin{array}{l} \displaystyle R_{0} f_{1}-R_{1} f_{0} = \frac{\lambda (1-\kappa_{1})}{a+\gamma_{1}}{R_{0}^{2}}\left[1- B^{*}(a+\gamma_{1})\right] \\ \displaystyle +\frac{(\sigma-\lambda)\kappa_{2} }{a+\gamma_{1}} R_{0}\left\{R_{0} \left[1-B^{*}(a+\gamma_{1})\right]-R_{1}+R_{1}^{*}(a+\gamma_{1})\right\} \ . \end{array} $$
(25)

Step 2.

Let us consider the third equation of the system (23). Multiplying term by term on λ(1 − κ1) = aR0B(a + γ1) which follows from the second and fourth equations of the system (9) we obtain an equation of the form

$$ \displaystyle a R_{0} B^{*}(a+\gamma_{1})\left\{ \frac{\gamma_{0}}{\gamma_{2}}f_{0} + \frac{\gamma_{1}}{\gamma_{2}} f_{1}\right\}- \lambda (1-\kappa_{1}) f_{2}= -\frac{1}{\gamma_{2}} \left[\lambda (1-\kappa_{1})\right]^{2} R_{2}. \\ $$

Adding the received equation to the second and fourth equations of system (23) we have

$$ \begin{array}{l} \displaystyle a B^{*}(a+\gamma_{1})\left\{ \left[\frac{\gamma_{0}+\gamma_{2}}{\gamma_{2}}R_{0} -1 \right]f_{0} + \frac{\gamma_{1}+\gamma_{2}}{\gamma_{2}}R_{0} f_{1}\right\}= \lambda \kappa_{2} \\ \displaystyle +(\sigma-\lambda)\kappa_{2} \left[R_{0} B^{*}(a+\gamma_{1})-R_{1}^{*}(a+\gamma_{1})\right] -\frac{1}{\gamma_{2}} \left[\lambda (1-\kappa_{1})\right]^{2} R_{2} \\ \displaystyle + \lambda (1-\kappa_{1}) \left[R_{0} B^{*}(a+\gamma_{1})-1\right] \ . \end{array} $$
(26)

Thus it is not difficult to see that \(\displaystyle \frac {\gamma _{0}+\gamma _{2}}{\gamma _{2}}R_{0} -1=-\frac {\gamma _{1}+\gamma _{2}}{\gamma _{2}}R_{1}\). Substituting it into equality (26) we obtain equality in the form

$$ \begin{array}{l} \displaystyle \frac{\gamma_{1}+\gamma_{2}}{\gamma_{2}} a B^{*}(a+\gamma_{1}) \left\{R_{0} f_{1}-R_{1} f_{0} \right\}= \lambda (1-\kappa_{1}) \left[R_{0} B^{*}(a+\gamma_{1})-1\right] \\ \displaystyle +(\sigma-\lambda)\kappa_{2} \left[R_{0} B^{*}(a+\gamma_{1})-R_{1}^{*}(a+\gamma_{1})\right] -\frac{1}{\gamma_{2}} \left[\lambda (1-\kappa_{1})\right]^{2} R_{2}+\lambda \kappa_{2} \ , \end{array} $$

from which it follows that

$$ \begin{array}{@{}rcl@{}} \displaystyle R_{0} f_{1}-R_{1} f_{0} &=& \frac{ \gamma_{2}}{\gamma_{1}+\gamma_{2}}\cdot \frac{1}{a B^{*}(a+\gamma_{1})}\cdot\left\{ -\frac{1}{\gamma_{2}} \left[\lambda (1-\kappa_{1})\right]^{2} R_{2} \right. \\ \displaystyle &&+(\sigma-\lambda)\kappa_{2} \left[R_{0} B^{*}(a+\gamma_{1})-R_{1}^{*}(a+\gamma_{1})\right] +\lambda \kappa_{2} \ , \\ \displaystyle &&+\lambda (1-\kappa_{1}) \left[R_{0} B^{*}(a+\gamma_{1})-1\right] \left.{\vphantom{\frac{1}{\gamma_{2}}}}\right\} \ . \end{array} $$
(27)

Step 3.

As a result, it can be seen that the left-hand side of equalities (25) and (27) coincide. Thus let us equate the right-hand side and after simple calculations, we receive the value of parameter κ2 in the form (12).

Due to the structure and functional coefficients of the system of equations (3)–(4) and then (16) we cannot show formally that (17) is the asymptotic solution. It was a procedure using constructive steps from our previous experiments to get somehow a solution. In this sense, it is not rigorous proof. As we mentioned earlier to the best of our knowledge there is no analytical solution to this kind of system thus we cannot expect rigorous proof. All in our previous papers the goodness of the proposed asymptotic solutions were tested by either numerical or simulation results which justified our constructiveness concerning the form of a solution, see for example Nazarov et al. (2018, 2019, b, c). In this paper, we follow this method and in the next section, the comparisons are made. The theorem is proved. □

From the proved theorem it follows that if \(N\rightarrow \infty \) the limiting distributions for the centered and normalized number of customers in the system has a Gaussian distribution with variance κ2 defined by the expression (12).

Owing to replacements (13) and (15) in prelimit case the average and variance of the number of customers in the system can be approximated by Nκ1 and Nκ2, respectively. As a consequence the number of customers in the system follows a normal distribution with parameters Nκ1 and Nκ2.

It is not difficult to see, that in the case when γ0 = γ1 = 0, that is with a reliable server our results coincide with the ones published in Kvach and Nazarov (2015c). Furthermore, after elementary calculations we can obtain the formulas for the case when the service time is exponentially distributed with intensity μ, that is for the M/M/1//N system with unreliable server analyzed in Nazarov et al. (2019).

6 Examples and Comparisons

In this section we would like to show the effectiveness of the proposed approximation comparing the results to the estimations obtained by numerical and to the simulation calculations, see Nazarov et al. (2019) and Tóth et al. (2017), respectively.

6.1 Gaussian Approximation

Previously it was obtained that the limiting distribution for the centered and normalized number of customers in the system has a Gaussian distribution with mean Nκ1 and variance Nκ2.

We propose to approximate the prelimit discrete probability distribution π(j) of the number of customers in the system obtained with the help of either numerical algorithm or simulation, by a normal distribution with the above parameters.

Approximation of discrete distribution by a continuous Gaussian distribution can be executed in various ways. We will use the following form.

Let us denote by G(x) the distribution function of the Gaussian distribution with mean Nκ1 and variance Nκ2.

Furthermore, let us denote by Pas(i) the asymptotic discrete distribution obtained with the help of Gaussian approximation, that is

$$ P_{as} (i)=\displaystyle\left\{G(i+0.5)-G(i-0.5)\right\}\left[G(N+0.5)-G(-0.5)\right]^{-1},\ \ \ i=\overline{0,N} $$
(28)

which is called the Gaussian approximation of the prelimit distribution π(i).

6.2 Numerical Results and Comparative Analysis

For the considered retrial queuing system we choose gamma-distributed service time S with shape parameter α and scale parameter β with Laplace-Stieltjes transform B(δ) of the form

$$ \displaystyle B^{*}(\delta)=\left( 1+\frac{\delta}{\beta}\right)^{-\alpha} \ , $$

in the case when α = β, that is when the average service time is equal to unit.

It can be shown that

$$ \mathsf{E} \!(S) = \frac{\alpha}{\beta},\quad Var(S)= \frac{\alpha}{\beta^{2}}, \quad {V^{2}_{S}} = \frac{1}{\alpha}, $$

where \({V^{2}_{S}}\) denotes the squared coefficient of variation of S. This distribution allows us to show the effect of the distribution on the main performance measures because dealing with the same mean we can see the impact of the variance, too.

To compare the prelimit probabilities π(j) of the number of customers in the system and its Gaussian approximation Pas(j) at various N we give some graphical illustrations. As an example, the following parameters were chosen

$$ \displaystyle \lambda=1\ ,\ \sigma=5 \ , \ \gamma_{0}=0.1 \ , \ \gamma_{1}= 0.2\ , \ \gamma_{2}=1 \ , \ \alpha=\beta=1.778\ . $$

Figures 234a demonstrate the difference between the prelimit distribution π(j) (solid line) and its Gaussian approximation Pas(j) (dashed line) at various values of N. As we can see for the case N = 10 the difference is noticeable. With increasing N the difference begins to decrease for the case N = 30 it is still distinguishable but for N = 50 it is practically invisible. From the presented Figures it is possible to draw an obvious conclusion that with an increase of N the effectiveness of the proposed approximation improves noticeably.

Fig. 2
figure 2

Comparison of the Gaussian approximation and numerical results in the case N = 10 of the a discrete distribution of the number of customers in the system, b distribution function of the number of customers in the system

Fig. 3
figure 3

Comparison of the Gaussian approximation and numerical results in the case N = 30 of the a discrete distribution of the number of customers in the system, b distribution function of the number of customers in the system

Fig. 4
figure 4

Comparison of the Gaussian approximation and numerical results in the case N = 50 of the a discrete distribution of the number of customers in the system, b distribution function of the number of customers in the system

In Figs. 24 (b) the difference between the distribution function F(j) (solid line) and its normal approximation Fas(j) (dashed line) is presented as the values of N increases. On each Figure we can see that the curves are very close to each other and already at N = 30 the difference is practically not noticeable.

We think that visual comparison is not enough to determine the range of applicability of the approximation. To determine the accuracy and area of applicability of the Gaussian approximation we will use the Kolmogorov-distance which can be defined as follows

$$ {{\varDelta}}=\displaystyle\max_{0 \leq j\leq N}\left|\sum\limits^{j}_{n=0}\left( {{\varPi}}(n)-P_{as}(n)\right)\right|\ . $$

Table 1 represents the values of Kolmogorov-distance for the same set of parameters as for graphic illustrations, except for N, α.

Table 1 Kolmogorov-distance between prelimit distribution π(j) and its normal approximation Pas(j) for various values of N and α = β

We choose the criterion for the applicability of the approximation as follows: the acceptable error must not exceed the value 0.05, that is Δ ≤ 0.05.

From Table 1 we can see that practically in the whole spectrum of values of the variables α = β and N the Kolmogorov-distance does not exceed the set value 0.05 and therefore in this situation the application of Gaussian approximation is preferable.

7 Conclusion

In this paper a closed retrial queuing system of type M/GI/1 with collisions of customers and an unreliable server was considered. Applying the method of asymptotic analysis under the condition of an unlimited growing number of sources it was proved that the limiting probability distribution of the central and the normalized number of customers in the system follows a normal law with given parameters. Accuracy and the range of applicability of the proposed approximation were treated. In the future, for the considered system we plan to investigate the number of transitions of the customer into the orbit, the sojourn time of the customer in the orbit/system, and other system performance measures.