Implementation of Circle Mobility Model for ns-3 and Visualizing it in 3D

Job ID: 32007828

Budget: $50 – $0 USD

Mobility Models of ns-3.

The default ns-3 installation will contain the following mobility models.  

MobilityModel Subclasses
ConstantPosition
ConstantVelocity
ConstantAcceleration
GaussMarkov
Hierarchical
RandomDirection2D
RandomWalk2D
RandomWaypoint
SteadyStateRandomWaypoint
Waypoint




PositionAllocator

Position allocators are used at the beginning, to set the lay-out the nodes' initial position. However, some mobility models will use a position allocator to pick new waypoints.

ListPositionAllocator
GridPositionAllocator
RandomRectanglePositionAllocator
RandomBoxPositionAllocator
RandomDiscPositionAllocator
UniformDiscPositionAllocator

But, we can not simulate circular mobile using any of the above models. But sometimes, a simulation may need a node to move in a perfectly circular path.  The 3D output demonstrates two types of mobility models. The Sharks and Turtles are moving in the water using the Gauss-MorkovMobilityModel which is readily available in ns-3. But the Boat which is roaming on the water in a circular path is simulated using the Proposed, Simple CircleMobilityModel. 

In this tutorial I show a new mobility model class implementation for simulating circular mobility under ns-3. Even though a 3D visualization or even 2D visualization is not at all needed while doing scholarly research work, while learning the fundamentals of a simulation, for better understanding, all of us just want to visualize the network that we are simulating. For that, we need a better visualization of the simulated network. In addition to that, the pictorial and video outputs of the simulated network will be useful to make one understand our ideas during our project or research presentations.

Caution: This simulation only addresses the primitive problems in simulating and visualizing a 3D UWSN Simulation and Mobility models. There are other aspects such as setting different routing protocols and different traffic types in such UWSN scenario. They are not addressed in this article. Further, there are some additional aspects needed to do a trace analysis on the simulated UWSN scenario; that are also not discussed here. Further, for simulating realistic movements and orientation of 3d nodes, we have to do some modifications in the core Netsimulyzer. That is also not described here. 
Related categories: Engineering Simulation