# Dynamic power allocation for a multiuser transmitter with hybrid energy sources

- Didi Liu
^{1, 2}Email author, - Jiming Lin
^{3}, - Junyi Wang
^{3}and - Frank Jiang
^{2}

**2017**:203

https://doi.org/10.1186/s13638-017-0971-7

© The Author(s). 2017

**Received: **9 January 2017

**Accepted: **23 October 2017

**Published: **1 December 2017

## Abstract

In this paper, we investigate the problem of dynamic power allocation for a multiuser transmitter supplied by hybrid energy sources in details. Specifically, we focus on the hybrid energy sources which include both the traditional power grid and various renewable sources whereby there are a few issues in considerations: (1) The energy harvested jointly from various renewable sources is time-varying and possibly unpredictable and is stored in a limited capacity buffer with battery leakage. (2) At the meantime, the data arrives randomly to the transmitter and queues according to the individual receivers to wait to be transmitted. (3) In addition, the wireless channels fluctuate randomly due to fading. Taking into account the time variant and dynamic features of this system, we develop a dynamic power allocation algorithm for the transmitter with the aim of minimizing the average amount of energy consumption from the power grid over an infinite horizon, subject to all data in queues cannot exceed a given deadline of receivers. The research question is formulated as a stochastic optimization problem, then we utilize Lyapunov optimization to exploit an online algorithm with low complexity, and it does not require prior statistical knowledge of the stochastic processes. Performance analysis of the proposed algorithm is carried out in theory, which shows that the proposed algorithm performs arbitrarily close to the optimal objective value; meanwhile, the algorithm ensures that the maximum delay of all data queues cannot exceed a given value. Finally, performance comparison shows that our proposed algorithm provides not only better performance but also less time delay than other two algorithms.

## Keywords

## 1 Introduction

As the vast energy consumption of the devices in wireless communication systems has recently raised considerable environmental concerns, eco-friendly green communication, aiming at maximizing energy efficiency (bit-per-Joule), have drawn considerable research interests [1–3]. A large number of green technologies/methods for different wireless communication systems have been reported in the literatures [4–6]. Most of these works assume that the communication systems are powered by a constant energy source (such as traditional power grid, and diesel generator) or a rechargeable battery, such that the energy can be continuously used for system operations whenever needed.

On the other hand, as an economical and environmental-friendly supply of energy for communication nodes compared to traditional sources of energy, energy harvesting (EH) has recently attracted a large amount of attention of researchers [7–9]. EH nodes can harvest energy from natural resources, such as solar, wind, vibration, electromagnetic, and thermoelectric, thereby the harvested energy is substantially free of cost and can be unlimitedly available. As such, wireless networks composed of EH nodes can be energy self-sustained and reduce the use of conventional energy and accompanying carbon footprint. In addition, EH devices do not require conventional recharging; it enables untethered mobility and therefore can be deployed in hard-to-reach places such as remote rural areas, even within the human body [7, 10, 11]. However, the energy that can be harvested from the environment is unstable and varies over time, e.g., energy fluctuation caused by time-dependent solar and wind patterns. Therefore, EH brings new problems of intermittency and randomness of available energy. As a result, all wireless nodes powered by renewable energy are subject to the EH constraints over time, i.e., the total energy consumption up to any time must be less than the energy harvested by that time. Within the past few years, a large body of research works on power management has been done [12–19] in EH wireless communication systems including single-user setting, broadcast channels, relay channels, interference channels, and multiple access channels.

With the hybrid energy sources [23–29], most of the researches focus on two categories: (1) deterministic EH model and (2) statistical EH model. The first category refers to the model that the energy arrival times and the amount of harvested energy are to be known as a priori at the transmitter. And the second model is referred to that the prior knowledge of the statistical distribution of the EH process is known. Paper [24], based on the deterministic EH model, developed an energy efficient resource allocation scheme for timesharing multiuser systems by Lagrange dual decomposition method. And [25] focused on the joint energy-bandwidth allocation problems in multiuser channels based on the first EH model and proposed an iterative algorithm using the Proximal Jacobian ADMM. For the deterministic EH model, [26] proposed the optimal offline transmission scheme for the point-to-point transmission to reduce the grid energy consumption. Considering random energy and data arrivals, Gong et al. [27] explored the structure of the optimal power allocation policy based on the statistical EH model. At the same time, paper [28] studied the energy-efficient resource allocation problem in an interference-free network and proposed the optimal offline and online algorithms based on the two EH, respectively. Similarly, the authors in [29] exploited an optimal resource allocation scheme to meet outage probability constraint by using dynamic programming (DP) approach.

All these works [24–29] based on both models provided many important references for our research. In practice, it is difficult to know the energy profile a priori at the transmitter [6]. Especially, it is more difficult to obtain the statistical knowledge of the energy generated jointly by both solar and wind energy sources, even more renewable sources. Besides, both the time-varying channel conditions and the dynamic mobile traffic have the common features of randomness and unpredictability, resulting in that their statistical properties are uncertain or hard to obtain in a longtime. However, all works in [24–26, 28] only consider full buffer networks without taking into account the dynamics of the data queues. Although Han and Ansari [27] took into account this factor, just focused on the single-link scenario and their proposed algorithms are not suitable for networks with multiple users. As such, the algorithms proposed in [24–29] are hardly implemented in practice because they require prior knowledge of the EH process, data arrival process and the channel state process.

In this paper, we develop a dynamic power allocation algorithm for the multiuser transmitter with hybrid energy sources, which are independent of the prior knowledge of any stochastic events, with the goal of minimizing the time average energy drawn from the power grid over an infinite horizon under certain delay requirement. We consider hybrid energy sources including both the traditional power grid and various renewable sources. The energy harvested from various renewable sources is stored in a buffer (battery) with limited capacity, and the harvested energy is time-varying and possibly unpredictable. Moreover, the battery is not perfect, such as storage loss and energy leakage, which degrade the efficiency of the renewable energy. The data arrives randomly to the transmitter and queues according to the individual receivers, and the wireless channel fluctuates randomly due to fading.

Taking into account the time variant and dynamic features of this system, we formulate the problem as a stochastic network optimization problem and solved by Lyapunov optimization approach initially developed in [30, 31]. Researchers show in [30, 31] that the optimization technique is well-suited for the queuing model in the scheduling problem for renewable energy supply and present a simple algorithm that does not require prior statistical information and is provably close to optimal. The authors in [32, 33] applied the technique in smart grid to solve the problems of power management and energy trading respectively. Paper [34] studied the issue of electric vehicles charging with renewable energy based on Lyapunov optimization.

The work in this paper is an extension of our earlier work in [35] that only considered a single user in point-to-point communication system. Note that our problem formulation is different from that in [30–35]; we apply the approach to the multiuser transmitter with hybrid energy sources in fading channels, which have multiple data queues to individual receivers. What is more, different receivers have individual tolerable delay times. As such, multiple queues will compete the limited resources with each other in the case of limited energy harvested by the transmitter, while at the same time satisfying the maximal transmission power constraint and the rate-power relationship constraint. The work in this paper is not just only incremental with respect to our earlier work in [35]. The research problem is now more complicated and practical; a simple algorithm for power allocation cannot resolve the problem anymore.

Our major contributions for this research are threefold: (1) No need to know the statistical information of the EH process, data arrivals, and channel states; we develop a dynamic power allocation algorithm for a multiuser transmitter with the aim of minimizing the energy consumption from the power grid, taking into account the battery imperfection. (2) The proposed dynamic algorithm can be easily implemented in practice, just according to the current queue backlogs, channel states, and EH condition. In addition, we reveal the tradeoff between performance and delay by theoretical analysis. (3) The solution of the optimization problem considered in this paper provides a universal power allocation policy for multiuser transmitter with hybrid energy sources over an infinite horizon and facilitates the design of reliable green communication.

The remainder of this paper is organized as follows. In Section 2, the model of a multiuser communication system where the transmitter is powered by hybrid energy sources is described. In Section 3, minimization problem of the time average energy consumption from the power grid is formulated and the dynamic power allocation policy is elaborated. Simulation results are presented in Section 4. In Section 5, some concluding remarks are given.

## 2 System model

*t*∈ {0, 1, 2⋯} with fixed time slots, the interval Δ

*t*is given at 1 s.

*N*receiver users; in every slot, the new data randomly arrives at the transmitter and queues according to individual receivers to await transmission through individual wireless channels. Let a(

*t*) = [

*a*

_{1}(

*t*),

*a*

_{2}(

*t*), ⋯,

*a*

_{ N }(

*t*)] be the vector of new data arrivals on slot

*t*; here,

*a*

_{ n }(

*t*),

*n*∈ {1, 2, ⋯,

*N*}, is the rate of data incoming to the

*n*-th data queue on slot

*t*. We assume that 0 ≤

*a*

_{ n }(

*t*) ≤

*a*

_{max}, ∀

*n*,

*t*,

*a*

_{max}is the maximum arrival rate for every data queue. Let μ(

*t*) = [

*μ*

_{1}(

*t*),

*μ*

_{2}(

*t*), ⋯,

*μ*

_{ N }(

*t*)] denotes the vector of departure rate from data queues; here,

*μ*

_{ n }(

*t*),

*n*∈ {1, 2, ⋯,

*N*}, in practice, is the transmission rate over corresponding wireless channel. Thus, the data queue is updated by

*Q*

_{ n }(

*t*) expresses the backlog of

*n*-th data queue. We assume

*Q*

_{ n }(0) = 0 for all

*n*, that is, each data queue is empty before transmission.

For every slot, the transmission rate μ (t) depends on transmission power allocated by the transmitter and current channels condition. We assume that the wireless channels fluctuate randomly due to fading and all channels are orthogonal. Let **h**(*t*) = [*h*
_{1}(*t*), *h*
_{2}(*t*), ⋯ , *h*
_{
N
}(*t*)] be the vector of channels condition between the transmitter and receivers, and *h*
_{
n
} (*t*) represents the attenuation value and/or noise level of the *n*-th channel state on slot *t*. Suppose that the channel state information (CSI) at the beginning of every timeslot is known at the transmitter via channel monitoring and feedback link, and the overhead incurred by channel monitoring is neglected for simplicity [15, 29]. The channel conditions remain constant for the duration of each slot but may change at slot boundaries. For any *n* and *t*, the value of *h*
_{
n
} (*t*) is deterministically bounded by constants, *h*
_{min} ≤ *h*
_{
n
}(*t*) ≤ *h*
_{max}.

*μ*

_{ab}over the wireless link (

*a*,

*b*) depends on the channel state

*h*

_{ab}and transmission power

*P*

_{ab}; the rate-power curve is shown in Fig. 3.

*t*can be described by the function

*g*(

*p*

_{ n }(

*t*),

*h*

_{ n }(

*t*)) given by Shannon’s capacity formula [28, 36].

*n*∈ {1, 2, ⋯ ,

*N*}, the rate-power function

*g*(⋅) is assumed to be monotonically non-decreasing, determining the number of bits in data queue that can be transferred over the wireless link. However, the data in queues may be packets; we allow arbitrary fragmentation of packets during transmission.

*t*is denoted as

**p**(

*t*) = [

*p*

_{1}(

*t*),

*p*

_{2}(

*t*), ⋯ ,

*p*

_{ N }(

*t*)]. The total transmission power on slot

*t*is \( {\sum}_{n=1}^N{p}_n(t) \), which is supplied by both the EH sources and the power grid.

*P*

_{ p }(

*t*) and

*P*

_{ h }(

*t*) are supplied by the power grid and the energy queue buffered the energy harvested from EH sources, respectively. Furthermore, the total power consumed from the two types of energy sources is given by \( \rho {\sum}_{n=1}^N{p}_n(t) \). Here, ρ ≥ 1 is a constant, which accounts for the inefficiency of the non-ideal transmitter [26].

*b*(

*t*) Joules of energy is collected jointly from various renewable sources at the end of the

*t*-th interval, the harvested energy is buffered in the battery before it can be used in the next time slot,

*b*(

*t*) ≤

*B*

_{max}, where

*B*

_{max}represents the maximum capacity of the buffer, i.e., the rechargeable battery can store at most

*B*

_{max}Joules of energy. Due to the battery defects, such as energy leakage, supposing that a factor of 1 −

*β*of the stored harvested energy is leaked per time interval due to the inefficiency of the battery [37], where 0 <

*β*< 1 represents the efficiency of the battery per time slot. Let

*B*(

*t*) be the amount of the available energy in the rechargeable battery (energy queue), thus we have the following update equation of energy queue:

We assume *B*(0) = 0, which denotes the available energy before transmission.

The optimization goal is to minimize the time average energy consumption from the power grid over a long time, subject to the constraints of the stability of all data queues. Due to the finite storage capacity and the possible leakage of the battery, it is beneficial to draw the energy as quickly as possible from the battery so that more harvested energy can be stored in the future, and thus the amount of possibly wasted harvested energy is minimized. Based the above discussion and the objective, we expect to find a dynamic power allocation scheme in the next section, which provides insight into how to efficiently utilize the energy supplied by the EH source, saving the traditional energy.

## 3 Problem formulation and solution

**p**(

*t*) in every slot; the problem can be formulated as a stochastic optimization problem as follows:

*τ*,

*E*{⋅} denotes statistical expectation. Constraint Eq. (6) guarantees that all the queues are stable which defined as: \( {\overline{Q}}_n\triangleq \kern0.5em \lim \kern0.5em {\sup}_{t\to \infty}\frac{1}{t}{\sum}_{\tau =0}^{t-1}E\left\{{Q}_n\left(\tau \right)\right\}<\infty \). Constraint Eq. (7) shows that the data queues have individual delay requirements, namely, the data in each queue waits for be transmitted to corresponding user, and the waiting time cannot exceed a deadline of corresponding user. In constraint Eq. (9), \( {p}_n^{\mathrm{max}} \) is the maximum transmission power allocated by the transmitter to the

*n*-th user. To ensure that the problem Eqs. (5)–(9) are always feasible, we assume that the set of data arrivals vector is in the feasible region of the problem. The authors in [38, 39] defined the set of data arrivals vector that can be transmitted reliably under some power-allocated algorithm. In addition, the sum of the maximum allocation power for each user is assumed no more than the maximum transmission power of the transmitter

*P*

_{max}, i.e., \( {\sum}_{n=1}^N{p}_n^{\mathrm{max}}\le {P}_{\mathrm{max}} \).

### 3.1 The delay-aware virtual queue

*Z*

_{ n }(

*t*),

*n*∈ {1, 2, ⋯ ,

*N*} be the virtual queues. Fix any parameter

*σ*

_{ n }> 0, define

*Z*

_{ n }(0) = 0 for all

*n*, and the virtual queues update according to the following:

*Q*

_{ n }(

*t*) > 0 and 0 else. We can see from Eq. (9), the virtual queue

*Z*

_{ n }(

*t*) has an arrival process that add

*σ*

_{ n }whenever the backlog of the actual queue

*Q*

_{ n }(

*t*) is non-empty. This ensures that

*Z*

_{ n }(

*t*) grows when there is unserved data in the actual data queue

*Q*

_{ n }(

*t*). The constant

*σ*

_{ n }can adjust the growth rate of the virtual queue

*Z*

_{ n }(

*t*). If we can control the transmitter to guarantee that the queues

*Q*

_{ n }(

*t*) and

*Z*

_{ n }(

*t*) have finite upper bounds, then we can ensure that all bits in the

*n*-th data queue are served within maximum delay of \( {D}_n^{\mathrm{max}} \) slots, which is given in the following lemma.

*Q*

_{ n }(

*t*) and

*Z*

_{ n }(

*t*) have finite upper bounds, e.g., \( {Z}_n(t)\le {Z}_n^{\mathrm{max}} \) and \( {Q}_n(t)\le {Q}_n^{\mathrm{max}} \) for all

*t*, then all bits in data queue

*n*are served with a maximum delay of \( {D}_n^{\mathrm{max}} \) slots, which is defined as:

The proof of Lemma 1 follows the approach of Lyapunov optimization in [30].

### 3.2 Lyapunov optimization

Define Θ(*t*) ≜ (**Q**(*t*), **Z**(*t*)) as the concatenated vector of the real and virtual queues, here **Q**(*t*) = [*Q*
_{1}(*t*), *Q*
_{2}(*t*), ⋯ , *Q*
_{
N
}(*t*)], **Z**(*t*) = [*Z*
_{1}(*t*), *Z*
_{2}(*t*), ⋯ , *Z*
_{
N
}(*t*)]. As a scalar measure of the congestion in all queues, we define the following Lyapunov function:

**p**(

*t*) to minimize Δ

*L*(

*Θ*(

*t*)) alone would push all queues towards lower backlog (i.e., delay) [30] but which incur more energy consumption from the power grid. Considering both the energy consumption from the power grid (5) and queues backlog growth (1) and (10), our objective is then to minimize the following function in each timeslot

*t*:

Note that the left part of Eq. (13) is the growth of the queues and the right part of Eq. (13) is the expected energy consumption from the power grid (be called penalty), and Eq. (13) is called drift-plus-penalty expression [30]. The parameter *V* > 0 is used to tune performance-delay tradeoff between performance and queue backlog (i.e., delay). So our approach minimizes a weighted sum of drift and penalty, which can be proven bounded.

*t*satisfied:

*C*is defined as:

## 4 Real-time power allocation algorithm

*t*,

**p**(

*t*), then we obtain:

### 4.1 Real-time optimization algorithm

Our online optimization algorithm is described as follows:

Step 1. Every slot *t*, observe **Z**(*t*), **Q**(*t*), **h**(*t*), **a**(*t*) and *b*(*t*), then choose **p**(*t*) = [*p*
_{1}(*t*), *p*
_{2}(*t*), ⋯ , *p*
_{
N
}(*t*)] to minimize Eq. (18), subjecting to the constraints Eqs. (7)–(9);

Step 2. Update the real queues, virtual queues, and energy queue according to Eq. (1), Eq. (10), and Eq. (4), respectively.

*n*-th data queue in timeslot

*t*as \( {p}_n^{\ast }(t) \),

*p*

_{ n }(

*t*) (decision variable), we will obtain:

*n*,

*t*, the actual transmit power allocation

*p*

_{ n }(

*t*) to

*n*-th user in slot

*t*can be obtained according to:

If \( p{\sum}_{n=1}^N{p}_n(t)\le B(t) \) holds, the transmitter does not need to draw additional energy from the power grid in slot *t*; otherwise, the transmitter needs to draw the amount of \( p{\sum}_{n=1}^N{p}_n(t)-B(t) \) additional energy in slot t.

### 4.2 Performance analysis

**Theorem 1**

*Suppose*\( g\left({p}_n^{\mathrm{max}},\kern0.5em {h}_{\mathrm{min}}\right)\ge {a}_n^{\mathrm{max}} \)

*,*∀

*n*∈ {1, 2, ⋯ ,

*N*}.

*If Q*

_{ n }(0) =

*Z*

_{ n }(0) = 0

*, then for any fixed parameter σ*

_{ n }

*,*\( 0\le {\sigma}_n\le {a}_n^{\mathrm{max}} \)

*and V*> 0

*for all t, the proposed algorithm has the following properties for each queue n*:

- 1.
In all slots, for all queues,

*Q*_{ n }(*t*) and*Z*_{ n }(*t*) are upper bounded by \( {Q}_n^{\mathrm{max}} \) and \( {Z}_n^{\mathrm{max}} \) respectively, where:

- 2.
The maximum delay of the data queue

*n*can be calculated according to (11) given by:

- 3.
Given that

*σ*_{ n }≤*E*{*a*_{ n }}, the time average expected additional energy drawn from the power grid using the proposed algorithm is upper bounded with*C/V*of the optimal value*T*opt, i.e.,

*T*

_{opt}is the optimal value of minimizing average energy drawn from the constant source, and

*C*is given in Eq. (15).

The proof further conducts the performance analysis of the Lyapunov optimization as described in [30], and the proof of Theorem 1 is given in the Appendix of this paper.

The performance analysis shows that the congestions of the queues grow linearly with *V*, while our goal decreases with increased *V* value, which is a tuning parameter to balance performance and delay. The performance can be pushed arbitrarily close to the optimum by tuning *V*, but the queues backlog may be longer. Thus, we should choose appropriate *V* value. To reduce \( {D}_n^{\mathrm{max}} \) value, we should use *σ*
_{
n
} as large as possible while still meet *σ*
_{
n
} ≤ *E*{*a*
_{
n
}}. We can choose *σ*
_{
n
} = *E*{*a*
_{
n
}} if this expectation is given.

### 4.3 Comparison between the proposed algorithm and DP

The optimization problems considered in related works [26, 28] are based on dynamic programming (DP); the obtained algorithms can achieve the optimal objective value. While the power allocation algorithm based on Lyapunov optimization in this paper performs asymptotically close to the optimal objective value by tuning the value of *V*, as shown in Eq. (23). However, DP requires more stringent system modeling assumptions, i.e., requiring the prior knowledge of the probabilistic characteristics of the EH process, data arrivals, and channel states. In contrast, the Lyapunov optimization technique does not need the prior knowledge of these stochastic events. If the prior knowledge of energy harvesting, data arrivals and channel state values (*a*(*t*), *b*(*t*), *h*(*t*)) were known in advance, one could in principle make **p**(*t*) decisions that minimize average energy consumption from the power grid. One of the contributions of this paper is to provide an efficient algorithm without knowing the prior knowledge of any stochastic events. So our proposed algorithm is suitable for broader applications.

Besides, our proposed algorithm just needs the observations of the current system states firstly, i.e., **Z**(*t*)*;*
**Q**(*t*)*;*
**h**(*t*)*;*
**a**(*t*), and *b*(*t*), then make **p**(*t*) decisions according to Eq. (18). So the proposed algorithm is simple to implement, the complexity is linear with the number of queues. In contrast, the algorithms in [26–28] based on DP showed that the complexity increase exponentially with the number of time intervals. DP approach involves computation of value function that can be difficult when the state space of the system is large and suffers from a curse of dimensionality when being applied to large-dimensional systems (such as systems with many queues)

[31]. Therefore, as aforementioned, our proposed algorithm has better scalability and easy to use.

## 5 Simulation results

Simulation setting

Parameters | Value |
---|---|

Number of users | 3 |

Timeslot length | 1 s |

EH sources | Solar and wind energy |

Harvest process | i.i.d. Poisson process |

Data arrival process | Uniform distribution |

Inefficiency factor ρ | 1.2 |

Energy leaked factor | 0.9 |

Bandwidth B | 1 M/Hz |

Channel Fading | Gaussian |

Average SNR | 10 dB |

Max transmit power | 6 W |

\( {p}_n^{\mathrm{max}} \) For every user | 2 W |

| \( \frac{3}{4}E\left\{{a}_1\right\},\kern0.5em \frac{4}{5}E\left\{{a}_2\right\},\kern0.5em \frac{3}{4}E\left\{{a}_3\right\} \) |

\( {a}_n^{\mathrm{max}} \)
| 4.4, 2.9, 3.9 bit/slot |

To better evaluate the performance of our proposed algorithm, three strategies are considered in the simulations. The first strategy uses Lyapunov optimization algorithm. The latter two strategies (second and third strategies) use simple greedy algorithm. The second strategy deploys “absorb-upon-arrival” policy, which describes such scenario: when the energy in rechargeable battery cannot meet the need of the transmitter, the transmitter immediately draws energy from the power grid for sending data, which results in the least data delay time, but possibly more energy consumption from the power grid. The third strategy deploys the policy “absorb-at-deadline,” which means that the transmitter uses only renewable energy before deadline, and does not draw energy from the power grid even if the EH source cannot meet the need of the transmitter until any data delay exceed the maximum, where the deadline is set to 25 slots.

*V*is set to 80 by trail and error.

*b*

_{av}(

*b*

_{av1}≤

*b*

_{av2}≤

*b*

_{av3}). From Fig. 5, we can see that no matter under which case, Lyapunov optimization algorithm can achieve the best performance among the three strategies, and absorb-upon-arrival policy provides the worst performance. The reason is that Lyapunov optimization algorithm enables the transmitter to send more data when channel state is better, while absorb-upon-arrival policy can provide the least data delay time, which resulting in the worst performance. However, no matter which strategy is adopted among three strategies, the smaller the amount of energy harvested by the transmitter from the renewable energy sources is, the more energy from the power grid is supplied for the transmitter. Here,

*V*is set to 80.

Simulation results of two algorithms

Algorithms | Queue 1 | Queue 2 | Queue 3 |
---|---|---|---|

Lyapunov \( {D}_n^{\mathrm{max}} \) | 31.7638 | 20.7181 | 23.8009 |

Lyapunov \( {D}_n^{\mathrm{actu}} \) | 4.6008 | 4.5276 | 4.8873 |

absorb-at-deadline \( {D}_n^{\mathrm{dead}} \) | 14.5031 | 12.7796 | 15.6809 |

*V*on the additional energy cost from the power grid and average delay of the data in the data queues, we have plotted Fig. 7 showing the relationship between the energy cost and the value of

*V*and the relationship between the average delay time and the value

*V*. We can see that as we expected, the average delay increases non-linearly with the value of

*V*while the energy cost decreases with

*V*. The energy cost and average delay reach saturation when

*V*is larger than a certain value (

*V*= 80, seen from Fig. 7), which illustrates that when

*V*is large enough, the average delay will reach its maximum and the energy cost is close the optimal value (

*T*

_{opt}).

## 6 Conclusions

In this paper, we develop a dynamic power allocation algorithm for a multiuser transmitter powered by hybrid energy sources (including the traditional power grid and EH sources). The proposed algorithm provides insight into how to efficiently utilize the energy supplied by the EH sources, namely how to minimize the time average energy consumption from the power grid at the same time ensure the QoS of communication. Firstly, we model this kind transmitter in fading channels. The data arrivals and energy harvested from surrounding both randomly arrived at the transmitter, in addition the wireless channels fluctuate randomly, without knowing their statistical probabilities. Secondly the issue is formulated as a stochastic optimization problem, and a real-time power allocation algorithm is exploited with low complexity. The theoretical performance analysis shows that the proposed algorithm outperforms the state-of-the-art algorithms in terms of achieving a near optimal value by tuning the parameter *V*, while ensure the time delay of data queues would not exceed the maximum delay \( {D}_n^{\mathrm{max}} \). A further comparison of the proposed algorithm with other two greedy algorithms demonstrates the proposed algorithm can consume much less energy from the power grid. Moreover, the algorithm of the optimization problem in this paper does not require the knowledge of statistical probabilities of the random processes; thereby, it provides a universal power allocation policy for multiuser transmitter with hybrid energy sources and facilitates the design of reliable green communication paradigm.

## Declarations

### Acknowledgements

The authors also gratefully acknowledge the helpful comments and suggestions of the reviewers, which have improved the presentation.

### Funding

The research was supported by the National Natural Science Foundation of China (Grant No. 61571143), Guangxi Youth Talent Program (F-KA16016), Guangxi Natural Science Foundation (2014GXNSFAA118387), and Foundation of Key Scientific Research Project of Guangxi Normal University (2016ZD008).

### Authors’ contributions

DL, JL, and JW conceived and designed the study. DL and JW performed the experiments. DL provided the performance analysis of the proposed algorithm in theory. DL and JL wrote the paper. FJ reviewed and edited the manuscript. All authors read and approved the manuscript.

### Authors’ information

Didi Liu received her BS degree in electronic and information engineering from Guilin University of Technology, China, in 2003, and her MS degree in communication and information system from Guilin University of Electronic Technology, China, in 2006. From 2006 to 2013, she was a researcher in Guangxi Normal University. She is currently pursuing the Ph.D. degree in the School of Telecommunication Engineering, Xidian University, China. Her research interests include stochastic network optimization and signal processing.

Jiming Lin received his BS degree in electronic engineering from Harbin Engineering University, China, in 1992, and his MS degree in communication and information system from the University of Electronic Science and Technology of China in 1995. In 2001, he received his PhD degree in acoustics from Nanjing University, China, in 2002. Subsequently, he held a half-year postdoctoral fellowship at State Key Laboratory for Novel Software Technology at Nanjing University. Since 2004, he has been a professor with the school of information and communications, Guilin University of Electronic Technology. His research interests are in synchronization and localization in WSNs, ultra-wideband communication.

Junyi Wang received his BS and MS degrees in Mathematics from Heibei University and Xiangtan University, China, in 1999 and 2003, respectively. In 2008, he received his PhD degree in signal and information processing from Beijing University of post, Beijing. He has been a professor with the school of information and communications, Guilin University of Electronic Technology. His research interests are in stochastic network optimization and signal processing.

Dr. Frank Jiang completed his PhD degree in communication engineering and software engineering at University of Technology, Sydney, and he was the winner of a prestigious UNSW Vice-Chancellor’s Postdoctoral Research Fellowship from University of New South Wales (successful rate 4.8). His current research interests include bio-inspired algorithms and meta-heuristics, big data-driven cyber security, cloud-based communication, AI, network protocols, and mesh networks. Up to date, he has published over 80 international journal and conference papers in the fields; his work is mainly published in the journals—Systems and Control Letter, IEEE Transactions on Network and Systems Management, Engineering Applications Of Artificial Intelligence, Physics Letters A, International Journal of Computational Intelligence and Applications, and Journal of Network and Systems Management. He has regular services as journal reviewers such as for IEEE Transactions on Parallel and Distributed Computing, IEEE/ACM Transactions on Networking, and IEEE Transactions on Neural Networks and Learning Systems. His contributions in bio-inspired computing earned him international reputations in NOMs 2007 in Vancouver with IEEE-IFIP awards; his work was nominated as the best paper in CEC 2012.

### Competing interests

The authors declare that they have no competing interests.

### Publisher’s Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

**Open Access**This article is distributed under the terms of the Creative Commons Attribution 4.0 International License (http://creativecommons.org/licenses/by/4.0/), which permits unrestricted use, distribution, and reproduction in any medium, provided you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made.

## Authors’ Affiliations

## References

- C Han et al., Green radio: radio techniques to enable energy-efficient wireless networks. IEEE Commun. Mag.
**49**(6), 46–54 (2011)View ArticleGoogle Scholar - T Han, N Ansari, Powering mobile networks with green energy. IEEE Wirel. Commun.
**21**(1), 90–96 (2014)View ArticleGoogle Scholar - Y Chen, S Zhang, S Xu, G Li, Fundamental trade-offs on green wireless networks. IEEE Commun. Mag.
**49**(6), 30–37 (2011)View ArticleGoogle Scholar - PD R Andreotti, F Fiorentino, V Giannetti, Lottici. Power-efficient distributed resource allocation under goodput QoS constraints for heterogeneous networks. EURASIP J ADV SIG PR
**1**, 1–18 (2016)Google Scholar - W Han, Y Zhang, X Wang, et al., Orthogonal power division multiple Aaccess: a green communication perspective. IEEE J. Sel. Area. Comm
**34**(12), 3828–3842 (2016)View ArticleGoogle Scholar - H Chen, F Zhao, R Yu, X Li, Power allocation and transmitter switching for broadcasting with multiple energy harvesting transmitters. EURASIP J. Wirel. Commun. Netw.
**1**, 1–11 (2014)Google Scholar - S Ulukus, A Yener, E Erkip, O Simeone, M Zorzi, P Grover, K Huang, Energy harvesting wireless communications: a review of recent advances. IEEE J. Sel. Area. Comm
**33**(3), 360–381 (2015)View ArticleGoogle Scholar - J Xu, R Zhang, Throughput optimal policies for energy harvesting wireless transmitters with non-ideal circuit power. IEEE J. Sel. Area. Comm
**32**(2), 322–332 (2014)MathSciNetView ArticleGoogle Scholar - Z Wang, X Wang, V Aggarwal, Transmission with energy harvesting nodes in frequency-selective fading channels. IEEE Trans. Wirel. Commun.
**15**(3), 1642–1656 (2016)View ArticleGoogle Scholar - D Gunduz, K Stamatiou, N Michelusi, M Zorzi, Designing intelligent energy harvesting communication systems. IEEE Commun. Mag.
**52**(1), 210–216 (2014)View ArticleGoogle Scholar - O Ozel, K Tutuncuoglu, S Ulukus, A Yener, Fundamental limits of energy harvesting communications. IEEE Commun. Mag.
**53**(4), 126–132 (2015)View ArticleMATHGoogle Scholar - K Tutuncuoglu, A Yener, S Ulukus, Optimum policies for an energy harvesting transmitter under energy storage losses. IEEE J. Sel. Areas Commun
**33**(3), 467–481 (2015)View ArticleGoogle Scholar - J Yang, S Ulukus, Optimal packet scheduling in an energy harvesting communication system. IEEE Trans. Commun.
**60**(1), 220–230 (2012)View ArticleGoogle Scholar - CK Ho, R Zhang, Optimal energy allocation for wireless communications with energy harvesting constraints. IEEE Trans. Signal Process.
**60**(9), 4808–4818 (2012)MathSciNetView ArticleGoogle Scholar - O Ozel, K Tutuncuoglu, J Yang, S Ulukus, A Yener, Transmission with energy harvesting nodes in fading wireless channels: optimal policies. IEEE J. Sel. Areas Commun
**8**, 1732–1743 (2011)View ArticleGoogle Scholar - H Zhang, S Huang, C Jiang, et al., Energy efficient user association and power allocation in millimeter-wave-based ultra dense networks with energy harvesting base stations. IEEE J. Sel. Areas Commun.
**35**(9), 1936–1947 (2017)View ArticleGoogle Scholar - C Huang, R Zhang, S Cui, Optimal power allocation for outage probability minimization in fading channels with energy harvesting constraints. IEEE Trans. Wirel. Commun.
**13**(2), 1074–1087 (2012)View ArticleGoogle Scholar - S Jangsher, H Zhou, OK Li, KC Leung, Joint allocation of resource blocks, power, and energy-harvesting relays in cellular networks. IEEE J. Sel. Areas Commun
**33**(3), 482–495 (2015)View ArticleGoogle Scholar - A Imran, A Imtiaz, H Jahangir, Optimal stochastic power allocation and relay selection for energy harvesting systems. IEEE Wireless Communications Letters
**6**(4), 546–549 (2017)View ArticleGoogle Scholar - ”Green Energy Solution by Huawei.” Available: http://www.huawei.com/en/solutions/go-greener/hw-076723-green-hybrid -powercube.htm.UdxZdxbRkRk. Acccessed 6 Nov 2017.
- N Ansari, T Han. Optimizing green energy utilization for mobile networks with hybrid energy supplies. Green mobile networks: a networking perspective. 2016.Google Scholar
- T Han, N Ansari. Green-energy aware and latency aware user associations in heterogeneous cellular networks. in Proc. IEEE GLOBECOM, Atlanta, GA, USA, Dec. 4946-4951 (2013).Google Scholar
- J Li, S Huang, Delay-aware power control for D2D communication with successive interference cancellation and hybrid energy source. IEEE Wireless Communications Letters
**99**, 1–1 (2017)Google Scholar - J Hu, W Heng, G Zhang, X Li, Energy efficient resource allocation in timesharing multiuser systems with hybrid energy harvesting transmitter. China Communications
**14**(8), 83–92 (2017)View ArticleGoogle Scholar - V Aggarwal, MR Bell, A Elgabli, et al.,
*Joint energy-bandwidth allocation for multi-user channels with cooperating hybrid energy nodes*, 2017 IEEE International Conference on Communications (ICC) (2017), pp. 1–6Google Scholar - I Ahmed, A Ikhlef, DWK Ng, R Schober, Power allocation for an energy harvesting transmitter with hybrid energy sources. IEEE Trans. Wirel. Commun.
**12**, 6255–6267 (2013)View ArticleGoogle Scholar - J Gong, S Zhou, Z Niu, Optimal power allocation for energy harvesting and power grid coexisting wireless communication systems. IEEE Trans. Commun.
**61**(7), 3040–3049 (2013)View ArticleGoogle Scholar - DWK Ng, ES Lo, R Schober, Energy-efficient resource allocation in OFDMA systems with hybrid energy harvesting base station. IEEE Trans. Wirel. Commun.
**12**(7), 3412–3426 (2013)View ArticleGoogle Scholar - J Gong, JS Thompson, S Zhou, Z Niu, Base station sleeping and resource allocation in renewable energy powered cellular networks. IEEE Trans. Commun.
**62**(11), 3801–3813 (2014)View ArticleGoogle Scholar - MJ Neely, Stochastic network optimization with application to communication and queuing systems (Morgan & Claypool Publishers, USA, 2010)Google Scholar
- MJ. Neely, AS Tehrani and AG Dimakis. Efficient algorithms for renewable energy allocation to delay tolerant consumers. In proc. IEEE International Conference on Smart Grid Communications 54(1), (549-554)2010.Google Scholar
- Y Guo, M Pan, Y Fang, Optimal power management of residential customers in the smart grid. IEEE Transactions on Parallel and Distributed Systems
**23**(9), 1593–1606 (2012)View ArticleGoogle Scholar - S Chen, NB Shroff, P Sinha, Energy trading in the smart grid: From end-user's perspective in Proceedings of 2013 Asilomar Conference on signals, systems and computers, Pacific Grove, CA, USA. (2013), p.327-331. doi:10.1109/ACSSC.2013.6810288
- C Jin, X Sheng, P Ghosh, Optimized electric vehicle charging with intermittent renewable sources. IEEE J. Sel. Topics in Signal Processing.
**8**(6), 1063–1072 (2014)View ArticleGoogle Scholar - D Liu, J Lin, J Wang, Y Shen, Y Chen, Optimal transmission policies for energy harvesting transmitter with hybrid energy source in fading wireless channel. WSEAS Trans. on Commun.
**131-139**, 14 (2015)Google Scholar - Y Dong, F Farnia, A Ozgur, Near optimal energy control and approximate capacity of energy harvesting communication. IEEE J. Sel. Areas Commun
**33**(3), 540–557 (2015)View ArticleGoogle Scholar - R Shigeta, Y Kawahara, T Asami, in
*Proc. 2011 ACM Conf. On Embedded Networked Sensor Systems*. Demo: Capacitor leakage aware duty cycle control for energy harvesting wireless sensor networks (2011), pp. 387–388Google Scholar - MJ Neely, Energy optimal control for time-varying wireless networks. IEEE Trans. on Information Theory
**52**(7), 2915–2934 (2006)MathSciNetView ArticleMATHGoogle Scholar - J Yang, O Ozel, S Ulukus, Broadcasting with an energy harvesting rechargeable transmitter. IEEE Trans. Wirel. Commun.
**11**(2), 71–583 (2012)View ArticleGoogle Scholar