1 Introduction

A cellular network or mobile network is a radio network distributed over the geographical region called cells. The cells which are distributed over the region may be of any perfect shape like square, circle, hexagon. Among the above mentioned shapes, Baltzis (2011) proved the hexagon shape cells are conventional, because it covers the entire area without overlapping. The communication over each of the cells are carried out by at least one fixed transceiver in that cell called Base Station (BS).

Due to tremendous demand, cellular networks have dramatically evolved in today’s world. In the late 1970s, with successive generations (2 G to 4 G), cellular networks and technology had considerably evolved. In the first generation (1 G) cellular networks, the channel capacity was 30KHz and the data speed was 2.4 kbps. 1 G cellular networks only permitted voice calls to be made. Then in 1991, the second generation (2 G) cellular networks were introduced with bandwidths of 30KHz to 200KHz and permitted users to send messages (SMS and MMS), although at low speeds, up to 64 kbps. To increase the bandwidth as well as data speed, in 2000 and 2008, the third generation (3 G) and the fourth generation (4 G) cellular networks were introduced. The bandwidth of 3 G cellular networks and 4 G cellular networks was 5 MHz to 20 MHz but, 4 G users got speeds of up to 100 Mbps, while 3 G only promised a peak speed of 14 Mbps. This happens because the data rate in 4 G is higher than that of 3 G. Although 4 G cellular networks provided higher capacity, high speed of data rate but the latency was more Al-Falahy and Alani (2017) shown the difference between 5G and old mobile network generations, listing changes to several features. To reduce the latency and to get higher multi-Gbps peak data speeds, more reliability, massive network capacity and availability, in early 2019, the 5 G cellular networks were introduced.

Parvez et al. (2018) listed out some basic features that a 5 G cellular network is composed of namely core network, Software Defined Network (SDN), Small Cell BS, macro cell BS, User Equipment (UE), enhanced broadband and ultra reliable low latency communication etc. In 5 G cellular networks, Radio Access Network (RAN) connects the end-user devices and the other applications. This connection is achieved by transmitting information via radio waves from the end-user devices to a RAN’s transceivers (which may be small cell or macro cell BS) and from RAN’s transceivers to the core network which further it connects to the global internet. Since the user requests (URs) end-to-end delay (latency) in RAN and core network along with backhaul between RAN and core network is more, the 5 G cellular networks is involved to reduce the latency SDN. To achieve higher data speed rate with lower latency, enhanced mobile broadband and ultra-reliable low-latency communications are two new expected features in 5 G cellular networks. Hao (2021) discussed, enhanced mobile broadband provides higher speed data rate and ultra-reliable low latency communications provide lower latency in 5 G cellular networks. Ultra-reliable low-latency communications include some applications which need lower latency namely smart grid, smart factory, intelligent transport system and robotic surgery.

  • The required end-to-end delay (latency) in smart grid is maximum 1 ms in a synchronous co-phasing of power suppliers (i.e., generators). For ON or OFF switching suppliers (i.e., solar panel, windmill, etc.) in smart grid, an end-to-end delay is maximum 100 ms.

  • The required latency in smart factory is less than 1 ms.

  • The required latency in intelligent transport system is 10 ms to 100 ms with packet loss rate of \(10^{-3}\) to \(10^{-5}\).

  • Robotic surgery also needs ultra reliable low latency communication.

The above mentioned features were already mentioned in 5 G networks as the key services Parvez et al. (2018).

Chih-Lin et al. (2020) proved that, in 5 G cellular networks, the power consumption with a bandwidth of 100 MHz is five times higher than the power consumption in a 4 G networks with a bandwidth of 20 MHz, presuming the power spectrum density to be the same. Hence, high power consumption is one of the major issue in 5 G cellular networks. To overcome this issue, energy efficiency has attracted many attentions in 5 G cellular networks which contains the following two types of cells: macro cell and small cell. In each cell, there is a BS, and all mobile devices in the same cell communicate with the BS in the same area. Small cell BSs reduces the load of macro cell BSs. To achieve more energy efficiency from small cell or macro cell BSs of 5 G cellular networks, is to adapt N limited scheme. Let Q be the number of URs in the BS queue. In N limited scheme, the BSs starts serving the URs when there are N URs accumulated in the 5 G cellular networks, i.e., \((Q\ge N)\), which is shown in Fig. 1. Yang et al. (2017) showed that, in N limited scheme, when the BS woke up or shut off, it experienced a state transition delay. They also showed that the impact of state transition delay on the power consumption and traffic delay performance. They also discussed the tradeoff between the traffic delay requirements and power-saving. To get more energy efficiency from 5 G cellular networks, a new sleeping strategy is proposed, i.e., Multiple Sleeping scheme using N limited scheme by considering multiple sleeps (MSs) (where \(Q<N\) or \(Q>N\) till the duration is over), close down (with \(Q<1\)) and setup time (where \(Q\ge N\) till the duration is over) which are shown in Figs. 2 and 3.

Fig. 1
figure 1

5 G cellular networks architecture involving SDN with Base Station active mode and N limited scheme

Fig. 2
figure 2

5 G cellular network architecture involving SDN with small cell Base Station sleeping strategy and N limited scheme

Fig. 3
figure 3

5 G cellular network architecture involving SDN with macro cell Base Station sleeping strategy and N limited scheme

In the literature, many sleeping and awaking strategies were proposed. However, the implementation of these strategies had some constraints like close down, set up. It is obvious that the analysis of different BSs sleeping strategies based on the energy saving and delay are essential. Some familiar sleeping strategies are single sleep (SS), MSs, N-limited scheme, light sleep, deep sleep etc. Generally the sleeping strategies depends either on time or the number of UR accumulated in the queue for service.

In SS scheme, the BS goes to sleep when there are no UR is waiting in the queue. After a particular time, it will awake unaware of number of UR waiting in the queue. A known fact is that the longer sleeping time saves more energy, but increases the delay time. Thus, it is necessary to show the trade off between the power saving and delay. In MS scheme, the BS sleeps when no UR is waiting in the queue. After the first sleep, the BS wakes up in case of at least one UR arrives and then the BS will start to process the UR. Otherwise, BS resumes the next sleep. This process will continue until the BS finds at least one UR in the queue. This sleeping strategy is better than SS in energy efficiency perspective. Whereas in N-limited scheme, the BS wakes up when N number of URs is accumulated. A component in BS or the Control BS (CBS) will count the number of URs accumulated in the queue. The BS will start to setup or wake-up when the accumulated number of UR in the queue is greater than or equal to the predefined number called N. Larger N value will result lesser power consumption but the delay will be more.

In the cases of SS and MS, BS will start to setup when atleast one UR is found in the system. It may decrease the delay, but increases the power consumption. Instead of awaking the BS for one UR in SS and MS scheme, the scheme MS with N-policy will awake the BS only when N number of URs have accumulated in the queue. Thus, it gives more energy saving. Also introducing close down time before starting the SS and MS can reduce the delay of the URs. This motivates us to analyse the impact of applying MS scheme using N- limited scheme on a macro cell or small cell BS in 5 G cellular networks with close down and setup time.

The proposed sleeping strategy, i.e., MS scheme using N-limited on a BS with close down and setup time is better than the SS scheme using N-limited scheme. When \(N=1\) the scheme becomes the MS scheme only and when \(N\ge 1\), the scheme becomes the MS scheme with N-limited scheme. In MSs with N-limited scheme, the BS wakes up after N \(( Q\ge N, N\ge 1)\) URs have gathered in the BS, whereas in MSs without N-limited scheme, the BS wakes up whenever a \((Q= N, N=1)\) UR comes.

By achieving energy efficiency using N-limited scheme, one can move forward to the green communication in 5G cellular networks. Niu (2011) described, with the increasing rate of carbon footprint, the unfolding cellular technology has increased the energy consumption in mobile networks. This is one of the cause of an adverse effect on the environment and human health. Keeping this point in mind, Gandotra et al. (2017) studied a survey on techniques to make the 5G cellular networks GREEN. In the BS of 5G cellular networks, by considering the high deployment density, the overall power consumption may be 12 times higher than the 4 G networks. Chih-Lin et al. (2020) described that, this power consumption estimate was intolerable due to involved economic and environmental costs. Hence, by gaining energy efficiency, green communication is possible in 5G cellular networks.

The work flow in this article is as follows: Section 2 presents the literature review. Section 3 elaborates the mathematical model description with queue size distribution. Section 4 presents some theorems and essential performance measures. Section 5 describes the numerical illustrations, the impact of the parameters and a comparative analysis. Finally, Section 6 draws the conclusions and future work.

2 Literature Review

López-Pérez et al. (2022) listed the following three technologies are employed for reducing energy usage at the 5 G RAN level: massive multiple-input multiple-output (mMIMO), the lean carrier design, and 5 G sleep modes. A survey on the power consumption or energy efficiency in BS under different sleeping schemes and wake up techniques has been analyzed by Wu et al. (2015). Wu et al. (2013) studied the power matching and energy efficiency for a BS incorporated with the N-based and V-based sleeping schemes. Lie et al. (2016) analysed the energy efficiency in BS with light sleep and deep sleep under random sleeping and strategic sleeping policies. Yang et al. (2016) discussed the light sleep, deep sleep in BS and their energy consumption. Four different sleep modes based on traffic via deactivating the components or configured to a power saving mode was studied by Debaillie et al. (2015). The analytical frame work of power consumption model with four sleep depths was performed by Onireti et al. (2017).

By default BS took some time to wake up, but in all the research articles mentioned above they considered sleep without setup time. Also, Kamitsos et al. (2010) derived optimal trade-off between energy saving and average response and proved that it had a hysteretic structure. Further, set up time was also ignored here. Niu et al. (2015) analysed the sleep mode operations by modelling the BS as an M/G/1 queue with setup and close down times. A comparative study was taken over the three different wake up schemes namely single sleep, multiple sleeps and N-limited schemes by Guo et al. (2016). In which they considered the service process in base station as an M/G/1 with close down and setup times. Yang et al. (2017) analysed the impact of state transition delay on the power consumption and traffic delay performance under the scheme N-limited sleeping. Also they discussed the trade-off between energy saving and traffic delay requirements. Wu et al. (2020) analysed the power consumption and grade of service in BS with sleeping under isolated, cooperative and hybrid schemes.

Research progress on essential green tradeoffs such as delay against power in 5G communication technologies was analysed by Zhang et al. in (2016). Li et al. (2020) provided an overview of the power-saving measures enabled by 5G NR. Gupta (2012) proposes delay-tolerant traffic to improve system energy-efficiency. Zhao et al. (2014) studied the energy-delay tradeoffs of a virtual base station with sleeping. With four different sleep patterns, Salem et al. (2019) calculated the energy delay tradeoff for a 5 G network.

Many authors had used a combinations of close down time, setup time, and N-policy to conduct research in a queue. Haridass and Arumuganathan (2012) obtained steady-state performance measures for multiple vacations with setup time. Parthasarathy and Sudhesh (2008) established a transient solution for the Markov queueing model with N-policy. Krishna Reddy et al. (1998) analysed the steady state behaviour of a bulk arrival, bulk service queueing system with N-policy, multiple vacations and setup times. Among this, the supplementary variable technique was used in Haridass and Arumuganathan (2012) and Krishna Reddy et al. (1998) to obtain the queue size distribution. In this paper, the authors applied the supplementary variable technique to analyse the UR queue in a 5 G BS with close down, setup time and N-policy in MS scheme.

3 Model Description

To analyse the power consumption in a BS with multiple sleeps and N-policy, delay was also an important factor to study. Consequently, a stochastic model has been developed for the BS with multiple sleeps and N-policy. The main goals of the queueing model was to obtain the steady state probability of different BS states and the mean delay of URs.

The arrival of URs to the BS follows the Poisson process with the rate \(\lambda\). Each user request is individually processed in the BS. The service time of the UR is iid random variable S and follows a general distribution. URs are processed based on FIFO queue discipline in the BS. The server will close down when there is no UR in the queue to reduce the power consumption. The close down time C follows a general distribution. During close down, if any UR arrives, the server immediately starts its service, else the server will be switched to sleep mode. The sleeping time is an iid random variable V that follows a general distribution. The wake-up scheme is defined as multiple sleeps with N-Policy. In that, the sleeping BS wakes up only when N or more URs have been accumulated at the end of any sleeping period. At the end of any sleep, if there are at least N number of URs waiting in the queue the server starts to set up (or called warm-up). The server starts to serve the URs after the completion of setup. The server setup time R is also generally distributed. The transition diagram of the proposed model is shown in Fig. 4.

Fig. 4
figure 4

Transition diagram for the MS scheme using N-policy on a 5G BS with close down and setup time

An M/G/1 queue with sleep, close down and setup time is used to model the user request queue in the base station.

The notations used in the queueing model of the proposed work are listed in Table 1. Let N(t) be the size of the BS queue at any time t. The state of the BS at any time t is indicated by M(t) as follows:

$$\begin{aligned} M(t)= {\left\{ \begin{array}{ll}0 &{} \text {if the BS is in close down}\\ 1 &{} \text {if the BS is in busy}\\ 2 &{} \text {if the BS is in setup}\\ j+2 &{} \text {if the BS is in}\ j^{th}\ \text {sleep,}\ j=1,2, \ldots \\ \end{array}\right. }. \end{aligned}$$

Then \(X(t)=\{M(t),N(t), t\ge 0\}\) is a stochastic process with state space \(\Omega =\{(0,0),(1,0),(1,1),\ldots ,(2,N),(2,N+1),\ldots ,(3,0),(3,1),\ldots , (4,0),(4,1),\ldots \}\)

Table 1 Notations used in the proposed model

The system state probabilities are defined as follows:

\(C_0(x,t)\) - Probability that the BS in close down process with remaining close down time is lying in between x and \(x + dx\), and no URs.

$$\begin{aligned} {i.e., C_0(x,t)=Pr\{N(t)=0,\;x\le C^0\le x+dt\;,M(t)=0)\}} . \end{aligned}$$

\(P_{1,\,n}(x,t)\) - The probability that there are exactly \(n(n=0,1,\ldots )\) URs in buffer at time t and one in service with remaining service time is lying in between x and \(x + dx\).

$$\begin{aligned} {i.e., P_{1,\,n}(x,t)=Pr\{N(t)=n,\;x\le S^0\le x+dt\;,M(t)=1)\}} . \end{aligned}$$

\(R_n(x,t)\) - The probability that there are exactly \(n(n=N,N+1\ldots )\) URs in buffer at time t with remaining setup time of BS is lying in between x and \(x + dx\).

$$\begin{aligned} {i.e., R_n(x,t)=Pr\{N(t)=n,\;x\le R^0\le x+dt\;,M(t)=2)\}} . \end{aligned}$$

\(Q_{jn}(x,t)\) - The probability of exactly \(n(n=0,1,\ldots )\) URs in buffer on \(j^{th} (j=1,2, \ldots )\) sleep at time t with some remaining sleeping time which lies between x and \(x+dx\).

$$\begin{aligned} {i.e., Q_{jn}(x,t)=Pr\{N(t)=n,\;x\le V^0\le x+dt\;,M(t)=j+2\}} . \end{aligned}$$

3.1 The Queue Size Distribution

The queue size equations were obtained using supplementary variable technique. As per the queueing diagram given in Fig. 5 all possible system states are identified and corresponding equations are written for an infinitesimal \(\Delta t\) of the proposed model as follows:

$$\begin{aligned} P_{1,\,0}(x-\Delta t, t+\Delta t)= &\ P_{1,\,0}(x,t)[1-\lambda \Delta t]+P_{1,\,1}(0,t)s(x)\Delta t \nonumber \\{} & {} +\int _{0}^\infty C_0(y,\,t)dys(x)[\lambda \Delta t] \end{aligned}$$
(1)
$$\begin{aligned} P_{1,\,n}(x-\Delta t, t+\Delta t)= &\ P_{1,\,n}(x,t)[1-\lambda \Delta t]+P_{1,\,{n\,+\,1}}(0,t)s(x)\Delta t\nonumber \\{} & {} +P_{1,\,{n\,-\,1}}(x,t)[\lambda \Delta t],\qquad\qquad 1\le n\le N-2 \end{aligned}$$
(2)
$$\begin{aligned} P_{1,\,n}(x-\Delta t, t+\Delta t)= & \ P_{1,\,n}(x,t)[1-\lambda \Delta t]+P_{1,\,{n\,+\,1}}(0,t)s(x)\Delta t \\{} & {} +P_{1,\,{n\,-\,1}}(x,t)[\lambda \Delta t]+ R_{n\,+\,1}(0,t)s(x) \Delta t,\\ & \ n\ge N-1 \end{aligned}$$
(3)
$$\begin{aligned} C_0(x-\Delta t, t+\Delta t)= C_0(x, t)[1-\lambda \Delta t]+P_{1,\,0}(0, t)c(x)\Delta t\end{aligned}$$
(4)
$$\begin{aligned} Q_{10}(x-\Delta t, t+\Delta t)= Q_{10}(x, t)[1-\lambda \Delta t]+C_0(0, t)v(x) \Delta t\end{aligned}$$
(5)
$$\begin{aligned} Q_{1n}(x-\Delta t, t+\Delta t)= Q_{1n}(x, t)[1-\lambda \Delta t]+Q_{1(n\,-\,1)}(x, t)[\lambda \Delta t], \quad n\ge 1\end{aligned}$$
(6)
$$\begin{aligned} Q_{j0}(x-\Delta t, t+\Delta t)= Q_{j0}(x, t)[1-\lambda \Delta t]+Q_{(j\,-\,1)0}(0, t)v(x) \Delta t,\quad j=2,3,\ldots \end{aligned}$$
(7)
$$\begin{aligned} Q_{jn}(x-\Delta t, t+\Delta t)=&\ Q_{jn}(x, t)[1-\lambda \Delta t]+Q_{j(n\,-\,1)}(x,t)[\lambda \Delta t] \nonumber \\{} & {} +Q_{(j\,-\,1)n}(0, t)v(x) \Delta t,\quad1\le n\le N-1, j=2,3,\ldots \end{aligned}$$
(8)
$$\begin{aligned} Q_{jn}(x-\Delta t, t+\Delta t)=&\ Q_{jn}(x, t)[1-\lambda \Delta t]+Q_{j(n\,-\,1)}(x,t)[\lambda \Delta t],\\&\ n\ge N, j=2,3,\ldots \end{aligned}$$
(9)
$$\begin{aligned} R_N(x-\Delta t, t+\Delta t)= R_N(x, t)[1-\lambda \Delta t]+\sum _{j\,=\,1}^{\infty }Q_{jN}(0,t)r(x)\Delta t \end{aligned}$$
(10)
$$\begin{aligned} R_n(x-\Delta t, t+\Delta t)= & \ R_n(x, t)[1-\lambda \Delta t]+R_{n\,-\,1}(x, t)[\lambda \Delta t]\nonumber \\{} & {} +\sum _{j\,=\,1}^{\infty }Q_{jn}(0,t)r(x)\Delta t,\qquad n\ge N+1. \end{aligned}$$
(11)
Fig. 5
figure 5

State transition diagram for the M/G/1 queue with N-policy, close down, sleep and setup in a BS

Since the system does not change over time in steady state, the assumptions \(P_{1,\,n}(x)=\lim _{t\,\rightarrow\, \infty }P_{1,\,n}(x,t)\),   \(C_0(x)=\lim _{t\,\rightarrow \,\infty }C_0(x,t)\),    \(Q_{jn}(x)=\lim _{t\,\rightarrow \,\infty }Q_{jn}(x,t)\), \(R_{n}(x)=\lim _{t\,\rightarrow\, \infty }R_{n}(x,t)\) are taken to obtain the steady state probabilities. Using these assumptions in Eqs. from (1) to (11), the steady state equations are obtained as follows:

$$\begin{aligned} -\displaystyle \frac{{d}}{{d}x}P_{1,\,0}(x)= & {} -\lambda P_{1,\,0}(x)+P_{1,\,1}(0)s(x) +\lambda s(x)\int _{0}^\infty C_0(y)dy \end{aligned}$$
(12)
$$\begin{aligned} -\displaystyle \frac{{d}}{{d}x}P_{1,\,n}(x)= & {} -\lambda P_{1,\,n}(x)+P_{1,\,{n\,+\,1}}(0)s(x)+\lambda P_{1,\,{n\,-\,1}}(x),\nonumber \\{} & {} 1\le n\le N-2 \end{aligned}$$
(13)
$$\begin{aligned} -\displaystyle \frac{{d}}{{d}x}P_{1,\,n}(x)= & {} -\lambda P_{1,\,n}(x)+P_{1,\,{n\,+\,1}}(0)s(x)+\lambda P_{1,\,{n\,-\,1}}(x)+R_{n\,+\,1}(0)s(x),\nonumber \\{} & {} n\ge N-1 \end{aligned}$$
(14)
$$\begin{aligned} -\displaystyle \frac{{d}}{{d}x}C_0(x)= & {} -\lambda C_0(x)+P_{1,\,0}(0)c(x)\end{aligned}$$
(15)
$$\begin{aligned} -\displaystyle \frac{{d}}{{d}x}Q_{10}(x)= & {} -\lambda Q_{10}(x)+C_0(0)v(x) \end{aligned}$$
(16)
$$\begin{aligned} -\displaystyle \frac{{d}}{{d}x}Q_{1n}(x)= & {} -\lambda Q_{1n}(x)+\lambda Q_{1(n\,-\,1)}(x), n\ge 1\end{aligned}$$
(17)
$$\begin{aligned} -\displaystyle \frac{{d}}{{d}x}Q_{j0}(x)= & {} -\lambda Q_{j0}(x)+Q_{(j\,-\,1)0}(0)v(x),\quad j=2,3,\ldots \end{aligned}$$
(18)
$$\begin{aligned} -\displaystyle \frac{{d}}{{d}x}Q_{jn}(x)= & {} -\lambda Q_{jn}(x)+\lambda Q_{j(n\,-\,1)}(x)+Q_{(j\,-\,1)n}(0)v(x),\nonumber \\{} & {} 1\le n\le N-1, j=2,3,\ldots \end{aligned}$$
(19)
$$\begin{aligned} -\displaystyle \frac{{d}}{{d}x}Q_{jn}(x)= & {} -\lambda Q_{jn}(x)+\lambda Q_{j(n\,-\,1)}(x), n\ge N, j=2,3,\ldots \end{aligned}$$
(20)
$$\begin{aligned} -\displaystyle \frac{{d}}{{d}x}R_N(x)= & {} -\lambda R_N(x)+\sum _{j\,=\,1}^{\infty }Q_{jN}(0)r(x)\end{aligned}$$
(21)
$$\begin{aligned} -\displaystyle \frac{{d}}{{d}x}R_n(x)= & {} -\lambda R_n(x)+\lambda R_{n\,-\,1}(x)+\sum _{j\,=\,1}^{\infty }Q_{jn}(0)r(x), n\ge N+1. \end{aligned}$$
(22)

Taking Laplace Stieltjes transform on both sides of Eqs. (12) to (22),

$$\begin{aligned} -[\theta \widetilde{P}_{1,\,0}(\theta )-{P}_{1,\,0}(0)]= & {} -\lambda \widetilde{P}_{1,\,0}(\theta )+P_{1,\,1}(0)\widetilde{S}(\theta ) +\lambda \widetilde{S}(\theta )\int _{0}^\infty C_0(y)dy \end{aligned}$$
(23)
$$\begin{aligned} -[\theta \widetilde{P}_{1,\,n}(\theta )-P_{1,\,n}(0)]= & {} -\lambda \widetilde{P}_{1,\,n}(\theta )+P_{1,\,{n\,+\,1}}(0)\widetilde{S}(\theta )+\lambda \widetilde{P}_{1,\,{n\,-\,1}}(\theta ),\nonumber \\{} & {} 1\le n\le N-2 \end{aligned}$$
(24)
$$\begin{aligned} -[\theta \widetilde{P}_{1,\,n}(\theta )-P_{1,\,n}(0)]= & {} -\lambda \widetilde{P}_{1,\,n}(\theta )+ P_{1,\,{n\,+\,1}}(0)\widetilde{S}(\theta )+\lambda \widetilde{P}_{1,\,{n\,-\,1}}(\theta )\nonumber \\{} & {} +R_{n\,+\,1}(0)\widetilde{S}(\theta ), n\ge N-1 \end{aligned}$$
(25)
$$\begin{aligned} -[\theta \widetilde{C}_0(\theta )-C_0(0)]= & {} -\lambda \widetilde{C}_0(\theta )+P_{1,\,0}(0)\widetilde{C}(\theta )\end{aligned}$$
(26)
$$\begin{aligned} -[\theta \widetilde{Q}_{10}(\theta )-Q_{10}(0)]= & {} -\lambda \widetilde{Q}_{10}(\theta )+C_0(0)\widetilde{V}(\theta ) \end{aligned}$$
(27)
$$\begin{aligned} -[\theta \widetilde{Q}_{1n}(\theta )-Q_{1n}(0)]= & {} -\lambda \widetilde{Q}_{1n}(\theta )+\lambda \widetilde{Q}_{1(n\,-\,1)}(\theta ),\quad n\ge 1\end{aligned}$$
(28)
$$\begin{aligned} -[\theta \widetilde{Q}_{j0}(\theta )-Q_{j0}(0)]= & {} -\lambda \widetilde{Q}_{j0}(\theta )+Q_{(j\,-\,1)0}(0)\widetilde{V}(\theta ),\quad j=2,3,\ldots \end{aligned}$$
(29)
$$\begin{aligned} -[\theta \widetilde{Q}_{jn}(\theta )-Q_{jn}(0)]= & {} -\lambda \widetilde{Q}_{jn}(\theta )+\lambda \widetilde{Q}_{j(n\,-\,1)}(\theta )+Q_{(j\,-\,1)n}(0)\widetilde{V}(\theta ),\nonumber \\{} & {} 1\le n\le N-1,j=2,3,\ldots \end{aligned}$$
(30)
$$\begin{aligned} -[\theta \widetilde{Q}_{jn}(\theta )-Q_{jn}(0)]= & {} -\lambda \widetilde{Q}_{jn}(\theta )+\lambda \widetilde{Q}_{j(n\,-\,1)}(\theta ), n\ge N, j=2,3,\ldots \end{aligned}$$
(31)
$$\begin{aligned} -[\theta \widetilde{R}_{N}(\theta )-R_{N}(0)]= & {} -\lambda \widetilde{R}_N(\theta )+\widetilde{R}(\theta )\sum _{j\,=\,1}^{\infty }Q_{jN}(0)\end{aligned}$$
(32)
$$\begin{aligned} -[\theta \widetilde{R}_{n}(\theta )-R_{n}(0)]= & {} -\lambda \widetilde{R}_n(\theta )+\lambda \widetilde{R}_{n\,-\,1}(\theta )+\widetilde{R}(\theta )\sum _{j\,=\,1}^{\infty }Q_{jn}(0),n\ge N+1. \end{aligned}$$
(33)

The following probability generating functions are defined:

$$\begin{aligned}&\begin{array}{ll} \widetilde{P}_1(z,\,\theta )=\mathop{\sum} \limits_{n\,=\,0}^{\infty }\widetilde{P}_{1,\,n}(\theta )z^n;& \ P_1(z,\,0)=\mathop{\sum} \limits _{n\,=\,0}^{\infty }P_{1,\,n}(0)z^n;\nonumber \\ \widetilde{C}(z,\,\theta )=\widetilde{C}_0(\theta );&\ C(z,0)=C_0(0)\nonumber \\ \widetilde{R}(z,\,\theta )=\mathop{\sum} \limits _{n\,=\,N}^{\infty }\widetilde{R}_{n}(\theta )z^n;&\ R(z,0)=\mathop{\sum} \limits _{n\,=\,N}^{\infty }R_{n}(0)z^n.\nonumber \\ \widetilde{Q}_j(z,\,\theta )=\mathop{\sum} \limits _{n\,=\,0}^{\infty }\widetilde{Q}_{jn}(\theta )z^n;&\ Q_j(z,\,0)=\mathop{\sum} \limits _{n\,=\,0}^{\infty }Q_{jn}(0)z^n, j=1,2,\ldots \end{array} \\ & P(z)=\widetilde{P}_1(z,\,0)+\widetilde{C}(z,0)+\widetilde{Q}_1(z,\,0)+\mathop{\sum} \limits _{j\,=\,2}^\infty Q_j(z,\,0)+\widetilde{R}(z,0). \end{aligned}$$
(34)

Multiplying Eq. (23) by \(z^0\), (24) by \(z^n(n=1,2,\ldots ,N-2)\), (25) by \(z^n(n=N-1,N,N+1,\ldots )\), and taking summation from 0 to \(\infty\), the following equation is obtained

$$\begin{aligned} &- \theta \sum _{n\,=\,0}^{\infty }\widetilde{P}_{1,\,n}(\theta )z^n+\sum _{n\,=\,0}^{\infty }P_{1,\,n}(0)z^n=-\lambda \sum _{n\,=\,0}^{\infty }\widetilde{P}_{1,\,n}(\theta )z^n+\lambda \sum _{n\,=\,1}^{\infty }\widetilde{P}_{1,\,{n\,-\,1}}(\theta )z^n\nonumber \\& + \widetilde{S}(\theta )\Big ( \sum _{n\,=\,0}^{\infty }P_{1,\,{n\,+\,1}}(0)z^n+ \sum _{n\,=\,N\,-\,1}^{\infty }R_{n\,+\,1}(0)z^n+\lambda \int _{0}^\infty C_0(y)dy\Big )\\ &\quad z[\theta -\lambda +\lambda z]\widetilde{P}_{1}(z,\theta )=[z-\widetilde{S}(\theta )] P_{1}(z,0)-\widetilde{S}(\theta )\Big ({-P_{1,\,{0}}(0)}+ R(z,0)+\lambda z \widetilde{C}(z,0)\Big ). \end{aligned}$$
(35)

Using Eqs. (34), (26) can be written as

$$\begin{aligned} &-\theta \widetilde{C}(z,\theta )+C(z,0)=-\lambda \widetilde{C}(z,\theta )+P_{1,\,0}(0)\widetilde{C}(\theta ) \\ &\Rightarrow [\theta -\lambda ] \widetilde{C}(z,\theta )= C(z,0)-P_{1,\,0}(0)\widetilde{C}(\theta ). \end{aligned}$$
(36)

Multiplying Eq. (27) by \(z^0\), (28) by \(z^n(n\ge 1)\) and taking summation from 0 to \(\infty\), the following equation arrives

$$\begin{aligned} -\theta \sum _{n\,=\,0}^{\infty } \widetilde{Q}_{1n}(\theta )z^n+\sum _{n\,=\,0}^{\infty }Q_{1n}(0)z^n= & {} -\lambda \sum _{n\,=\,0}^{\infty }\widetilde{Q}_{1n}(\theta )z^n+\lambda \sum _{n\,=\,1}^{\infty }\widetilde{Q}_{1(n\,-\,1)}(\theta )z^n\\{} & {} +C_0(0)\widetilde{V}(\theta )\\\Rightarrow&\ [\theta -\lambda +\lambda z]\widetilde{Q}_{1}(z,\theta )=Q_1(z,0)-C(z,0)\widetilde{V}(\theta ). \end{aligned}$$
(37)

Multiplying Eq. (29) by \(z^0\), (30) by \(z^n (n=1,2,\ldots ,N-1)\), (31) by \(z^n (n=N,N+1,\ldots )\) taking summation from 0 to \(\infty\), we get

$$\begin{aligned} -\theta \sum _{n\,=\,0}^{\infty } \widetilde{Q}_{jn}(\theta )z^n+\sum _{n\,=\,0}^{\infty }Q_{jn}(0)z^n= & {} -\lambda \sum _{n\,=\,0}^{\infty }\widetilde{Q}_{jn}(\theta )z^n+\lambda \sum _{n\,=\,1}^{\infty }\widetilde{Q}_{j(n\,-\,1)}(\theta )z^n\\{} & {} +\widetilde{V}(\theta )\sum _{n\,=\,0}^{N\,-\,1}\widetilde{Q}_{(j\,-\,1)n}(0)z^n\\ \Rightarrow&\ [\theta -\lambda +\lambda z]\widetilde{Q}_{j}(z,\theta )=Q_j(z,0)-\widetilde{V}(\theta )\sum _{n\,=\,0}^{N\,-\,1} Q_{(j\,-\,1)n}(0)z^n. \end{aligned}$$
(38)

Multiplying Eq. (32) by \(z^N\), (33) by \(z^n (n=N+1, N+2,\ldots )\) and taking summation from N to \(\infty\), the following equation is obtained

$$\begin{aligned} -\theta \sum _{n\,=\,N}^{\infty }\widetilde{R}_{n}(\theta )z^n+\sum _{n\,=\,N}^{\infty }R_{n}(0)z^n= & {} -\lambda \sum _{n\,=\,N}^{\infty }\widetilde{R}_n(\theta )z^n+\lambda \sum _{n\,=\,N\,+\,1}^{\infty }\widetilde{R}_{n\,-\,1}(\theta )z^n\\{} & {} +\widetilde{R}(\theta )\sum _{n\,=\,N}^{\infty }\sum _{j\,=\,1}^{\infty }Q_{jn}(0)z^n\\ \Rightarrow&\ [\theta -\lambda +\lambda z]\widetilde{R}(z,\theta )= R(z,0)\\&-\widetilde{R}(\theta )\sum _{j\,=\,1}^{\infty }\Big [Q_j(z,0)-\sum _{n\,=\,0}^{N\,-\,1}Q_{jn}(0)z^n\Big ]. \end{aligned}$$
(39)

Substituting \(\theta =\lambda -\lambda z\) in Eqs. (35), (37), (38), (39) and \(\theta =\lambda\) in (36) the following equations are obtained

$$\begin{aligned} P_{1}(z,0)= \frac{z\widetilde{S}(\lambda -\lambda z)}{[z-S(\lambda -\lambda z)]}\Big ({-P_{1,\,{0}}(0)}+ R(z,0)+\lambda z \widetilde{C}(z,0)\Big ),\end{aligned}$$
(40)
$$\begin{aligned} C(z,0)= \widetilde{C}(\lambda )P_{1,\,0}(0),\end{aligned}$$
(41)
$$\begin{aligned} Q_1(z,0)= C(z,0)\widetilde{V}(\lambda -\lambda z),\end{aligned}$$
(42)
$$\begin{aligned} Q_j(z,0)= & {} \widetilde{V}(\lambda -\lambda z)\sum _{n\,=\,0}^{N\,-\,1} Q_{(j\,-\,1)n}(0)z^n, \qquad j\ge 2\end{aligned}$$
(43)
$$\begin{aligned} R(z,0)= & {} \widetilde{R}(\lambda -\lambda z)\sum _{j\,=\,1}^{\infty }\Big [Q_j(z,0)-\sum _{n\,=\,0}^{N\,-\,1}Q_{jn}(0)z^n\Big ]. \end{aligned}$$
(44)

The following equation is obtained by substituting Eq. (40) in (35)

$$\begin{aligned} \widetilde{P}_{1}(z,\theta )&= \frac{z[\widetilde{S}(\lambda -\lambda z)-\widetilde{S}(\theta )]\Big [\Big ({-P_{1,\,{0}}(0)}+ R(z,0)+\lambda z \widetilde{C}(z,0)\Big )\Big ]}{[\theta -\lambda +\lambda z][z-\widetilde{S}(\lambda -\lambda z)]}. \end{aligned}$$
(45)

Substituting Eq. (41) in (36), the following equation is obtained

$$\begin{aligned} \widetilde{C}(z,\theta )= \frac{\widetilde{C}(\lambda )-\widetilde{C}(\theta )}{[\theta -\lambda ] }P_{1,\,0}(0). \end{aligned}$$
(46)

Using Eqs. (41) and (42) in (37), the following equation is obtained

$$\begin{aligned} \widetilde{Q}_{1}(z,\theta )=\frac{\widetilde{V}(\lambda -\lambda z)-\widetilde{V}(\theta )}{[\theta -\lambda +\lambda z]}\widetilde{C}(\lambda )P_{1,\,0}(0). \end{aligned}$$
(47)

Substituting Eq. (43) in (38), we get

$$\begin{aligned} \widetilde{Q}_{j}(z,\theta )=\frac{\widetilde{V}(\lambda -\lambda z)-\widetilde{V}(\theta )}{[\theta -\lambda +\lambda z]}\sum _{n\,=\,0}^{N\,-\,1} Q_{(j\,-\,1)n}(0)z^n. \end{aligned}$$
(48)

Substituting Eq. (44) in (39), we obtain

$$\begin{aligned} \widetilde{R}(z,\theta )= \frac{\widetilde{R}(\lambda -\lambda z)-\widetilde{R}(\theta )}{[\theta -\lambda +\lambda z]}\sum _{j\,=\,1}^{\infty }\Big [Q_j(z,0)-\sum _{n\,=\,0}^{N\,-\,1}Q_{jn}(0)z^n\Big ]. \end{aligned}$$
(49)

The probability generating function of the queue size P(z) using Eq. (34) is obtained as

$$\begin{aligned} P(z)= & {} \frac{\widetilde{S}(\lambda -\lambda z)}{-\lambda [z-\widetilde{S}(\lambda -\lambda z)]}\Big [\Big (1-\widetilde{C}(\lambda )\widetilde{R}(\lambda -\lambda z)\widetilde{V}(\lambda -\lambda z)-z(1-\widetilde{C}(\lambda ))\Big )P_{1,\,0}(0) \nonumber \\{} & {} +\widetilde{R}(\lambda -\lambda z)[1-\widetilde{V}(\lambda -\lambda z)]\sum _{j\,=\,1}^{\infty }\sum _{n\,=\,0}^{N\,-\,1}Q_{jn}(0)z^n\Big ]. \end{aligned}$$
(50)

Remark 1

The probability generating function P(z) must satisfy \(P(1) = 1\). Applying L’Hospital’s rule, evaluating \(\lim _{z\,\rightarrow\, 1} P(z)\) and equating the expression to 1, \(\big (1-\lambda E(S)\big ) > 0\) is obtained to meet the requirement. As a result, the suggested model’s stability requirement is \(\rho <1\), where \(\rho =\lambda E[S]\).

4 Performance Measures

This article has proposed a MS with N-policy for a BS. It is vital to investigate the proposed scheme’s performance before adopting it. As a result, the required probabilities, steady state probabilities, mean delay, and mean power consumption has been derived in this section, and the influence of parameter on these performance measures has been examined in Section 5.

4.1 Computation of Probability of Number of URs in the Queue

The probability generating function P(z) consists of the constants \(Q_{jn}(0)\) and \(P_{1,\,0}(0)\) respectively, which denote the probability of n URs in the queue at the end of \(j^{th}\) sleep and the probability of no UR in the queue at the completion epoch of a service.

The following theorems are used to express \(Q_{jn}(0)\) in terms of \(P_{1,\,0}(0)\):

Theorem 1

Let \(\alpha _i\) be the probability of i URs arrive during a sleep. Corresponding probability generating function is given by

$$\begin{aligned} \sum _{i\,=\,0}^{\infty }{\alpha _iz^i}=\widetilde{V}(\lambda -\lambda z). \end{aligned}$$

Proof

It is given that \(\alpha _i\) is the probability of i URs arrive during a sleep.

$$\begin{aligned} \alpha _i=\int _{0}^{\infty } \frac{e^{-\lambda t}{(\lambda t)}^i}{i!} \, dV(t). \end{aligned}$$

Multiplying both the sides of the above equation by \(z^i\) and taking the summation from \(i=0\) to \(\infty\), the following equation is obtained

$$\begin{aligned} \sum _{i\,=\,0}^\infty \alpha _i z^i&= {} \sum _{i\,=\,0}^\infty \int _{0}^{\infty } \frac{e^{-\lambda t}{(\lambda t)}^i}{i!}z^i \,dV(t)\\&= {} \int _{0}^{\infty } \sum _{i\,=\,0}^\infty \frac{e^{-\lambda t}{(\lambda t)}^i}{i!}z^i \, dV(t)\\&= {} \int _{0}^{\infty } \sum _{i\,=\,0}^\infty e^{-\lambda t}e^{\lambda tz}\,dV(t)\\&= {} \widetilde{V}(\lambda -\lambda z). \end{aligned}$$

\(\square\)

Theorem 2

Let \(\alpha _i\) be the probability of i URs arrive during a sleep and let \(q_n=\sum _{j\,=\,1}^\infty Q_{jn}(0)\) be the probability of n URs in the queue at the end of any \(j^{th}\) sleep. Then,

$$\begin{aligned} q_n=\beta _n \widetilde{C}(\lambda )P_{1,\,0}(0),\, n=0,1,\ldots , N-1 \end{aligned}$$

where

$$\begin{aligned} \beta _n =\frac{\alpha _n+\sum _{i\,=\,1}^n\beta _i\alpha _{n\,-\,i}}{1-\alpha _0}. \end{aligned}$$

Proof

$$\begin{aligned} \sum _{j\,=\,1}^\infty Q_j(z,0)&= {} Q_1(z,0)+\sum _{j\,=\,2}^\infty Q_j(z,0)\nonumber \\&= {} \widetilde{V}(\lambda -\lambda z)\Big [\widetilde{C}(\lambda )P_{1,\,0}(0)+\sum _{j\,=\,2}^\infty \sum _{n\,=\,0}^{N\,-\,1} Q_{(j\,-\,1)n}(0)z^n\Big ]\nonumber \\ \sum _{n\,=\,0}^\infty \sum _{j\,=\,1}^\infty Q_{jn}(0)z^n&= {} \sum _{n\,=\,0}^\infty \alpha _nz^n\Big [\widetilde{C}(\lambda )P_{1,\,0}(0)+\sum _{j\,=\,1}^\infty \sum _{n\,=\,0}^{N\,-\,1} Q_{jn}(0)z^n\Big ]. \end{aligned}$$

Let \(q_n=\sum _{j\,=\,1}^\infty Q_{jn}(0)\). Hence, the above equation becomes

$$\begin{aligned} \sum _{n\,=\,0}^\infty q_n z^n= & {} \sum _{n\,=\,0}^\infty \alpha _nz^n\Big [\widetilde{C}(\lambda )P_{1,\,0}(0)+\sum _{n\,=\,0}^{N\,-\,1} q_n z^n\Big ]. \end{aligned}$$

Equating the coefficient of \(z^n\) on both the sides, we get

$$\begin{aligned} q_n=\alpha _n \widetilde{C}(\lambda )P_{1,\,0}(0)+\sum _{i\,=\,0}^{n}\alpha _i q_{n\,-\,i},\qquad \qquad n=0,1,\ldots , N-1. \end{aligned}$$
$$\begin{aligned} \text {When} \quad n=0, \quad q_0&= {} \frac{\alpha _0\widetilde{C}(\lambda )P_{1,\,0}(0)}{1-\alpha _0}=\beta _0 \widetilde{C}(\lambda )P_{1,\,0}(0), \\ \text {where}\qquad \beta _0&= {} \frac{\alpha _0}{1-\alpha _0}.\\ \text {When} \quad n=1, \quad q_1&= {} \frac{[\alpha _1+\alpha _1\beta _0]\widetilde{C}(\lambda )P_{1,\,0}(0)}{1-\alpha _0}=\beta _1 \widetilde{C}(\lambda )P_{1,\,0}(0),\\ \text {where}\qquad \beta _1&= {} \frac{\alpha _1+\alpha _1\beta _0}{1-\alpha _0}.\\ \text {When} \quad n=2, \quad q_2&= {} \frac{[\alpha _2+\alpha _2\beta _0+\alpha _1\beta _1]\widetilde{C}(\lambda )P_{1,\,0}(0)}{1-\alpha _0}=\beta _2 \widetilde{C}(\lambda )P_{1,\,0}(0),\\ \text {where}\qquad \beta _2&= {} \frac{\alpha _2+\alpha _2\beta _0+\alpha _1\beta _1}{1-\alpha _0}.\\ \text {In general} \qquad q_n&= {} \beta _n \widetilde{C}(\lambda )P_{1,\,0}(0), \text {where} \quad \beta _n =\frac{\alpha _n+\sum _{i\,=\,1}^n\alpha _{i}\beta _{n\,-\,i}}{1-\alpha _0}. \end{aligned}$$

\(\square\)

Corollary 2.1

The probability of no URs in the queue at the end of a service completion epoch is given by

$$\begin{aligned} P_{1,\,0}(0)= \frac{\lambda \left( 1-\lambda E[S]\right) }{1-\widetilde{C}(\lambda )+\lambda E[R] \widetilde{C}(\lambda )+\lambda E[V] \widetilde{C}(\lambda )+\lambda E[V] \widetilde{C}(\lambda )\sum _{n\,=\,0}^{N\,-\,1} \beta _n}. \end{aligned}$$
(51)

Proof

The result obtained by letting \(z\rightarrow 1\) in Eq. (50) and equating the expression to 1.\(\square\)

4.2 Some Special Cases

The PGF of the proposed model in Eq. (50) is compared with the PGF of some of the existing models and are discussed below as special cases of the proposed model.

Case (i):

When \(N=1\), the PGF given in Eq. (50), represents the PGF of M/G/1 queueing system with multiple sleeps, close down, setup and without N-policy as given by

$$\begin{aligned} P(z)=\frac{(\lambda E(S)-1) \widetilde{S}(\lambda -\lambda z) \left( \widetilde{C}(\lambda ) \left( z-\widetilde{R}(\lambda -\lambda z) \left( \beta _0 (\widetilde{V}(\lambda -\lambda z)-1)+\widetilde{V}(\lambda -\lambda z)\right) \right) -z+1\right) }{(z-\widetilde{S}(\lambda -\lambda z)) \left( 1+\widetilde{C}(\lambda ) \left( \lambda E(R)+\left( \beta _0+1\right) \lambda E(V)-1\right) \right) }. \end{aligned}$$
(52)

Also note that the above result was a special case of the result obtained by Kalita et al. (2020).

Case (ii):

When no close down, Eq. (50) becomes

$$\begin{aligned} P(z)=\frac{(1-\lambda E(S)) \widetilde{S}(\lambda -\lambda z) \left( 1-\widetilde{R}(\lambda -\lambda z) \left( (1-\widetilde{V}(\lambda -\lambda z)) \left( \sum _{n\,=\,0}^{N\,-\,1} \beta _n z^n\right) + \widetilde{V}(\lambda -\lambda z)\right) \right) }{(z-\widetilde{S}(\lambda -\lambda z)) \left( \lambda E(V) \left( 1+\sum _{n\,=\,0}^{N\,-\,1} \beta _n \right) +\lambda E(R)\right) }. \end{aligned}$$
(53)

The above represents the probability generating function of M/G/1 queueing system with multiple sleeps, N-policy and setup. This result coincides with M/G/1 queueing system with multiple vacations, N-policy and setup times obtained by Krishna Reddy et al. (1998).

Case (iii):

When no close down, no setup, Eq. (50) becomes

$$\begin{aligned} P(z)=\frac{(1-\lambda E(S))\widetilde{S}(\lambda -\lambda z) (\widetilde{V}(\lambda -\lambda z)-1) \left( \sum _{n\,=\,0}^{N\,-\,1} \beta _n z^n+1\right) }{\lambda E(V) (z-\widetilde{S}(\lambda -\lambda z)) \left( \sum _{n\,=\,0}^{N\,-\,1} \beta _n +1\right) }. \end{aligned}$$
(54)

The above expression represents the PGF of M/G/1 queueing system with multiple vacation and N-policy. This result matches with the special case of result obtained by Gautam et al. (2020) for M/G/1 queueing system with multiple vacation and N- policy.

Case (iv):

When no close down, no sleeps and no setup, Eq. (50) reduces to the following equation

$$\begin{aligned} P(z)=\frac{(z-1) (1-\lambda E(S)) \widetilde{S}(\lambda -\lambda z)}{z-\widetilde{S}(\lambda -\lambda z)}. \end{aligned}$$
(55)

Equation (55) matches with the PGF of M/G/1 queueing system as in Shortle et al. (2018) and Pollaczek-Khinchin (P-K) formula obtained by Castañed et al. (2012).

4.3 Steady State Probabilities

Let \(q_{AC}, q_{CD}, q_{SL}, q_{SU}\) denote the steady state probability of the BS in active, close-down, sleep and set up.

The steady state probability that the BS is in active is given by

$$\begin{aligned} q_{_{AC}}=\lim _{z\,\rightarrow\, 1}\widetilde{P}_{1}(z,0)= & \ \lim _{z\,\rightarrow \,1}\frac{[1-\widetilde{S}(\lambda -\lambda z)]}{[-\lambda +\lambda z][z-\widetilde{S}(\lambda -\lambda z)]} \Big [P_{1,\,0}(0)\Big (1- z [1-\widetilde{C}(\lambda )]\nonumber \\{} & {} -\widetilde{R}(\lambda -\lambda z)\widetilde{C}(\lambda )\widetilde{V}(\lambda -\lambda z)\Big )\nonumber \\{} & {} +\widetilde{R}(\lambda -\lambda z)[1-\widetilde{V}(\lambda -\lambda z)]\sum _{j\,=\,1}^{\infty }\sum _{n\,=\,0}^{N\,-\,1}Q_{jn}(0)z^n\Big ]\nonumber \\= & \ \frac{E[S]}{1-\lambda E[S]}\Big [P_{1,\,0}(0)\Big (1+\lambda \widetilde{C}(\lambda )E[R]\nonumber \\{} & {} +\lambda \widetilde{C}(\lambda )E[V]-\widetilde{C}(\lambda )\Big )+\lambda E[V] \sum _{j\,=\,1}^{\infty }\sum _{n\,=\,0}^{N\,-\,1}Q_{jn}(0)\Big ]. \end{aligned}$$
(56)

The steady state probability that the BS is in close down

$$\begin{aligned} q_{_{CD}}=\lim _{z\,\rightarrow \,1}\widetilde{C}(z,0)= & \ \lim _{z\,\rightarrow \,1} \frac{\widetilde{C}(\lambda )-1}{[-\lambda ] }P_{1,\,0}(0)\nonumber \\= & \ \frac{1-\widetilde{C}(\lambda )}{\lambda }P_{1,\,0}(0). \end{aligned}$$
(57)

The steady state probability that the BS is in sleep

$$\begin{aligned} q_{_{SL}}=\lim _{z\,\rightarrow \,1}\sum _{j\,=\,1}^{\infty }\widetilde{Q}_j(z,0)= & \ \widetilde{Q}_1(z,0)+\sum _{j\,=\,2}^{\infty }\widetilde{Q}_j(z,0)\nonumber \\= & \ E[V]\Big [\widetilde{C}(\lambda ) P_{1,\,0}(0)+\sum _{j\,=\,1}^{\infty }\sum _{n\,=\,0}^{N\,-\,1}Q_{jn}(0)\Big ]. \end{aligned}$$
(58)

The steady state probability that the BS is in set up

$$\begin{aligned} q_{_{SU}}=\lim _{z\,\rightarrow\, 1}\widetilde{R}(z,0)= & \ \lim _{z\,\rightarrow\, 1}\frac{\widetilde{R}(\lambda -\lambda z)-1}{[-\lambda +\lambda z]}\Big [[\widetilde{V}(\lambda -\lambda z)-1]\sum _{j\,=\,1}^{\infty }\sum _{n\,=\,0}^{N\,-\,1}Q_{jn}(0)z^n\nonumber \\{} & {} +\widetilde{C}(\lambda )\widetilde{V}(\lambda -\lambda z)P_{1,\,0}(0)\Big ]\nonumber \\= & \ E[R]\widetilde{C}(\lambda )P_{1,\,0}(0). \end{aligned}$$
(59)

4.4 Computation of Mean Delay

Delay is the time that an UR spends in the queue till the service begins. If the BS is already serving an UR, the newly arrived UR has to wait in the queue to get service, this is called as queue delay or busy period of the server. In the proposed model, the server will not provide service when the BS is on sleep or setup. This delay is called as additional delay or idle period Powell and Avi-Itzhak (1967) of the server. The close down period is not a factor for delay because the BS immediately processes the UR that arrives during the close-down.

Levy and Kleinrock (1986) showed that the delay in the queue with setup was composed of the direct sum of two independent variables namely queue delay and additional delay due to the setup. Krishna Reddy et al. (1998) calculated additional delay as the sum of idle period due to multiple vacation process and mean length of setup time for a \(M^X/G(a, b)/1\) queueing system with N-policy, multiple vacations and setup. The proposed model presents the following factors of delay: queue, MS and setup time.

It is obvious that while BS is active, the URs are affected only by queue delays. The UR will not be delayed if they arrive during close down and are served immediately. The URs arrive while the BS that is sleeping gets affected by sleep, queue, and setup delays. The URs that arrive during setup will have setup and queue delays.

Hence, The mean delay for an UR is calculated as follows:

$$\begin{aligned} E(D)= & {} \frac{\lambda E[S^2]}{2(1-\lambda E[S])}+( \text {mean sleep period}) q_{_{SL}}+\text {(mean setup duration)}q_{_{SU}}. \end{aligned}$$
(60)

In the above equation, the term \(\frac{\lambda E[S^2]}{2(1-\lambda E[S])}\) represents the mean queuing delay in an M/G/1 queueing system Shortle et al. (2018).

The mean sleep period is calculated as follows:

Let I be the random variable denoting the Idle period due to multiple sleeps. To find E[I], let us define another variable U as follows:

\(U=0\), if the server finds at least N URs after the first short sleep.

\(U=1\), if the server finds less than N URs after the first short sleep.

$$\begin{aligned} E[I]&= E[I/U=0]P[U=0]+E[I/U=1]P[U=1]\nonumber \\&= E[V]P[U=0]+(E[V]+E[I])P[U=1] \\&= \frac{E[V]}{P[U=0]} \end{aligned}$$
(61)

where

$$\begin{aligned} P[U=0]&= P[\text {server finds at least {N} URs after the first sleep}] \nonumber \\&= 1- \sum _{n\,=\,0}^{N\,-\,1}Q_{1n}(0). \end{aligned}$$
(62)

Actually,

$$\begin{aligned} \sum _{n\,=\,0}'^{\infty }Q_{1n}(0)z^n&= Q_1(z,0)=C(z,0)\widetilde{V}(\lambda -\lambda z)=\widetilde{V}(\lambda -\lambda z)\widetilde{C}(\lambda )P_{1,\,0}(0)\\&= \sum _{n\,=\,0}'^{\infty }\alpha _nz^n\widetilde{C}(\lambda )P_{1,\,0}(0) \end{aligned}$$

where \(\alpha _n\) represents probability of arrival of n URs during sleep. Equating the coefficients of \(z^n\) on both the sides, we get

$$\begin{aligned} Q_{1n}(0)=\alpha _n\widetilde{C}(\lambda )P_{1,\,0}(0) . \end{aligned}$$
(63)

Using Eqs. (62) and (63) in (61) we obtain

$$\begin{aligned} E(I) = \frac{E[V]}{1-\widetilde{C}(\lambda )P_{1,\,0}(0)\sum _{n\,=\,0}'^{N\,-\,1}\alpha _n}. \end{aligned}$$
(64)

Using Eq. (64) in (60), the mean delay is given by

$$\begin{aligned} E(D)= & {} \frac{\lambda E[S^2]}{2(1 - \lambda E[S])}+q_{_{SL}} \Big (\frac{E[V]}{1-\widetilde{C}(\lambda )P_{1,\,0}(0)\sum _0^{N\,-\,1}\alpha _n} \Big ) + q_{_{SU}}E[R] \end{aligned}$$
(65)

where \(q_{_{SL}}\) and \(q_{_{SU}}\) are the steady state probabilities of the BS in sleep and setup respectively.

4.5 Energy Consumption Model

In the proposed model, the BS is modelled as an M/G/1 queue with close down, sleep and setup. The arrival of URs follows Poisson process with rate \(\lambda\). The arrived URs are served with service time S in active state. During the active state the power consumption is assumed to be \(E_{AC}\). The BS will be active until the system becomes empty. After that the BS wait for URs to arrive for some time called close down period before going to sleep mode. Power consumption during close down is \(E_{CD}\). If no UR arrives during close down, the BS goes to sleep mode. The power consumption during sleep mode is \(E_{SL}\). The BS sleep continues until it finds N URs at the end of any sleep. At the end of any sleep, the BS starts to setup if the number of accumulated URs reaches N. The power during setup is \(E_{SU}\). Let P be the power consumed by BS per unit time. Hence, the mean power consumed per unit time is obtained as

$$\begin{aligned} E[P]= & \ \frac{1}{E[\text {cycle length}]}\big [E_{AC}E[\text {active period}]+E_{CD}E[\text {close down period}]\nonumber \\{} & {} +E_{SL}E[\text {sleep period}]+E_{SU}E[\text {setup period}]\big ] \nonumber \\ {}= & \ q_{_{AC}}E_{AC}+q_{_{CD}}E_{CD}+q_{_{SL}}E_{SL}+q_{_{SU}}E_{SU}. \end{aligned}$$
(66)

where \(q_{_{AC}}\), \(q_{_{CD}}\) \(q_{_{SL}}\) and \(q_{_{SU}}\) signify the steady state probabilities of different states of the BS, which are available in Eqs. (56), (57), (58) and (59) respectively.

When busy BS consumes 100% power because all the components are active. During close down the BS stays idle and awaits for the arrival, it consumes power lesser than that of active state. If no UR arrives during close down, it will enter into the sleep mode. The energy consumption in sleep mode is very low but not zero because few components are active like the one component used to count the number of URs waiting in the queue. It also consumes some energy when N URs accumulated at the end of any sleep to start the system setup for service. The power consumption of the BS is shown in Fig. 6. Based on Woon et al. (2021) and Niu et al. (2015), the assumptions in Table 2 are taken for numerical illustration.

Fig. 6
figure 6

Power consumption of the BS with multiple sleeps and N-policy

Table 2 Values for the power consumption in different states

5 Numerical Illustration

In order to analyse the model, it was essential to find the effect of each parameter on the measures of mean delay and mean power consumption. It was assumed that the service time S, close down time C, sleep time V and setup time R random variables followed deterministic distribution. The PMF of deterministic distribution was \(P(X=x)=1\) with mean K and variance 0. Here, the mean of the random variables SCV and R were taken as 0.5, 5, 6 and 5 respectively.

5.1 Impact of Arrival Rate \(\lambda\) on Mean Delay and Mean Power Consumption

Figure 7 shows the effect of arrival rate \(\lambda\) on mean delay and mean power consumption. When arrival rate increased, the frequency of BS entering into sleep decreased. Thus, the mean delay decreased upto certain \(\lambda\) value. After that due to traffic, the mean delay started to increase. On the other hand, the power consumption increased for increasing \(\lambda\) because the BS which was less often goes to sleep.

Fig. 7
figure 7

Mean delay and mean power consumption vs. arrival rate \(\lambda\) for different N values

5.2 Impact of Mean Service Time on Mean Delay and Mean Power Consumption

As expected, the mean delay increased as the mean duration of service E[S] increased (see Fig. 8(a)). At the same time, as the mean duration of service E[S] increased, so does the probability of the BS being in the active state. As a result, Fig. 8(b) shows an increase in mean power consumption.

Fig. 8
figure 8

Mean delay and mean power consumption vs. mean service time for different N values

5.3 Impact of the Mean Sleep Time on Mean Delay and Mean Power Consumption

In Fig. 9(a) when the mean sleep duration increased as theory says the mean delay increased. But, in Fig. 9(b) the mean power consumption decreased because the probability of activeness of the BS decreased when mean sleep duration increased.

Fig. 9
figure 9

Mean delay and mean power consumption vs. mean sleep time for different N values

5.4 Impact of the Mean Setup Time on Mean Delay and Mean Power Consumption

During setup, the BS did not provide service of the URs. Hence, as the mean setup time E[R] increased, obviously the delay increased. Figure 10(a) also assures the same. During the setup, the BS started to activate its components, and thereby it consumed more power. Hence, from Fig. 10(b) it is noted that larger mean setup duration consume more power.

5.5 Impact of the Mean Close Down Duration on Mean Delay and Mean Power Consumption

Since close down time increased, the frequency of BS entering into sleep mode decreased. As a result, mean delay decreases as shown in Fig. 11(a) but mean power consumption increases as given in Fig. 11(b).

Fig. 10
figure 10

Mean delay and mean power consumption vs. mean setup period for different N values

Fig. 11
figure 11

Mean delay and mean power consumption vs. mean close down period E[C] for different N values

5.6 Impact of N on Mean Delay and Mean Power Consumption

The BS wait for N number of URs to awaken before proceeding, the bigger N values, cause the BS to sleep many times. Figures 7, 8, 9, 10, 11 show that when N increases the mean delay increases whereas the mean power consumption decreases. When \(N = 1\), the proposed model was the same as the MS model/MS without N-policy described in Guo et al. (2016).

Table 3 Comparison of mean delay and mean power consumption for MS scheme with and without N-policy

In the above-mentioned study, the BS will set up if it finds at least one UR in the queue at the end of any sleep. As a result, in multiple sleeps without N-policy, energy usage is higher than in multiple sleeps with N-policy as shown in Table 3. It compares the mean delay and mean power consumption of MS with and without N-policy. Here, the % of deviation measures how much the value from MS with N-policy differs in percent from MS without N-policy. Percentage (%) of deviation is calculated using the following formula

$$\begin{aligned} \%\ \text{of deviation}=\frac{\text {MS without }N\text {-policy measure - MS with }N\text {-policy measure}}{\text {MS without }N\text {-policy measure}}. \end{aligned}$$

In MS with N-policy, the mean power consumption decreases as N value increases, but the delay increases. From the % of deviation, it is observed that large N values can effectively minimize the mean power consumption within a reasonable delay.

5.7 Comparative Analysis

In this sub-section, the performance results of the proposed model with the existing work are compared. Guo et al. (2016) analyzed BS queue as an M/G/1 with MS, close down and setup time. In Guo et al. (2016), if no UR arrives during the sleep, then the BS goes for the next sleep and it repeats until it finds at least one UR in the BS queue. The power can be conserved by waking up the BS after accumulating a certain number of URs rather than waking for one UR as in Guo et al. (2016). Note that, in Guo et al. (2016), no N-policy is considered in the MS scheme. The major goal of the proposed work is to implement the N-policy in the MS scheme to reduce energy consumption. Hence, the UR queue in the BS is modeled as an M/G/1 queue with setup, close down, and N-policy in the MS scheme. The proposed model with \(N = 1\) is the same as the model presented in Guo et al. (2016). When \(N=1\), the mean delay and the mean power consumption given in Eqs. (65) and (66) respectively, become

$$\begin{aligned} E[D]=E[R]^2 (-\Psi )+\frac{\lambda E[S^2]}{2 (1-\lambda E[S])}+\frac{E[V]^2 \left( -\frac{\Psi \widetilde{V}(\lambda )}{1\,-\,\widetilde{V}(\lambda )}-\Psi \right) }{\Psi \widetilde{V}(\lambda )+1} \end{aligned}$$
$$\begin{aligned} E[P]= & \ \frac{\Psi }{\lambda \widetilde{C}(\lambda )}\left( \frac{E_{\text {AC}} \lambda E(S) (\widetilde{C}(\lambda )(\lambda E[R] (\widetilde{V}(\lambda )-1)-\lambda E(V)-\widetilde{V}(\lambda )+1)+\widetilde{V}(\lambda )-1)}{(\lambda E(S)-1) (\widetilde{V}(\lambda )-1)} \right. \\{} & {} +\left.E_{\text {CD}} (-1+\widetilde{C}(\lambda ))-\lambda E[R] E_{\text {SU}} \widetilde{C}(\lambda )+\frac{\lambda E_{\text {SL}} E(V) \widetilde{C}(\lambda )}{\widetilde{V}(\lambda )-1}\right) \end{aligned}$$

where,

$$\begin{aligned} \Psi =\frac{\lambda \widetilde{C}(\lambda ) (\lambda E[S]-1)}{-\widetilde{C}(\lambda )+\lambda E[R] \widetilde{C}(\lambda )+\lambda E[V] \widetilde{C}(\lambda )+\frac{\lambda E[V] \widetilde{C}(\lambda ) \widetilde{V}(\lambda )}{1\,-\,\widetilde{V}(\lambda )}+1}. \end{aligned}$$

The above equations are analogous with the results obtained by Guo et al. (2016). The numerical results of the above equations as well as the numerical results of the proposed model with N-policy are given in Table 3. The results given in Table 3 justify the efficiency of the proposed model.

By defining the following two models, a numerical comparison with the prior work has been presented to demonstrate the efficiency of the proposed model:

Model 1::

The BS queue was modeled in Guo et al. (2016) as an M/G/1 queue with close down, setup time and MS scheme without N-policy.

Model 2::

The BS queue is modeled in this paper as an M/G/1 queue with close down, setup time, and MS scheme with N-policy (Proposed model).

The numerical comparison of expected power consumption and expected delay for Model 1 and Model 2, when the arrival rate (\(\lambda\)) varies is given in Fig. 12. From Fig. 12, the observations are as follows:

  • As \(\lambda\) increases, the expected power consumption for Model 1 and Model 2 increases and expected delay decreases as it should be.

  • As \(\lambda\) varies from 0.1 to 1.1, the expected power consumption for the Model 1 is higher than that of the Model 2 but the expected delay is less.

The numerical comparison of expected power consumption and expected delay for Model 1 and Model 2, when the mean close-down period (E(C)) varies is given in Fig. 13. From Fig. 13, the observations are as follows:

  • As E(C) increases, the expected delay for Model 1 and Model 2 decreases but expected power consumption increases as it should be.

  • As E(C) increases, the expected power consumption for Model 2 is less than that of Model 1 but the expected delay is more.

Based on the above comparative analysis, it is concluded that for the optimal value of N the proposed model will be more useful for real 5 G networks.

Fig. 12
figure 12

Comparison between Model 1 and Model 2 with \(N=7\) when arrival rate varies

Fig. 13
figure 13

Comparison between Model 1 and Model 2 with \(N=7\) when close down duration varies

6 Conclusions and Future Work

5 G cellular networks is standard for higher data speed rate, high-reliability and low-latency communications. Communications in 5 G cellular networks can have a latency of less than 1 ms. To achieve the energy efficiency from 5 G cellular networks, an effective sleeping technique for small cell or macro cell BSs was required. Therefore, in this paper, BS (macro cell or small cell BS) queue is modeled as an M/G/1 queueing system with close down, setup time, and MS scheme with N-policy. Through comparative analysis with existing model, it is shown that the energy consumption of the BS can be reduced by introducing an MS scheme with N-policy. As N increased the power consumption decreased but delay increased. It is observed that, a short closed down duration and larger N value reduce the power consumption but increase the delay.

Further, to optimize the power consumption and delay, by considering an MS scheme with N-policy in 5 G cellular networks, the tradeoff between power consumption and delay can be analyzed. The optimization problem can be used to find the optimal value for N and the optimal value for the mean close-down period. Further, since the network traffic is not always consistent, the research work can be extended to the MS scheme with the randomized N-policy.