Open Access
This article is

- freely available
- re-usable

*Electronics*
**2019**,
*8*(4),
448;
https://doi.org/10.3390/electronics8040448

Article

Performance Analysis of a User Selection Protocol in Cooperative Networks with Power Splitting Protocol-Based Energy Harvesting Over Nakagami-m/Rayleigh Channels

^{1}

Faculty of Electrical Engineering and Computer Science, VSB-Technical University of Ostrava 17, listopadu 15/2172, 708 33 Ostrava-Poruba, Czech Republic

^{2}

Optoelectronics Research Group, Faculty of Electrical and Electronics Engineering, Ton Duc Thang University, Ho Chi Minh City 70000, Vietnam

^{3}

Center for Information Technology, Ho Chi Minh City University of Food Industry, Ho Chi Minh City 70000, Vietnam

^{*}

Author to whom correspondence should be addressed.

Received: 27 February 2019 / Accepted: 15 April 2019 / Published: 19 April 2019

## Abstract

**:**

In this work, the system performance analysis of cooperative networks with power splitting protocol-based energy harvesting (EH) over Nakagami-m/Rayleigh channels is proposed. The exact-form expressions of the outage probability (OP) and ergodic capacity (EC) is demonstrated and derived. Using the proposed probabilistic models for wireless channels, we derive OP and EC as a research result. Finally, we conduct Monte Carlo simulations to verify a system performance analysis of the proposed system. The research results demonstrate the effectiveness of EH in the network over Nakagami-m/Rayleigh channels.

Keywords:

amplify-and-forward (AF); outage probability; ergodic capacity; energy harvesting (EH); user selection## 1. Introduction

Internet of Things (IoT) is considered a critical research area worldwide and has a significant impact on all activities in daily lives and industry [1,2,3]. However, because of numerous disadvantages, some industrial and civil aspects of IoT are difficult to achieve. Energy limitations are the most significant problem in the long-term operation of wireless networks. Prolonging lifetimes and battery recharging/replacement are not practical solution for wireless networks. Wireless energy harvesting (EH) using radio frequency (RF) is considered a promising solution for prolonging the operating time of devices in wireless, energy-constrained cooperative networks [4,5,6]. RF signals in EH wireless networks can transfer energy and information simultaneously. Cooperative networks are considered in connection with power sharing by helping the relay (R) between the source (S) and the destination (D) [6]. In EH cooperative networks, an energy-constrained R, by simultaneously harvesting energy and transferring information, helps maintain constant operation and connection without the use of external energy sources. The authors in [7] considered a dual-hop cognitive, inter-vehicular, relay-assisted communication system where all communication links are not line of sight, and their fading is modeled by the binary Rayleigh fading distribution. An analytic performance evaluation of the bit error rate (BER) of underlay decode-and-forward cognitive networks with the best relay selection over Rayleigh multipath fading channels was introduced in [8]. The authors in [9,10] presented a general framework for modeling and evaluating the performance of dual-hop, decode-and-forward (DF) relaying schemes over independent and not necessarily identically distributed (INID) Nakagami-m fading channels. The performance of dual-hop MIMO OSTBC transmission with multiple antennas employed at the transceiver and CSI-assisted AF relay over Nakagami-m fading is proposed in [11], and the performance of dual-hop, decode-and-forward relaying with relay selection (RS), analyzed over Nakagami fading channels, was studied in [12]. In our previous papers, we consider the EH over Rician fading channels. The titles of these papers are as follows: A Performance Analysis for Half-Duplex Bidirectional Sensor Networks under Hardware Impairments [12], Adaptive EH Relaying Protocol for a Two-Way Half Duplex System Network over Rician Fading Channels [13], Energy Harvesting-based Spectrum Access with Incremental Cooperation, Relay Selection, and Hardware Noises [14], and Performance Enhancement for EH Based Two-way Relay Protocols in Wireless Ad-Hoc Networks with Partial and Full Relay Selection Methods [15].

The problem of a two-hop EH cooperative relaying network was studied in [16]. In [17], a harvest-then-cooperate (HTC) protocol with AP points for S and R EH was investigated. The authors in [18] maximized the end-to-end achievable information transmission rate by assuming perfect channel state information (CSI) of the cooperative network with time switching (TS) and power splitting (PS) protocols. The authors in [19] investigated two-way relay beamforming optimization to maximize the achievable sum rate of simultaneous wireless information and power transfer (SWIPT) system with a full-duplex (FD) multiple-input multiple-output (MIMO), amplify-and-forward (AF) relay. To extend [19], the authors in [20] studied the joint optimization of two-way relay beamforming. Furthermore, the authors in [21] investigated SWIPT mechanisms in a relaying network with finite block length (FBL) codes. Moreover, the authors in [22] derived the theoretical symbol error probability (SEP) of cooperative systems with the best relay selection for Nakagami-m fading channels, and the authors in [23] proposed a novel DSTBC scheme with embedded adaptive DAF/amplify-and-forward (AAF) elements for data retransmission in multihop PLC networks with existing opportunistic listening (OL) protocols. The authors in [24] proposed a simple adaptive relaying protocol (ARP) for general relay networks, and in [25] we proposed a full rate DQOSTBC matrix with embedded adaptive DAF/AAF elements for four single-antenna relays. In spite of this research, cooperative relaying networks still need to be studied. This is the main aim of this paper.

There is very little research focus on both user selection protocol and EH with different Nakagami-m/Rayleigh channels. For this purpose, we analyzed the performance of user selection protocol cooperative networks with PS protocol-based EH over Nakagami-m/Rayleigh channels. Our article provides the following contributions. (i) We derive closed-form expressions of Outage probability (OP) and ergodic capacity (EC), (ii) propose user selection for choosing the best-received destination, (iii) investigate and compare the OP and EC with maximum and non-maximum capacity, and (iv) verify all analytical expressions by Monte Carlo simulations. The structure of the rest of the paper is as follows. Section 2 illustrates the system model, and Section 3 investigates the system performance. Section 4 proposes and discusses the research results, and conclusions are proposed in Section 5.

## 2. System Model

We consider an EH relay network with one S, multiple Ds, and one R as shown in Figure 1 [13,14]. In this system model, S, R, and D are working in a half-duplex (HD) mode with one antenna. The channel gain between node S and the relay R (h

_{RD}) is a Nakagami-m fading channel, so between the relay R and the destinations, D_{i}as h_{RDi}is represented by Rayleigh fading channels. In this model, the direct link between S and D nodes is too weak without the help of a relay. The EH and information transmission (IT) for this proposed model system is presented in Figure 2. In this model, the transmission length time T is divided into two slots. In the time slot T/2, R harvests energy in ρP_{s}and receives information in (1−ρ)P_{s}from S. The remaining half-time slot T/2 is used for information transferring from R to D as in [15,16].In the first transmission phase, the received signal at R in period T/2 time can be formulated by the following:

$${y}_{r}=\frac{1}{\sqrt{{d}_{sr}^{m}}}\sqrt{(1-\rho )}{h}_{sr}{x}_{s}+{n}_{r}.$$

In this equation, h

_{sr}is S to R channel gain, d_{sr}is the distance between S and R, and m denotes the path loss exponent. Here, ${x}_{s}$ is the transmitted signal at S, n_{r}is the additive white Gaussian noise (AWGN) with variance N_{0}, and $0<\rho <1$ is the PS ratio at the relay R. Moreover, $\mathrm{E}\left\{{\left|{x}_{s}\right|}^{2}\right\}={P}_{s}$, $\mathrm{E}\{\u2022\}$ is the expectation operator, and P_{s}is the average transmit power at S.After the first-time slot T/2, the harvested power at R could be obtained by
where $0<\eta \le 1$ is the energy conversion efficiency.

$${P}_{r}=\frac{{E}_{h}}{{d}_{sr}^{m}(T/2)}=\frac{\eta \rho {P}_{s}{\left|{h}_{sr}\right|}^{2}(T/2)}{{d}_{sr}^{m}(T/2)}=\frac{\eta \rho {P}_{s}{\left|{h}_{sr}\right|}^{2}}{{d}_{sr}^{m}}$$

In the second time slot T/2, R retransmits the information from S to D
where $i\in (1,2,\dots ,K)$, h

_{i}. The received signal at the n^{th}destination at the second slot time can be expressed as
$${y}_{{d}_{i}}=\frac{1}{\sqrt{{d}_{i}^{m}}}{h}_{r{d}_{i}}{x}_{r}+{n}_{{d}_{i}}$$

_{rdi}is the R to the i^{th}D channel gain, d_{i}is the R to the D distance, n_{di}is the additive white Gaussian noise (AWGN) with variance N_{0}, and $\mathrm{E}\left\{{\left|{x}_{r}\right|}^{2}\right\}={P}_{r}$.Here, the AF protocol is considered, and the amplifying factor can be given by

$$\beta =\frac{{x}_{r}}{{y}_{r}}=\sqrt{\frac{{P}_{r}}{\frac{(1-\rho ){P}_{s}{\left|{h}_{sr}\right|}^{2}}{{d}_{sr}^{m}}+{N}_{0}}}.$$

From Equations (1), (3) and (4), the received signal can be rewritten as

$$\begin{array}{ll}{y}_{{d}_{i}}& =\frac{1}{\sqrt{{d}_{r{d}_{n}}^{m}}}{h}_{r{d}_{i}}\beta {y}_{r}+{n}_{{d}_{i}}=\frac{1}{\sqrt{{d}_{r{d}_{i}}^{m}}}{h}_{r{d}_{i}}\beta \left[\frac{1}{\sqrt{{d}_{sr}^{m}}}\sqrt{(1-\rho )}{h}_{sr}{x}_{s}+{n}_{r}\right]+{n}_{{d}_{i}}\\ & =\underset{signal}{\underbrace{\frac{\sqrt{(1-\rho )}{h}_{sr}{x}_{s}{h}_{r{d}_{i}}\beta}{\sqrt{{d}_{i}^{m}}\sqrt{{d}_{sr}^{m}}}}}+\underset{noise}{\underbrace{\frac{1}{\sqrt{{d}_{i}^{m}}}{h}_{r{d}_{i}}\beta {n}_{r}+{n}_{{d}_{i}}}}\end{array}$$

Therefore, the overall signal to noise ratio (SNR) from S to D can be given by

$$SNR=\frac{\mathrm{E}\left\{{\left|signal\right|}^{2}\right\}}{\mathrm{E}\left\{{\left|noise\right|}^{2}\right\}}=\frac{\frac{(1-\rho ){P}_{s}{\left|{h}_{sr}\right|}^{2}{\left|{h}_{r{d}_{i}}\right|}^{2}{\beta}^{2}}{{d}_{i}^{m}{d}_{sr}^{m}}}{\frac{{\left|{h}_{r{d}_{i}}\right|}^{2}{\beta}^{2}{N}_{0}}{{d}_{i}^{m}}+{N}_{0}}=\frac{(1-\rho ){P}_{s}{\left|{h}_{sr}\right|}^{2}{\left|{h}_{r{d}_{i}}\right|}^{2}}{{\left|{h}_{r{d}_{i}}\right|}^{2}{d}_{sr}^{m}{N}_{0}+\frac{{N}_{0}{d}_{i}^{m}{d}_{sr}^{m}}{{\beta}^{2}}}.$$

After doing some algebra, using the fact that N

_{0}<< P_{r}and denote ${\gamma}_{1}={\left|{h}_{sr}\right|}^{2},{\gamma}_{i}={\left|{h}_{r{d}_{i}}\right|}^{2}$, Equation (6) can be rewritten as
$$SNR=\frac{(1-\rho ){P}_{s}{P}_{r}{\left|{h}_{sr}\right|}^{2}{\left|{h}_{r{d}_{i}}\right|}^{2}}{{\left|{h}_{r{d}_{i}}\right|}^{2}{d}_{sr}^{m}{P}_{r}{N}_{0}+(1-\rho ){P}_{s}{\left|{h}_{sr}\right|}^{2}{N}_{0}{d}_{i}^{m}}.$$

Combined with Equation (2), we have the SNR:
where $\psi ={P}_{s}/{N}_{0}$.

$$SNR=\frac{\eta \rho (1-\rho )\psi {\left|{h}_{sr}\right|}^{2}{\left|{h}_{r{d}_{i}}\right|}^{2}}{\eta \rho {\left|{h}_{r{d}_{i}}\right|}^{2}{d}_{sr}^{m}+(1-\rho ){d}_{i}^{m}}$$

## 3. The System Performance

As in previous work [12,13,28,30], the closed-form expressions of OP and EC of this system model are derived in this section. At first, we will determine the probability density function (PDF) and the cumulative density function (CDF) of a random variable (RV) ${\left|{h}_{sr}\right|}^{2},{\left|{h}_{r{d}_{i}}\right|}^{2}$. As shown in [29], the PDF of RV ${\gamma}_{1}$ can be calculated by

$${f}_{{\left|{h}_{sr}\right|}^{2}}(x)=\frac{{x}^{{m}_{{\left|{h}_{sr}\right|}^{2}}-1}}{({m}_{{\left|{h}_{sr}\right|}^{2}}-1)!{({\mathsf{\Omega}}_{{\left|{h}_{sr}\right|}^{2}})}^{{m}_{{\left|{h}_{sr}\right|}^{2}}}}\mathrm{exp}(-\frac{x}{{\mathsf{\Omega}}_{{\left|{h}_{sr}\right|}^{2}}}).$$

From Equation (9), the CDF of RV ${\left|{h}_{sr}\right|}^{2}$ can be obtained with the help of Equation (8.353.4) in [32].
where ${\mathsf{\Omega}}_{{\left|{h}_{sr}\right|}^{2}}=\frac{{\lambda}_{sr}}{{m}_{{\left|{h}_{sr}\right|}^{2}}}$; ${m}_{{\left|{h}_{sr}\right|}^{2}}$ is the Nakagami-m parameter and note that the case of ${m}_{{\left|{h}_{sr}\right|}^{2}}=1$ corresponds to Rayleigh fading; ${\lambda}_{sr}=\frac{\mathrm{E}\left\{{\left|{h}_{sr}\right|}^{2}\right\}}{{d}_{sr}^{m}}$ is the mean of RV ${\left|{h}_{sr}\right|}^{2}$.

$${F}_{{\left|{h}_{sr}\right|}^{2}}(x)=1-\mathrm{exp}(-\frac{x}{{\mathsf{\Omega}}_{{\left|{h}_{sr}\right|}^{2}}}){\displaystyle \sum _{t=0}^{{m}_{{\left|{h}_{sr}\right|}^{2}}-1}\frac{{x}^{t}}{t!{({\mathsf{\Omega}}_{{\left|{h}_{sr}\right|}^{2}})}^{t}}}$$

Furthermore, we have the PDF and CDF of RV ${\left|{h}_{r{d}_{i}}\right|}^{2}$ as shown in [28] as follows:
where ${\lambda}_{r{d}_{i}}=\frac{\mathrm{E}\left\{{\left|{h}_{r{d}_{i}}\right|}^{2}\right\}}{{d}_{i}^{m}}$ is the mean of RV ${\left|{h}_{r{d}_{i}}\right|}^{2}$.

$${f}_{{\left|{h}_{r{d}_{i}}\right|}^{2}}(x)=\frac{1}{{\lambda}_{r{d}_{i}}}{e}^{-x/{\lambda}_{r{d}_{i}}}$$

$${F}_{{\left|{h}_{r{d}_{i}}\right|}^{2}}(x)=1-{e}^{-x/{\lambda}_{r{d}_{i}}}$$

In this system model, the best selection user US

_{q}is analyzed as follows:
$${\left|{h}_{rd}\right|}^{2}=\underset{i=1,2,\dots ,K}{\mathrm{max}}({\left|{h}_{r{d}_{i}}\right|}^{2}).$$

According to [19], the CDF of ${\left|{h}_{rd}\right|}^{2}$ can be given by
where we denote ${C}_{K}^{p}=\frac{K!}{p!(K-p)!}$, and ${\lambda}_{rd}$ is the mean of RV ${\left|{h}_{rd}\right|}^{2}$.

$${F}_{{\left|{h}_{rd}\right|}^{2}}(y)={\displaystyle \sum _{p=0}^{K}{(-1)}^{p}{C}_{K}^{p}\times {e}^{-py/{\lambda}_{rd}}},$$

Finally, the PDF of random variable can be determined by

$${f}_{{\left|{h}_{rd}\right|}^{2}}(y)=\frac{1}{{\lambda}_{rd}}{\displaystyle \sum _{p=0}^{K-1}{\left(-1\right)}^{p}{C}_{K-1}^{p}K\times {e}^{-(p+1)y/{\lambda}_{rd}}}.$$

From Equation (19), we have

$$SNR=\frac{\eta \rho (1-\rho )\psi {\left|{h}_{sr}\right|}^{2}{\left|{h}_{rd}\right|}^{2}}{\eta \rho {\left|{h}_{rd}\right|}^{2}{d}_{sr}^{m}+(1-\rho ){d}_{i}^{m}}.$$

#### 3.1. The Outage Probability (OP)

**Theorem 1**(OP—Closed Form)

**.**

The closed-form expression of the OP of the proposed model system can be formulated as

$$\begin{array}{l}{P}_{out}=1-2\mathrm{exp}\left[-\frac{z{d}_{sr}^{m}}{{\mathsf{\Omega}}_{{\left|{h}_{sr}\right|}^{2}}(1-\rho )\psi}\right]{\displaystyle \sum _{t=0}^{{m}_{{\gamma}_{1}}-1}{\displaystyle \sum _{n=0}^{t}{\displaystyle \sum _{p=0}^{K-1}\frac{{(-1)}^{p}K\times {C}_{K-1}^{p}{z}^{\frac{n+t+1}{2}}{({\lambda}_{rd})}^{\frac{n-t-1}{2}}}{(t-n)!n!{\left({\mathsf{\Omega}}_{{\left|{h}_{sr}\right|}^{2}}\psi \right)}^{\frac{n+t+1}{2}}{(p+1)}^{\frac{n-t+1}{2}}}}}}\\ {\left(\frac{{d}_{i}^{m}}{\eta \rho}\right)}^{\frac{t-n+1}{2}}{\left[\frac{{d}_{sr}^{m}}{(1-\rho )}\right]}^{n}\times {K}_{n-t+1}\left(2\sqrt{\frac{z{d}_{i}^{m}(p+1)}{{\mathsf{\Omega}}_{{\left|{h}_{sr}\right|}^{2}}\eta \rho \psi {\lambda}_{rd}}}\right)\end{array}$$

#### 3.2. Maximize Capacity

In this section, we will find the PS factor to maximize capacity. The overall capacity from source to destination can be given by

$${C}_{s,d}=\frac{1}{2}{\mathrm{log}}_{2}(1+SNR)=\frac{1}{2}{\mathrm{log}}_{2}\left[1+\frac{\eta \rho (1-\rho )\psi {\left|{h}_{sr}\right|}^{2}{\left|{h}_{rd}\right|}^{2}}{\eta \rho {\left|{h}_{rd}\right|}^{2}{d}_{sr}^{m}+(1-\rho ){d}_{i}^{m}}\right].$$

Therefore, to maximize capacity, from Equation (18), we can see that $\mathrm{max}({C}_{s,d})\iff \mathrm{max}(SNR)$.

From Equation (8), SNR is a concave function of ρ, which, maximizing the SNR, can be given as follows:

$${\rho}^{*}=\frac{1}{1+\left|{h}_{rd}\right|\sqrt{\frac{\eta {d}_{sr}^{m}}{{d}_{i}^{m}}}}.$$

**Theorem 2**(EC—Closed Form)

**.**

The closed-form expression of the EC in the maximize mode of the system model can be expressed as

$${C}_{AF}=\frac{1}{\mathrm{ln}2}{\displaystyle \sum _{v=1}^{{N}_{p}}{\omega}_{v}}\frac{1-{F}_{SN{R}_{\mathrm{max}}}({x}_{v})}{1+{x}_{v}}.$$

## 4. Numerical Results and Discussion

Like in previous studies [33,34,35,36], we conducted Monte Carlo simulations to verify analytical expressions of the OP and EC of the proposed system in the above section. In addition, we investigated the effect of the primary system parameter on the system performance in terms of OP and EC. All other simulation parameters are listed in Table 1.

Figure 3a,b plots the influence of P

_{s}/N_{0}on the OP and EC of the proposed system. In Figure 3, the main parameters are as follows: K = 2, R = 0.5, and ρ = 0.2 and 0.6. In this figure, the OP of the case ρ = 0.2 and 06 and the maximum capacity are also proposed for comparison. It is observed that the simulation values of the OP match the values from the mathematical analysis. In connection with the effect of ρ, the OP decreases, and EC increases as ρ varies from 0.2 to 0.6. When P_{s}/N_{0}increases from 0 to 20 dB, the OP decreases and EC significantly increases. Furthermore, the higher the value of ρ is, the faster the OP decreases and the EC increases. In addition, we can see that the OP and EC of the model system in the maximum capacity case are better in comparison with the other cases, with other values of ρ. This can be observed based on the mathematical analysis in Equations (17) and (20).Figure 4a,b depicts the effect of P

_{s}/N_{0}on the OP and the EC. We set R = 0.5 bps, ρ = 0.5, and K = 1, 3, and 6 in Figure 4a and R = 0.5 bps, ρ = 0.5, and K = 1, 3, and 6, respectively. From Figure 4a, the OP decreases when P_{s}/N_{0}increases from 0 to 20 dB, and OP decreases faster with a higher K. On the other hand, the EC increases significantly, while P_{s}/N_{0}rises from 0 to 20 dB. Furthermore, the EC is higher with the higher K value. In all research results, the simulation and analytical results are the same.Moreover, Figure 5a,b plots the influence of the ratio P

_{s}/N_{0}on the OP and the EC of the model system. Here, the cases Ray-Ray, Naka-Ray in the non-maximize and maximize modes are compared with each other in the same system condition. In the simulation, we set the ratio P_{s}/N_{0}increased from 0 to 20 dB, ρ = 0.2, and K = 2 for the OP and ρ = 0.4 and K = 3 for the EC, respectively. Figure 5a shows that the OP decreases faster in the Naka-Ray case with maximum capacity compared with other cases. In the same way, the EC increases faster in the Ray-Ray case with non-maximum capacity in Figure 5b. Here we can see that the system performance in the maximum capacity case is better than in the non-maximum capacity case. Furthermore, the simulation results agreed with the mathematical analysis of the above section.Figure 6 illustrates the OP versus the system factors η. In this case, we set P

_{s}/N_{0}= 10 dB, ρ = 0.3, and K = 1 and 4 in each case. From Figure 6, the OP decreases when η increases from 0 to 1, and the OP in the maximum capacity case is better than the non-maximum capacity case. Here, the simulation results agreed with the mathematical analysis of the above section. Furthermore, the OP and the EC of the proposed system in connection with the number of users are presented in Figure 7a,b. Similarly, the OP decreases and the EC increases, while the number of users varies from 0 to 10 and have better values in the maximum capacity case. In all of them, the simulation and analytical mathematical results agreed well with each other.## 5. Conclusions

This study proposes a performance analysis of a user selection protocol in cooperative networks with PS protocol-based EH over Nakagami-m/Rayleigh channels. The analytical closed-form expressions for the OP and the EC is derived. Moreover, the closed-form expression of the EC is derived in cases of maximum and non-maximum capacity. Finally, we use Monte Carlo simulations to derive analytical expressions in connection with all possible system parameters. From the research results, we can see that the simulation and the analytical analysis agree well.

## Author Contributions

T.N.N. and M.T. created the main idea and developed the performance evaluation by analysis and simulation. M.T. wrote and revised the paper. T.-L.N. and D.-H.H. joined in the data analysis process. M.V. worked as an advisor to the group author of this project.

## Funding

This research was funded by the Czech Ministry of Education, Youth and Sports within the grants No. SP2018/59 and SP2019/41 conducted at the VSB—Technical University of Ostrava.

## Conflicts of Interest

The authors declare no conflicts of interest.

## Appendix A

Outage probability can be calculated as
where $z={2}^{2R}-1$ is a threshold, and R is the source rate.

$${P}_{out}=\mathrm{Pr}\left(SNR<z\right)=\mathrm{Pr}\left(\frac{\eta \rho (1-\rho )\psi {\left|{h}_{sr}\right|}^{2}{\left|{h}_{rd}\right|}^{2}}{\eta \rho {\left|{h}_{rd}\right|}^{2}{d}_{sr}^{m}+(1-\rho ){d}_{i}^{m}}<z\right)$$

Equation (A1) can be rewritten as

$$\begin{array}{ll}{P}_{out}& =\mathrm{Pr}\left\{\eta \rho (1-\rho )\psi {\left|{h}_{sr}\right|}^{2}{\left|{h}_{rd}\right|}^{2}<z\eta \rho {\left|{h}_{rd}\right|}^{2}{d}_{sr}^{m}+z(1-\rho ){d}_{i}^{m}\right\}\\ & =\mathrm{Pr}\left[{\left|{h}_{sr}\right|}^{2}<\frac{z\eta \rho {\left|{h}_{rd}\right|}^{2}{d}_{sr}^{m}+z(1-\rho ){d}_{i}^{m}}{\eta \rho (1-\rho )\psi {\left|{h}_{rd}\right|}^{2}}\right]\\ & =\mathrm{Pr}\left[{\left|{h}_{sr}\right|}^{2}<\frac{z{d}_{i}^{m}}{\eta \rho \psi {\left|{h}_{rd}\right|}^{2}}+\frac{z{d}_{sr}^{m}}{(1-\rho )\psi}\right]\end{array}$$

$${P}_{out}={\displaystyle \underset{0}{\overset{\infty}{\int}}{F}_{{\left|{h}_{sr}\right|}^{2}}\left\{\frac{z{d}_{i}^{m}}{\eta \rho \psi {\left|{h}_{rd}\right|}^{2}}+\frac{z{d}_{sr}^{m}}{(1-\rho )\psi}|{\left|{h}_{rd}\right|}^{2}\right\}}{f}_{{\left|{h}_{rd}\right|}^{2}}({\left|{h}_{rd}\right|}^{2})d\left({\left|{h}_{rd}\right|}^{2}\right).$$

From Equations (19) and (20), we have

$$\begin{array}{l}{P}_{out}=1-{\displaystyle \underset{0}{\overset{\infty}{\int}}\mathrm{exp}\left[-\frac{\frac{z{d}_{i}^{m}}{\eta \rho \psi {\left|{h}_{rd}\right|}^{2}}+\frac{z{d}_{sr}^{m}}{(1-\rho )\psi}}{{\mathsf{\Omega}}_{{\left|{h}_{sr}\right|}^{2}}}\right]{\displaystyle \sum _{t=0}^{{m}_{{\gamma}_{1}}-1}\frac{{\left[\frac{z{d}_{i}^{m}}{\eta \rho \psi {\left|{h}_{rd}\right|}^{2}}+\frac{z{d}_{sr}^{m}}{(1-\rho )\psi}\right]}^{t}}{t!{\left({\mathsf{\Omega}}_{{\left|{h}_{sr}\right|}^{2}}\right)}^{t}}}}\\ \times \frac{1}{{\lambda}_{q}}{\displaystyle \sum _{p=0}^{K-1}{\left(-1\right)}^{p}{C}_{K-1}^{p}K\times {e}^{-(p+1){\left|{h}_{rd}\right|}^{2}/{\lambda}_{q}}}d\left({\left|{h}_{rd}\right|}^{2}\right)\end{array}$$

$$\begin{array}{l}{P}_{out}=1-\frac{\mathrm{exp}\left[-\frac{z{d}_{sr}^{m}}{{\mathsf{\Omega}}_{{\left|{h}_{sr}\right|}^{2}}(1-\rho )\psi}\right]}{{\lambda}_{rd}}{\displaystyle \underset{0}{\overset{\infty}{\int}}{\displaystyle \sum _{t=0}^{{m}_{{\gamma}_{1}}-1}\frac{{\left[\frac{z{d}_{i}^{m}}{\eta \rho \psi {\left|{h}_{rd}\right|}^{2}}+\frac{z{d}_{sr}^{m}}{(1-\rho )\psi}\right]}^{t}}{t!{\left({\mathsf{\Omega}}_{{\left|{h}_{sr}\right|}^{2}}\right)}^{t}}\times \mathrm{exp}\left[-\frac{z{d}_{i}^{m}}{{\mathsf{\Omega}}_{{\left|{h}_{sr}\right|}^{2}}\eta \rho \psi {\left|{h}_{rd}\right|}^{2}}\right]}}\\ \times {\displaystyle \sum _{p=0}^{K-1}{\left(-1\right)}^{p}{C}_{K-1}^{p}K\times {e}^{-(p+1){\left|{h}_{rd}\right|}^{2}/{\lambda}_{rd}}}d\left({\left|{h}_{rd}\right|}^{2}\right)\end{array}$$

Now by applying the equation ${(x+y)}^{m}={\displaystyle \sum _{n=0}^{m}\left(\begin{array}{c}m\\ n\end{array}\right)}{x}^{m-n}{y}^{n}$ to Equation (A5), the outage probability can demonstrate as follows:

$$\begin{array}{l}{P}_{out}=1-\frac{\mathrm{exp}\left[-\frac{z{d}_{sr}^{m}}{{\mathsf{\Omega}}_{{\left|{h}_{sr}\right|}^{2}}(1-\rho )\psi}\right]}{{\lambda}_{rd}}\\ {\displaystyle \underset{0}{\overset{\infty}{\int}}{\displaystyle \sum _{t=0}^{{m}_{{\gamma}_{1}}-1}{\displaystyle \sum _{n=0}^{t}\left(\begin{array}{l}t\\ n\end{array}\right)}}\frac{{z}^{t}}{t!{\left({\mathsf{\Omega}}_{{\left|{h}_{sr}\right|}^{2}}\right)}^{t}}{\left(\frac{{d}_{i}^{m}}{\eta \rho \psi {\left|{h}_{rd}\right|}^{2}}\right)}^{t-n}{\left[\frac{{d}_{sr}^{m}}{(1-\rho )\psi}\right]}^{n}\times \mathrm{exp}\left[-\frac{z{d}_{i}^{m}}{{\mathsf{\Omega}}_{{\left|{h}_{sr}\right|}^{2}}\eta \rho \psi {\left|{h}_{rd}\right|}^{2}}\right]}\\ \times {\displaystyle \sum _{p=0}^{K-1}{\left(-1\right)}^{p}{C}_{K-1}^{p}K\times {e}^{-(p+1){\left|{h}_{rd}\right|}^{2}/{\lambda}_{rd}}}d\left({\left|{h}_{rd}\right|}^{2}\right)\end{array}$$

$$\begin{array}{l}{P}_{out}=1-\frac{\mathrm{exp}\left[-\frac{z{d}_{sr}^{m}}{{\mathsf{\Omega}}_{{\left|{h}_{sr}\right|}^{2}}(1-\rho )\psi}\right]}{{\lambda}_{rd}}{\displaystyle \sum _{t=0}^{{m}_{{\gamma}_{1}}-1}{\displaystyle \sum _{n=0}^{t}{\displaystyle \sum _{p=0}^{K-1}\frac{{(-1)}^{p}K\times {C}_{K-1}^{p}{z}^{t}}{(t-n)!n!{\left({\mathsf{\Omega}}_{{\left|{h}_{sr}\right|}^{2}}\right)}^{t}{\psi}^{t}}}}}{\left(\frac{{d}_{i}^{m}}{\eta \rho}\right)}^{t-n}{\left[\frac{{d}_{sr}^{m}}{(1-\rho )}\right]}^{n}\\ \times {\displaystyle \underset{0}{\overset{\infty}{\int}}{({\left|{h}_{rd}\right|}^{2})}^{n-t}\times \mathrm{exp}\left[-\frac{z{d}_{i}^{m}}{{\mathsf{\Omega}}_{{\gamma}_{1}}\eta \rho \psi {\left|{h}_{rd}\right|}^{2}}\right]}\times {e}^{-(p+1){\left|{h}_{rd}\right|}^{2}/{\lambda}_{rd}}d\left({\left|{h}_{rd}\right|}^{2}\right)\end{array}$$

Using the Table of Integral Equation (3.471,9) in [32], Equation (A7) can reformulated as
where ${K}_{v}(\u2022)$ is the modified Bessel function of the second kind and the v-th order.

$$\begin{array}{l}{P}_{out}=1-2\frac{\mathrm{exp}\left[-\frac{z{d}_{sr}^{m}}{{\mathsf{\Omega}}_{{\left|{h}_{sr}\right|}^{2}}(1-\rho )\psi}\right]}{{\lambda}_{rd}}{\displaystyle \sum _{t=0}^{{m}_{{\gamma}_{1}}-1}{\displaystyle \sum _{n=0}^{t}{\displaystyle \sum _{p=0}^{K-1}\frac{{(-1)}^{p}K\times {C}_{K-1}^{p}{z}^{t}}{(t-n)!n!{\left({\mathsf{\Omega}}_{{\left|{h}_{sr}\right|}^{2}}\right)}^{t}{\psi}^{t}}}}}{\left(\frac{{d}_{i}^{m}}{\eta \rho}\right)}^{t-n}\\ {\left[\frac{{d}_{sr}^{m}}{(1-\rho )}\right]}^{n}{\left(\frac{z{d}_{i}^{m}{\lambda}_{rd}}{{\mathsf{\Omega}}_{{\left|{h}_{sr}\right|}^{2}}\eta \rho \psi (p+1)}\right)}^{\frac{n-t+1}{2}}\times {K}_{n-t+1}\left(2\sqrt{\frac{z{d}_{i}^{m}(p+1)}{{\mathsf{\Omega}}_{{\left|{h}_{sr}\right|}^{2}}\eta \rho \psi {\lambda}_{rd}}}\right)\end{array}$$

## Appendix B

It is easy to observe that $\frac{{\partial}^{2}SNR}{\partial {\rho}^{2}}$ is negative for $0<\rho <1$. Hence, we conclude that SNR is a concave function of ρ ($0<\rho <1$). We can find the value of ρ that maximizes SNR by differentiating the SNR concerning ρ, and we can then equate it to zero. After some algebraic calculations, we have the following possible solutions for ρ

^{*}:
$${\rho}^{*}=\frac{1}{1+\left|{h}_{rd}\right|\sqrt{\frac{\eta {d}_{sr}^{m}}{{d}_{i}^{m}}}}\text{}\mathrm{or}\text{}{\rho}^{*}=\frac{1}{1-\left|{h}_{rd}\right|\sqrt{\frac{\eta {d}_{sr}^{m}}{{d}_{i}^{m}}}}.$$

Since ${\rho}^{*}=\frac{1}{1-\left|{h}_{rd}\right|\sqrt{\frac{\eta {d}_{sr}^{m}}{{d}_{i}^{m}}}}$ results in a value of ρ

^{*}> 1 or ρ^{*}< 0, we choose ${\rho}^{*}=\frac{1}{1+\left|{h}_{rd}\right|\sqrt{\frac{\eta {d}_{sr}^{m}}{{d}_{i}^{m}}}}$ as the solution.If Equation (A3) is placed into Equation (A1), SNR

_{max}can be obtained as
$$SN{R}_{\mathrm{max}}=\frac{\eta \psi {\left|{h}_{sr}\right|}^{2}{\left|{h}_{rd}\right|}^{2}}{{\left(1+\left|{h}_{rd}\right|\sqrt{\frac{\eta {d}_{sr}^{m}}{{d}_{i}^{m}}}\right)}^{2}{d}_{i}^{m}}.$$

EC analysis can be demonstrated as follows:

$${C}_{AF}={\displaystyle \underset{0}{\overset{\infty}{\int}}{f}_{SN{R}_{\mathrm{max}}}(z)}{\mathrm{log}}_{z}(1+z)dz=\frac{1}{\mathrm{ln}2}{\displaystyle \underset{0}{\overset{\infty}{\int}}\frac{1-{F}_{SN{R}_{\mathrm{max}}}(z)}{1+z}dz}$$

$$\begin{array}{l}{F}_{SN{R}_{\mathrm{max}}}(z)=\mathrm{Pr}\left(SN{R}_{\mathrm{max}}<z\right)=\mathrm{Pr}\left[\frac{\eta \psi {\left|{h}_{sr}\right|}^{2}{\left|{h}_{rd}\right|}^{2}}{{\left(1+\left|{h}_{rd}\right|\sqrt{\frac{\eta {d}_{sr}^{m}}{{d}_{i}^{m}}}\right)}^{2}{d}_{i}^{m}}<z\right]\\ =\mathrm{Pr}\left[{\left|{h}_{sr}\right|}^{2}<\frac{{\left(1+\left|{h}_{rd}\right|\sqrt{\frac{\eta {d}_{sr}^{m}}{{d}_{i}^{m}}}\right)}^{2}z{d}_{i}^{m}}{\eta \psi {\left|{h}_{rd}\right|}^{2}}\right]\end{array}$$

$${F}_{SN{R}_{\mathrm{max}}}(z)={\displaystyle \underset{0}{\overset{\infty}{\int}}{F}_{{\left|{h}_{sr}\right|}^{2}}}\left[\frac{{\left(1+\left|{h}_{rd}\right|\sqrt{\frac{\eta {d}_{sr}^{m}}{{d}_{i}^{m}}}\right)}^{2}z{d}_{i}^{m}}{\eta \psi {\left|{h}_{rd}\right|}^{2}}|{\left|{h}_{rd}\right|}^{2}\right]{f}_{{\left|{h}_{rd}\right|}^{2}}\left({\left|{h}_{rd}\right|}^{2}\right)d\left({\left|{h}_{rd}\right|}^{2}\right).$$

As in the previous section, we have

$$\begin{array}{l}{F}_{SN{R}_{\mathrm{max}}}(z)=1-\frac{1}{{\lambda}_{rd}}{\displaystyle \underset{0}{\overset{\infty}{\int}}\mathrm{exp}\left[-\frac{{\left(1+\left|{h}_{rd}\right|\sqrt{\frac{\eta {d}_{sr}^{m}}{{d}_{i}^{m}}}\right)}^{2}z{d}_{i}^{m}}{{\mathsf{\Omega}}_{{\left|{h}_{sr}\right|}^{2}}\eta \psi {\left|{h}_{rd}\right|}^{2}}\right]}{\displaystyle \sum _{t=0}^{{m}_{{\left|{h}_{sr}\right|}^{2}}-1}\frac{1}{t!{\left({\mathsf{\Omega}}_{{\left|{h}_{sr}\right|}^{2}}\right)}^{t}}\times {\left[\frac{{\left(1+\left|{h}_{rd}\right|\sqrt{\frac{\eta {d}_{sr}^{m}}{{d}_{i}^{m}}}\right)}^{2}z{d}_{i}^{m}}{\eta \psi {\left|{h}_{rd}\right|}^{2}}\right]}^{t}}\\ \times {\displaystyle \sum _{p=0}^{K-1}{(-1)}^{p}{C}_{K-1}^{p}K\times {e}^{-(p+1){\left|{h}_{rd}\right|}^{2}/{\lambda}_{rd}}}d\left({\left|{h}_{rd}\right|}^{2}\right)\end{array}$$

In Equation (A14), we consider

$$\begin{array}{ll}A& =\mathrm{exp}\left[-\frac{{\left(1+\left|{h}_{rd}\right|\sqrt{\frac{\eta {d}_{sr}^{m}}{{d}_{i}^{m}}}\right)}^{2}z{d}_{i}^{m}}{{\mathsf{\Omega}}_{{\left|{h}_{sr}\right|}^{2}}\eta \psi {\left|{h}_{rd}\right|}^{2}}\right]=\mathrm{exp}\left[-\frac{z{d}_{i}^{m}+2z\left|{h}_{rd}\right|\sqrt{\eta {d}_{sr}^{m}{d}_{i}^{m}}+z{\left|{h}_{rd}\right|}^{2}\eta {d}_{sr}^{m}}{{\mathsf{\Omega}}_{{\left|{h}_{sr}\right|}^{2}}\eta \psi {\left|{h}_{rd}\right|}^{2}}\right]\\ & =\mathrm{exp}\left[-\frac{z{d}_{i}^{m}}{{\mathsf{\Omega}}_{{\left|{h}_{sr}\right|}^{2}}\eta \psi {\left|{h}_{rd}\right|}^{2}}\right]\mathrm{exp}\left[-\frac{2z\sqrt{{d}_{sr}^{m}{d}_{i}^{m}}}{{\mathsf{\Omega}}_{{\left|{h}_{sr}\right|}^{2}}\psi \left|{h}_{rd}\right|\sqrt{\eta}}\right]\mathrm{exp}\left[-\frac{z{d}_{sr}^{m}}{{\mathsf{\Omega}}_{{\left|{h}_{sr}\right|}^{2}}\psi}\right]\end{array}$$

We then apply a Taylor series as follows:

$$\mathrm{exp}\left[-\frac{2z\sqrt{{d}_{sr}^{m}{d}_{i}^{m}}}{{\mathsf{\Omega}}_{{\left|{h}_{sr}\right|}^{2}}\psi \left|{h}_{rd}\right|\sqrt{\eta}}\right]={\displaystyle \sum _{q=0}^{\infty}\frac{{\left(-\frac{2z\sqrt{{d}_{sr}^{m}{d}_{i}^{m}}}{{\mathsf{\Omega}}_{{\left|{h}_{sr}\right|}^{2}}\psi \left|{h}_{rd}\right|\sqrt{\eta}}\right)}^{q}}{q!}}={\displaystyle \sum _{q=0}^{\infty}\frac{{(-1)}^{q}{\left(\frac{2z\sqrt{{d}_{sr}^{m}{d}_{i}^{m}}}{{\mathsf{\Omega}}_{{\left|{h}_{sr}\right|}^{2}}\psi \sqrt{\eta}}\right)}^{q}}{q!}}{\left|{h}_{rd}\right|}^{-q}.$$

Equation (A15) can then be rewritten as

$$A={\displaystyle \sum _{q=0}^{\infty}\frac{{(-1)}^{q}{\left(\frac{2z\sqrt{{d}_{sr}^{m}{d}_{i}^{m}}}{{\mathsf{\Omega}}_{{\left|{h}_{sr}\right|}^{2}}\psi \sqrt{\eta}}\right)}^{q}}{q!}}{\left|{h}_{rd}\right|}^{-q}\times \mathrm{exp}\left[-\frac{z{d}_{sr}^{m}}{{\mathsf{\Omega}}_{{\left|{h}_{sr}\right|}^{2}}\psi}\right]\mathrm{exp}\left[-\frac{z{d}_{i}^{m}}{{\mathsf{\Omega}}_{{\left|{h}_{sr}\right|}^{2}}\eta \psi {\left|{h}_{rd}\right|}^{2}}\right].$$

If Equation (A14) is placed into Equation (A16) and the expression ${(x+y)}^{m}={\displaystyle \sum _{n=0}^{m}\left(\begin{array}{c}m\\ n\end{array}\right)}{x}^{m-n}{y}^{n}$ is applied, we have

$$\begin{array}{l}{F}_{SN{R}_{\mathrm{max}}}(z)=1-\frac{1}{{\lambda}_{rd}}{\displaystyle \underset{0}{\overset{\infty}{\int}}{\displaystyle \sum _{q=0}^{\infty}\frac{{(-1)}^{q}{\left(\frac{2z\sqrt{{d}_{sr}^{m}{d}_{i}^{m}}}{{\mathsf{\Omega}}_{{\left|{h}_{sr}\right|}^{2}}\psi \sqrt{\eta}}\right)}^{q}}{q!}}{\left|{h}_{rd}\right|}^{-q}\times \mathrm{exp}\left[-\frac{z{d}_{sr}^{m}}{{\mathsf{\Omega}}_{{\left|{h}_{sr}\right|}^{2}}\psi}\right]\mathrm{exp}\left[-\frac{z{d}_{i}^{m}}{{\mathsf{\Omega}}_{{\left|{h}_{sr}\right|}^{2}}\eta \psi {\left|{h}_{rd}\right|}^{2}}\right]}\\ \times {\displaystyle \sum _{t=0}^{{m}_{{\left|{h}_{sr}\right|}^{2}}-1}\frac{{\left(z{d}_{i}^{m}\right)}^{t}}{t!{\left({\mathsf{\Omega}}_{{\left|{h}_{sr}\right|}^{2}}\eta \psi \right)}^{t}{\left|{h}_{rd}\right|}^{2t}}}\times {\displaystyle \sum _{n=0}^{2t}\left(\begin{array}{l}2t\\ n\end{array}\right)}{\left[\left|{h}_{rd}\right|\sqrt{\frac{\eta {d}_{sr}^{m}}{{d}_{i}^{m}}}\right]}^{n}\times {\displaystyle \sum _{p=0}^{K-1}{(-1)}^{p}{C}_{K-1}^{p}K\times {e}^{-(p+1){\left|{h}_{rd}\right|}^{2}/{\lambda}_{rd}}}d\left({\left|{h}_{rd}\right|}^{2}\right)\end{array}$$

$$\begin{array}{l}{F}_{SN{R}_{\mathrm{max}}}(z)=1-\frac{1}{{\lambda}_{rd}}{\displaystyle \sum _{t=0}^{{m}_{{\left|{h}_{sr}\right|}^{2}}-1}{\displaystyle \sum _{n=0}^{2t}{\displaystyle \sum _{p=0}^{K-1}{\displaystyle \sum _{q=0}^{\infty}{\displaystyle \underset{0}{\overset{\infty}{\int}}\mathrm{exp}\left[-\frac{z{d}_{sr}^{m}}{{\mathsf{\Omega}}_{{\left|{h}_{sr}\right|}^{2}}\psi}\right]\mathrm{exp}\left[-\frac{z{d}_{i}^{m}}{{\mathsf{\Omega}}_{{\left|{h}_{sr}\right|}^{2}}\eta \psi {\left|{h}_{rd}\right|}^{2}}\right]}}}}}\\ \times \frac{{(-2)}^{q}\left(2t\right)!{\left(z\right)}^{t+q}{\left|{h}_{rd}\right|}^{n-2t-q}{\left({d}_{sr}^{m}\right)}^{\frac{q}{2}}{\left({d}_{i}^{m}\right)}^{\frac{q}{2}}}{n!t!(2t-n)!q!{\left({\mathsf{\Omega}}_{{\left|{h}_{sr}\right|}^{2}}\psi \right)}^{t+q}{\eta}^{t+q/2}}\times {\left(\frac{\eta {d}_{sr}^{m}}{{d}_{i}^{m}}\right)}^{\frac{n}{2}}\times {(-1)}^{p}{C}_{K-1}^{p}K\times {e}^{-(p+1){\left|{h}_{rd}\right|}^{2}/{\lambda}_{rd}}d\left({\left|{h}_{rd}\right|}^{2}\right)\end{array}$$

$$\begin{array}{l}{F}_{SN{R}_{\mathrm{max}}}(z)=1-\frac{{e}^{-\frac{z{d}_{sr}^{m}}{{\mathsf{\Omega}}_{{\left|{h}_{sr}\right|}^{2}}\psi}}}{{\lambda}_{rd}}{\displaystyle \sum _{t=0}^{{m}_{{\left|{h}_{sr}\right|}^{2}}-1}{\displaystyle \sum _{n=0}^{2t}{\displaystyle \sum _{p=0}^{K-1}{\displaystyle \sum _{q=0}^{\infty}\frac{{(-1)}^{p}{C}_{K-1}^{p}K\times {(-2)}^{q}\left(2t\right)!{\left(z\right)}^{t+q}{\left({d}_{sr}^{m}\right)}^{\frac{q+n}{2}}{\left({d}_{i}^{m}\right)}^{\frac{q-n}{2}}}{n!t!(2t-n)!q!{\left({\mathsf{\Omega}}_{{\left|{h}_{sr}\right|}^{2}}\psi \right)}^{t+q}{\eta}^{t+q/2-n/2}}}}}}\\ \times {\displaystyle \underset{0}{\overset{\infty}{\int}}{\left|{h}_{rd}\right|}^{n-2t-q}\times \mathrm{exp}\left[-\frac{z{d}_{i}^{m}}{{\mathsf{\Omega}}_{{\left|{h}_{sr}\right|}^{2}}\eta \psi {\left|{h}_{rd}\right|}^{2}}\right]{e}^{-(p+1){\left|{h}_{rd}\right|}^{2}/{\lambda}_{rd}}d\left({\left|{h}_{rd}\right|}^{2}\right)}\end{array}$$

Using the Table of Integral Equation (3.471,9) in [32], Equation (A18) can be reformulated as

$$\begin{array}{l}{F}_{SN{R}_{\mathrm{max}}}(z)=1-\frac{2{e}^{-\frac{z{d}_{sr}^{m}}{{\mathsf{\Omega}}_{{\left|{h}_{sr}\right|}^{2}}\psi}}}{{\lambda}_{rd}}{\displaystyle \sum _{t=0}^{{m}_{{\left|{h}_{sr}\right|}^{2}}-1}{\displaystyle \sum _{n=0}^{2t}{\displaystyle \sum _{p=0}^{K-1}{\displaystyle \sum _{q=0}^{\infty}\frac{{(-1)}^{p}{C}_{K-1}^{p}K\times {(-2)}^{q}\left(2t\right)!{\left(z\right)}^{t+q}{\left({d}_{sr}^{m}\right)}^{\frac{q+n}{2}}{\left({d}_{i}^{m}\right)}^{\frac{q-n}{2}}}{n!t!(2t-n)!q!{\left({\mathsf{\Omega}}_{{\left|{h}_{sr}\right|}^{2}}\psi \right)}^{t+q}{\eta}^{t+q/2-n/2}}}}}}\\ \times {\left[\frac{z{d}_{i}^{m}{\lambda}_{rd}}{(p+1){\mathsf{\Omega}}_{{\left|{h}_{sr}\right|}^{2}}\eta \psi}\right]}^{\frac{n-2t-q+2}{4}}\times {K}_{\frac{n-2t-q+2}{2}}\left[2\sqrt{\frac{z{d}_{i}^{m}(p+1)}{{\mathsf{\Omega}}_{{\left|{h}_{sr}\right|}^{2}}\eta \psi {\lambda}_{rd}}}\right]\end{array}$$

$$\begin{array}{l}{F}_{SN{R}_{\mathrm{max}}}(z)=1-2{e}^{-\frac{z{d}_{sr}^{m}}{{\mathsf{\Omega}}_{{\left|{h}_{sr}\right|}^{2}}\psi}}\times {\displaystyle \sum _{t=0}^{{m}_{{\left|{h}_{sr}\right|}^{2}}-1}{\displaystyle \sum _{n=0}^{2t}{\displaystyle \sum _{p=0}^{K-1}{\displaystyle \sum _{q=0}^{\infty}\frac{{(-1)}^{p}{C}_{K-1}^{p}K\times {(-2)}^{q}\left(2t\right)!{\left({d}_{sr}^{m}\right)}^{\frac{q+n}{2}}{\left({d}_{i}^{m}\right)}^{\frac{q-n-2t+2}{4}}{\left({\lambda}_{rd}\right)}^{\frac{n-2t-q-2}{4}}}{n!t!(2t-n)!q!{\eta}^{\frac{2t-n+q+2}{4}}{(p+1)}^{\frac{n-2t-q+2}{4}}}}}}}\\ \times {\left(\frac{z}{{\mathsf{\Omega}}_{{\left|{h}_{sr}\right|}^{2}}\psi}\right)}^{\frac{n+2t+3q+2}{4}}\times {K}_{\frac{n-2t-q+2}{2}}\left[2\sqrt{\frac{z{d}_{i}^{m}(p+1)}{{\mathsf{\Omega}}_{{\left|{h}_{sr}\right|}^{2}}\eta \psi {\lambda}_{rd}}}\right]\end{array}$$

$${C}_{AF}=\frac{1}{\mathrm{ln}2}{\displaystyle \underset{0}{\overset{\infty}{\int}}\frac{1-{F}_{SN{R}_{\mathrm{max}}}(z)}{1+z}}dz.$$

We can observe that the involving integral in Equation (A22) is difficult to solve in a closed form. However, by changing the variable of the integration in Equation (B13) as $z=\mathrm{tan}\theta $, we have

$${C}_{AF}=\frac{1}{\mathrm{ln}2}{\displaystyle \underset{0}{\overset{\infty}{\int}}\frac{1-{F}_{SN{R}_{\mathrm{max}}}(z)}{1+z}}dz=\frac{1}{\mathrm{ln}2}{\displaystyle \underset{0}{\overset{\pi /2}{\int}}\frac{1-{F}_{SN{R}_{\mathrm{max}}}(\mathrm{tan}\theta )}{1+\mathrm{tan}\theta}}{\mathrm{sec}}^{2}\theta d\theta .$$

We can then apply an efficient NP-point Gauss–Chebychev quadrature (GCQ) formula ([19] Equation (25.4.39)) from [20] to numerically derive the Proof of Theorem 2.

Where ${x}_{v}=\mathrm{tan}\left(\frac{\pi}{4}\mathrm{cos}\left[\frac{2v-1}{2{N}_{p}}\pi \right]+\frac{\pi}{4}\right)$, and ${\omega}_{v}=\frac{{\pi}^{2}\mathrm{sin}\left(\frac{2v-1}{2{N}_{p}}\pi \right)}{4{N}_{p}{\mathrm{cos}}^{2}\left(\frac{\pi}{4}\mathrm{cos}\left[\frac{2v-1}{2{N}_{p}}\pi \right]+\frac{\pi}{4}\right)}$.

## References

- Bi, S.; Ho, C.K.; Zhang, R. Wireless powered communication: Opportunities and challenges. IEEE Commun. Mag.
**2015**, 53, 117–125. [Google Scholar] [CrossRef] - Niyato, D.; Kim, D.I.; Maso, M.; Han, Z. Wireless Powered Communication Networks: Research Directions and Technological Approaches. IEEE Wirel. Commun.
**2017**, 2–11. [Google Scholar] [CrossRef] - Yu, H.; Lee, H.; Jeon, H. What is 5G? Emerging 5G Mobile Services and Network Requirements. Sustainability
**2017**, 9, 1848. [Google Scholar] [CrossRef] - Zhou, X.; Zhang, R.; Ho, C.K. Wireless Information and Power Transfer: Architecture Design and Rate-Energy Tradeoff. IEEE Trans. Commun.
**2013**, 61, 4754–4767. [Google Scholar] [CrossRef] - Lee, S.; Zhang, R.; Huang, K. Opportunistic Wireless Energy Harvesting in Cognitive Radio Networks. IEEE Trans. Commun.
**2013**, 12, 4788–4799. [Google Scholar] [CrossRef][Green Version] - Chen, H.; Zhai, C.; Li, Y.; Vucetic, B. Cooperative Strategies for Wireless-Powered Communications: An Overview. IEEE Wirel. Commun.
**2018**, 25, 112–119. [Google Scholar] [CrossRef][Green Version] - Duy, T.T.; Son, V.N.; Tung, V.T.; Alexandropoulos, G.C.; Duong, T.Q. Outage performance of cognitive cooperative networks with relay selection over double-Rayleigh fading channels. IET Commun.
**2016**, 10, 57–64. [Google Scholar] [CrossRef] - Ho-Van, K.; Sofotasios, P.C.; Alexandropoulos, G.C.; Freear, S. Bit error rate of underlay decode-and-forward cognitive networks with best relay selection. J. Commun. Netw.
**2015**, 17, 162–171. [Google Scholar] [CrossRef][Green Version] - Alexandropoulos, G.C.; Papadogiannis, A.; Sofotasios, P.C. A Comparative Study of Relaying Schemes with Decode and Forward over Nakagami-Fading Channels. J. Comput. Netw. Commun.
**2011**, 2011, 1–14. [Google Scholar] [CrossRef] - Nguyen, T.; Tran, M.; Nguyen, T.-L.; Ha, D.-H.; Voznak, M. Multisource Power Splitting Energy Harvesting Relaying Network in Half-Duplex System over Block Rayleigh Fading Channel: System Performance Analysis. Electronics
**2019**, 8, 67. [Google Scholar] [CrossRef] - Yao, C.-H.; Pei, C.-X.; Guo, J. Performance analysis of two-way AF cooperative networks with relay selection over Nakagami-m fading channels. Inf. Technol. Appl.
**2015**, 9, 307–311. [Google Scholar] - Nguyen, T.; Quang Minh, T.; Tran, P.; Vozňák, M. Energy Harvesting over Rician Fading Channel: A Performance Analysis for Half-Duplex Bidirectional Sensor Networks under Hardware Impairments. Sensors
**2018**, 18, 1781. [Google Scholar] [CrossRef] - Nguyen, T.N.; Minh, T.H.; Tran, P.T.; Voznak, M. Adaptive Energy Harvesting Relaying Protocol for Two-Way Half Duplex System Network over Rician Fading Channel. Wirel. Commun. Mob. Comput.
**2018**, 2018, 1–10. [Google Scholar] [CrossRef] - Nguyen, T.N.; Duy, T.T.; Luu, G.T.; Tran, P.T.; Vozňák, M. Energy Harvesting-based Spectrum Access with Incremental Cooperation, Relay Selection and Hardware Noises. Radioengineering
**2017**, 26, 240–250. [Google Scholar] [CrossRef] - Nguyen, T.N.; Minh, T.H.; Tran, P.T.; Voznak, M.; Duy, T.T.; Nguyen, T.L.; Tin, P.T. Performance Enhancement for Energy Harvesting Based Two-way Relay Protocols in Wireless Ad-hoc Networks with Partial and Full Relay Selection Methods. Ad Hoc Netw.
**2019**, 84, 178–187. [Google Scholar] [CrossRef] - Gündüz, D.; Devillers, B. Two-hop Communication with Energy Harvesting. In Proceedings of the 2011 4th IEEE International Workshop on Computational Advances in Multi-Sensor Adaptive Processing (CAMSAP), San Juan, Puerto Rico, 13–16 December 2011. [Google Scholar] [CrossRef]
- Chen, H.; Li, Y.; Rebelatto, J.L.; Uchoa-Filho, B.F.; Vucetic, B. Harvest-Then-Cooperate: Wireless-Powered Cooperative Communications. IEEE Trans. Signal Process.
**2015**, 63, 1700–1711. [Google Scholar] [CrossRef][Green Version] - Xiong, K.; Fan, P.; Zhang, C.; Letaief, K.B. Wireless Information and Energy Transfer for Two-Hop Non-Regenerative MIMO-OFDM Relay Networks. IEEE J. Sel. Areas Commun.
**2015**, 33, 1595–1611. [Google Scholar] [CrossRef] - Okandeji, A.A.; Khandaker, M.R.; Wong, K.K. Two-way Beamforming Optimization for Full-duplex SWIPT Systems. In Proceedings of the 2016 24th European Signal Processing Conference (EUSIPCO), Budapest, Hungary, 29 August–2 September 2016. [Google Scholar] [CrossRef]
- Okandeji, A.A.; Khandaker, M.R.; Wong, K.K.; Zheng, Z. Joint Transmit Power and Relay Two-Way Beamforming Optimization for Energy-Harvesting Full-Duplex Communications. In Proceedings of the 2016 IEEE Globecom Workshops (GC Wkshps), Washington, DC, USA, 4–8 December 2016. [Google Scholar] [CrossRef]
- Hu, Y.; Zhu, Y.; Schmeink, A. Simultaneous Wireless Information and Power Transfer in Relay Networks with Finite Blocklength Codes. In Proceedings of the 2017 23rd Asia-Pacific Conference on Communications (APCC), Perth, Australia, 11–13 December 2017. [Google Scholar] [CrossRef]
- Halima, N.B.; Boujemaa, H. Exact and Approximate Symbol Error Probability of cooperative systems with best relay selection and all participating relaying using Amplify and Forward or Decode and Forward Relaying over Nakagami-m fading channels. KSII Trans. Internet Inf. Syst.
**2018**, 12, 81–108. [Google Scholar] - Tseng, S.-M.; Lee, T.-L.; Ho, Y.-C.; Tseng, D.-F. Distributed space-time block codes with embedded adaptive AAF/DAF elements and opportunistic listening for multihop power line communication networks. Int. J. Commun. Syst.
**2015**, 30, e2950. [Google Scholar] [CrossRef][Green Version] - Li, Y.; Vucetic, B. On the Performance of a Simple Adaptive Relaying Protocol for Wireless Relay Networks. In Proceedings of the VTC Spring 2008—IEEE Vehicular Technology Conference, Singapore, 11–14 May 2008. [Google Scholar]
- Tseng, S.-M.; Liao, C.-Y. Distributed Orthogonal and Quasi-Orthogonal Space-Time Block Code with Embedded AAF/DAF Matrix Elements in Wireless Relay Networks with Four Relays. Wirel. Pers. Commun.
**2013**, 75, 1187–1198. [Google Scholar] [CrossRef] - Katti, S.; Gollakota, S.; Katabi, D. Embracing Wireless Interference. ACM SIGCOMM Comput. Commun. Rev.
**2007**, 37, 397–408. [Google Scholar] [CrossRef] - Qin, J.; Zhu, Y.; Zhe, P. Broadband Analog Network Coding With Robust Processing for Two-Way Relay Networks. IEEE Commun. Lett.
**2017**, 21, 1115–1118. [Google Scholar] [CrossRef] - Nasir, A.A.; Zhou, X.; Durrani, S.; Kennedy, R.A. Relaying Protocols for Wireless Energy Harvesting and Information Processing. IEEE Trans. Commun.
**2013**, 12, 3622–3636. [Google Scholar] [CrossRef][Green Version] - Deng, Y.; Wang, L.; Elkashlan, M.; Kim, K.J.; Duong, T.Q. Generalized Selection Combining for Cognitive Relay Networks Over Nakagami-m Fading. IEEE Trans. Signal Process.
**2015**, 63, 1993–2006. [Google Scholar] [CrossRef] - Nguyen, T.N.; Tran, P.T.; Minh, T.H.Q.; Voznak, M.; Sevcik, L. Two-Way Half Duplex Decode and Forward Relaying Network with Hardware Impairment over Rician Fading Channel: System Performance Analysis. Electron. Electr. Eng.
**2018**, 24, 74–78. [Google Scholar] [CrossRef] - Owen, D.B.; Abramowitz, M.; Stegun, I.A. Handbook of Mathematical Functions with Formulas, Graphs, and Mathematical Tables. Technometrics
**1965**, 7, 78. [Google Scholar] [CrossRef][Green Version] - Gradshteyn, I.S.; Ryzhik, I.M. Table of Integrals, Series, and Products, 8th ed.; Daniel, Z., Victor, M., Eds.; Academic Press: Amsterdam, The Netherlands, 2015. [Google Scholar]
- Bhatnagar, M.R. On the Capacity of Decode-and-Forward Relaying over Rician Fading Channels. IEEE Commun. Lett.
**2013**, 17, 1100–1103. [Google Scholar] [CrossRef][Green Version] - Mouapi, A.; Hakem, N. A New Approach to Design Autonomous Wireless Sensor Node Based on RF Energy Harvesting System. Sensors
**2018**, 18, 133. [Google Scholar] [CrossRef] - Wang, C.; Li, J.; Yang, Y.; Ye, F. Combining Solar Energy Harvesting with Wireless Charging for Hybrid Wireless Sensor Networks. IEEE Trans. Mob. Comput.
**2018**, 17, 560–576. [Google Scholar] [CrossRef] - Chu, Z.; Zhou, F.; Zhu, Z.; Hu, R.Q.; Xiao, P. Wireless Powered Sensor Networks for Internet of Things: Maximum Throughput and Optimal Power Allocation. IEEE Internet Things J.
**2018**, 5, 310–321. [Google Scholar] [CrossRef][Green Version]

Symbol | Name | Values |
---|---|---|

$\eta $ | Energy harvesting efficiency | 0.8 |

${\lambda}_{sr}$ | Mean of ${\left|{h}_{sr}\right|}^{2}$ | 0.5 |

${\lambda}_{rd}$ | Mean of ${\left|{h}_{rd}\right|}^{2}$ | 0.5 |

${m}_{{\gamma}_{1}}$ | Nakagami m-factor | 3 |

z | SNR threshold | 1 |

P_{s}/N_{0} | Source power to noise ratio | 0–20 dB |

R | Source rate | 0.5 bit/s/Hz |

K | Number of users | 1–6 |

m | Pathloss exponent | 3 |

d_{sr} = d_{i} | the distance of S-R link and R-D link, respectively | 0.85 |

© 2019 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).