Modeling Node and Subnetwork Movement
Distance, line-of-sight, and other position-related characteristics are often important to the performance of a system using radio-based technologies. Therefore, good models of node and subnetwork movement are critical to many simulations of communication networks. The Wireless functionality provides mobile and satellite sites (nodes and subnetworks) that can change location based on predefined trajectories and orbits or on randomly chosen paths. The positions of mobile and satellite sites are automatically updated during simulation, thus modeling continuous movement.
In addition to trajectories and orbits, Riverbed Modeler users can model movement of mobile sites by directly manipulating position attributes. For each particular instance of a mobile site, only one of these two mechanisms can be used for that site over the course of a simulation. Thus, if no trajectory is specified, any process can directly modify the position attributes of a mobile site.
A mobile site must begin its movement within the subnet extent of its parent subnet. After a simulation has begun, however, the site can move beyond the parent subnet boundaries.
Reducing the Number of Position Calculations
Normally, the Simulation Kernel must recompute the position of a mobile site whenever that position is needed for a particular calculation (such as path loss). However, such calculations can occur frequently, slowing down your simulation. You can reduce the frequency with which Riverbed Modeler recomputes site positions by using the “position cache time granularity” attribute that is built into each mobile site.
The position cache time granularity attribute specifies a time window, in seconds, within which the position of the mobile site is assumed to be unchanged and will not be recalculated. For example, if a site’s position cache time granularity is set to 10 seconds and its position was last calculated at simulation time 35.0 seconds, that site’s position will not be recalculated until the simulation time exceeds 45.0 seconds. If the site’s position is needed within this time window, the position at 35.0 seconds is used.
The value of the “position cache time granularity” attribute for every mobile site is set to the value of the “default_site_position_cache_time_granularity” preference. Riverbed Modeler users can change the value of the “position cache time granularity” attribute for a specific mobile site by using the op_ima_obj_attr_set() KP.
When selecting a value for position cache time granularity, you should consider the rate at which the site’s position changes (its speed) and how much position inaccuracy is tolerable in your simulation.