Skip to main content
. 2022 Aug 31;22(17):6584. doi: 10.3390/s22176584
Algorithm 4 Energy request to BS
  • Input: Energy request from node(j) to BS

  • Output: Energy transfer to node(j) from BS
    • 1:
      Request receive from node(j)
    • 2:
      Locate the node(j) position
    • 3:
      while node(j).RE ≠ FULL do
    • 4:
          call Algorithm 6
    • 5:
      end while
    • 6:
      Return