How to Implement and Evaluate Mobility Pattern in OPNET Alexander Klein

How to Implement and
Evaluate Mobility Pattern in
OPNET
Alexander Klein
EADS Innovation Works /
University of Wuerzburg
[email protected]
http:\www3.informatik.uniwuerzburg.de\staff\klein
Agenda
 OPNET Modeler
Agenda
OPNET Modeler
Mobility Pattern
 Mobility in OPNET
Evaluation
Implementation
 Mobility Pattern Evaluation
 Mobility Pattern Implementation
 Conclusion
Conclusion
OPNET Modeler
 Network Simulator
 Event-Based
 Commercial
Agenda
OPNET Modeler
Mobility Pattern
Evaluation
Implementation
Conclusion
OPNET Modeler
Network Level
Node Level
Process Level
Agenda
OPNET Modeler
Mobility Pattern
Evaluation
Implementation
Conclusion
• Topology
• Links
• Nodes
• Trajectories
• Traffic Profiles
C-Level
Interaction of
protocol layers
OPNET Modeler
Strengths:
Weakness:
 Large library
 Physical Layer
 GUI
 Result gathering
 Debug
 Result visualization
 Support
 Modular Concept
Other popular network simulation tools:
 NS-2
 OMNET++
Agenda
OPNET Modeler
Mobility Pattern
Evaluation
Implementation
Conclusion
Mobility - OPNET
 Mobility Types:
 Position:
– Direct
– Latitude
– Trajectory
– Longitude
– Vector
– Altitude
– Cosimulation
Agenda
OPNET Modeler
Mobility Pattern
Evaluation
Implementation
Conclusion
 Mobile Objects:
 Orientation:
– Subnet
– Yaw
– Node
– Pitch
– Roll
Mobility - Trajectory
 List of trajectory entries
– Position
– Orientation
– Simulation time
Agenda
OPNET Modeler
Mobility Pattern
Evaluation
Implementation
 Interpolation between two points
Conclusion
Mobility - Trajectory
Agenda
OPNET Modeler
Mobility Pattern
Evaluation
Implementation
Conclusion
Mobility - Vector
 Bearing
Agenda
 Ground speed
OPNET Modeler
 Ascent rate
Mobility Pattern
Evaluation
Bearing
Angle
Implementation
Conclusion
Mobility - Cosimulation
Matlab
Engine
Library
Agenda
OPNET Modeler
Mobility Pattern
Evaluation
HLA
Implementation
Conclusion
Mobility Pattern – OPNET Library
Agenda
OPNET Modeler
Mobility Pattern
Evaluation
Implementation
Conclusion
Mobility Pattern – Random Waypoint
Algorithm
4. Node waits
a certain
amount of time
Agenda
OPNET Modeler
Mobility Pattern
3. Node moves
towards the
new position
1 . Node
chooses a
random position
Evaluation
Implementation
Conclusion
2. Node selects
a uniform
distributed
movement speed
Scenario
Boundary
Mobile
Node
5. Node
selects new
destination
Mobility Pattern – Random Direction
3. Node waits a
certain amount of
time
Algorithm
Agenda
OPNET Modeler
Mobility Pattern
2. Node moves
until it reaches
the boarder of
the scenario
Evaluation
Implementation
Conclusion
1. Node selects
a uniform
direction and
speed
Scenario
Boundary
Mobile
Node
4. Node selects a
uniform direction
and speed
Mobility Pattern – Random Walk
Algorithm
3.Node waits
a certain
amount of
time
2. Node moves
in that direction
for a specified
amount of time
Agenda
OPNET Modeler
4. Node selects
a uniform
direction and
speed
Mobile
Node
Evaluation
Implementation
Conclusion
1. Node selects
a uniform
direction and
speed
Scenario
Boundary
Mobility Pattern
Mobility Pattern - Evaluation
 Visualization
– Movement (Debugging)
– Density
– Histograms (Speed)
Agenda
OPNET Modeler
Mobility Pattern
Evaluation
Implementation
 Simulation
– Area (Square, Rectangle, Torus, …)
– Long-term simulation
Conclusion
Mobility Pattern – Evaluation
Random Waypoint
Random Direction
Agenda
OPNET Modeler
Mobility Pattern
Evaluation
Implementation
Conclusion
Random Walk
OPNET – Random Waypoint
Mobility Pattern – Evaluation – Node Density
Random Waypoint
Random Direction
Agenda
OPNET Modeler
Mobility Pattern
Evaluation
Implementation
Conclusion
Random Walk
OPNET – Random Waypoint
Mobility Pattern – Speed Histogram
Random Waypoint
Random Direction
Agenda
OPNET Modeler
Mobility Pattern
Evaluation
Implementation
Conclusion
Random Walk
OPNET – Random Waypoint
Mobility Pattern – Evaluation - Area
Random Waypoint
Agenda
OPNET Modeler
Mobility Pattern
Evaluation
Random Direction
Implementation
Conclusion
Random Walk
Mobility Pattern – Implementation
Centralized Mobility Management
Agenda
OPNET Modeler
Mobility Pattern
Evaluation
Implementation
Mobility
Management
Advantage:
Disadvantage:
 Group mobility models
 No individual movement
 Group statistics
 Difficult to implement
 Fast reconfiguration
 No modification of other
models needed
Conclusion
Mobility Pattern – Implementation
Decentralized Mobility Management
Agenda
OPNET Modeler
Mobility Pattern
Evaluation
Implementation
Conclusion
Advantage:
Disadvantage:
 Individual configuration
 Group statistics
 Individual statistics
 Slight modification of
 Simple to implement
existing models needed
(process model, attributes)
Mobility Pattern – OPNET - Implementation
Vector based movement:
 Frequent position updates
 Faster simulation
 Simplifies the implementation
(move and stop phase)
Agenda
OPNET Modeler
Mobility Pattern
Evaluation
Implementation
Conclusion
Implementation:
 Add a process model to the
node model
 Promote its attributes
 Divide the movement into
move and stop phases
Conclusion
 Implement your own mobility model
(or use at least OPNET Modeler 14.0)
 Visualize the movement to verify your model
Agenda
OPNET Modeler
Mobility Pattern
Evaluation
Implementation
 Consider the characteristics of the mobility model
– Transient phase
– Stability
– Node density
– Correlated movement
– Impact of simulation area
Conclusion
Questions