1 Introduction

A cellular network, also known as a mobile network, is a form of wireless communications that operates over discrete geographic areas, or “cells”, each of which is connected to the rest of the network by at least one permanently installed transceiver called the base station (BS). Moreover, the advent of 5G networks heralds a new era of connectivity, unprecedented speed, low latency and vast capacity for data transmissions. Further, the evolution and merits of 5G network have been illustrated in Figs. 1 and 2 respectively.

Fig. 1
figure 1

Evolution of 5G cellular network

Fig. 2
figure 2

Merits of 5G cellular network

1.1 Energy consumption by 5G base stations

As mobile data traffic has skyrocketed over the past decade, BSs have been rapidly deployed to increase cellular system capacity and expand network coverage. Large amounts of power are required to run many BSs. Data servers, BSs, and backhaul devices utilise considerable energy in cellular mobile radio networks. Holtkamp et al. [14] stated that nearly 80% of the energy utilized by a network is used by BSs. The rising demand for high-data-rate services and the rise in the amount of small cell BSs are likely to cause BSs to use even more energy and at higher frequencies, more antennas and more dense layer of small cells are needed, driving up energy costs even further. As a result, most attempts to improve energy consumption in mobile radio networks are focused on BSs.

1.2 A brief note on sleeping strategies

A variety of strategies for awakening and falling asleep were proposed. Obviously, it’s crucial to examine the various sleep methods employed by BSs with a view towards maximising efficiency and minimising delay. Single sleep, multiple sleeps, an N limited scheme, light sleep, deep sleep, short sleeps, long sleeps, etc. are all common sleeping patterns. In most cases, people’s sleeping habits are dictated by the length of time they have to wait for service or by how much client request (CR) they have accumulated. In order to minimise power consumption, Hawasli and Colak [13] implemented a sleeping strategy in 5G heterogeneous small cell BSs. According to the CRs in the cellular BSs’ service region, Yang et al. [36] addressed two distinct sleeps namely, light and deep. Despite this, implementing sleeping methods in both 4G and 5G small cell BSs isn’t sufficient to achieve significantly improved energy efficiency. Thus, the energy efficacy of 5G small cell BSs could be optimized by employing the N limited scheme. Pursuant to the N limited approach, the BS will become active and initiate setup or wake up if a certain threshold of accumulated CRs has been attained. Raising N reduces power usage yet enhances the delay. Zhang et al. [38] proposed that in 5G cellular networks, BSs regularly shift into sleep mode and remain inactive till N CRs have gathered in the queue. Even so, N limited schemes that employ a sleeping technique might trigger more CR delays. Therefore, one could showcase the trade-off between power consumption, power savings, and delay to locate the optimality with an N limited method.

Fig. 3
figure 3

5G base station during active mode

1.3 Motivation

Although 5G BSs offer greater dependability, speed, and reduced latency, they also consume four times as much power as 4G BSs. That’s why there’s reason to be concerned about 5G BS’s high power consumption. Specifically, the authors [8, 9, 19] have tackled this problem by simulating the BS as a M/G/1 queue using a unique sleeping strategy. Certain circumstances, such as the bulk arrival of CR and retry cases, are not considered, though. With this motivation, the proposed model considers a queueing system with a sleeping strategy and two unique factors: the retrial factor (i.e., if any arriving CRs discover that the BS is already in use, they will be redirected back to wait in a fictitious location known as orbit, and after a few while, they will attempt the service again) and the feedback factor (i.e., if any CRs are not satisfied with the service they received, they may retry repeatedly until the job is completed to their satisfaction). Furthermore, while we have discussed the bulk arrival of CR, authors in the literature to date have solely examined the single arrival of CR. In real life, we frequently encounter situations where service stations may malfunction and require repair, and thus we have accounted for this possibility as well.

1.4 Research objective

Our objective in developing the system is to reduce fixed energy usage through the efficient utilisation of BS downtime. To accomplish this, the BS’s transceivers are disabled during sleep mode but fully operational during active mode. If implemented correctly, this feature can bring us closer to our eventual goal of “very less energy consumption at zero traffic”. Considering this, in the proposed work we find,

  • The repercussions of implementing an N limited sleeping strategy on a BS in 5G mobile systems which has been characterized as a feedback retrial queueing system depicted in Figs. 3 and 4.

  • The probability-generating functions and steady-state probabilities for various base station states were computed employing the supplementary variable approach.

  • The base station’s average energy consumption during a certain time period has been estimated.

  • A range of optimization approaches, namely PSO, ABC, and GA, have been employed to obtain the best possible (optimal) cost for the system.

Fig. 4
figure 4

5G base station during sleep mode

1.5 Novelty

5G BSs cost around four times as much power as 4G but offer significantly faster speeds, latency, dependability, and data service availability. As a result, 5G BS’s excessive need for power is a major cause for alarm. As a result, we characterize the CR queue in a BS as a, \(M^{[X]}/G/1\) feedback retrial queueing system with sleeping and waking approaches. Further, the suggested layout incorporates two distinct sleep modes (two distinct vacations) - sleep mode 1 (SM1) and sleep mode 2 (SM2) - with an active state and a set-up stage, respectively, to maximize energy efficiency. The first sleep mode lasts for a shorter amount of time than the second. SM1 has a limit of M short sleeps, followed by SM2 having a lengthy sleep with N policy. While in either of its slumber states, the BS will not activate any CRs. It ought to be noticed that when a service ends, the BS initiates SM1 if there are no CRs waiting in the queue, or else it continues the next service. The system wakes up once per SM1 sleep cycle to count the number of CR waiting to be processed. The BS activates if the number of CR is at least N; else, it enters the second sleep in SM1 and continues sleeping for up to another M times. After M cycles of SM1, the BS enters an SM2 (long sleep) if there are less than N CRs in the queue. When there are N CRs waiting to be dealt with, the SM2 BS wakes up and enters setup mode. Once the initial setup is complete, the server will begin serving the CRs.

1.6 Literature survey

Recently, a study of the underpinnings of 5G cellular networks was proposed by Zheng [37]. This review covered aspects like its advantages, potential threats, bandwidth and spectrum efficiency. López-Pérez et al. [25] highlighted massive multiple-input multiple-output, the lean carrier design, and 5G sleep modes. According to Chih-Lin et al. [5], this estimate of electricity usage was intolerable owing to the associated financial and ecological impacts. Thereby, green communication is feasible in 5G cellular networks through increased energy efficiency. One simple sleeping conduct was offered by Liu et al. [24] to maximize energy efficiency in small cell BSs. Fatima et al. [30] addressed the potential for adapting the various sleep mode enabling approaches to ultra-dense networks and the resulting financial implications as well as the impact on the global carbon footprint. Deepa et al. [9] modelled the BS as a M/G/1 queue and covered how a sleeping strategy and N policy might reduce the energy consumption of a BS in 4G/5G networks. Further, Kalita and Selvamuthu [19] have analysed a 5G BS by using 2 distinct sleep modes with N policy.

Despite the fact that BS needs some initial setup time by default, this delay was not taken into account in any of the aforementioned studies. Niu et al. [28] modelled the BS as an M/G/1 queue with setup and close down times in order to examine the sleep mode operations. Lately, an M/G/1 queue in a 5G BS with N policy in the MS scheme was addressed by authors [6, 7]. Moreover, energy-saving strategies for virtual machines in cloud data centers have been proposed by [27] in order to improve the energy-saving capability of cloud systems.

Fig. 5
figure 5

A pictorial depiction of the model

Research in a queue and retrial queue had been conducted by several authors such as Falin and Templeton [10], considering a variety of combinations of shut down time, setup time, feedback, repair, and N policy. Consumer’s impatience with an unreliable bulk queuing system under vacation, setup time close down time with N policy was analysed recently by Ayyappan and Nirmala [2, 3]. A batch arrival sole server retrial queue with modified vacations under N policy was scrutinized by Haridass and Arumuganathan [12]. Moreover, experts like Jain and Upadhyaya [16], Jain and Kaur [17], Jain and Kumar [18], Jain and Bhargava [15] and others have conducted substantial investigations on the feedback and repair situation as well. In this article, the CR retrial queue in a 5G BS with feedback CR, setup time, repair time, and N policy in the MS scheme has been investigated by implementing the supplementary variable technique.

And here’s how the balance of the paper pans out: The proposed 5G BS is described in detail in Sect. 2. The prerequisites for stability, steady state outcomes, and accompanying equations are established in Sect. 3. In Sect. 4, we examine some primary system metrics. In Sects. 5 and 6, we discussed a few cases of exceptional significance and used statistical analysis to understand the interplay between the system’s underlying structure and its many components respectively. An evaluation of the suggested model’s energy efficiency is provided in Sect. 7. The analysis of cost optimization using three different methods is addressed in Sect. 8. Finally, Sect. 9 concludes with an outline of the findings and future scope.

2 Description of the model

In a cellular network, a signal (CR) from a mobile phone is picked up by a BS antenna and sent via transceivers to the destination. A stochastic model of the 5G BS’s sleeping mechanism has been built so that its energy consumption may be analysed. The framework under discussion is illustrated and depicted pictorially in Fig. 5 as follows:

Arrival process: CR streaming in batches from the outside abide a Poisson process, with an arrival rate \(\nu \). Presuming that “\({\mathcal {U}}_k, k=1,2,3,\dots \)”follows a standard dist., let \({\mathcal {U}}_k\) be the no. of CRs affiliated with the \(k^{th}\) batch arrival. “\(Pr[{\mathcal {U}}_k=n]={\mathcal {A}}_n, n=1,2,3,\dots \)”and \({\mathcal {U}}(\breve{\varepsilon })\) indicate the PGF of \({\mathcal {U}}\). Further, the first and second factorial moments of r.v. \({\mathcal {U}}\) are denoted by \({\mathcal {E}}(X_1)\) and \({\mathcal {E}}(X_2)\) respectively. Retrial process: Any incoming CRs who encounter a busy, on sleep modes, on setup state, or down BS are assumed to be promptly booted and thrown into a group of blocked users known as an orbit. We presume that the CRs’ retrial times distributed equally around the orbit with a random dist. \({\mathcal {Q}}({\hat{\varpi }})\) with a corresponding Laplace Stieltjes Transform (LST) \({\mathcal {Q}}^*(t)\).

Service process: As soon as the CR reaches the BS and begins to be transmitted, service has been established. If the group of incoming CRs stumbles upon an unoccupied BS, one of them will be given approval to start the service, and the others will enter the orbit. Each incoming CR is processed with first come, first served (FCFS) basis. It is assumed that service time S is assumed to have dist. function \({\mathcal {L}}({\hat{\varpi }})\) with a corresponding LST \({\mathcal {L}}^*(t)\) with finite \(k^{th}\) moment \(l^{k}, k=1,2, \dots \).

Fig. 6
figure 6

State Transition Diagram for the proposed 5G BS system

Vacation process: After a CR’s service completion epoch, BSs will enter SM1 with prob. \(p_0\) for a brief length of time (S1) if there is no new CR been assigned. In this mode, the BSs can sleep for up to M times. After first sleep in SM1, if CR is less than N, then the BS will undergo M sleeps with prob. \(p_m\). Prob. dist. function \({\mathcal {G}}_1({\hat{\varpi }})\) with a corresponding LST \({\mathcal {G}}_1^*(t)\) with finite \(k^{th}\) moment \(g_1^{k}, k=1,2, \dots \) characterize the distribution of S1’s duration, which is i.i.d. r.v. After M sleeps through SM1, if no CRs are available, the BSs will transition into SM2 with prob. s for an extended period of time of random duration S2 or when N or more CRs have been accumulated at the conclusion of any sleeping phase, the BS reactivates with prob. 1 - s and begins its setup procedure, and S2 is an r.v with PDF \({\mathcal {G}}_2^*(t)\) and a corresponding LST \({\mathcal {G}}_2^*(t)\) with finite \(k^{th}\) moment \(g_2^{k}, k=1,2, \dots \)Setup process: The BS begins its setup process if it detects at least ‘N’ CRs waiting for service while it is in either of its two sleep states. After initialization is complete, the BS begins to process CRs. There is an implicit assumption that setup time has the dist. function \({\mathcal {B}}({\hat{\varpi }})\) and a corresponding LST \({\mathcal {B}}^*(t)\).

Feedback rule: Once CR’s service is cut off, discontented CR have a probability of \(r (0 \le r\le 1)\) that they will return to the orbit as a feedback CR in order to undergo another regular service, or a prob. of \(1-r\) that they decide to exit the system outright.

Breakdown process: While the BS is functioning, there is always a chance that it will malfunction, leading to a temporary loss of service (a server outage). The failures, or BS lifetimes, are caused by exogenous Poisson processes with rates \(\eta \), which can be viewed as a catastrophic event.

Repair process: In the event of a BS failure, it is immediately dispatched for repair, at which point it stops serving CR altogether until the corresponding service channel is restored to working order. A CR who was being served when the BS went down must now wait for the rest of their order to be processed. The repair time of the BS is presumed to be arbitrarily distributed with dist. function \({\mathcal {S}}(\grave{\varsigma })\) and LST \({\mathcal {S}}^*(t)\) with finite \(k^{th}\) moment \(s^{k}\).

All stochastic processes in the system are considered to be unrelated of one another. In addition, the state transition diagram for the proposed 5G BS system is presented in Fig. 6.

3 Steady state probability analysis

When formulating the SS diff. eqns. for the RQ system in this section, we take the elapsed retrial times, elapsed service times, elapsed vacation time, and elapsed repair times as supplementary variables.

3.1 Steady-state equations

In SS, we take into consideration that \({\mathcal {Q}}(0)=0\), \({\mathcal {Q}}(\infty )=1\), \({\mathcal {L}}(0)=0\), \({\mathcal {L}}(\infty )=1\), \({\mathcal {G}}_{1,m}(0)=0\), \({\mathcal {G}}_{1,m} (\infty )=1,\) \({\mathcal {G}}_{2}(0)=0\), \({\mathcal {G}}_{2} (\infty )=1,\) \({\mathcal {B}}(0)=0\), \({\mathcal {B}}(\infty )=1\) are continuous at \({\hat{\varpi }}=0\) and \({\mathcal {S}}(0)=0\), \({\mathcal {S}}(\infty )=1\) is continuous at \(\grave{\varsigma }=0\). Hence, the functions \(\vartheta ({\hat{\varpi }})\), \(\theta ({\hat{\varpi }})\), \(\upsilon _{1,m}({\hat{\varpi }}),\) \(\upsilon _{2}({\hat{\varpi }}),\) \( \varphi ({\hat{\varpi }})\) and \(\zeta (\grave{\varsigma })\) are the “conditional completion rates (hazard rates)”for retrial, service, \(1^{st}\) and \(2^{nd}\) sleep modes, setup and repair, respectively.

$$\begin{aligned} \vartheta ({\hat{\varpi }}) d{\hat{\varpi }}&= \frac{d{\mathcal {Q}}({\hat{\varpi }})}{1-{\mathcal {Q}}({\hat{\varpi }})};~~ \theta ({\hat{\varpi }}) d{\hat{\varpi }} = \frac{d{\mathcal {L}}({\hat{\varpi }})}{1-{\mathcal {L}}({\hat{\varpi }})}; \\ \upsilon _{1,m}({\hat{\varpi }}) d{\hat{\varpi }}&= \frac{d{\mathcal {G}}_{1,m}({\hat{\varpi }})}{1-{\mathcal {G}}_{1,m}({\hat{\varpi }})} (m=1,2,\dots M); ~~ \\ \upsilon _{2}({\hat{\varpi }}) d{\hat{\varpi }}&= \frac{d{\mathcal {G}}_{2}({\hat{\varpi }})}{1-{\mathcal {G}}_{2}({\hat{\varpi }})};\\ \varphi ({\hat{\varpi }}) d{\hat{\varpi }}&= \frac{d{\mathcal {B}}({\hat{\varpi }})}{1-{\mathcal {B}}({\hat{\varpi }})};~~\\ \zeta (\grave{\varsigma }) d\grave{\varsigma }&= \frac{d{\mathcal {S}}(\grave{\varsigma })}{1-{\mathcal {S}}(\grave{\varsigma })} \end{aligned}$$

At time \({\widetilde{\beta }}\), the elapsed retrial times, service times, vacation times, and repair times are denotes as \({\mathcal {Q}}^0({\widetilde{\beta }})\), \({\mathcal {L}}^{0}({\widetilde{\beta }})\), \({\mathcal {G}}_{1,m}^0({\widetilde{\beta }})\), \({\mathcal {G}}_{2}^0({\widetilde{\beta }})\), \({\mathcal {B}}^{0}({\widetilde{\beta }})\) and \({\mathcal {S}}^{0}({\widetilde{\beta }})\) respectively. Additionally, construct the random variable,

$$\begin{aligned} \Xi ({\widetilde{\beta }})= {\left\{ \begin{array}{ll} 0, &{} \text {in the situation when BS is under inactive}\\ &{}\quad \text { mode at time }{{\widetilde{\beta }}} \\ 1, &{} \text {in the situation when BS is in active mode}\\ &{}\quad \text { at time }{{\widetilde{\beta }}} \\ 2, &{} \text {in the situation when BS is under sleep }\\ &{}\quad \text { mode 2 at time }{{\widetilde{\beta }}} \\ 3, &{} \text{ in } \text{ the } \text{ situation } \text{ when } \text{ BS } \text{ is } \text{ in } \text{ set } \text{ up } \text{ at }\\ &{}\quad \text { time }{{\widetilde{\beta }}} \\ 4, &{} \text {in the situation when BS is under repair}\\ &{}\quad \text { at time }{{\widetilde{\beta }}} \\ T_0, &{} \text {in the situation when BS is taking 1st}\\ &{}\quad \text { sleep under sleep mode 1}\\ &{}\text {at time }{{\widetilde{\beta }}}\\ T_1, &{} \text {in the situation when BS is taking 2nd}\\ &{}\quad \text { sleep under sleep mode 1} \\ &{}\text {at time }{{\widetilde{\beta }}}\\ \vdots \\ T_m, &{} \text {in the situation when BS is taking mth}\\ &{}\quad \text { sleep under sleep mode 1}\\ &{}\text {at tim e }{{\widetilde{\beta }}} \end{array}\right. } \end{aligned}$$

We additionally highlight how the bivariate Markov process {\(\Xi ({\widetilde{\beta }})\), \(\Theta ({\widetilde{\beta }})\); \({\widetilde{\beta }}\) \(\ge \) 0 } can be applied to characterize the state of the system at a specific instant of time \({\widetilde{\beta }}\), wherein \(\Xi ({\widetilde{\beta }})\) symbolises the BS state \((0,1,2,3,4,T_0,T_1, \dots T_m)\) contingent upon whether the BS is inactive, engaged, under sleeping modes, setup or under repair. At time \({\widetilde{\beta }}\), the no. of CRs in the orbit is symbolised by \(\Theta ({\widetilde{\beta }})\).

Further, the subsequent notations and probabilities were defined:

\({\mathcal {P}}_0({\widetilde{\beta }})\):

Probability that the BS is in its usual busy phase and the BS is inactive at time \({\widetilde{\beta }}\)

\(\Psi _n({\hat{\varpi }},{\widetilde{\beta }})\):

Prob. of having precisely n CRs in the orbit at time \({\widetilde{\beta }}\) with the elapsed retrial time of the trail CR undergoing retrial is \({\hat{\varpi }}\)

\(\Gamma _n({\hat{\varpi }},{\widetilde{\beta }})\):

Prob. of having approximately n CRs in the orbit at time \({\widetilde{\beta }}\) and BS is engaged with batch of CR with the elapsed service time of CR undergoing service is \({\hat{\varpi }}\)

\(\Pi _{1,n}({\hat{\varpi }},{\widetilde{\beta }})\):

Prob. of having exactly n CRs in the orbit that at time \({\widetilde{\beta }}\) in which the BS is under SM1 with the elapsed vacation time is \({\hat{\varpi }}\)

\(\Pi _{2,n}({\hat{\varpi }},{\widetilde{\beta }})\):

Prob. of having exactly n CRs in the orbit that at time \({\widetilde{\beta }}\) where the BS is under SM2 with the elapsed vacation time is \({\hat{\varpi }}\)

\(\Omega _{n}({\hat{\varpi }},{\widetilde{\beta }})\):

Prob. of having precisely n CRs in the orbit at time \({\widetilde{\beta }}\) and BS is under setup with the elapsed setup time of CR experiencing service is \({\hat{\varpi }}\)

\({\mathcal {R}}_n({\hat{\varpi }},\grave{\varsigma },{\widetilde{\beta }})\):

Prob. of having identically n CR in the orbit at time \({\widetilde{\beta }}\) with elapsed essential service time of the batch of CRs undergoing service \({\hat{\varpi }}\) and the elapsed repair time of BS for repair \(\grave{\varsigma }\)

Let the collection of epochs whereby a regular service period, vacation period, or repair period terminates be {\({\widetilde{\beta }}_n; n=1,2,\dots \)}. Thus, using a sequence of random vectors \(F_n=\{\Xi ({\widetilde{\beta }}_n+),\Theta ({\widetilde{\beta }}_n+)\}\), an MC is created and incorporated in the retry QS. Our system must thus be stable according to Appendix A, which states that \(F_n; n\in N\) is ergodic iff \(\rho < 1,\) The probs. \({\mathcal {P}}_0({\widetilde{\beta }})=P\{\Xi ({\widetilde{\beta }})=1, \Theta ({\widetilde{\beta }})=0\};\) and prob. densities for the method \(\{\Theta ({\widetilde{\beta }}), {\widetilde{\beta }}\ge 0\},\) are stated below,

$$\begin{aligned} \Psi _{n}({\hat{\varpi }},{\widetilde{\beta }})d{\hat{\varpi }}&=P\{\Theta ({\widetilde{\beta }})=0,\Xi ({\widetilde{\beta }})=n, {\hat{\varpi }}\\&\le {\mathcal {Q}}^{0}({\widetilde{\beta }})< {\hat{\varpi }}+d{\hat{\varpi }}\}, \text{ for }~{\widetilde{\beta }}, {\hat{\varpi }}\ge 0, ~n \ge 1\\ \Gamma _{n}({\hat{\varpi }},{\widetilde{\beta }})d{\hat{\varpi }}&=P\{\Theta ({\widetilde{\beta }})=1,\Xi ({\widetilde{\beta }})=n,{\hat{\varpi }}\\&\le {\mathcal {L}}^{0}({\widetilde{\beta }})< {\hat{\varpi }}+d{\hat{\varpi }}\}, \text{ for }~{\widetilde{\beta }}, {\hat{\varpi }}\ge 0, ~n \ge 0\\ \Pi _{1,m,n}({\hat{\varpi }},{\widetilde{\beta }})d{\hat{\varpi }}&=P\{\Theta ({\widetilde{\beta }})=T_m,\Xi ({\widetilde{\beta }})=n,{\hat{\varpi }}\\&\le {\mathcal {G}}_{1,m}^{0}({\widetilde{\beta }})<{\hat{\varpi }}+d{\hat{\varpi }}\},\text{ for }~ {\widetilde{\beta }}, {\hat{\varpi }}\ge 0, ~n \ge 0\\ \Pi _{2,n}({\hat{\varpi }},{\widetilde{\beta }})d{\hat{\varpi }}&=P\{\Theta ({\widetilde{\beta }})=2,\Xi ({\widetilde{\beta }})=n,{\hat{\varpi }}\\&\le {\mathcal {G}}_2^{0}({\widetilde{\beta }})< {\hat{\varpi }}+d{\hat{\varpi }}\}, ~\text{ for }~{\widetilde{\beta }}, {\hat{\varpi }}\ge 0, ~n \ge 0\\ \Omega _{n}({\hat{\varpi }},{\widetilde{\beta }})d{\hat{\varpi }}&=P\{\Theta ({\widetilde{\beta }})=3,\Xi ({\widetilde{\beta }})=n, {\hat{\varpi }}\\&\le {\mathcal {B}}^{0}({\widetilde{\beta }})<{\hat{\varpi }}+d{\hat{\varpi }}\}, ~\text{ for }~ {\widetilde{\beta }}, {\hat{\varpi }}\ge 0, ~n \ge 0\\ {\mathcal {R}}_{n}({\hat{\varpi }},\grave{\varsigma },{\widetilde{\beta }})d{\hat{\varpi }}&=P\{\Theta ({\widetilde{\beta }})=4, \Xi ({\widetilde{\beta }})=n,\grave{\varsigma }\\&\le {\mathcal {S}}^{0}({\widetilde{\beta }})<\grave{\varsigma }+d\grave{\varsigma }/{\mathcal {L}}^{0}({\widetilde{\beta }})={\hat{\varpi }}\},\\&\quad ~\text{ for }~ {\widetilde{\beta }}\ge 0, ({\hat{\varpi }},\grave{\varsigma })\ge 0, n \ge 0 \end{aligned}$$

We presume that the sequel complies with the stability requirements, thus we can assign limiting probs. for \({\hat{\varpi }}>0,\) \(n\ge 0\) and \((i=1,2)\)

$$\begin{aligned} {\mathcal {P}}_0&= lim_{{\widetilde{\beta }} \rightarrow \infty } {\mathcal {P}}_0({\widetilde{\beta }}); \Psi _n({\hat{\varpi }})\\&=lim_{{\widetilde{\beta }} \rightarrow \infty } \Psi _n({\hat{\varpi }},{\widetilde{\beta }}); \Gamma _{n}({\hat{\varpi }})\\&=lim_{{\widetilde{\beta }} \rightarrow \infty } \Gamma _{n}({\hat{\varpi }},{\widetilde{\beta }}); \\ \Pi _{1,m,n}({\hat{\varpi }})&=lim_{{\widetilde{\beta }} \rightarrow \infty } \Pi _{1,m,n}({\hat{\varpi }},{\widetilde{\beta }}); \Pi _{2,n}({\hat{\varpi }})\\&=lim_{{\widetilde{\beta }} \rightarrow \infty } \Pi _{2,n}({\hat{\varpi }},{\widetilde{\beta }})\\ \Omega _{n}({\hat{\varpi }})&= lim_{{\widetilde{\beta }} \rightarrow \infty } \Omega _{n}({\hat{\varpi }},{\widetilde{\beta }}); \text{ and } {\mathcal {R}}_{n}({\hat{\varpi }},\grave{\varsigma })\\&= lim_{{\widetilde{\beta }} \rightarrow \infty } {\mathcal {R}}_{n}({\hat{\varpi }},\grave{\varsigma },{\widetilde{\beta }}) \end{aligned}$$

The eqns. below, which govern the dynamics of the system’s behaviour, are generated by using a supplementary variable approach.

$$\begin{aligned}&\nu {\mathcal {P}}_0 = p_0 \int _{0}^{\infty } \Pi _{1,0,0}({\hat{\varpi }}) \upsilon _{1,0}({\hat{\varpi }}) d{\hat{\varpi }}\nonumber \\&\qquad +\int _{0}^{\infty } \Pi _{1,1,0}({\hat{\varpi }}) \upsilon _{1,1}({\hat{\varpi }}) d{\hat{\varpi }} +\dots \nonumber \\&\qquad + \int _{0}^{\infty } \Pi _{1,M,0}({\hat{\varpi }}) \upsilon _{1,M}({\hat{\varpi }}) d{\hat{\varpi }} \end{aligned}$$
(1)
$$\begin{aligned}&\frac{d\Psi _n({\hat{\varpi }})}{d{\hat{\varpi }}}+ (\nu + \vartheta ({\hat{\varpi }})) \Psi _n({\hat{\varpi }}) = 0; n\ge 1 \end{aligned}$$
(2)
$$\begin{aligned}&\frac{d\Gamma _{n}({\hat{\varpi }})}{d{\hat{\varpi }}} + (\nu + \eta + \theta ({\hat{\varpi }}))\Gamma _{n}({\hat{\varpi }}) = 0; ~n< N \end{aligned}$$
(3)
$$\begin{aligned}&\frac{d\Gamma _{n}({\hat{\varpi }})}{d{\hat{\varpi }}} + (\nu + \eta + \theta ({\hat{\varpi }}))\Gamma _{n}({\hat{\varpi }}) \nonumber \\&\quad = \nu \sum _{k=1}^n a_k \Gamma _{n-k}({\hat{\varpi }}) ; ~n\ge N \end{aligned}$$
(4)
$$\begin{aligned}&\frac{d\Pi _{1,m,0}({\hat{\varpi }})}{d{\hat{\varpi }}}+ (\nu + \upsilon _{1,m}({\hat{\varpi }})) \Pi _{1,m,0}({\hat{\varpi }}) = 0; \end{aligned}$$
(5)
$$\begin{aligned}&\frac{d\Pi _{1,m,n}({\hat{\varpi }})}{d{\hat{\varpi }}} + (\nu + \upsilon _{1,m}({\hat{\varpi }}))\Pi _{1,m,n}({\hat{\varpi }})\nonumber \\&\quad = \nu \sum _{k=1}^n a_k \Pi _{1,m,n-k}({\hat{\varpi }}) ; \nonumber \\&\quad (m=1,2,\dots M);~n\le N - 1 \end{aligned}$$
(6)
$$\begin{aligned}&\frac{d\Pi _{2,n}({\hat{\varpi }})}{d{\hat{\varpi }}} + (\nu + \upsilon _{2}({\hat{\varpi }}))\Pi _{2,n}({\hat{\varpi }}) \nonumber \\&\quad = \nu \sum _{k=1}^n a_k \Pi _{2,n-k}({\hat{\varpi }}) ; ~n\le N - 1 \end{aligned}$$
(7)
$$\begin{aligned}&\frac{d\Omega _{n}({\hat{\varpi }})}{d{\hat{\varpi }}} + (\nu + \varphi ({\hat{\varpi }}))\Gamma _{n}({\hat{\varpi }}) =0; n<N; \end{aligned}$$
(8)
$$\begin{aligned}&\frac{d\Omega _{n}({\hat{\varpi }})}{d{\hat{\varpi }}} + (\nu + \varphi ({\hat{\varpi }}))\Gamma _{n}({\hat{\varpi }}) \nonumber \\&\quad =\sum _{k=1}^n a_k \Omega _{n-k}({\hat{\varpi }}); n\ge N; \end{aligned}$$
(9)
$$\begin{aligned}&\frac{d{\mathcal {R}}_{n}({\hat{\varpi }},\grave{\varsigma })}{d\grave{\varsigma }} + (\kappa + \zeta (\grave{\varsigma })){\mathcal {R}}_{n}({\hat{\varpi }},\grave{\varsigma })\nonumber \\&\quad = \kappa \sum _{k=1}^n a_k {\mathcal {R}}_{n-k}({\hat{\varpi }},\grave{\varsigma }); n\ge 0 \end{aligned}$$
(10)

At \({\hat{\varpi }}=0,\) \(\grave{\varsigma }=0\) the SS boundary conditions are as follows:

$$\begin{aligned} \Psi _n (0)&= {\bar{r}} \int _{0}^{\infty } \Gamma _{n}({\hat{\varpi }}) \theta ({\hat{\varpi }}) d{\hat{\varpi }}\nonumber \\&\quad + r \int _{0}^{\infty } \Gamma _{n-1}({\hat{\varpi }}) \theta ({\hat{\varpi }}) d{\hat{\varpi }}\nonumber \\&\quad +p_0\int _{0}^{\infty } \Pi _{1,0,n}({\hat{\varpi }}) \upsilon _{1,0}({\hat{\varpi }}) d{\hat{\varpi }}\nonumber \\&\quad + \int _{0}^{\infty } \Pi _{1,1,n}({\hat{\varpi }}) \upsilon _{1,1}({\hat{\varpi }}) d{\hat{\varpi }}\nonumber \\&\quad + \dots + \Pi _{1,M,n}({\hat{\varpi }}) \upsilon _{1,M}({\hat{\varpi }}) d{\hat{\varpi }}; n\ge 1 \end{aligned}$$
(11)
$$\begin{aligned} \Gamma _{1}(0)&= \int _{0}^{\infty } \Psi _1({\hat{\varpi }}) \vartheta ({\hat{\varpi }}) d{\hat{\varpi }} + \nu a_1 {\mathcal {P}}_0; ~n=0 \end{aligned}$$
(12)
$$\begin{aligned} \Gamma _{n}(0)&= \int _{0}^{\infty } \Psi _{n+1}({\hat{\varpi }}) \vartheta ({\hat{\varpi }}) d{\hat{\varpi }} + \nu a_{n+1} {\mathcal {P}}_0 \nonumber \\&\quad + \nu \sum _{k=1}^n a_k \int _{0}^{\infty } \Psi _{n-k+1} ({\hat{\varpi }}) d{\hat{\varpi }}; ~n <N \end{aligned}$$
(13)
$$\begin{aligned} \Gamma _{n}(0)&= \int _{0}^{\infty } \Psi _{n+1}({\hat{\varpi }}) \vartheta ({\hat{\varpi }}) d{\hat{\varpi }}\nonumber \\&\quad + \nu a_{n+1} {\mathcal {P}}_0 + \nu \sum _{k=1}^n a_k \int _{0}^{\infty } \Psi _{n-k+1} ({\hat{\varpi }}) d{\hat{\varpi }} \nonumber \\&\quad + \int _{0}^{\infty } \Omega _{n} ({\hat{\varpi }}) \varphi ({\hat{\varpi }}) d{\hat{\varpi }}; ~n \ge N \end{aligned}$$
(14)
$$\begin{aligned} \Pi _{1,0,0}(0)&= {\bar{r}}\int _{0}^{\infty } \Gamma _n({\hat{\varpi }}) \theta ({\hat{\varpi }}) d{\hat{\varpi }}; ~ n=0 \end{aligned}$$
(15)
$$\begin{aligned} \Pi _{1,m,0}(0)&= {\left\{ \begin{array}{ll} p_m \int _{0}^{\infty } \Pi _{1,0,n}({\hat{\varpi }}) \upsilon _{1,0}({\hat{\varpi }}) d{\hat{\varpi }}; \\ \qquad (m=1,2,\dots M); ~n\le N - 1\\ 0; ~ n\ge N \end{array}\right. } \end{aligned}$$
(16)
$$\begin{aligned} \Pi _{2,n}(0)&= s \left[ p_0\int _{0}^{\infty } \Pi _{1,0,n}({\hat{\varpi }}) \upsilon _{1,0}({\hat{\varpi }}) d{\hat{\varpi }}\right. \nonumber \\&\quad + \int _{0}^{\infty } \Pi _{1,1,n}({\hat{\varpi }}) \upsilon _{1,1}({\hat{\varpi }}) d{\hat{\varpi }}+ \dots \nonumber \\&\quad \left. + \Pi _{1,M,n}({\hat{\varpi }}) \upsilon _{1,M}({\hat{\varpi }}) d{\hat{\varpi }}\right] ; n\le N - 1 \end{aligned}$$
(17)
$$\begin{aligned} \Omega _{n}(0)&= p_0\int _{0}^{\infty } \Pi _{1,0,n}({\hat{\varpi }}) \upsilon _{1,0}({\hat{\varpi }}) d{\hat{\varpi }}\nonumber \\&\quad + \int _{0}^{\infty } \Pi _{1,1,n}({\hat{\varpi }}) \upsilon _{1,1}({\hat{\varpi }}) d{\hat{\varpi }}+ \dots \nonumber \\&\quad + \Pi _{1,M,n}({\hat{\varpi }}) \upsilon _{1,M}({\hat{\varpi }}) d{\hat{\varpi }}\nonumber \\&\quad +\int _{0}^{\infty } \Pi _{2,n}({\hat{\varpi }}) \upsilon _2({\hat{\varpi }}) d{\hat{\varpi }}; ~ n \ge N; \end{aligned}$$
(18)
$$\begin{aligned} {\mathcal {R}}_{n}({\hat{\varpi }},0)&= \eta \Gamma _n({\hat{\varpi }}); n \ge 0 \end{aligned}$$
(19)

The normalizing condition is

$$\begin{aligned}&{\mathcal {P}}_0 +\sum _{n=1}^\infty \int _{0}^{\infty } \Psi _{n}({\hat{\varpi }}) d{\hat{\varpi }} + \sum _{n=0}^\infty \left[ \sum _{m=1}^M \int _{0}^{\infty } \Pi _{1,m,n} ({\hat{\varpi }}) d{\hat{\varpi }} \right. \\&\quad + \int _{0}^{\infty } \Pi _{2,n}({\hat{\varpi }}) d{\hat{\varpi }}\\&\quad +\int _{0}^{\infty } \Gamma _{n} ({\hat{\varpi }}) d{\hat{\varpi }} + \int _{0}^{\infty } \Omega _{n} ({\hat{\varpi }}) d{\hat{\varpi }} \\&\left. \quad +\int _{0}^{\infty } \int _{0}^{\infty }{\mathcal {R}}_{n} ({\hat{\varpi }},\grave{\varsigma }) d\grave{\varsigma }d{\hat{\varpi }}\right] = 1 \end{aligned}$$

3.2 The steady state solution

The retrial queueing framework’s SS solution is generated with the aid of generating function strategy. In addition, to solve the eqns. above the GFs for \({\mid \breve{\varepsilon } \mid }<1\) are formulated as below:

$$\begin{aligned} \Psi ({\hat{\varpi }},\breve{\varepsilon })&= \sum _{n=1}^\infty \Psi _{n} ({\hat{\varpi }}) \breve{\varepsilon }^n; ~\Psi (0,\breve{\varepsilon }) = \sum _{n=1}^\infty \Psi _{n} (0)\breve{\varepsilon }^n;\\ \Gamma ({\hat{\varpi }}, \breve{\varepsilon })&= \sum _{n=0}^\infty \Gamma _n ({\hat{\varpi }}) \breve{\varepsilon }^n; ~\Gamma (0, \breve{\varepsilon }) = \sum _{n=0}^\infty \Gamma _n (0) \breve{\varepsilon }^n\\ \Pi _{1,m}({\hat{\varpi }}, \breve{\varepsilon })&= \sum _{n=0}^\infty \Pi _{1,m,n} ({\hat{\varpi }}) \breve{\varepsilon }^n; ~\Pi _{1,m}(0, \breve{\varepsilon }) = \sum _{n=0}^\infty \Pi _{1,m,n} (0) \breve{\varepsilon }^n ; \\ \Pi _{2}({\hat{\varpi }}, \breve{\varepsilon })&= \sum _{n=0}^\infty \Pi _{2,n} ({\hat{\varpi }}) \breve{\varepsilon }^n; ~\Pi _{2}(0, \breve{\varepsilon }) = \sum _{n=0}^\infty \Pi _{2,n} (0) \breve{\varepsilon }^n ; \\ \Omega ({\hat{\varpi }},\breve{\varepsilon })&= \sum _{n=0}^\infty \Omega _n({\hat{\varpi }}) \breve{\varepsilon }^n; ~\Omega (0, \breve{\varepsilon }) = \sum _{n=0}^\infty \Omega _n (0) \breve{\varepsilon }^n\\ {\mathcal {R}}({\hat{\varpi }},\grave{\varsigma },\breve{\varepsilon })&= \sum _{n=0}^\infty {\mathcal {R}}_n({\hat{\varpi }},\grave{\varsigma }) \breve{\varepsilon }^n; ~{\mathcal {R}}({\hat{\varpi }},0,\breve{\varepsilon }) = \sum _{n=0}^\infty {\mathcal {R}}_n({\hat{\varpi }},0) \breve{\varepsilon }^n; \\ a(\breve{\varepsilon })&= \sum _{n=1}^\infty {\mathcal {A}}_n \breve{\varepsilon }^n \end{aligned}$$

From (2) to (19), multiply the SS eqns. and boundary conditions by \( \breve{\varepsilon }^n\) and summing on n, and \((n = 0,1,2,\dots )\).

$$\begin{aligned}&\frac{\partial }{\partial {\hat{\varpi }}} \Psi ({\hat{\varpi }},\breve{\varepsilon }) +(\nu + \vartheta ({\hat{\varpi }})) \Psi ({\hat{\varpi }},\breve{\varepsilon })=0 \end{aligned}$$
(20)
$$\begin{aligned}&\frac{\partial }{\partial {\hat{\varpi }}} \Gamma ({\hat{\varpi }},\breve{\varepsilon })+ [\nu (1-a(\breve{\varepsilon })) + \eta + \theta ({\hat{\varpi }})] \Gamma ({\hat{\varpi }},\breve{\varepsilon }) \nonumber \\&\quad = \int _{0}^{\infty } {\mathcal {R}}({\hat{\varpi }},\grave{\varsigma },\breve{\varepsilon }) \zeta (\grave{\varsigma }) d\grave{\varsigma } \end{aligned}$$
(21)
$$\begin{aligned}&\frac{\partial }{\partial {\hat{\varpi }}} \Pi _{1,m}({\hat{\varpi }},\breve{\varepsilon })+ [\nu (1-a(\breve{\varepsilon })) \nonumber \\&\quad + \upsilon _{1,m}({\hat{\varpi }})] \Pi _{1,m}({\hat{\varpi }},\breve{\varepsilon }) =0; ~ (m=1,2,\dots M) \end{aligned}$$
(22)
$$\begin{aligned}&\frac{\partial }{\partial {\hat{\varpi }}}\Pi _{2}({\hat{\varpi }},\breve{\varepsilon })+ [\nu (1-a(\breve{\varepsilon })) + \upsilon _{2}({\hat{\varpi }})] \Pi _{2}({\hat{\varpi }},\breve{\varepsilon }) =0 \end{aligned}$$
(23)
$$\begin{aligned}&\frac{\partial }{\partial {\hat{\varpi }}}\Omega ({\hat{\varpi }},\breve{\varepsilon })+ [\nu (1-a(\breve{\varepsilon })) + \varphi ({\hat{\varpi }})] \Omega ({\hat{\varpi }},\breve{\varepsilon }) =0 \end{aligned}$$
(24)
$$\begin{aligned}&\frac{\partial }{\partial {\hat{\varpi }}}{\mathcal {R}}({\hat{\varpi }},\breve{\varepsilon })+ [\nu (1-a(\breve{\varepsilon })) + \varphi ({\hat{\varpi }})] {\mathcal {R}}({\hat{\varpi }},\breve{\varepsilon }) =0 \end{aligned}$$
(25)
$$\begin{aligned}&\Psi (0,\breve{\varepsilon }) = (1-r+r\breve{\varepsilon })\int _{0}^{\infty } \Gamma ({\hat{\varpi }}, \breve{\varepsilon })\theta ({\hat{\varpi }}) d{\hat{\varpi }}\nonumber \\&\quad + p_0 \int _{0}^{\infty } \Pi _{1,0} ({\hat{\varpi }}, \breve{\varepsilon }) \upsilon _{1,0}(({\hat{\varpi }}) d{\hat{\varpi }} \nonumber \\&\quad + \sum _{m=1}^M \int _{0}^{\infty } \Pi _{1,m} ({\hat{\varpi }}, \breve{\varepsilon }) \upsilon _{1,m}({\hat{\varpi }}) d{\hat{\varpi }}-\nu {\mathcal {P}}_0 -\Pi _{1,0}(0,\breve{\varepsilon }) \end{aligned}$$
(26)
$$\begin{aligned}&\Gamma {(0,\breve{\varepsilon })} = \frac{1}{\breve{\varepsilon }} \int _{0}^{\infty } \Psi ({\hat{\varpi }},\breve{\varepsilon }) \vartheta ({\hat{\varpi }}) d{\hat{\varpi }}\nonumber \\&\quad + \frac{\nu }{\breve{\varepsilon }} {\mathcal {A}}(\breve{\varepsilon })\int _{0}^{\infty } \Psi ({\hat{\varpi }},\breve{\varepsilon })d{\hat{\varpi }}\nonumber \\&\quad +\int _{0}^{\infty }\Omega ({\hat{\varpi }},\breve{\varepsilon })\varphi ({\hat{\varpi }})d{\hat{\varpi }}\nonumber \\&\quad +{\mathcal {A}}(\breve{\varepsilon }) \frac{\nu {\mathcal {P}}_0}{\breve{\varepsilon }}-\int _{0}^{\infty } \Psi _1({\hat{\varpi }})\vartheta ({\hat{\varpi }})d{\hat{\varpi }}-\nu a_1{\mathcal {P}}_0 \end{aligned}$$
(27)
$$\begin{aligned}&\Pi _m(0,\breve{\varepsilon }) = p_m\int _{0}^{\infty } \Pi _{1,0}({\hat{\varpi }},\breve{\psi }) \upsilon _{1,0}({\hat{\varpi }}) d{\hat{\varpi }};\nonumber \\&\qquad (m=1,2,\dots M) \end{aligned}$$
(28)
$$\begin{aligned}&\Pi _{2} (0,\breve{\varepsilon }) = s\left[ p_0 \int _{0}^{\infty } \Pi _{1,0} ({\hat{\varpi }}, \breve{\varepsilon }) \upsilon _{1,0}(({\hat{\varpi }}) d{\hat{\varpi }}\right. \nonumber \\&\left. \quad + \sum _{m=1}^M \int _{0}^{\infty } \Pi _{1,m} ({\hat{\varpi }}, \breve{\varepsilon }) \upsilon _{1,m}({\hat{\varpi }}) d{\hat{\varpi }}\right] \end{aligned}$$
(29)
$$\begin{aligned}&\Omega (0,\breve{\varepsilon }) = p_0 \int _{0}^{\infty } \Pi _{1,0} ({\hat{\varpi }}, \breve{\varepsilon }) \upsilon _{1,0}(({\hat{\varpi }}) d{\hat{\varpi }}\nonumber \\&\quad + \sum _{m=1}^M \int _{0}^{\infty } \Pi _{1,m} ({\hat{\varpi }}, \breve{\varepsilon }) \upsilon _{1,m}({\hat{\varpi }}) d{\hat{\varpi }}\nonumber \\&\quad +\int _{0}^{\infty } \Pi _{2}({\hat{\varpi }},\breve{\varepsilon }) \upsilon _2({\hat{\varpi }}) d{\hat{\varpi }} \end{aligned}$$
(30)
$$\begin{aligned}&{\mathcal {R}} (0,\breve{\varepsilon }) = \eta \Gamma ({\hat{\varpi }},\breve{\varepsilon }) \end{aligned}$$
(31)

From (5), by setting \(m=0,\) we have,

$$\begin{aligned} \Pi _{1,0,0}({\hat{\varpi }}) = \Pi _{1,0,0}(0) e^{-\nu {\hat{\varpi }}} [1-{\mathcal {G}}_{1,0}({\hat{\varpi }})] \end{aligned}$$
(32)

When we multiply the aforementioned eqns. by \(\upsilon _{1,0}({\hat{\varpi }})\) on both sides and integrating with regard to \({\hat{\varpi }}\) from \(0 \ \text{ to } \ \infty \) and further, by utilizing (1) we get,

$$\begin{aligned} \Pi _{1,0,0}(0) = \Pi _{1,0}(0,\breve{\psi }) = \frac{\nu {\mathcal {P}}_0}{{\mathcal {G}}_{1,0}^*(\nu )} \end{aligned}$$
(33)

Solving the partial differential eqns. (20) to (25), we get

$$\begin{aligned} \Psi ({\hat{\varpi }},\breve{\varepsilon })&= \Psi (0,\breve{\varepsilon }) [1-{\mathcal {Q}}({\hat{\varpi }})] e^{-\nu {\hat{\varpi }}} \end{aligned}$$
(34)
$$\begin{aligned} \Gamma ({\hat{\varpi }},\breve{\varepsilon })&= \Gamma (0,\breve{\varepsilon }) [1-{\mathcal {L}}({\hat{\varpi }})] e^{-({\mathcal {T}}(\breve{\varepsilon }){\hat{\varpi }})} \end{aligned}$$
(35)
$$\begin{aligned} \Pi _{1,m} ({\hat{\varpi }},\breve{\varepsilon })&= \Pi _{1,m} (0,\breve{\varepsilon }) [1-{\mathcal {G}}_{1,m}({\hat{\varpi }})] e^{-({\mathcal {C}}(\breve{\varepsilon }) {\hat{\varpi }})};\nonumber \\&\qquad (m=1,2,\dots M) \end{aligned}$$
(36)
$$\begin{aligned} \Pi _{2} ({\hat{\varpi }},\breve{\varepsilon })&= \Pi _{2} (0,\breve{\varepsilon }) [1-{\mathcal {G}}_{2}({\hat{\varpi }})] e^{-({\mathcal {C}}(\breve{\varepsilon }) {\hat{\varpi }})} \end{aligned}$$
(37)
$$\begin{aligned} \Omega ({\hat{\varpi }},\breve{\varepsilon })&= \Omega (0,\breve{\varepsilon }) [1-{\mathcal {B}}({\hat{\varpi }})]e^{-({\mathcal {C}}(\breve{\varepsilon }) {\hat{\varpi }})} \end{aligned}$$
(38)
$$\begin{aligned} {\mathcal {R}} ({\hat{\varpi }},\breve{\varepsilon },\breve{\varepsilon })&= {\mathcal {R}} ({\hat{\varpi }},0,\breve{\varepsilon }) [1-{\mathcal {S}}(\breve{\varepsilon })] e^{-({\mathcal {C}}(\breve{\varepsilon }) {\hat{\varpi }})} \end{aligned}$$
(39)

where, \({\mathcal {C}}(\breve{\varepsilon })= \nu (1-{\mathcal {A}}(\breve{\varepsilon }))\);   \({\mathcal {T}}(\breve{\varepsilon })= {\mathcal {C}}(\breve{\varepsilon })+\eta [1-{\mathcal {S}}^*({\mathcal {C}}(\breve{\varepsilon }))]\)

Theorem 1

Utilising \(\rho <1\) as the stability criterion, the stationary dist. of the system’s CR count when the BS is inactive, engaged, under two sleep modes, setup and repair are estimated by,

(40)
(41)
(42)
(43)
(44)
(45)
(46)

where,

(47)

Proof

By substituting (57) to (61) mentioned in Appendix B in (34) to (38) and further by integrating them with respect to \({\hat{\varpi }}\) and further by formulating the PGF as

\(\Psi (\breve{\varepsilon })=\int _{0}^{\infty } \Psi ({\hat{\varpi }},\breve{\varepsilon })d{\hat{\varpi }};\) \(\Gamma (\breve{\varepsilon })=\int _{0}^{\infty } \Gamma ({\hat{\varpi }},\breve{\varepsilon }) d{\hat{\varpi }};\) \(\Pi _{1,m}(\breve{\varepsilon })=\int _{0}^{\infty } \Pi _{1,m}({\hat{\varpi }},\breve{\varepsilon }) d{\hat{\varpi }}; (m=1,2,\dots M);\) \(\Pi _{2}(\breve{\varepsilon })=\int _{0}^{\infty } \Pi _{2}({\hat{\varpi }},\breve{\varepsilon }) d{\hat{\varpi }};\) \(~\Omega (\breve{\varepsilon }) =\int _{0}^{\infty } \Omega ({\hat{\varpi }},\breve{\varepsilon }) d{\hat{\varpi }}\)

Similarly, by substituting (62) mentioned in Appendix B in (39) and further by integrating it with regard to \({\hat{\varpi }}\) and \(\grave{\varsigma }\) and by determining the PGF as

\({\mathcal {R}}({\hat{\varpi }},\breve{\varepsilon })=\int _{0}^{\infty } {\mathcal {R}}({\hat{\varpi }},\grave{\varsigma },\breve{\varepsilon }) d\grave{\varsigma },\) \(~{\mathcal {R}}(\breve{\varepsilon })=\int _{0}^{\infty } {\mathcal {R}}({\hat{\varpi }},\breve{\varepsilon }) d{\hat{\varpi }},\)

we get the above mentioned eqns.

Since the normalising condition can be used to compute the single unknown, \({\mathcal {P}}_0,\) the prob. that the server stays inactive, if there aren’t any CR in orbit. As a result, by using the rule of L-Hospitals whenever necessary and by utilising \(\breve{\varepsilon }=1\) in the eqns. (40)–(46), we get,

$$\begin{aligned}{} & {} {\mathcal {P}}_0+\Psi (1)+\Gamma (1)+\Pi _{1,0}(1)\\{} & {} \quad +\sum _{m=1}^{M}\Pi _{1,m}(1)+\Pi _{2}(1)+\Omega (1)+ {\mathcal {R}}(1)=1. \end{aligned}$$

\(\square \)

Theorem 2

Assuming \(\rho <1.\) as a stability constraint, we can estimate the PGF of no. of CRs in the BS and orbit size dist. at a fixed point in time as follows:

$$\begin{aligned} K(\breve{\varepsilon })&=\frac{Nr(\breve{\varepsilon })}{Dr(\breve{\varepsilon })} \nonumber \\ Nr(\breve{\varepsilon })&= {\mathcal {P}}_0 \big \lbrace [(1-r+r\breve{\varepsilon }) {\mathcal {L}}^*({\mathcal {T}}(\breve{\varepsilon }))[{\mathcal {Q}}^*(\nu )\nonumber \\&\quad +{\mathcal {A}}(\breve{\varepsilon })(1-{\mathcal {Q}}^*(\nu ))]-\breve{\varepsilon }] {\mathcal {T}}(\breve{\varepsilon })[M+{\mathcal {C}}(\breve{\varepsilon })\nonumber \\&\quad +\nu U(1+s-{\mathcal {B}}^*({\mathcal {C}}(\breve{\varepsilon }))(1+s{\mathcal {G}}_2^*({\mathcal {C}} (\breve{\varepsilon }))))]\nonumber \\&\quad +\breve{\varepsilon }(1-M)[{\mathcal {T}}(\breve{\varepsilon }){\mathcal {C}}(\breve{\varepsilon }) (1-{\mathcal {Q}}^*(\nu ))\nonumber \\&\quad +\nu ({\mathcal {Q}}^*(\nu )+{\mathcal {A}}(\breve{\varepsilon })(1-{\mathcal {Q}}^*(\nu ))) [1-{\mathcal {L}}^*({\mathcal {T}}(\breve{\varepsilon }))][{\mathcal {C}}(\breve{\varepsilon })\nonumber \\&\quad +[1-{\mathcal {S}}^*({\mathcal {C}}(\breve{\varepsilon }))\eta ]]]-[{\mathcal {A}}(\breve{\varepsilon })\nonumber \\&\quad -\breve{\varepsilon }(1-{\mathcal {A}}(\breve{\varepsilon }))\nonumber \\&\quad +U(1+s{\mathcal {G}}_2^*({\mathcal {C}}(\breve{\varepsilon })) {\mathcal {B}}^*({\mathcal {C}}(\breve{\varepsilon }))\breve{\varepsilon }][(1-r\nonumber \\&\quad +r\breve{\varepsilon }){\mathcal {L}}^*({\mathcal {T}}(\breve{\varepsilon }))(1-{\mathcal {Q}}^*(\nu )){\mathcal {C}}(\breve{\varepsilon }) \nonumber \\&\quad {\mathcal {T}}(\breve{\varepsilon })+\breve{\varepsilon } \nu [1-{\mathcal {L}}^*({\mathcal {T}}(\breve{\varepsilon }))][{\mathcal {C}}(\breve{\varepsilon })\nonumber \\&\quad +[1-{\mathcal {S}}^*({\mathcal {C}}(\breve{\varepsilon }))\eta ]]]\big \rbrace \nonumber \\ Dr(\breve{\varepsilon })&= [(1-r+r\breve{\varepsilon }){\mathcal {L}}^*({\mathcal {C}}(\breve{\varepsilon }))[{\mathcal {Q}}^*(\nu )\nonumber \\&\quad +{\mathcal {A}}(\breve{\varepsilon })(1-{\mathcal {Q}}^*(\nu ))]-\breve{\varepsilon }]{\mathcal {T}}(\breve{\varepsilon }) {\mathcal {C}}(\breve{\varepsilon }) \end{aligned}$$
(48)
$$\begin{aligned} H(\breve{\varepsilon })&=\frac{Nr_e(\breve{\varepsilon })}{Dr(\breve{\varepsilon })} \nonumber \\ Nr_e(\breve{\varepsilon })&= {\mathcal {P}}_0 \big \lbrace [(1-r+r\breve{\varepsilon }){\mathcal {L}}^*({\mathcal {T}}(\breve{\varepsilon }))[{\mathcal {Q}}^*(\nu )\nonumber \\&\quad +{\mathcal {A}}(\breve{\varepsilon })(1-{\mathcal {Q}}^*(\nu ))]-\breve{\varepsilon }] {\mathcal {T}}(\breve{\varepsilon })[M+{\mathcal {C}}(\breve{\varepsilon })\nonumber \\&\quad +\nu U(1+s-{\mathcal {B}}^*({\mathcal {C}}(\breve{\varepsilon })) (1+s{\mathcal {G}}_2^*({\mathcal {C}}(\breve{\varepsilon }))))]\nonumber \\&\quad +(1-M)[{\mathcal {T}}(\breve{\varepsilon }){\mathcal {C}}(\breve{\varepsilon })(1-{\mathcal {Q}}^*(\nu ))\nonumber \\&\quad +\nu ({\mathcal {Q}}^*(\nu )+{\mathcal {A}}(\breve{\varepsilon })(1-{\mathcal {Q}}^*(\nu ))) [1-{\mathcal {L}}^*({\mathcal {T}}(\breve{\varepsilon }))][{\mathcal {C}}(\breve{\varepsilon })\nonumber \\&\quad +[1-{\mathcal {S}}^*({\mathcal {C}}(\breve{\varepsilon }))\eta ]]]-[{\mathcal {A}}(\breve{\varepsilon })\nonumber \\&\quad -\breve{\varepsilon }(1-{\mathcal {A}}(\breve{\varepsilon }))\nonumber \\&\quad +U(1+s{\mathcal {G}}_2^*({\mathcal {C}}(\breve{\varepsilon }))){\mathcal {B}}^*({\mathcal {C}}(\breve{\varepsilon })) \breve{\varepsilon }][(1-r\nonumber \\&\quad +r\breve{\varepsilon }){\mathcal {L}}^*({\mathcal {T}}(\breve{\varepsilon })) (1-{\mathcal {Q}}^*(\nu )){\mathcal {C}}(\breve{\varepsilon }) \nonumber \\&\quad {\mathcal {T}}(\breve{\varepsilon })+\nu [1-{\mathcal {L}}^*({\mathcal {T}}(\breve{\varepsilon }))] [{\mathcal {C}}(\breve{\varepsilon })\nonumber \\&+[1-{\mathcal {S}}^*({\mathcal {C}}(\breve{\varepsilon }))\eta ]]]\big \rbrace \end{aligned}$$
(49)

where \({\mathcal {P}}_0\) is represented by eqn. (47)

Proof

The subsequent eqns. are utilized to calculate the PGF for the no. of CRs in the 5G BS \((K(\breve{\varepsilon }))\) and in the orbit \((H(\breve{\varepsilon }))\).

\(K(\breve{\varepsilon })={\mathcal {P}}_0+\Psi (\breve{\varepsilon })+\Pi _{1,0}(\breve{\varepsilon })+\sum _{m=1}^{M}\Pi _{1,m}(\breve{\varepsilon })+\Pi _{2}(\breve{\varepsilon })+\Omega (\breve{\varepsilon })+ \breve{\varepsilon }[\Gamma (\breve{\varepsilon })+{\mathcal {R}}(\breve{\varepsilon })]\)

and

\(H(\breve{\varepsilon })={\mathcal {P}}_0+\Psi (\breve{\varepsilon })+\Pi _{1,0}(\breve{\varepsilon })+\sum _{m=1}^{M}\Pi _{1,m}(\breve{\varepsilon })+\Pi _{2}(\breve{\varepsilon })+\Omega (\breve{\varepsilon })+\Gamma (\breve{\varepsilon })+{\mathcal {R}}(\breve{\varepsilon })\)

The eqns. (48) and (49) may be computed directly when the eqns. (40) to (46) are substituted in the preceding findings. \(\square \)

4 System performance measures

Note that the eqn. (47) gives the SS prob. when the BS is empty but available in the system. Thus, the probabilities of different BS state are derived from (40) to (46) whenever the system meets the stability criterion \(\rho <1\), which is stated below,

  1. 1.

    Let \(\Psi \) represent the SS prob. when the BS is idle during the retrial time

    (50)
  2. 2.

    Let \(\Gamma \) represent the SS prob. when the BS is active

    (51)
  3. 3.

    Let \(\Pi _{1,m}\) represent the SS prob. when the BS is under SM1

    $$\begin{aligned} \Pi _{1,m}&= lim_{\breve{\varepsilon } \rightarrow 1} \Pi _{1,m}(\breve{\varepsilon })\nonumber \\&= \frac{p_m\nu {\mathcal {P}}_0}{{\mathcal {G}}_{1,0}^*(\nu )}{\mathcal {E}}(G_{1,0}^1)[\nu {\mathcal {E}}(X_1){\mathcal {E}}(G_{1,m}^1)];~(m=1,2,\dots M) \end{aligned}$$
    (52)
  4. 4.

    Let \(\Pi _{2}\) represent the SS prob. when the BS is under SM2

    $$\begin{aligned} \Pi _{2}&= lim_{\breve{\varepsilon } \rightarrow 1} \Pi _{2}(\breve{\varepsilon })\nonumber \\&=s {\mathcal {P}}_0 \frac{\nu {\mathcal {E}}(G_{1,0}^1) +\nu \sum _{m=1}^{M}p_m{\mathcal {E}}(G_{1,m}^1)}{{\mathcal {G}}_{1,0}^*(\nu )}{\mathcal {E}}(G_2^1) \end{aligned}$$
    (53)
  5. 5.

    Let \(\Omega \) represent the SS prob. that the BS is under set up

    $$\begin{aligned} \Omega&= lim_{\breve{\varepsilon } \rightarrow 1} \Omega (\breve{\varepsilon })\nonumber \\&={\mathcal {P}}_0 \frac{\nu {\mathcal {E}}(G_{1,0}^1) +\nu \sum _{m=1}^{M}p_m{\mathcal {E}}(G_{1,m}^1)}{{\mathcal {G}}_{1,0}^*(\nu )}s\nu {\mathcal {E}}(X_1){\mathcal {E}}(G_2^1){\mathcal {E}}(B^1) \end{aligned}$$
    (54)
  6. 6.

    Let \({\mathcal {R}}\) represent the SS prob. that the BS is under repair

    (55)

where,

$$\begin{aligned} M^{'}= \frac{\nu {\mathcal {E}}(G_{1,0}^1) +\nu \sum _{m=1}^{M}p_m{\mathcal {E}}(G_{1,m}^1)}{{\mathcal {G}}_{1,0}^*(\nu )} \end{aligned}$$

4.1 Mean size of a system and its orbit

When the system is in a SS,

  1. (i)

    By differentiating (48) with regard to \(\breve{\varepsilon }\) and providing \(\breve{\varepsilon }=1\) under stability conditions, the mean no. of clients in the orbit \((L_q)\) is computed.

    $$\begin{aligned} L_q&= H^{'}(1)= \lim _{\breve{\varepsilon }\rightarrow 1} \frac{d}{d\breve{\varepsilon }} H(\breve{\varepsilon })\\&= {\mathcal {P}}_0 \left[ \frac{Nr_q^{''''}(1)Dr_q^{'''}(1)-Dr_q^{''''}(1)Nr_q^{'''}(1)}{4(Dr_q^{'''}(1))^2}\right] \end{aligned}$$
  2. (ii)

    By differentiating (49) with regard to \(\breve{\varepsilon }\) and providing \(\breve{\varepsilon }=1\) under stability conditions, the mean no. of clients in the system \((L_s)\) is computed.

    $$\begin{aligned} L_s&= K^{'}(1)= \lim _{\breve{\varepsilon }\rightarrow 1} \frac{d}{d\breve{\varepsilon }} K(\breve{\varepsilon })\\&={\mathcal {P}}_0 \left[ \frac{Nr_s^{''''}(1)Dr_q^{'''}(1)-Dr_q^{''''}(1)Nr_q^{'''}(1)}{4(Dr_q^{'''}(1))^2}\right] \end{aligned}$$

    All the above mentioned values are given in Appendix C.

  3. (iii)

    With the aid of Little’s approach, it is possible to predict the amount of time a user can expect to spend in the system \((W _s)\) and the amount of time a user can expect to spend in the queue \((W _q)\), (i.e) \(W_s =\frac{L_s}{\nu {\mathcal {E}}(X_1)}\) and \(W_q =\frac{L_q}{\nu {\mathcal {E}}(X_1)}. \)

5 Special cases

Case (i): No batch arrival, no retrial, no repair, no feedback and no setup. \(Pr[{\mathcal {U}}_k=n]=1\), \({\mathcal {Q}}^*(\nu ) \rightarrow 1\), \(\eta =0\), \(r=0\), \(\varphi ({\hat{\varpi }})=0\). Then our model will be reduced to a M/G/1 queue with M short sleep and single long sleep under N policy which coincides with the results of Deepa et al. [9].

Case (ii): No batch arrival, no retrial, no repair, no feedback and N=1. \(Pr[{\mathcal {U}}_k=n]=1\), \({\mathcal {Q}}^*(\nu ) \rightarrow 1\), \(\eta =0\), \(r=0\). Then our model will be reduced to a M/G/1 queue with M short sleep and single long sleep which coincides with the outcome of a Kalita and Selvamuthu [19].

6 Numerical examples

To demonstrate the many alternatives for the system’s dynamic responsiveness, we’ll employ MATLAB in this part. In addition, the exponentially distributed retrial times, service, dual sleeps, setup, and repair times have been significantly analysed. Random selection is made in order to determine whether numerical measures meet the stability requirements. The calculated values of certain aspects of the model, including the prob. that the server is inactive \(\Pi _0\), the mean queue size \((L_q)\), and the mean queue waiting time \((W_q)\), are presented in Tables 1, 2, 3, and 4.

Table 1 depicts that as retrial rate \((\vartheta )\) rises, \(L_q\) also rises, whereas \({\mathcal {P}}_0,\) \(\Gamma ,\) \({\mathcal {R}}\) subsides for the value of \(\nu = 0.4,\) \(\eta =5,\) \(r=0.5,\) \(s=0.9,\) \(\theta =5,\) \(p_0=0.5,\) \(\Pi _{1,m}=0.1.\)

Table 2 shows that for the as the arrival rate \((\nu )\) of CR goes up, so does \({\mathcal {P}}_0,\) \(L_s,\) \(W_s\) and \(\Gamma \) for the value of \(\nu = 0.5,\) \(\eta =9,\) \(r=0.2,\) \(s=0.7,\) \(\theta =6,\) \(p_0=0.5,\) \(\Pi _{2}=0.5,\) \(\upsilon _2=4.5.\)

Table 3 demonstrates that for the mounting value of the service rate \((\vartheta )\), \(L_q\) and \(W_q\) also mounts whereas \({\mathcal {P}}_0\), and \(\Pi _2\) decline for the value of \(\nu = 0.2,\) \(\eta =4,\) \(r=0.9,\) \(s=0.1,\) \(\vartheta =5,\) \(p_m=0.9,\) \(\Pi _{2}=0.5,\) \(\varphi =4.5.\)

As illustrated in Table 4, if boost the SM2 rate \((\upsilon _2),\) \(L_s\), and \(W_s\) also rises but, \(\Gamma \) and \(\Omega \) reduces for the value of \(\nu = 0.1,\) \(\eta =7,\) \(r=0.2,\) \(s=0.7,\) \(\theta =8,\) \(p_0=0.5,\) \(\zeta =0.5,\) \(\vartheta =4.5.\)

Table 1 The effect of retrial rate \((\vartheta )\) on \({\mathcal {P}}_0,\) \(L_q,\) \(\Omega ,\) \({\mathcal {R}}\)
Table 2 The impact of arriving CR \((\nu )\) on \({\mathcal {P}}_0, L_s,\) \(W_s,\) \(\Gamma \)
Table 3 The effect of service rate \((\theta )\) on \({\mathcal {P}}_0,\) \(L_q,\) \(W_q,\) \(\Pi _{2}\)
Table 4 The effect of SM2 \((\upsilon _2)\) on \(L_s,\) \(W_s,\) \(\Gamma ,\) \(\Omega \)

Here, Figs. 7 and 8 depict the 2D and 3D graphs, respectively representing how the parameters \(\nu \), \(\vartheta \), \(\upsilon _2\), \(\theta \) influence the key metrics. In Fig. 7a as the retrial rate \(\vartheta \) rises, \(L_q\) also rises, whereas \({\mathcal {P}}_0\) and \({\mathcal {R}}\) decline. The arrival rate \(\nu \) mounts for the increasing values of \(L_s\), \(W_s\) and \(\Gamma \) is presented in Fig. 7b. In Fig. 7c, for the mounting value of service rate \(\theta \), \(L_q\). \(W_q\) and \(\Pi _2\) declines. Figure 7d depicts that as SM2 rate \(\upsilon _2\) elevates, \(L_s\) and \(W_s\) also mount, whereas \(\Gamma \) diminish. Figure 8a depicts that as \(\vartheta \) mounts, \(L_q\) mount, whereas \({\mathcal {P}}_0\) decreases. Figure 8b depicts that as \(\nu \) rises \(L_s\) and \(W_s\) also elevate. In Fig. 8c as \(\theta \) mounts, \(L_q\) and \(W_q\) diminish. As \(\upsilon _2\) elevates in Fig. 8d, \(L_s\) and \(W_s\) also rise.

The influence of diverse characteristics on the system’s performance standards can perhaps be ascertained using the numerical findings shown above.

Fig. 7
figure 7

2D representation of graphs

Fig. 8
figure 8

3D representation of graphs

7 Evaluation of energy conservation

7.1 Power savings factor

The percentage of total time that BSs remained in SM1 and SM2 is the power savings factor. By using the (52) and (53), we obtain the following,

$$\begin{aligned} \mathcal{P}\mathcal{S} = (\Pi _{1,m} + \Pi _2) \times 100 \% \end{aligned}$$

7.2 Expected energy conservation

The BS is portrayed as an \(M^{[X]}/G/1\) feedback retrial queue in the proposed framework, which includes dual sleep modes, setup, and repair phases. New CRs show up at a constant rate, \(\nu \), according to a Poisson distribution. The newly arrived CRs have an immediate active service time S. In the operation state, it is believed that power consumption is \(P_{OS}\). The BS will keep running until there are no more CRs on the BS. Once the BS becomes empty, it will switch to sleep mode. \(P_{SM1}\) and \(P_{SM2}\) are the power consumed when the device is in sleep modes 1 and 2 respectively. Until N CRs are discovered at the end of any sleep, the BS sleep will keep looping. If the amount of gathered CRs is greater than N at the end of any sleep, the BS will begin setting up. Setup time power conservation is provided by \(P_{SS}\). Also, if there is any breakdown in the BS, then it will be sent for repair immediately. Thus, the energy consumed during repair time is denoted as \(P_{RP}\). For simplicity, we’ll call BS’s power consumption as PC per second. As a result, we may employ the following formula, to estimate the BS’s average energy consumption during a certain time period and moreover, based on analysis by [24, 28, 35] the energy consumption values for various states has been addressed in Table 5.

$$\begin{aligned} E(PC)&= P_{OS} \Gamma + P_{SM1} \Pi _{1,m} +P_{SM2} \Pi _2\\&\quad +P_{SS} \Omega +P_{RP} {\mathcal {R}} \end{aligned}$$
Table 5 Energy consumption in various states

When BS is fully functioning, all of its components will be using energy at once. Hence, it will consume full energy. Further, if a breakdown occurs and the damaged BS components are sent for repair, the impact on energy consumption will be reduced a bit during the repair stage since the repaired components will not be functioning. Then, if there is no CR available, BS will go to SM1. Energy usage is drastically reduced in SM1 stage due to the fact that many non-essential components will be disabled. At the end of the \(M^{th}\) brief sleep period under SM1, if the number of requests remains below the limit of N, the BS transitions from SM1 to SM2 (long sleep). In this state, nearly all of the system’s features are deactivated to save energy. This results in a much more reduction in power usage compared to SM1 stage. Hence maximum energy will be saved in this stage. This is because the BS will undergo sleep for a long period. However, even in either of the two sleep modes, the energy spent will not be zero because certain aspects, like the one that helps tally the number of CRs in the queue, are still active. When the N CRs have gathered at the conclusion of any sleep, the BS will use some energy to begin setting up and preparing for service.

7.3 Expected delay

The amount of time a UR waits in queue before the service starts is known as the delay. Queue delay occurs when a newly arrived CR must wait in queue to receive service if the BS is already serving another CR. When the BS is in setup, sleep or repair mode, the server in the proposed model won’t offer service. We refer to this delay as an additional delay. For an \(M^{[X]}/G(a,b)/1\) queuing system with N-policy, multiple vacations, and setup, Krishna Reddy et al. [22] computed additional delay as the total of idle duration owing to multiple vacation processes and mean length of setup time.

As a result it is clear that queue delays are the sole thing affecting CRs when BS is in active state. In the meantime, sleep, queue and setup delays impact the arriving CRs during both the sleep mode BS. Also, there will be setup and queue delays for the CRs that show up during setup. Further, the CRs will be impacted only by the queue delay when they are in the repair mode. Therefore, in light of this, the expected delay or the mean latency E(L) for a CR is determined as follows:

$$\begin{aligned} E(L) = E(D) + E(AD) + E(SD) + E(RD) \end{aligned}$$

where, E(D) = \(\frac{\nu {\mathcal {E}}(X_2){\mathcal {E}}(L^2)}{2(1-\nu {\mathcal {E}}(X_1){\mathcal {E}}(L^1))} \) is the expected queue delay stated by Shortle et al. [32]; E(AD) denotes the expected additional delay (i.e.) delay due to both the sleep mode, E(SD) represents the expected setup delay and E(RD) denotes the expected repair delay.

Here, by differentiating eqns. (59), (60) and (61) w.r.t \((\breve{\varepsilon })\) and taking \(lim_{(\breve{\varepsilon }) \rightarrow 1}\) and utilizing L’hospital rule, we have

$$\begin{aligned} E(AD)= & {} \frac{p_m\nu }{{\mathcal {G}}_{1,0}^*(\nu )}{\mathcal {E}}(G_{1,0}^1)[\nu {\mathcal {E}}(X_1){\mathcal {E}}(G_{1,m}^1)]\\{} & {} +\frac{\nu {\mathcal {E}}(G_{1,0}^1) +s\nu \sum _{m=1}^{M}p_m{\mathcal {E}}(G_{1,m}^1)}{{\mathcal {G}}_{1,0}^*(\nu )}{\mathcal {E}} ({\mathcal {G}}_{2}^1) \end{aligned}$$

and

$$\begin{aligned} E(SD)= & {} \frac{\nu {\mathcal {E}}(G_{1,0}^1) +\nu \sum _{m=1}^{M}p_m{\mathcal {E}}(G_{1,m}^1)}{{\mathcal {G}}_{1,0}^*(\nu )}\\{} & {} s\nu {\mathcal {E}}(X_1){\mathcal {E}}(G_2^1){\mathcal {E}}(B^1) \\ E(RD)= & {} \frac{\nu \eta [\frac{1+s}{{\mathcal {G}}_{1,0}^*(\nu )}[-\nu {\mathcal {E}}(X_1){\mathcal {E}}(B^1)+1]-\frac{\nu s{\mathcal {E}}(X_1){\mathcal {E}}(G_2^1)}{{\mathcal {G}}_{1,0}^*(\nu )}]{\mathcal {E}}(L^1){\mathcal {E}}(S^1)}{{\mathcal {E}}(X_1)[1-{\mathcal {Q}}^*(\nu )]-\nu {\mathcal {E}}(X_1)[1+\eta {\mathcal {E}}(S^1)]{\mathcal {E}}(L^1)} \end{aligned}$$

Therefore, from the aforementioned three equations, we can get the mean latency E(L) of the system from which the maximum latency that the system experience can be obtained.

7.3.1 Numerical analysis on expected delay

In this section, the mathematical investigation and computational study of different components of the delay in the systems have been presented, along with the optimization of E(PC) and E(L) which primarily aim to model, analyze, and optimize their effects through numerical methods.

Tables 6, 7, 8, and 9 explore the influence of various system parameters on different aspects of delay. It is evident from Table 6 that as the arrival rate of the CR increases, E(D), E(AD), E(SD), E(RD), and E(L) also increase. This relationship is further illustrated in the 2D graph presented in Fig. 9a. Notably, when the BS serves any CR, there is an automatic reduction in delay. This is discussed in Table 7, which indicates that as the service rate increases, both E(D) and E(L) decrease. This trend is also depicted in the 2D graph shown in Fig. 9b.

Fig. 9
figure 9

Implications of arrival and service rate on distinct components of delay

Furthermore, by examining Tables 8 and 9, it becomes evident that an increase in SM1 results in a corresponding rise in E(AD), E(SD), and E(L). This is attributed to the fact that when the BS enters sleep mode, no services are provided, consequently causing delays to escalate. Additionally, it is noticeable that as the SM1 rate increases, the expected delay E(L) also increases, albeit at a less pronounced rate compared to the steep increase observed with the SM2 rate. This stark rise in delay during SM2 is attributed to its longer duration of sleep compared to SM1. However, a slight variation can be observed in E(AD) and E(SD) between SM1 and SM2 as their rates increase. Furthermore, the influence of SM1 and SM2 rates is illustrated through 2D graphs in Fig. 10a, b. Moreover, Fig. 10c depicts the impact of E(L) by raising the number of sleeps in SM1. It is clearly observed that by elevating the number of sleeps in SM1, automatically increases the E(L) due to the raise in the duration of sleep.

Fig. 10
figure 10

Implications of SM1 and SM2 rate on distinct components of delay

Table 6 The effect of CR rate \((\nu )\) on E(D),  E(AD),  E(SD),  E(RD),  E(L)
Table 7 The effect of service rate \((\theta )\) on E(D),  E(L)
Table 8 The effect of SM1 rate \((\upsilon _1)\) on E(AD),  E(SD),  E(L)
Table 9 The effect of SM2 rate \((\upsilon _2)\) on E(AD),  E(SD),  E(L)

7.4 Numerical analysis

The implications of SM1 on expected energy conservation [E(PC)] and power saving factor [\(\mathcal{P}\mathcal{S}\)] at various maximum sleeps in SM1 of 5G BS are presented in Fig. 11a, b, by assuming the parametric values \(\nu = 0.4,\) \(\eta =5,\) \(r=0.5,\) \(s=0.9,\) \(\theta =5,\) \(p_0=0.5\).

Fig. 11
figure 11

Implications of SM1 at various maximum sleeps and SM2

Fig. 12
figure 12

Implications of sleep modes at various setup rate

Fig. 13
figure 13

Implication of arrival rate \(\nu \)

In Fig. 11a E(PC) falls as SM1 rate rises. This occurs because the majority of the components are not in a working state and just a few of the components operate in SM1. Similarly, Fig. 11b depicts that as \(\mathcal{P}\mathcal{S}\) of the 5G BS falls as SM1 rate increases. This occurs because a shorter SM1 results in a reduced \(\mathcal{P}\mathcal{S}\).

Further, the implication of SM2 on expected energy conservation [E(PC)] and power saving factor [\(\mathcal{P}\mathcal{S}\)] is presented in Fig. 11c, d. It is clear from Fig. 11c that there is a drastic fall in E(PC) compared to Fig. 11a as the SM2 rate elevates. This is because most of the components will be in sleep mode during SM2, and since it is longer sleep, the E(PC) declines drastically compared to SM1. However, \(\mathcal{P}\mathcal{S}\) initially declines and gradually rises as the SM2 elevates, which is presented in Fig. 11d. This is due to a longer sleep mode (SM2), which leads to a higher power saving of the 5G BS, while a shorter sleep mode (SM1) leads to a lower power saving. The effects of SM2 on three distinct system state probabilities are depicted in Fig. 11e. It turns out that while the probability of the BS under active state (\(\Gamma \)) decreases as the SM2 rate increases, the probability of the BS under retrial state (\(\Psi \)) and setup state (\(\Omega \)) rises. This is because the longer the BS is in sleep mode, the less service it provides, which causes \(\Gamma \) to decrease while \(\Psi \) and \(\Omega \) to increase.

Figure 12 depicts the impact of SM1 and SM2 on E(PC) and \(\mathcal{P}\mathcal{S}\) at different setup rates in a BS. Here, Fig. 12a, b clearly address the fact that as SM1 rate increases, E(PC) declines, however \(\mathcal{P}\mathcal{S}\) rises. Similarly, as SM2 rate increases, E(PC) declines, but \(\mathcal{P}\mathcal{S}\) rises which is depicted in Fig. 12c, d respectively. This occurs because, as the 5G setup rate evolves, it takes longer for the 5G network to begin serving the request, which lowers the 5G BS’s average power consumption and raises its power saving factor. Also, from the above Fig. 12b, d, we can state that between SM1 and SM2 more power has been saved in SM2 due to the long sleep duration in SM2 compared to SM1.

Fig. 13a illustrates how the arrival rate affects the probability of the BS under the setup state (\(\Omega \)) at various set-up rates. It is clear from Fig. 13a that the probability of the BS in the set-up state reduces as the arrival rate increases for different set-up rate. This is triggered by the fact that as the arrival rate increases, there is a greater chance that the BS will stay in an active state, which lowers the probability that it will be in a set-up state. Moreover, we know that the probability of the BS under set-up state increases with set-up duration. As a result raises the system’s additional latency will also increase.

Fig. 13b addresses the effect of the arrival rate on various system state probabilities namely \(\Gamma \), \(\Psi \), \(\Pi _{1,m}\), \(\Pi _2\) and \(\Omega \). The probability that the BS under both the active (\(\Gamma \)) and retrial (\(\Psi \)) states rises with an elevation in arrival rate, while the probability of other system states such as \(\Pi _{1,m}\), \(\Pi _2\) and \(\Omega \) falls. This is due to the fact that as the arrival rate rises, the BS undergoes a set-up time transition, which leads them to go into a frequent off-on (sleep-active) state. Yet, we find that the amount of time spent in this state is quite small when compared to the amount of time spent in the other states. Therefore, it can be inferred from Fig. 13a, b that there is a negligible additional latency in relation to the on-off (sleep-active) state.

7.5 Comparative analysis

This subsection juxtaposes the suggested model’s performance outcomes with the existing literature. Sleeping methods, which enable part of the components to be turned off when there is minimal traffic, are adopted to reduce power usage. Kalita and Selvamuthu [19] have analysed 5G BG by using a M/G/1 queue with a distinct sleeping strategies. According to their model, BS will reactivate if any CR arrives while it is in the sleep phase. Instead of waking for a single CR, the BS can be made to wake up after accruing a predetermined amount of CRs in order to save power. In such cases, N policy can be very beneficial to conserve energy which was addressed by Deepa et al. [9] and Deena Merit et al. [7]. However, bulk arrival was not taken into account in any of the aforementioned works. Though, authors [2] and [3] have addressed the bulk arrival, they haven’t analysed with a real life example. In the light of this, the proposed study aimed to analyse a 5G BS for energy conservation by implementing N policy in two different sleep modes while accounting for bulk arrival. Additionally, consideration was given to the feedback case and the retrial case.

A numerical comparison with the existing work has been offered to illustrate the efficacy of the suggested model by defining the following two models,

Existing Model: An M/G/1 queue with M short sleep, a long sleep, and setup time without N policy was employed to depict a 5G BS by Kalita and Selvamuthu [19].

Proposed Model: An \(M^{[x]}/G/1\) retrial queue with M short sleep, a long sleep, and setup time under N policy subjected to feedback and repair was proposed to simulate a 5G BS.

We are able to observe the effect of SM1 and SM2 on E(PC) and \(\mathcal{P}\mathcal{S}\) at different maximum sleeps in a BS based on the Fig. 11 and the existing figure. We can infer from the data that, in contrast to the previous study, there is a significant decrease in E(PC) and \(\mathcal{P}\mathcal{S}\) with an increase in SM1 rate which is presented in Fig. 11a, b respectively. Moreover, E(PC) likewise falls when the rate of SM2 rises as shown in Fig. 11c. Nevertheless, \(\mathcal{P}\mathcal{S}\) gradually rises after declining first presented in Fig. 11d. This occurs because a SM2 (long sleep) duration results in a higher power saving than SM1 (shorter sleep). Therefore, it turns out that the suggested approach will be more beneficial for energy conservation in the actual 5G networks based on the aforementioned observation and calculation.

7.6 Enhancing the efficiency of E(PC) and E(L)

The percentage of fluctuation (PF), as shown in Table 10, is computed using the formula below,

$$\begin{aligned} {\textit{PF}} =\frac{\text{ Measure } \text{ without } \text{ N-policy } - \text{ Measure } \text{ with } \text{ N-policy }}{\text{ Measure } \text{ without } \text{ N-policy }} \end{aligned}$$
Table 10 Impact of N on E(L) and E(PC)

We know that, increasing the threshold value, raises the E(L), however decreases the E(PC). Thus, to strike a balance between these factors - E(PC) and E(L) - we assess the percentage of fluctuation. This metric reveals the percentage difference between the energy consumption/delay with and without the N-policy. Higher N values tend to elevate the mean delay while minimizing the anticipated power usage. Therefore, selecting an appropriate value for N effectively reduces power usage while maintaining a reasonable latency. By implementing the proposed sleep and wake schedule results in at least an 16.5% reduction in energy usage.

8 Cost optimization: a perspective

Assuming a model has been built and is poised to go into functioning, the initial query a manufacturer or analyst will be curious about is whether it is cost-effective. Therefore, “cost analysis ”is a key consideration in determining a model’s adequacy. System designers are aided in their decision-making, and risk is mitigated as a result. Considering the importance and pressing requirement for cost minimization in this study, we implemented three distinct optimization methods namely particle swarm optimization (PSO), artificial bee colony (ABC) and genetic algorithm (GA). Since cost is the most vital variable in establishing economic interpretation in a system, we have provided a cost analysis that will help us avoid this issue. First, a workable cost function is constructed, and then the optimal parameters are determined using the above acceptable optimization method. Cost-cutting strategies such as those listed above have been widely used by researchers [23, 26, 34] in recent years.

8.1 Cost analysis

The cost optimization approach is employed to estimate the optimal parameters for the service rates (\(\tau _b\), \(\tau _1\)). It presumes that the estimated cost function has a linear form in terms of cost components tied to diverse system activities.

For per unit of time (PUT), the succeeding cost components are included in the expected total cost function TC (\(\tau _b\), \(\tau _1\)):

\({\mathcal {D}}_h\):

Each CR’s holding cost per unit time spent within the BS

\({\mathcal {D}}_b\):

Cost per unit time provided the BS is normally active

\({\mathcal {D}}_v\):

Cost per unit time provided the BS is under vacation (both sleep modes)

\({\mathcal {D}}_f\):

Cost per unit time provided the BS is under repair

\({\mathcal {D}}_1\):

Cost per CR served during busy hours

\({\mathcal {D}}_2\):

Cost per CR served during BS’s sleep modes

Therefore, the expected cost function is defined as,

$$\begin{aligned} TC&={\mathcal {D}}_h L_q+{\mathcal {D}}_b \Gamma +{\mathcal {D}}_v (\Pi _{1,m}+\Pi _{2})+{\mathcal {D}}_f {\mathcal {R}}\nonumber \\&\quad + {\mathcal {D}}_1\tau _b+{\mathcal {D}}_2 \tau _1 \end{aligned}$$
(56)

The difficulty in analytically optimizing the cost function described by (56) stems from its considerable non-linearity. Thus, we infer that total cost is a function of service rates (\(\tau _b\), \(\tau _1\)) and employ a heuristic method to optimize it.

8.2 Cost optimization

For any given objective function, “optimization ”refers to the process of discovering its “optimal ”or “ minimal ”collection of inputs. Cost optimization is a firm-centric, iterative process that seeks to lessen outlays and boost profitability. Our primary goal is to minimise the total cost function to find out what service rates \(\tau _b^*\) and \(\tau _1^*\) should be set at for the server’s busy mode and its vacation mode, respectively.

The cost-minimization problem can be expressed mathematically as:

$$\begin{aligned} TC ( \tau _b^*,\tau _1^* )&= \underset{\tau _b^*,\tau _1^*}{Minimize} TC ( \tau _b,\tau _1 ) \end{aligned}$$

Table 11 contains the values of the cost elements used to conduct a graphical analysis of the cost function’s sensitivity.

Plenty of optimization strategies have been constructed since the 1960 s. Each of these algorithms has proven its mettle in implementing various optimization problems. We ought to employ a local optimization strategy when we have an inkling that we are close to the global optimum, or when our objective function has a single optimum, as in the case of a unimodal distribution; we should use a global optimization method when we have a poor idea of the structure of the objective function, or when the function has multiple local optimums. When a situation calls for a nationwide search algorithm, a local search might be tricked by local optima into producing subpar outcomes. We conducted this research using certain global search optimization approaches like PSO, ABC, GA given that we acknowledge the necessity and virtue of cost.

Each one of these three algorithms has advantages and disadvantages of its own. Compared to certain other optimization techniques, PSO, ABC, and GA are comparatively easy to implement. They are usable by users of different skill levels due to their simple ideas and intuitive parameters. They don’t require much changes to be applied to a variety of optimization situations. They are adaptable and have been effectively applied in an array of fields, notably biology, machine learning, technology, and business. PSO draws inspiration from the social interactions of fish and birds, ABC from honeybees’ foraging habits, and GA from genetics and the process of natural selection. These algorithms’ biological roots frequently result in sensible exploration-exploitation trade-offs when looking for optimal solutions. It’s crucial to remember that no optimization technique is inherently better than any other, even though PSO, ABC, and GA all offer benefits. The particulars of the problem, the computational power at hand, and the method’s user-friendliness all play a role in the selection of an algorithm.

Table 11 Different cost sets for cost analysis

8.3 Particle swarm optimization (PSO)

In 1995, Kennedy and Eberhart [21] introduced the world to PSO, a technique for optimizing continuous non-linear functions that was driven by initial research on the behaviour of bird flocks as simulated in computer programmes. Personal bests (pbest) and global bests (gbest) are obtained by assigning a fitness value to each particle. After then, the ’pbest’ value of a particle is utilised to replace the ’gbest’ value if it is more precise. Until the optimum amount of iterations has been achieved, this procedure is repeated. A substantial quantity of power is used by 5G BS. Radio transmitters and processors are a couple of base station components whose power consumption can be optimized with the use of PSO. PSO can assist in lowering the consumption of energy while preserving network performance by modifying parameters like transmission power and duty cycles.

Upadhyaya [33] elaborated on this method to talk about cost optimization in a discrete-time retrial queue with Bernoulli feedback and starting failure. For further information on how PSO works, the study by Malik et al. [26] has been referred to. Algorithm 1 lays out the PSO algorithm’s pseudo coded sequence of operations. In addition, Table 12 details the effects of \(\nu ,r,\varphi \) on total minimal cost TC using PSO optimization approaches, on the optimal service rate pairs \((\tau _b*,\tau _1*)\).

Algorithm 1
figure c

Pseudo Code for PSO Algorithm

Table 12 Effect of \(\nu ,r,\varphi \) on \((TC,\tau _b^*,\tau _1^*)\) using PSO

8.4 Artificial bee colony optimization (ABC)

ABC technique was proposed by Karaboga and Basturk [20], and it is a swarm-based solution for optimization issues that takes its cues from the smart conduct of honey bees during foraging. There are two main parts to the algorithm: “ foraging ”and “ food source.”Foraging bees might be classified as workers, observers, or scouts, depending on their roles in the current situation. Both working and jobless bees use foraging to find good food sources. In this algorithm (a good answer), a colony of robotic forager bees searches for plentiful synthetic food sources. In order to optimize the objective function with this method, the correct parameter vector must be used. Then, the robotic bees find a random distribution of starting solution vectors. The closest neighbour search method is employed during the iterative process of reducing the error. ABC can be utilized to maximize the choice of locations for the installation of 5G BS. ABC can assist in determining the best sites for BS to save deployment costs by taking into account variables such as population density, signal coverage needs, and the expense of infrastructure implementation. The findings indicate that ABC is either superior to, equivalent to, or offers the advantage of fewer control factors than some of the other population approaches. The phases of the ABC method are described in pseudocode in Algorithm 2. Moreover, the impacts of \(\nu ,r,\varphi \) on optimal service rate pairs \((\tau _b^*,\tau _1^*)\), respectively, as well as total minimal cost TC via ABC optimization methods are laid out in Table 13.

Algorithm 2
figure d

Pseudo Code for ABC Algorithm

Table 13 Effect of \(\nu ,r,\varphi \) on \((TC,\tau _b^*,\tau _1^*)\) using ABC

8.5 Genetic algorithm (GA)

During the 1960 s and 1970 s, Bremermann, Holland [4, 11] and their colleagues developed the GA, an approach for solving optimization issues inspired by natural selection, the process through which organisms evolve. They come in handy for effective remedies for unreliable search queries. The full algorithm depicts the parameters incorporated to pick the healthiest and most successful people to have children. Natural selection is simulated by genetic algorithms, which favour organisms with the ability to survive, reproduce, and pass its traits on to offspring. In order to find a remedy to a problem, researchers replicate “ the survival of the fittest ”through multiple human generations. In addition, Arqub [1] has detailed how a continuous genetic algorithm was used in his study. Research analysts are drawn to the aforementioned method due to its potential value in a broad variety of areas, including data centres, cryptanalysis, electrical circuit design, etc. Moreover, the deployment of 5G base stations is limited by things like financial constraints, technological limits, and regulatory regulations. GA can be modified to efficiently manage these limitations, guaranteeing that the solutions produced are workable and meet the required standards. Algorithm 3 provides the pseudocode for the GA algorithm’s order of procedures. Moreover, the influence of \(\nu ,r,\varphi \) on optimal service rate pairs \((\tau _b^*,\tau _1^*)\), respectively, as well as total minimal cost TC via GA optimization methods, are laid out in Table 14.

Algorithm 3
figure e

Pseudo Code for GA Algorithm

Table 14 Effect of \(\nu ,r,\varphi \) on \((TC,\tau _b^*,\tau _1^*)\) using GA

At the outset of any optimization method- PSO, ABC or GA-the particles are not stable, and it is vital to know whether or not they return to normal and whether or not they roam around in search of a better solution. That’s why convergence is so important to cost analysis. Here Fig. 15 depicts the convergence of the cost function via PSO, ABC and GA techniques. In addition, by employing the aforementioned techniques, we have been able to arrive at combined optimum values, which offer the lowest predicted costs. Moreover, we have made an effort to investigate the cost model through the use of 3D graphs, which is presented in Fig. 14.

Fig. 14
figure 14

Optimality of the cost function

8.6 Comparative analysis within PSO, ABC, and GA

Here we examine three methods, namely PSO, ABC and GA to estimate the lowest possible cost using their respective MATLAB programmes. In this case, we analyse three distinct sets of costs, depicted in Table 11. The MATLAB programmes for each of these algorithms are then executed in turn. As a result of carrying this approach forward, Tables 1213, and 14 have been created.

There was considerable similarity between the outcomes of the three programmes, but there was also a bit of deviation. Thus, the optimal solutions and associated lowest costs of those three strategies are adjacent to one another. This proves that the aforementioned heuristics provide trustworthy, optimal solutions. Based on the data shown in Tables 1213, and 14, PSO has the lowest ideal cost value. Thus, we can use any strategy to determine the ideal cost; nevertheless, as we juxtapose for the proposed framework, PSO is a highly profitable approach for determining the best feasible cost. It is simple to configure, performs admirably in global queries, and is insensitive to scaling changes in design variables. PSO tends to lead to a slow and quick convergence in mid-optimal locations, as well as a ponderous convergence in a widened search domain.

8.7 Convergence in PSO, ABC and GA

Knowing whether or not a particle lays off and how it will wander over in search of a more effective outcome is actually crucial when applying optimization techniques like PSO, ABC, or GA, because the constituent parts (people, groups, or signals) are inherently out of equilibrium. Hence, cost analysis convergence is crucial here since it eliminates all of these challenges. Tables 1213, and 14 display the typical outcomes of applying the methods PSO, ABC, and GA to every one of the cost sets listed in Table 11. Further, as shown in Fig. 15, particles converge to the optimal solution following certain trials (generations) in PSO, ABC, and GA. After a brief amount of instances (generations), the particles in all three methods converge on the minimum possible cost. Overall, the cost study above suggests that PSO converges faster. We acknowledge that the overall estimated cost is sensitive to the parameters chosen for priority, voluntary service, and vacation, and that admins should exercise great caution when making these choices. According to the results of the analysis, the model we have outlined works very well with the 5G BS model. The analysts can afford this system in its entirety, which will help alleviate some of their financial strain. Besides demonstrating the reliability of our model, the cost analysis’s close resemblance to real-world examples helps system designers and analysts minimise problems.

Fig. 15
figure 15

Convergence of the cost function

9 Conclusion

By simulating the 5G BS sleeping mechanism, we were able to lower the 5G BS’s average power usage and achieve the greatest possible power savings. In order to develop a better-performing model that can be employed in real time systems, we blended the 5G BS with the concepts of

  • Retrial queue

  • Feedback

  • Repair

simultaneously which is worth emphasizing. Combining a sleeping strategy with an N policy and a retrial queuing framework is a comprehensive and very successful way to address issues with energy usage in 5G BSs. When the sleeping strategy and N policy work together, BSs are able to dynamically switch between sleep and active modes according to the arrival of the CR, which maximizes energy efficiency without sacrificing acceptable service levels. The useful analytical results for 5G BS are validated by the numerical examples. Moreover, cost minimization techniques such as PSO, ABC, and GA are also employed. The outcomes are evaluated across methods, and the lowest possible price is determined.

Future research could expand on this study by charactering various sleeping strategies. Moreover, the proposed QS can also be analysed with 6G network BS. The research could potentially be extended to discrete systems as well. Further, the matrix geometric method was not applied to the study of these systems, which is also a promising avenue for future investigation.