propagation: ThreeGppRmaPropagationLossModel divide-by-zero problem
ThreeGppRmaPropagationLossModel computes the breakpoint distance, which will be zero if the height above terrain for either the BS or the UT is specified as zero in the position allocator. This will lead to a divide-by-zero in the Pl2 formula, which leads to -nan
quantity which effectively disables the loss for any distance. Only some warning logs are raised but these are easy to miss and seem benign: The height of the UT should be between 1 and 10 m (see TR 38.901, Table 7.4.1-1)
.
Possible solutions are to set a floor value on height used in the formula (i.e., to reset a height below 1m to the value 1m with a logged warning message) or to abort the simulation if the breakpoint is zero (alerting user to a misconfiguration).