Reusing Path Loss Calculations

Terrain Modeling Module (TMM) provides a cache infrastructure that some propagation models use to hold the results of path loss calculations, so that path loss between similar sets of endpoints needs to be calculated only once. This feature makes simulations run faster at the expense of using more memory. You can control the memory use with the “Pathloss Cache Size” preference or turn off the cache with the “Enable Terrain Modeling Cache” preference.

To determine whether endpoints are close enough to allow reuse of a previous path loss calculation, the cache algorithm defines three-dimensional cells across the terrain and stores path loss results based on which cells the endpoints of the path fall in. When a simulation needs the path loss between two points, TMM looks in the cache for a previous path loss calculation with endpoints in the same cells as the two new endpoints. If it finds a match, it uses the path loss from this previous calculation instead of performing a new one.

By default, the cells are 100 x 100 x 5 meters (width x length x height). However, some terrain data has a finer resolution and the cell sizes should be adjusted to match. Typically, the cell size should be equal to or less than the resolution of the terrain data. (Too small, however, will use an excessive amount of memory.) You can specify the cell size by setting the following propagation model parameters:

  • Cache position granularity – Distance, in meters, between two cached locations in latitude and longitude. Default: 100 meters.
  • Cache elevation granularity – Distance, in meters, between two cached locations in altitude. Default: 5 meters.