Skip to main content
. 2024 Apr 5;24(7):2313. doi: 10.3390/s24072313
Algorithm 2 Power Control Method
  • Input: 

    BSlist,N

  • Output: 

    PTxCon

  •   1:

    repeat

  •   2:

        repeat

  •   3:

            Pi=Pi1

  •   4:

            if Ii<Th then qj=qj+1

  •   5:

               j=j+1

  •   6:

            else

  •   7:

               qj=qj

  •   8:

            end if

  •   9:

        until Pi<0

  • 10:

        i=i+1

  • 11:

    until i=N

  • 12:

    PTxCon={q1N,q2N,,qjN}