Professional Documents
Culture Documents
Simulating Wireless Networks Using OPNET Modeler
Simulating Wireless Networks Using OPNET Modeler
Simulating Wireless Networks Using OPNET Modeler
OPNET Modeler
Tutorial on OPNET Modeler
By: Mukesh Singh Rawat
Email: mukesh@it.iitb.ac.in
Objective
Objective
In this tutorial:
We will build small wireless networks
We will chose the statistics to collect
Run a simulation
Analyze the result
Generating web report
Creating a Project
From the file menu choose New
Select Project from popup menu and
click OK
Name the Project <Project_Yourname>
and the scenario as <WirelessModel>
Click OK
Scenario
Initial Topology
Create empty
scenario
Click Next
Network Scale
Office
Click Next
Size
100 m x 100 m
Click Next
Model Family
Wireless LAN
Click Next
Click Finish
Adding Components:
If it is not already open, open the object
palette by clicking on the Object Palette
action button (first button on the left)
Find the ethernet_server object in the
palette and drag it into the workspace
You dont need additional copies of this
model, so right-click to turn off node
creation
Adding Components
Adding Components
Adding Components
Adding Attributes
You can change the properties of
objects by editing the attributes
Right click on the object you want to
edit
Choose Edit attributes
Application Definition:
Connect to server
You also need to make it connected with
the server.
Right click on the server then choose
edit attributes.
Under Application: set Application
Supported Service attribute to ALL
for the value field. It should look like this
Connect to server
Enable AP functionality at
WLAN_Router (default: enabled)
Choose Statistics
Now that you added the traffic, you are
ready to collect some statistics
There are two ways to collect statistics
Server Statistics
Right Click on the server then select
Choose Individual DES statistics
Click the plus sign next to Ethernet in
the Choose Results dialog box
Click on to the check box next to the
Delay (sec) and Load (bits/sec)
Global Statistics
Global Statistics
Click on to the plus sign next to the
Wireless LAN
Check the box next to the Delay (Sec),
Load (bits/sec) and Throughput
(bits/sec)
Click OK do diminish the Choose
Statistics dialogue box
SAVE the project
Global Statistics
Simulation Results
Simulation Results
Global Statistics
Animation
To view animation click on to the DES
menu and select Record Packet Flow
animation for subnet and Record
nodes movement animation for
subnet
But you have to do it before you run the
simulation
Animation
Animation
Debugging
Thanks