Skip to main content
. 2022 Feb 14;22(4):1474. doi: 10.3390/s22041474
Algorithm 2 Dynamic resource allocation PF algorithm with location and SFR
Require:
  • Train location information, coverage area L and bandwidth B, the number of PRB N, TAU maximum transmit power PCMAX, and large-scale fading factor α and small-scale fading model, train CBTC service minimum transmission rate rmin and resource availability of adjacent cells.

Ensure:
  • Calculate the minimum number of PRBs for each train based on the required minimum transmission rate rmin. Then the total PRBs occupied by train 1···K are marked as PRB group: RBG1,RBG2,···,RBGK

  • 1:

    if not all trains are allocated radio resources then

  • 2:

       According to the principle of PF, find the train k1···K and avaiable PRB i1···N that maximize the metric value mk,i=dki,jRk¯j;

  • 3:

       According to service rate requirements rmin, the cell allocates PRB to the train k

  • 4:

       Merge the selected PRB into the initially allocated PRB block;

  • 7:

       Refresh RBG information RBGk;

  • 6:

    end if

  • 7:

    return RBG allocation information on all trains