View full-text article in PMC Sensors (Basel). 2020 Nov 20;20(22):6642. doi: 10.3390/s20226642 Search in PMC Search in PubMed View in NLM Catalog Add to search Copyright and License information © 2020 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/). PMC Copyright notice Algorithm 3 Power allocation for EE maximization. Initialization: Rmin,t=0,pm,i,n,ϵ whilefqqCFt+1−fqqCFt>ϵ do for m=1:M do fork=1:Kdo Determine the decoding order. Update Γm,i,k by (22) with fixed pm,i,k. Update ym,i,k by (24). Update ςm,i,k by (27). Update pm,i,k by solving (26) for fixed ym,i,k and ςm,i,k. end for end for end while