Post on 14-Mar-2022
OPNET Workshop
Introduction to OPNET Modeler
Dr Steven GordonSirindhorn International Institute of Technology
Thammasat University
June 2010
Supported by:• Telecommunications Research and Industrial Development Institute (TRIDI),
National Telecommunications Commission (NTC)• Prince of Songkla University (PSU)• Sirindhorn International Institute of Technology (SIIT), Thammasat University
Introduction to OPNET Modeler
Workshop Overview
OPNET Modeler is a software environment for modelling and analysing the perfor-mance of computer networks and protocols. This workshop aims to introduce you toOPNET Modeler, with focus on how it can be used for telecommunications research.The basic operations and features of OPNET Modeler will be explained, followed byseveral hands on tasks, where you will use OPNET Modeler to setup a simple simulation,create your own traffic and application profiles, and modify an existing protocol. Theseare key tasks when using OPNET Modeler for simulation of new/modified protocols andalgorithms in your research.
At the end of the workshop you should have the following knowledge:
1. Understand how OPNET Modeler is structured
2. Navigate the menus and operations of OPNET Modeler
3. Create models of networks using existing models
4. Configure, run and analyse results from simulations
5. Knowledge of existing device models and capabilities
6. Understand the implementation of Process Models
7. Create your own model of a protocol
This workshop should be of benefit to telecommunication researchers, especially grad-uate students and faculty interested in detailed analysis of computer and communicationnetworks (e.g. wireless LAN, ad hoc networks, IPv6, routing algorithms, voice/video overIP, WiMax, 3G/LTE).
The “Hands On” sessions will allow each participant to use OPNET Modeler to com-plete short tasks. You will use the computers provided, each running OPNET Modeler.
OPNET Modeler is a large and complex software package. This workshop will onlycover selected features which are important in getting started with OPNET Modelerfor research. Most of the source code presented in the workshop will be in C: basicknowledge of C programming is assumed. Knowledge of computer networking is alsoassumed (e.g. layering concepts especially related to the Internet, protocol mechanisms,packets, performance metrics).
The workshop will be led by Dr Steven Gordon, Assistant Professor at SirindhornInternational Institute of Technology (SIIT), Thammasat University. He has used OP-NET Modeler (as well as other simulation tools, e.g. NS2, Glomosim) for research overthe past 10 years, and recently introduced OPNET software in a course taught at SIIT.Questions and comments on OPNET are welcome.
Email steve@siit.tu.ac.th
Web http://ict.siit.tu.ac.th/~steven/
Phone +66-2-501-3505 ext 2014
1
OPNET
Workshop
Introduction
OPNET
Methodology
Intr
od
uct
ion
toO
PN
ET
Mo
del
er
Ste
ven
Gor
don
SirindhornInternationalInstitute
ofTechnology
ThammasatUniversity
1
OPNET
Workshop
Introduction
OPNET
Methodology
Co
nte
nts
OP
NE
Ta
nd
OP
NE
TM
od
eler
Sim
ula
tio
nA
na
lysi
sM
eth
od
olo
gy
wit
hO
PN
ET
2
OPNET
Workshop
Introduction
OPNET
Methodology
OP
NE
Ta
nd
OP
NE
TM
od
eler
Wh
ois
OP
NE
T?
ww
w.o
pn
et.c
om
IU
Sco
mp
any
crea
tin
g/se
llin
gn
etw
ork
des
ign
and
man
agem
ent
soft
war
e
IF
oun
ded
byM
ITgr
adu
ate
that
dev
elop
eda
net
wor
ksi
mu
lato
rO
PN
ET
Mo
del
er
Wh
at
isO
PN
ET
Mo
del
er?
ID
iscr
ete
even
tn
etw
ork
sim
ula
tion
soft
war
e
IU
sed
for
net
wor
k/pr
oto
col
des
ign
and
anal
ysis
Oth
erO
PN
ET
Pro
du
cts
IA
CE
An
alys
t,IT
Gu
ruS
yste
ms
Pla
nn
er,
...
IIT
Sen
tin
el,
nC
omp
ass,
ITG
uru
Net
wor
kP
lan
ner
,..
.
3
OPNET
Workshop
Introduction
OPNET
Methodology
Wh
yO
PN
ET
Mo
del
er?
Alt
ern
ativ
es:
ns2
/ns3
,Q
ual
net
/Glo
mos
im,
OM
NeT
++
,..
.
Ad
van
tag
es
IE
xten
sive
libra
ryof
det
aile
dm
od
els
IL
ong
dev
elop
men
th
isto
ry,
exp
erie
nce
ID
etai
led
do
cum
enta
tion
and
tech
nic
alsu
pp
ort
IB
uilt
-in
stat
isti
csco
llect
ion
and
resu
lts
pres
enta
tion
IL
ogic
al,
hie
rarc
hic
alst
ruct
ure
ofm
od
els
Dis
ad
van
tag
es
IE
xpen
sive
!
IC
lose
d-s
ourc
esi
mu
lato
r
IS
low
erto
incl
ud
em
od
els
ofn
ewte
chn
olog
ies
4
OPNET
Workshop
Introduction
OPNET
Methodology
Wo
rksh
op
Ou
tco
mes
Ap
ply
OP
NE
TM
od
eler
ton
etw
ork
rese
arch
1.
Un
der
stan
dh
owO
PN
ET
Mo
del
eris
stru
ctu
red
2.
Nav
igat
eth
em
enu
san
dop
erat
ion
sof
OP
NE
TM
od
eler
3.
Cre
ate
mo
del
sof
net
wor
ksu
sin
gex
isti
ng
mo
del
s
4.
Con
figu
re,
run
and
anal
yse
resu
lts
from
sim
ula
tion
s
5.
Kn
owle
dge
ofex
isti
ng
dev
ice
mo
del
san
dca
pab
iliti
es
6.
Un
der
stan
dth
eim
ple
men
tati
onof
Pro
cess
Mo
del
s
7.
Cre
ate
you
row
nm
od
elof
apr
oto
col
5
OPNET
Workshop
Introduction
OPNET
Methodology
Ass
um
edK
no
wle
dg
e
IC
omp
ute
rn
etw
orki
ng,
e.g.
laye
rin
g,pr
oto
col
mec
han
ism
s,p
erfo
rman
cem
etri
cs
IC
prog
ram
min
g
IA
bili
tyto
exp
lore
men
us,
man
ual
san
dfi
les
onyo
ur
own 6
OPNET
Workshop
Introduction
OPNET
Methodology
Wo
rksh
op
Fo
rma
t
To
pic
s
1.
Intr
od
uct
ion
toO
PN
ET
2.
An
alys
ing
net
wor
ks
3.
Ed
itor
san
dfe
atu
res
4.
Pro
cess
Mo
del
s
Ha
nd
sO
n
1.
OP
NE
Tex
amp
les
2.
Eth
ern
et/W
LA
N
3.
OP
NE
Tex
amp
les
4.
Sen
sor
Net
wor
k
7
OPNET
Workshop
Introduction
OPNET
Methodology
Co
nte
nts
OP
NE
Ta
nd
OP
NE
TM
od
eler
Sim
ula
tio
nA
na
lysi
sM
eth
od
olo
gy
wit
hO
PN
ET
8
OPNET
Workshop
Introduction
OPNET
Methodology
Per
form
an
ceo
fR
eal
Net
wo
rks
Are
aln
etw
ork
has
:
IT
opol
ogy:
arra
nge
men
tof
dev
ices
and
links
IC
onfi
gura
tion
:pr
oto
cols
,p
aram
eter
valu
esan
dop
tion
sse
lect
ed
IU
sers
:ge
ner
atin
gan
dre
ceiv
ing
traffi
cvi
aap
plic
atio
ns
IM
obili
ty:
use
rs/d
evic
esm
ovin
g
Un
der
sta
nd
ing
per
form
an
ceo
fth
en
etw
ork
Sp
ecif
ya
set
ofst
atis
tics
tom
easu
red
uri
ng
oper
atio
n
IA
pp
licat
ion
resp
onse
tim
e,lin
ku
tiliz
atio
n,
dat
ath
rou
ghp
ut,
erro
rra
tes,
...
9
OPNET
Workshop
Introduction
OPNET
Methodology
AM
eth
od
olo
gy
for
Sim
ula
tio
nP
erfo
rma
nce
An
aly
sis
1.
Cre
ate
an
etw
ork
top
olo
gy
Sel
ect
the
area
ofth
en
etw
ork;
pos
itio
nh
osts
,sw
itch
es,
rou
ters
,an
ten
nas
,se
rver
sin
the
area
;co
nn
ect
dev
ices
via
links
10
OPNET
Workshop
Introduction
OPNET
Methodology
AM
eth
od
olo
gy
for
Sim
ula
tio
nP
erfo
rma
nce
An
aly
sis
2.
Co
nfi
gu
red
evic
esa
nd
pro
toco
ls
Exa
mp
les:
set
link
dat
ara
teto
1Mb
/s;
rou
ter
forw
ard
ing
to50
0,00
0pp
s;m
obile
hos
tto
use
IEE
E80
2.11
g
11
OPNET
Workshop
Introduction
OPNET
Methodology
AM
eth
od
olo
gy
for
Sim
ula
tio
nP
erfo
rma
nce
An
aly
sis
3.
Sp
ecif
ytr
affi
cfr
om
use
rs
Sel
ect
the
typ
esof
app
licat
ion
su
sers
are
usi
ng,
e.g.
web
brow
sin
g,em
ail,
voic
eca
ll;sp
ecif
yth
ech
arac
teri
stic
sof
the
app
licat
ion
s,e.
g.vo
ice
sou
rce
gen
erat
es50
pp
sat
128B
ytes
. 12
OPNET
Workshop
Introduction
OPNET
Methodology
AM
eth
od
olo
gy
for
Sim
ula
tio
nP
erfo
rma
nce
An
aly
sis
4.
Sp
ecif
yth
em
ob
ility
of
use
rs/
dev
ices
Sp
ecif
ya
traj
ecto
ryof
dev
ices
thro
ugh
out
net
wor
kar
ea;
use
r-d
efin
edor
mo
del
led
(e.g
.ra
nd
omw
ayp
oin
t,gr
id-b
ased
) 13
OPNET
Workshop
Introduction
OPNET
Methodology
AM
eth
od
olo
gy
for
Sim
ula
tio
nP
erfo
rma
nce
An
aly
sis
5.
Sel
ect
sta
tist
ics
tom
easu
reP
ern
od
eor
enti
ren
etw
ork;
thro
ugh
pu
t,by
tes
sen
t/re
ceiv
ed,
del
ay,
jitt
er,
serv
erlo
ad,
link
uti
lisat
ion
,..
.
14
OPNET
Workshop
Introduction
OPNET
Methodology
AM
eth
od
olo
gy
for
Sim
ula
tio
nP
erfo
rma
nce
An
aly
sis
6.
Set
up
an
dru
nsi
mu
lati
on
s
Du
rati
onof
sim
ula
tion
;n
um
ber
ofru
ns
and
ran
dom
seed
s;si
mu
lati
onp
aram
eter
s
15
OPNET
Workshop
Introduction
OPNET
Methodology
AM
eth
od
olo
gy
for
Sim
ula
tio
nP
erfo
rma
nce
An
aly
sis
7.
An
aly
seth
ere
sult
s
Raw
dat
a,p
lots
and
rep
orts
16
OPNET
Workshop
Introduction
OPNET
Methodology
OP
NE
TM
od
ellin
gH
iera
rch
y
Net
wo
rkM
od
elC
reat
en
etw
ork
top
olog
yu
sin
gex
isti
ng
no
de
mo
del
s
No
de
Mo
del
Mo
del
sof
dev
ices
(e.g
.sw
itch
es,
PC
s,ro
ute
rs,
links
)C
reat
edu
sin
gex
isti
ng
pro
cess
mo
del
s
Pro
cess
Mo
del
Mo
del
sof
app
licat
ion
san
dpr
oto
cols
(e.g
.H
TT
P,
TC
P,
IEE
E80
2.11
)C
reat
edu
sin
gst
ate
dia
gram
san
dC
sou
rce
cod
e
17
OPNET
Workshop
Introduction
OPNET
Methodology
Mo
del
Lib
rary
Pro
toco
lsA
TM
,B
GP
,D
HC
P,
DO
CS
IS,
EIG
RP
,E
thC
oax,
Eth
ern
et,
Fib
reC
han
nel
,F
DD
I,F
ram
eRel
ay,
H32
3,IG
RP
,IK
E,
IP,
ISIS
,L
2TP
,L
AN
E,
LA
PB
,O
SP
F,
RIP
,R
SV
P,
RT
P,
SIP
,T
CP
,T
DM
A,
X25
,xD
SL
Ap
plic
ati
on
s
HT
TP
,F
TP
,E
mai
l,D
atab
ase,
Voi
ce,
Vid
eo,
Pri
nt,
Rlo
gin
,G
ener
icre
qu
est/
resp
onse
Wir
eles
sIE
EE
802.
11,
MA
NE
T(A
OD
V,
DS
R,
OL
SR
,..
.),
Zig
Bee
,W
iMax
,U
MT
S
Oth
ers
MP
LS
,P
NN
I,P
ST
N,
Ser
vers
,co
mm
un
ity
con
trib
ute
dm
od
els
18
OPNET
Workshop
Introduction
OPNET
Methodology
Inte
rna
lS
tru
ctu
reo
fO
PN
ET
IA
net
wor
kco
nsi
sts
ofm
ult
iple
no
des
;ea
chn
od
eco
nsi
sts
ofm
ult
iple
pro
cess
es
IF
ora
sim
ula
tion
,O
PN
ET
com
pile
sso
urc
eco
de
(C/C
++
)of
each
Pro
cess
mo
del
use
dI
Als
oin
clu
ded
isS
imu
lati
onK
ern
el:
IC
ontr
ols
the
exec
uti
onof
pro
cess
esI
Man
ages
list
ofev
ents
too
ccu
r
IR
esu
ltin
gex
ecu
tab
leis
then
run
,sa
vin
gou
tpu
tin
resu
lts
file
s
19
OPNET
Workshop
Introduction
OPNET
Methodology
Sta
tes
an
dE
ven
ts
Pro
cess
mo
del
sar
est
ate
-ba
sed
Inst
atex
ifev
ente
occ
urs
then
acti
ona
ista
ken
and
ente
rst
atey
Imp
lem
ente
das
grap
hic
alst
ate-
mac
hin
esan
dC
/C+
+co
de
Eve
nts
are
calle
din
terr
up
ts
IA
pro
cess
sch
edu
les
inte
rru
pts
,e.
g.ti
meo
uts
IK
ern
elis
sues
inte
rru
pts
,e.
g.p
acke
tar
rive
s,ch
ann
elst
atu
sch
ange
s
Ker
nel
ma
na
ges
the
Eve
nt
Lis
t
0.00
4503
Tim
ert 1
exp
ires
atpr
oce
ssX
0.00
4515
Pac
ketp1
arri
ves
atpr
oce
ssY
0.00
4602
Pac
ketp2
arri
ves
atpr
oce
ssX
0.00
4603
Tim
ert 2
exp
ires
atpr
oce
ssZ
...
20
OPNET
Workshop
Analysing
Networks
LabTasks
An
aly
sin
gN
etw
ork
s
Ste
ven
Gor
don
SirindhornInternationalInstitute
ofTechnology
ThammasatUniversity
1
OPNET
Workshop
Analysing
Networks
LabTasks
La
bT
ask
s
1.
Cre
atin
ga
new
proj
ect
2.
Cre
ate
net
wor
kto
pol
ogy
3.
Ed
itn
od
eat
trib
ute
s
4.
Sp
ecif
ytr
affic
from
use
rs
5.
Sel
ect
stat
isti
csto
colle
ct
6.
Ru
nth
esi
mu
lati
on
7.
Vie
wth
ere
sult
s
2
OPNET
Workshop
Analysing
Networks
LabTasks
Cre
ate
aN
ewP
roje
ct
Ta
sk1
Use
anem
pty
scen
ario
,cr
eate
anoffi
cen
etw
ork
of10
0x10
0man
dse
lect
theethernet
andwirelesslan
mo
del
fam
ilies
Pro
ject
sa
nd
Sce
nar
ios
Apr
ojec
tm
ayh
ave
mu
ltip
lesc
enar
ios.
Mo
del
Fa
mili
esT
he
Mo
del
Fam
ilies
sele
cted
give
syo
uq
uic
kac
cess
toth
ese
mo
del
s.Y
ouca
nst
illac
cess
all
oth
erm
od
els.
3
OPNET
Workshop
Analysing
Networks
LabTasks
Cre
ate
Net
wo
rkT
op
olo
gy
Ta
sk2
1.
Cre
ate
asw
itch
edE
ther
net
LA
Nth
ath
as:
two
wor
ksta
tion
s,on
ese
rver
and
a16
-por
tsw
itch
2.
Cre
ate
aW
irel
ess
LA
Nth
ath
as:
two
wir
eles
scl
ien
tsan
dan
inte
grat
edac
cess
poi
nt/
IPro
ute
r
3.
Con
nec
tth
eE
ther
net
hos
tsan
dro
ute
rvi
ath
esw
itch
usi
ng
100
Bas
e–T
links
No
de/
link
mo
del
s:ethernetwkstn
,ethernetserver
,ethernet16switch
,100BaseT
,wlanwkstn
,wlanethernetrouter
Sta
tio
ns
vsW
ork
sta
tio
ns
IW
orks
tati
ons
are
full
IPcl
ien
ts;
stat
ion
sar
esi
mp
leh
osts
wit
hou
tIP
sup
por
t
4
OPNET
Workshop
Analysing
Networks
LabTasks
Ed
itA
ttri
bu
tes
Ta
sk3
1.
Giv
eth
en
od
esm
ean
ingf
ul
nam
es
2.
Set
the
thre
ew
irel
ess
no
des
tou
seIE
EE
802.
11g
at54
Mb
/s
Ad
dre
ssin
g
By
def
ault
,IP
add
ress
esar
eA
uto
Ass
ign
ed:
OP
NE
Tas
sign
sIP
add
ress
esto
each
no
de
wh
enth
esi
mu
lati
onst
arts
.
5
OPNET
Workshop
Analysing
Networks
LabTasks
Sp
ecif
yT
raffi
cF
rom
Use
rs
Ta
sk4
1.
Ad
dth
eProfile
Definition
andApplication
Definition
obje
cts
2.
Ad
dtw
oap
plic
atio
ns:
2.1
Web
Bro
wsi
ng:
Htt
pisImageBrowsing
2.2
File
Tra
nsf
er:
Ftp
isHighLoad
3.
Ad
dtw
opr
ofile
s:
3.1
Stu
den
t:u
sin
gW
ebB
row
sin
gap
plic
atio
n3
.2L
ectu
rer:
usi
ng
all
thre
eap
plic
atio
ns,
wh
ere
the
profi
lest
arts
wit
hin
uniform(300,310)
and
oper
atio
nm
od
eis
Simultaneous
4.
Set
the
serv
erto
sup
por
tal
lse
rvic
es
5.
Set
one
wir
eles
sL
AN
clie
nt
toh
ave
Stu
den
tpr
ofile
and
oth
ercl
ien
tsto
hav
eL
ectu
rer
profi
le
6
OPNET
Workshop
Analysing
Networks
LabTasks
Sel
ect
Sta
tist
ics
toC
olle
ct
Ta
sk5
1.
On
no
des
,C
ho
ose
Ind
ivid
ual
DE
SS
tati
stic
s:I
Ser
ver:
ServerFtp
,ServerHttp
IS
wit
ch:Switch
IL
apto
ps:
ClientHttp
,WirelessLAN
IS
wit
ch—
Wir
eles
sRou
ter:
Utilization
2.
Fro
mD
ES
men
u,
Ch
oos
eIn
div
idu
alS
tati
stic
s:Ethernet
,WirelessLAN
,Ftp
OP
NE
TS
tati
stic
sN
od
e/lin
kst
atis
tics
:re
cord
edfo
rin
div
idu
aln
od
es/l
inks
Glo
bal
stat
isti
cs:
reco
rded
for
enti
ren
etw
ork
7
OPNET
Workshop
Analysing
Networks
LabTasks
Co
nfi
gu
rea
nd
Ru
nth
eS
imu
lati
on
s
Ta
sk6
1.
Fro
mD
ES
men
u,
Con
figu
re/R
un
Dis
cret
eE
ven
tS
imu
lati
on
2.
Set
du
rati
onto
10m
inu
tes
3.
Ru
n!
Wh
at
do
esO
PN
ET
do
?
IP
roce
sses
are
com
pile
d(i
fch
ange
dsi
nce
last
sim
ula
tion
)
ID
isp
lays
sim
ula
tion
prog
ress
,in
clu
din
gn
um
ber
ofev
ents
and
sim
ula
ted
tim
e
ID
ES
Log
:w
arn
ings
and
erro
rsw
illb
ere
cord
ed(o
pen
via
DE
Sm
enu
)
8
OPNET
Workshop
Analysing
Networks
LabTasks
Vie
wth
eR
esu
lts
Ta
sk7
1.
Fro
mD
ES
men
u,
Res
ult
s→V
iew
Res
ult
s...
1.1
HT
TP
stat
isti
cs:
Lap
top
1p
age
resp
onse
tim
e;S
erve
rlo
ad;
Ser
ver
task
pro
cess
ing
tim
e1
.2G
lob
alw
irel
ess
LA
Nth
rou
ghp
ut
1.3
Wir
eles
sR
oute
r→S
wit
chu
tiliz
atio
n
Hid
ep
lots
leav
esth
emav
aila
ble
for
view
ing
late
rR
esu
lts
can
be
show
nA
sIs
orw
ith
mat
hem
atic
alop
erat
ors
app
lied
9
OP
NE
TW
ork
sho
p
Ed
itor
sa
nd
Fea
ture
s
Ed
itor
s
Tra
ffic
No
des
&L
ink
s
Ch
an
nel
s
Sta
tist
ics
Sim
ula
tio
ns
OP
NE
TE
dit
ors
an
dF
eatu
res
Ste
ven
Gor
don
Sir
ind
hor
nIn
tern
ati
on
al
Inst
itu
teo
fT
ech
no
log
yT
ha
mm
asa
tU
niv
ersi
ty
1
OP
NE
TW
ork
sho
p
Ed
itor
sa
nd
Fea
ture
s
Ed
itor
s
Tra
ffic
No
des
&L
ink
s
Ch
an
nel
s
Sta
tist
ics
Sim
ula
tio
ns
Co
nte
nts
OP
NE
TE
dit
ors
an
dM
enu
s
Tra
ffic
No
des
an
dL
ink
s
Co
mm
un
ica
tio
nC
ha
nn
els
Sta
tist
ics
Ru
nn
ing
Mu
ltip
leS
imu
lati
on
s
2
OP
NE
TW
ork
sho
p
Ed
itor
sa
nd
Fea
ture
s
Ed
itor
s
Tra
ffic
No
des
&L
ink
s
Ch
an
nel
s
Sta
tist
ics
Sim
ula
tio
ns
OP
NE
TE
dit
ors
IC
omm
only
use
ded
itor
s:
1.
Pro
ject
edit
or:
crea
tin
gto
pol
ogy
2.
No
de
edit
or:
mo
dif
yin
gd
evic
es3
.P
roce
ssed
itor
:m
od
ifyi
ng
prot
oco
ls
IO
ther
use
ful
edit
ors:
IP
acke
tfo
rmat
:sp
ecif
yst
ruct
ure
ofp
acke
ts,
fram
es,
mes
sage
sI
PD
F:
crea
teyo
ur
own
prob
abili
tyd
ensi
tyfu
nct
ion
IP
rob
e:d
efin
eyo
ur
own
stat
isti
csan
dco
llect
ion
mec
han
ism
sI
Sim
ula
tion
Seq
uen
ce:
con
figu
reb
atch
sim
ula
tion
sI
An
ten
na
Pat
tern
s,M
od
ula
tion
Cu
rve,
Dem
and
s,..
.
3
OP
NE
TW
ork
sho
p
Ed
itor
sa
nd
Fea
ture
s
Ed
itor
s
Tra
ffic
No
des
&L
ink
s
Ch
an
nel
s
Sta
tist
ics
Sim
ula
tio
ns
Exa
mp
les
Pa
cket
Fo
rma
tsT
CP
Seg
men
t:std/tcp/tcpsegv2.pk.m
TC
PS
egm
ent
Su
pp
ort
(Hea
der
):std/include/tcpsegsup.h
An
ten
na
Pa
tter
ns
UM
TS
:std/umts
Mo
du
lati
on
Cu
rves
Gen
eric
wir
eles
s:std/wireless
IEE
E80
2.11
:std/wirelesslan
4
OP
NE
TW
ork
sho
p
Ed
itor
sa
nd
Fea
ture
s
Ed
itor
s
Tra
ffic
No
des
&L
ink
s
Ch
an
nel
s
Sta
tist
ics
Sim
ula
tio
ns
Sce
nar
ios
an
dH
iera
rch
yin
Pro
ject
s
Sce
nar
ios
IA
proj
ect
may
hav
em
ult
iple
,in
dep
end
ent
scen
ario
s
IU
sed
for
diff
eren
tto
pol
ogie
s/co
nfi
gura
tion
s
Hie
rarc
hy
IH
iera
rch
yin
an
etw
ork
top
olog
yis
ach
ieve
du
sin
gsu
bn
ets
IE
xam
ple
:IP
proj
ect,
clou
dm
od
ellin
gsc
enar
io
5
OP
NE
TW
ork
sho
p
Ed
itor
sa
nd
Fea
ture
s
Ed
itor
s
Tra
ffic
No
des
&L
ink
s
Ch
an
nel
s
Sta
tist
ics
Sim
ula
tio
ns
Ma
kin
git
Lo
ok
Go
od
Ma
ps
an
dB
ack
gro
un
ds
ID
isp
lay
wor
ldm
apw
ith
citi
es:
View→Background→Set
Properties...
ID
isp
lay
city
map
sor
oth
erm
ages
:View→Background→Add
Image...
An
no
tati
on
s
IC
omm
ents
/tex
t,re
ctan
gles
,ci
rcle
s:Topology→Open
Annotation
Palette
6
OP
NE
TW
ork
sho
p
Ed
itor
sa
nd
Fea
ture
s
Ed
itor
s
Tra
ffic
No
des
&L
ink
s
Ch
an
nel
s
Sta
tist
ics
Sim
ula
tio
ns
Cre
ati
ng
aT
op
olo
gy
Diff
eren
tm
eth
od
s:
1.
Man
ual
2.
Cre
ate
bu
s,st
ar,
mes
h,
ran
dom
top
olog
ies:
Topology→Rapid
Configuration
3.
Dep
loy
WL
AN
/WiM
axn
od
esin
com
mon
top
olog
ies:
Topology→Deploy
Wireless
Network
4.
Imp
ort/
exp
ort
from
/to
oth
erso
ftw
are
and
file
form
ats
7
OP
NE
TW
ork
sho
p
Ed
itor
sa
nd
Fea
ture
s
Ed
itor
s
Tra
ffic
No
des
&L
ink
s
Ch
an
nel
s
Sta
tist
ics
Sim
ula
tio
ns
Co
nte
nts
OP
NE
TE
dit
ors
an
dM
enu
s
Tra
ffic
No
des
an
dL
ink
s
Co
mm
un
ica
tio
nC
ha
nn
els
Sta
tist
ics
Ru
nn
ing
Mu
ltip
leS
imu
lati
on
s
8
OP
NE
TW
ork
sho
p
Ed
itor
sa
nd
Fea
ture
s
Ed
itor
s
Tra
ffic
No
des
&L
ink
s
Ch
an
nel
s
Sta
tist
ics
Sim
ula
tio
ns
Gen
era
tin
gT
raffi
c
Exp
licit
Tra
ffic
IE
ach
ind
ivid
ual
pac
ket
issi
mu
late
d
ID
etai
led
,b
ut
can
mak
esi
mu
lati
ons
slow
IT
ypes
:P
acke
tge
ner
atio
nb
ased
ond
istr
ibu
tion
s;A
pp
licat
ion
traffi
cm
od
els
(e.g
.H
TT
P,
FT
P);
Ap
plic
atio
nd
eman
ds
Ba
ckg
rou
nd
Tra
ffic
IA
nal
ytic
alm
od
els
use
d,
ind
ivid
ual
pac
kets
not
sim
ula
ted
IC
ours
e-gr
ain
edm
od
ellin
g,sp
eed
up
sim
ula
tion
s
IT
ypes
:T
raffi
cfl
ows
bet
wee
nso
urc
e/d
esti
nat
ion
;B
ackg
rou
nd
uti
lizat
ion
;A
pp
licat
ion
dem
and
s
9
OP
NE
TW
ork
sho
p
Ed
itor
sa
nd
Fea
ture
s
Ed
itor
s
Tra
ffic
No
des
&L
ink
s
Ch
an
nel
s
Sta
tist
ics
Sim
ula
tio
ns
Pa
cket
Gen
era
tio
nu
sin
gD
istr
ibu
tio
ns
IG
ener
icso
urc
epr
oce
ssge
ner
ates
pac
kets
tose
lect
edd
esti
nat
ion
(s)
1.
Tim
eto
star
t/st
opge
ner
atin
gp
acke
ts2
.B
urs
td
ura
tion
(on
/off
tim
e)3
.In
tera
rriv
alti
me
4.
Pac
ket
size
IO
per
ates
dir
ectl
yab
ove
MA
C(n
oIP
ortr
ansp
ort
prot
oco
l)
ID
istr
ibu
tion
s:co
nst
ant,
un
ifor
m,
exp
onen
tial
,..
.
Exa
mp
le:
WL
AN
Sim
ple
10
OP
NE
TW
ork
sho
p
Ed
itor
sa
nd
Fea
ture
s
Ed
itor
s
Tra
ffic
No
des
&L
ink
s
Ch
an
nel
s
Sta
tist
ics
Sim
ula
tio
ns
Ap
plic
ati
on
Dem
an
ds
Tra
ffic
Flo
ws
fro
mS
ou
rce
toD
esti
na
tio
n
ID
iffer
ent
laye
rs:
Ap
plic
atio
n,
IP,
AT
M,
Fib
reC
han
nel
IS
pec
ify
traffi
cd
ata
rate
and
pac
ket
size
char
acte
rist
ics
IE
xplic
it:
ind
ivid
ual
pac
kets
sim
ula
ted
IB
ackg
rou
nd
:an
alyt
ical
mo
del
use
dto
det
erm
ine
add
itio
nal
load
/del
ay
Ta
sk ID
up
licat
eth
eSmallLAN
scen
ario
IA
dd
anIP
traffi
cfl
owfr
omP
C1
toL
apto
p2
repr
esen
tin
gG
711
voic
e
IS
imu
late
and
com
par
ere
sult
s
11
OP
NE
TW
ork
sho
p
Ed
itor
sa
nd
Fea
ture
s
Ed
itor
s
Tra
ffic
No
des
&L
ink
s
Ch
an
nel
s
Sta
tist
ics
Sim
ula
tio
ns
Ap
plic
ati
on
Tra
ffic
Mo
del
s
Co
mm
on
Inte
rnet
Ap
plic
ati
on
s
IW
ebB
row
sin
g,E
mai
l,D
atab
ase,
File
Tra
nsf
er,
Pri
nti
ng,
Rem
ote
Log
in,
Vid
eoC
onfe
ren
ce,
Voi
ce,
Cu
stom
IA
nal
ytic
alm
od
elof
use
rb
ehav
iou
rI
Web
Bro
wsi
ng:
HT
TP
,p
age
req
ues
tin
tera
rriv
alti
me,
obje
cts
per
pag
e,ob
ject
size
s
Ta
sk ID
up
licat
eth
eSmallLAN
scen
ario
IC
han
geW
ebB
row
sin
gd
efin
itio
nfr
omIm
age
Bro
wsi
ng
to:
mea
nin
tera
rriv
al3s
;p
age
size
1000
0B
ytes
;im
age
size
10K
Bto
100K
B
12
OP
NE
TW
ork
sho
p
Ed
itor
sa
nd
Fea
ture
s
Ed
itor
s
Tra
ffic
No
des
&L
ink
s
Ch
an
nel
s
Sta
tist
ics
Sim
ula
tio
ns
Co
nte
nts
OP
NE
TE
dit
ors
an
dM
enu
s
Tra
ffic
No
des
an
dL
ink
s
Co
mm
un
ica
tio
nC
ha
nn
els
Sta
tist
ics
Ru
nn
ing
Mu
ltip
leS
imu
lati
on
s
13
OP
NE
TW
ork
sho
p
Ed
itor
sa
nd
Fea
ture
s
Ed
itor
s
Tra
ffic
No
des
&L
ink
s
Ch
an
nel
s
Sta
tist
ics
Sim
ula
tio
ns
Lin
ks
IS
pec
ify
link
char
acte
rist
ics:
pac
ket
form
ats,
dat
ara
tes,
mo
del
sof
link
beh
avio
ur
(pip
elin
est
ages
)
IC
ansp
ecif
yb
ackg
rou
nd
utl
izat
ion
(bas
elin
elo
ad)
for
each
dir
ecti
on;
imp
acts
ond
elay
calc
ula
tion
for
ind
ivid
ual
pac
kets
that
trav
erse
the
link
IE
xam
ple
s:IP
/PP
Pov
erd
ial-
up
,E
1,E
3,D
Sx,
SO
NE
T-O
Cx;
AD
SL
,IS
DN
;E
ther
net
;F
ram
eR
elay
;E
ther
Coa
x;F
ram
eR
elay
;D
OC
SIS
;A
TM
over
SO
NE
T;
X.2
5
14
OP
NE
TW
ork
sho
p
Ed
itor
sa
nd
Fea
ture
s
Ed
itor
s
Tra
ffic
No
des
&L
ink
s
Ch
an
nel
s
Sta
tist
ics
Sim
ula
tio
ns
No
des
Exa
mp
le:ethernetwkstnadv
Red
and
blu
elin
es:
Pac
ket
stre
ams—
flow
ofd
ata
pac
kets
bet
wee
npr
oce
sses
15
OP
NE
TW
ork
sho
p
Ed
itor
sa
nd
Fea
ture
s
Ed
itor
s
Tra
ffic
No
des
&L
ink
s
Ch
an
nel
s
Sta
tist
ics
Sim
ula
tio
ns
No
de
Str
uct
ure
Ph
ysic
al
Lay
er
IT
ran
smit
ter:
ethernetv2
pac
ket
form
at;
qu
eue
size
of10
00p
acke
ts;
dat
ara
teu
nd
efin
ed
IR
ecei
ver:
Pac
ket
mu
sth
ave
0b
iter
rors
tob
efo
rwar
ded
toM
AC
(ecc
threshold
)
IS
tati
stic
wir
eb
etw
een
Tx
and
Rx:
logi
cal
asso
ciat
ion
for
tran
scei
ver
IS
tati
stic
wir
esto
MA
C:
tell
the
MA
Cst
atu
sof
tran
scei
ver
(bu
sy)
IP
acke
tst
ream
sca
rry
dat
ap
acke
tsan
dIC
IsI
Pac
kets
are
own
ed;
trea
ted
like
ph
ysic
alob
ject
sI
Inte
rfac
eC
ontr
olIn
form
atio
n(I
CI)
:d
ata
stru
ctu
refo
rn
on-d
ata
com
mu
nic
atio
ns
IS
tati
stic
wir
esca
rry
sin
gle
valu
es,
e.g.
shar
est
ate
info
rmat
ion
bet
wee
npr
oce
sses
16
OP
NE
TW
ork
sho
p
Ed
itor
sa
nd
Fea
ture
s
Ed
itor
s
Tra
ffic
No
des
&L
ink
s
Ch
an
nel
s
Sta
tist
ics
Sim
ula
tio
ns
No
de
Str
uct
ure
Da
taL
ink
Lay
er
IM
AC
:E
ther
net
MA
Cpr
oto
col
IM
AC
Par
amet
ers
are
prom
oted
:va
lues
can
be
set
inth
eP
roje
cted
itor
IA
RP
Net
wo
rkL
ayer
IIP
:in
clu
des
IPv4
,IP
v6,
ICM
P,
IGM
P,
MA
NE
Tro
uti
ng,
Mob
ileIP
,..
.
IIP
En
cap
sula
tion
:m
anag
esm
ult
iple
xin
gtr
ansp
ort
prot
oco
lsov
erIP
17
OP
NE
TW
ork
sho
p
Ed
itor
sa
nd
Fea
ture
s
Ed
itor
s
Tra
ffic
No
des
&L
ink
s
Ch
an
nel
s
Sta
tist
ics
Sim
ula
tio
ns
No
de
Str
uct
ure
Tra
nsp
ort
Lay
er
IT
CP
,U
DP
,R
SV
P
IT
ran
spor
tP
roto
col
Ad
apat
atio
nL
ayer
(tpal
):pr
ovid
esap
plic
atio
ns
gen
eric
inte
rfac
eto
any
tran
spor
tpr
oto
col
(TC
P,
UD
P,
AT
M,
X.2
5,F
ram
eR
elay
)
Ap
plic
ati
on
Lay
er
IE
nd
-use
rap
plic
atio
ns
(application
):H
TT
P,
FT
P,
Dat
abas
e,C
ust
om,
...
IM
anag
emen
tap
plic
atio
ns:
DH
CP
,R
IP
IC
PU
:M
od
elp
erfo
rman
ceof
CP
U,
stor
age
18
OP
NE
TW
ork
sho
p
Ed
itor
sa
nd
Fea
ture
s
Ed
itor
s
Tra
ffic
No
des
&L
ink
s
Ch
an
nel
s
Sta
tist
ics
Sim
ula
tio
ns
No
de
Str
uct
ure
Use
ful
Men
us
IInterfaces→Model
Attributes
:p
aram
eter
sfo
rth
en
od
e,n
otfr
oma
par
ticu
lar
pro
cess
IInterfaces→Node
Interfaces
:p
aram
eter
sfr
omin
div
idu
alpr
oce
sses
are
prom
oted
toth
epr
ojec
tle
vel
IInterfaces→Node
Statistics
:st
atis
tics
from
ind
ivid
ual
pro
cess
esar
epr
omot
edto
the
proj
ect
leve
l
19
OP
NE
TW
ork
sho
p
Ed
itor
sa
nd
Fea
ture
s
Ed
itor
s
Tra
ffic
No
des
&L
ink
s
Ch
an
nel
s
Sta
tist
ics
Sim
ula
tio
ns
Co
nte
nts
OP
NE
TE
dit
ors
an
dM
enu
s
Tra
ffic
No
des
an
dL
ink
s
Co
mm
un
ica
tio
nC
ha
nn
els
Sta
tist
ics
Ru
nn
ing
Mu
ltip
leS
imu
lati
on
s
20
OP
NE
TW
ork
sho
p
Ed
itor
sa
nd
Fea
ture
s
Ed
itor
s
Tra
ffic
No
des
&L
ink
s
Ch
an
nel
s
Sta
tist
ics
Sim
ula
tio
ns
Pip
elin
eS
tag
es
IL
inks
are
mo
del
led
bya
set
ofp
ipel
ine
stag
esI
Pip
elin
est
age:
C-b
ased
com
pu
tati
ons
tom
od
ellin
kb
ehav
iou
rI
Tra
nsm
itte
rob
ject
sen
ds
pac
kets
top
ipel
ine
IP
acke
tpr
oce
ssed
inea
chst
age
IR
esu
lt:
pac
ket
rece
ived
(or
not
)by
Rec
eive
rob
ject
(s)
IS
tage
sar
ed
iffer
ent
for
poi
nt-
to-p
oin
t,b
us
and
wir
eles
slin
ks
21
OP
NE
TW
ork
sho
p
Ed
itor
sa
nd
Fea
ture
s
Ed
itor
s
Tra
ffic
No
des
&L
ink
s
Ch
an
nel
s
Sta
tist
ics
Sim
ula
tio
ns
Po
int-
to-P
oin
tP
ipel
ine
Sta
ges
Tra
nsm
issi
on
del
ayca
lcu
late
dfr
omp
acke
tsi
zean
dd
ata
rate
Pro
pa
ga
tio
nd
elay
calc
ula
ted
from
link
typ
ean
dd
ista
nce
Err
or
allo
cati
on
esti
mat
esn
um
ber
ofb
iter
rors
inp
acke
t
Err
or
corr
ecti
on
acce
pts
orre
ject
sp
acke
t(e
.g.
dep
end
onb
iter
rors
,er
ror
corr
ecti
onca
pab
ility
)
22
OP
NE
TW
ork
sho
p
Ed
itor
sa
nd
Fea
ture
s
Ed
itor
s
Tra
ffic
No
des
&L
ink
s
Ch
an
nel
s
Sta
tist
ics
Sim
ula
tio
ns
Bu
sP
ipel
ine
Sta
ges
Clo
sure
retu
rns
tru
efo
ra
rece
iver
ifit
isca
pab
leto
rece
ive
from
the
tran
smit
ter
Co
llisi
on
det
erm
ine
if2
pac
kets
over
lap
inti
me
atre
ceiv
er,
reco
rdn
um
ber
ofco
llisi
ons
for
each
pac
ket
23
OP
NE
TW
ork
sho
p
Ed
itor
sa
nd
Fea
ture
s
Ed
itor
s
Tra
ffic
No
des
&L
ink
s
Ch
an
nel
s
Sta
tist
ics
Sim
ula
tio
ns
Wir
eles
sP
ipel
ine
Sta
ges
24
OP
NE
TW
ork
sho
p
Ed
itor
sa
nd
Fea
ture
s
Ed
itor
s
Tra
ffic
No
des
&L
ink
s
Ch
an
nel
s
Sta
tist
ics
Sim
ula
tio
ns
IEE
E8
02
.11
Pip
elin
eS
tag
es
Rec
eive
rG
rou
p
wlanrxgroup
Det
erm
ines
pos
sib
leT
x/R
xp
airs
On
lyat
star
tof
sim
ula
tion
Tra
nsm
issi
on
Del
ay
wlantxdel
txdelay
=pkt
length
datarate
Lin
kC
losu
redraclosureall
Det
erm
ines
ifp
acke
tca
nb
etr
ansm
itte
db
etw
een
Tx/
Rx
pai
rN
ull
stag
e(a
lway
str
ue)
25
OP
NE
TW
ork
sho
p
Ed
itor
sa
nd
Fea
ture
s
Ed
itor
s
Tra
ffic
No
des
&L
ink
s
Ch
an
nel
s
Sta
tist
ics
Sim
ula
tio
ns
IEE
E8
02
.11
Pip
elin
eS
tag
es
Ch
an
nel
Ma
tch
wlanchanmatch
IIgnore—
tran
smis
sion
outs
ide
ofre
ceiv
erb
and
wid
th
INoise
—T
x/R
xfr
equ
enci
esov
erla
p
IO
ther
wis
eValid
Tx
An
ten
na
Ga
indratagain
Cal
cula
tega
inb
ased
onan
ten
na
prop
erti
esD
efau
lt:
1(i
sotr
opic
)
Pro
pa
ga
tio
nD
elay
wlanpropdel
prop
delay
=distance
txrx
speedlight
(1)
26
OP
NE
TW
ork
sho
p
Ed
itor
sa
nd
Fea
ture
s
Ed
itor
s
Tra
ffic
No
des
&L
ink
s
Ch
an
nel
s
Sta
tist
ics
Sim
ula
tio
ns
IEE
E8
02
.11
Pip
elin
eS
tag
es
Rx
An
ten
na
Ga
indraragain
Def
ault
:1
(iso
trop
ic)
Rec
eive
dP
ow
erwlanpower
Def
ault
:F
ree-
spac
epr
opag
atio
n
PRx
=PTx×
GTx×
GRx×
( λ 4πd
) 2
Inte
rfer
ence
No
ise
wlaninoise
Inte
rfer
ing
pac
ket:
over
lap
sin
tim
ew
ith
pac
ketp
Inte
rfer
ence
noi
se:
sum
ofPRx
for
inte
rfer
ing
pac
kets
27
OP
NE
TW
ork
sho
p
Ed
itor
sa
nd
Fea
ture
s
Ed
itor
s
Tra
ffic
No
des
&L
ink
s
Ch
an
nel
s
Sta
tist
ics
Sim
ula
tio
ns
IEE
E8
02
.11
Pip
elin
eS
tag
es
Ba
ckg
rou
nd
No
ise
drabkgnoise
bkg
noise
=NoiseFigure×
RxB
W×
290×
Boltzmann
+RxB
W×
Ambient
Boltzman
=1.
379×
10−
23;Ambient
=1.
0×
10−
26;
SN
Rdrasnr
SNR
=10
log
10
(PRx
inoise
+bkg
noise
)
28
OP
NE
TW
ork
sho
p
Ed
itor
sa
nd
Fea
ture
s
Ed
itor
s
Tra
ffic
No
des
&L
ink
s
Ch
an
nel
s
Sta
tist
ics
Sim
ula
tio
ns
IEE
E8
02
.11
Pip
elin
eS
tag
es
Bit
Err
or
Ra
tewlanber
Lo
oku
pm
od
ula
tion
tab
leto
fin
dB
ER
for
inp
ut
Eff
ecti
veS
NR I
E.g
.bpsk
for
11a
6/9
Mb
/s;qam64
for
11a
54M
b/s
Eff
ecti
veS
NR
=SNR
+P
roce
ssin
gG
ain
Err
or
Allo
cati
on
wlanerror
Cal
cula
ten
um
ber
ofb
its
iner
ror
from
BE
Ran
dp
acke
tle
ngt
h
Err
or
Co
rrec
tio
nwlanecc
Ifbit
errors/p
ktlength>
eccthreshold
reje
ctp
acke
tO
ther
wis
ep
acke
tis
rece
ived
29
OP
NE
TW
ork
sho
p
Ed
itor
sa
nd
Fea
ture
s
Ed
itor
s
Tra
ffic
No
des
&L
ink
s
Ch
an
nel
s
Sta
tist
ics
Sim
ula
tio
ns
Co
nte
nts
OP
NE
TE
dit
ors
an
dM
enu
s
Tra
ffic
No
des
an
dL
ink
s
Co
mm
un
ica
tio
nC
ha
nn
els
Sta
tist
ics
Ru
nn
ing
Mu
ltip
leS
imu
lati
on
s
30
OP
NE
TW
ork
sho
p
Ed
itor
sa
nd
Fea
ture
s
Ed
itor
s
Tra
ffic
No
des
&L
ink
s
Ch
an
nel
s
Sta
tist
ics
Sim
ula
tio
ns
Sta
tist
ics
IA
llpr
oce
sses
con
tain
cod
eto
reco
rdp
erfo
rman
cem
etri
cs,
i.e.
stat
isti
cs
IM
ost
pro
cess
stat
isti
csar
eav
aila
ble
for
each
no
de
IG
lob
alst
atis
tics
are
also
avai
lab
le
IT
wo
typ
esof
stat
isti
cs:
Vec
tor
stat
isti
cve
rsu
sti
me
Sca
lar
sin
gle
valu
eac
ross
sim
ula
tion
IR
esu
lts
are
colle
cted
usi
ng
prob
es
31
OP
NE
TW
ork
sho
p
Ed
itor
sa
nd
Fea
ture
s
Ed
itor
s
Tra
ffic
No
des
&L
ink
s
Ch
an
nel
s
Sta
tist
ics
Sim
ula
tio
ns
Pro
be
Ed
ito
r
IP
rob
eca
nb
ecr
eate
dfo
ran
yst
atis
tic
IM
ult
iple
prob
eson
sam
est
atis
tic
IC
olle
ctb
oth
vect
oran
dsc
alar
stat
isti
csov
erp
erio
dof
tim
eI
All
valu
esI
Sam
ple
s:n
-th
orev
eryT
seco
nd
sI
Bu
cket
:co
llect
nsa
mp
les
orfo
rT
seco
nd
s;re
cord
sum
/tim
e,m
in,
max
,m
ean
,co
un
t
IS
cala
r:la
stva
lue,
mea
n,
min
,m
ax,
vari
ance
,ti
me
aver
age
32
OP
NE
TW
ork
sho
p
Ed
itor
sa
nd
Fea
ture
s
Ed
itor
s
Tra
ffic
No
des
&L
ink
s
Ch
an
nel
s
Sta
tist
ics
Sim
ula
tio
ns
Co
nte
nts
OP
NE
TE
dit
ors
an
dM
enu
s
Tra
ffic
No
des
an
dL
ink
s
Co
mm
un
ica
tio
nC
ha
nn
els
Sta
tist
ics
Ru
nn
ing
Mu
ltip
leS
imu
lati
on
s
33
OP
NE
TW
ork
sho
p
Ed
itor
sa
nd
Fea
ture
s
Ed
itor
s
Tra
ffic
No
des
&L
ink
s
Ch
an
nel
s
Sta
tist
ics
Sim
ula
tio
ns
Ru
nn
ing
Mu
ltip
leS
imu
lati
on
s
Var
yin
gP
ara
met
erV
alu
es
IR
ange
ofra
nd
omse
eds
IR
ange
ofgl
obal
par
amet
erva
lues
IN
od
ep
aram
eter
sm
ust
be
prom
oted
;ra
nge
ofva
lues
Vie
win
gR
esu
lts
IR
esu
lts
for
each
sim
ula
tion
run
vers
us
tim
e
IP
aram
etri
cst
ud
ies:
resu
lts
from
mu
ltip
leru
ns
vers
us
par
amet
er
34
OP
NE
TW
ork
sho
p
Ed
itor
sa
nd
Fea
ture
s
Ed
itor
s
Tra
ffic
No
des
&L
ink
s
Ch
an
nel
s
Sta
tist
ics
Sim
ula
tio
ns
Exa
mp
le:
Wir
eles
sL
AN
Sce
nar
io:WLANSimple
Ta
sk:
Co
nfi
gu
reM
ult
iple
Sim
ula
tio
ns
IS
elec
tal
ln
od
esan
dEdit
Attributes
IPromoteInterarrival
Time
toh
igh
erle
vel
IApplytoselectedobjects
mu
stb
ech
ecke
d
IC
onfi
gure
sim
ula
tion
and
sele
ctObject
Attributes
:I
Add
anat
trb
iute
,se
lect
Wildcard
for
no
de
nam
eI
En
ter
mu
ltip
leva
lues
for
inte
rarr
ival
tim
e(e
xpon
enti
alw
ith
mea
n0.
2,0.
1,0.
066,
0.05
,0.
04)
IS
etra
nd
omse
edto
128,
129,
130
and
run
35
OP
NE
TW
ork
sho
p
Ed
itor
sa
nd
Fea
ture
s
Ed
itor
s
Tra
ffic
No
des
&L
ink
s
Ch
an
nel
s
Sta
tist
ics
Sim
ula
tio
ns
Exa
mp
le:
Wir
eles
sL
AN
Ta
sk:
Vie
wP
ara
met
ric
Res
ult
s
IV
iew
resu
lts
and
sele
ctDES
Parametric
Studies
tab
IA
dd
toY
-axi
s:Global
Statistics→Wireless
LAN→Throughput→Sample
Mean
IA
dd
toX
-axi
s:Scalar
Statistics→Office
Network→Interarrival
Time
36
OPNET
Workshop
Process
Models
Sen
sorNetwork
Process
Models
Controller
Analysis
Pro
cess
Mo
del
s
Ste
ven
Gor
don
SirindhornInternationalInstitute
ofTechnology
ThammasatUniversity
1
OPNET
Workshop
Process
Models
Sen
sorNetwork
Process
Models
Controller
Analysis
Co
nte
nts
Exa
mp
le:
Sen
sor
Net
wo
rk
Pro
cess
Mo
del
ling
inO
PN
ET
Co
ntr
olle
rP
roce
ssM
od
el
Sim
ula
tio
na
nd
An
aly
sis
2
OPNET
Workshop
Process
Models
Sen
sorNetwork
Process
Models
Controller
Analysis
Cu
sto
mA
pp
lica
tio
nfo
rS
enso
rN
etw
ork
Sce
nar
io
IS
enso
rn
etw
ork
has
sen
sors
and
1co
ntr
olle
r
IS
enso
rsse
nd
up
dat
esto
con
trol
ler
atre
gula
rfr
equ
ency
IC
ontr
olle
rm
ayre
qu
est
ase
nso
rto
chan
geu
pd
ate
freq
uen
cy
3
OPNET
Workshop
Process
Models
Sen
sorNetwork
Process
Models
Controller
Analysis
Cu
sto
mA
pp
lica
tio
nfo
rS
enso
rN
etw
ork
Ap
plic
atio
nru
ns
dir
ectl
yon
IPov
erIE
EE
802.
11w
irel
ess
LA
N(n
otr
ansp
ort)
4
OPNET
Workshop
Process
Models
Sen
sorNetwork
Process
Models
Controller
Analysis
Pro
ject
,N
od
esa
nd
Pro
cess
es
Pro
ject
SensorNetwork
:3
scen
ario
s
No
des
wirelesssensoradv
:se
nsi
ng
no
de
wirelesscontrolleradv
:co
ntr
olle
rn
od
e
Pro
cess
essensor
:ap
plic
atio
non
sen
sin
gn
od
econtroller
:ap
plic
atio
non
con
trol
ler
no
de
5
OPNET
Workshop
Process
Models
Sen
sorNetwork
Process
Models
Controller
Analysis
Co
nte
nts
Exa
mp
le:
Sen
sor
Net
wo
rk
Pro
cess
Mo
del
ling
inO
PN
ET
Co
ntr
olle
rP
roce
ssM
od
el
Sim
ula
tio
na
nd
An
aly
sis
6
OPNET
Workshop
Process
Models
Sen
sorNetwork
Process
Models
Controller
Analysis
Sta
teT
ran
siti
on
Dia
gra
ms:
Sta
tes
Act
ion
sp
erfo
rmed
byco
de
inen
ter
exec
uti
ves
and
exit
exec
uti
ves
ofst
ates
Un
forc
edst
ates
:I
Up
onin
voca
tion
,ex
itex
ecu
tive
sru
nin
curr
ent
stat
eth
enen
ter
exec
uti
ves
inn
ext
stat
e
IB
lock
ed(w
aits
for
inte
rru
pt)
bet
wee
nen
ter
and
exit
exec
uti
ves
IM
od
els
tru
est
ates
For
ced
stat
es:
IN
ob
lock
ing:
ente
r/ex
itex
cuti
ves
run
du
rin
gin
voca
tion
7
OPNET
Workshop
Process
Models
Sen
sorNetwork
Process
Models
Controller
Analysis
Sta
teT
ran
siti
on
Dia
gra
ms:
Tra
nsi
tio
ns
Tra
nsi
tion
sm
ayco
nta
in:
con
dit
ion
/exe
cuti
ve
IIf
con
dit
ion
tru
e,en
ter
nex
tst
ate
IR
un
exec
uti
veco
de
ifex
ists
Des
ign
erm
ust
ensu
re1
and
only
1co
nd
itio
nca
nb
etr
ue
ata
tim
eA
ctio
ns
are
com
bin
atio
nof
cod
ein
:ex
itex
ecu
tive
,tr
ansi
tion
exec
uti
ve,
ente
rex
ecu
tive
8
OPNET
Workshop
Process
Models
Sen
sorNetwork
Process
Models
Controller
Analysis
Var
iab
les
Var
iab
les
can
be
scop
edas
:
Tem
po
rary
loca
llyav
aila
ble
inex
ecu
tive
son
ly
Fu
nct
ion
loca
llyav
aila
ble
infu
nct
ion
son
ly
Sta
tegl
obal
acro
ssex
ecu
tive
san
dfu
nct
ion
s
Glo
ba
lgl
obal
acro
ssex
ecu
tive
s,fu
nct
ion
san
dex
tern
alco
de
Dat
aty
pes
(oth
erth
anC
dat
aty
pes
):
IE
vhan
dle
,Ic
i,O
bji
d,
Pac
ket,
Com
pco
de,
Lis
t,S
tath
and
le,
Dis
trib
uti
on
9
OPNET
Workshop
Process
Models
Sen
sorNetwork
Process
Models
Controller
Analysis
So
urc
eC
od
e
Exe
cuti
ves
stat
ean
dtr
ansi
tion
exec
uti
ves
Hea
der
Blo
ckin
clu
des
,d
efin
esan
dd
ecla
rati
ons
for
pro
cess
mo
del
Fu
nct
ion
Blo
ckfu
nct
ion
su
sed
bypr
oce
ssm
od
el
Dia
gn
ost
icB
lock
deb
ugg
ing
cod
e
Ter
min
ati
on
Blo
ckex
ecu
ted
wh
ensi
mu
lati
onfi
nis
hes
Ext
ern
al
Co
de
hea
der
s/fu
nct
ion
sst
ored
exte
rnal
lyfr
ompr
oce
ssm
od
el
10
OPNET
Workshop
Process
Models
Sen
sorNetwork
Process
Models
Controller
Analysis
Co
nte
nts
Exa
mp
le:
Sen
sor
Net
wo
rk
Pro
cess
Mo
del
ling
inO
PN
ET
Co
ntr
olle
rP
roce
ssM
od
el
Sim
ula
tio
na
nd
An
aly
sis
11
OPNET
Workshop
Process
Models
Sen
sorNetwork
Process
Models
Controller
Analysis
Co
ntr
olle
rP
roce
ssM
od
el
12
OPNET
Workshop
Process
Models
Sen
sorNetwork
Process
Models
Controller
Analysis
Co
ntr
olle
rP
roce
ssM
od
el
Fou
rst
ates
:
INIT
per
form
sin
itia
lizat
ion
oper
atio
ns
for
pro
cess
mo
del
Idle
pro
cess
resi
des
her
ew
hile
wai
tin
gfo
rin
terr
up
ts
Rec
eive
ente
red
wh
enth
ep
acke
tis
rece
ived
from
alo
wer
laye
r
Sen
den
tere
dw
hen
ap
acke
tn
eed
sto
be
sen
tto
the
low
erla
yer
Tra
nsi
tion
s:
PK
TR
EC
EIV
Est
ream
inte
rru
pt
occ
urs
du
eto
pac
ket
arri
vin
gon
inp
ut
stre
amfr
omipencap
PK
TS
EN
Dse
lfin
terr
up
to
ccu
rsd
ue
toti
meo
ut
13
OPNET
Workshop
Process
Models
Sen
sorNetwork
Process
Models
Controller
Analysis
Init
ialis
ing
the
Pro
cess
INIT
stat
e:
1.
Init
ialis
esst
ate
vari
able
s
2.
Reg
iste
rsit
self
wit
hIP
3.
Sch
edu
les
self
inte
rru
pt
too
ccu
raf
ter
ara
nd
omti
me
controllersvinit()
1.
Ob
tain
sID
ofit
self
(controller
pro
cess
)an
dp
aren
t(wirelesscontrolleradv
no
de)
2.
Rea
ds
use
r-co
nfi
gura
ble
pro
cess
attr
ibu
tes
3.
Reg
iste
rsst
atis
tics
4.
Cre
ate
ICI
toco
mm
un
icat
ew
ith
IP
5.
Est
ablis
hes
ara
nd
omd
istr
ibu
tion
toch
oos
ead
dre
ssof
sen
sor
14
OPNET
Workshop
Process
Models
Sen
sorNetwork
Process
Models
Controller
Analysis
Init
ialis
ing
the
Pro
cess
Ta
skA
dd
cod
eto
read
theInterarrival
Tim
eat
trib
ute
Use
r-co
nfi
gu
rab
leP
roce
ssA
ttri
bu
tes
Interfaces→Model
Attributes
:at
trib
ute
sth
atca
nb
ese
tin
the
no
de
mo
del
(or
prom
oted
toh
igh
erle
vel)
ProgrammersReferen
ce→
DiscreteEventSim
ulation→
InternalModel
Access
Models→
Gen
eralModels→
Model
Support
std/utilities/oms/omsdistsupport.ex.c
15
OPNET
Workshop
Process
Models
Sen
sorNetwork
Process
Models
Controller
Analysis
Init
ialis
ing
the
Pro
cess
controllerregisterselfwithip()
Iipencap
per
form
sm
ult
iple
xin
g:m
ult
iple
hig
her
laye
rpr
oto
cols
over
IP
IM
ust
regi
ster
our
hig
her
laye
rpr
oto
col
wit
hIP
Aft
erin
itia
lisat
ion
isco
mp
lete
,co
ntr
olle
ren
ters
Idle
stat
ean
dw
aits
for
nex
tev
ent
16
OPNET
Workshop
Process
Models
Sen
sorNetwork
Process
Models
Controller
Analysis
Eve
nts
fro
mId
leS
tate
Rec
eive
ap
acke
t:st
ream
inte
rru
pt
from
low
erla
yer
#define
PKT_RECEIVE
op_intrpt_type
()
==
OPC_INTRPT_STRM
Sen
da
pac
ket:
self
inte
rru
pt
(tim
eou
t)
#define
PKT_SEND
op_intrpt_type
()
==
OPC_INTRPT_SELF
Inte
rru
pts
inge
ner
al:
IT
ype:
stre
am(p
acke
t),
self
(tim
eou
t),
stat
(sta
tus)
,..
.
IC
od
e:u
ser-
prog
ram
med
,e.
g.in
dic
ate
wh
ich
tim
erex
pir
ed
IF
orst
ream
inte
rru
pts
,ca
nd
eter
min
ew
hic
hst
ream
,e.
g.fr
omh
igh
erla
yer
orlo
wer
laye
r
IC
hec
kth
ein
terr
up
tin
exit
exec
uti
ves
ofu
nfo
rced
stat
es
ProgrammersReferen
ce→
DiscreteEventSim
ulation→
InterruptPackage
17
OPNET
Workshop
Process
Models
Sen
sorNetwork
Process
Models
Controller
Analysis
Rec
eivi
ng
aP
ack
et
Pro
cess
the
pac
ket:
1.
Get
the
rece
ived
pac
ket
from
the
stre
am
2.
Get
the
ICI
that
acco
mp
anie
sth
ep
acke
t
3.
Up
dat
eth
est
atis
tics
4.
Des
troy
the
pac
ket
and
ICI
Ret
urn
toIdle
stat
e
18
OPNET
Workshop
Process
Models
Sen
sorNetwork
Process
Models
Controller
Analysis
Sen
din
ga
Pa
cket
Gen
erat
eth
ep
acke
t:
1.
Cre
ate
ran
dom
size
dp
acke
tw
ith
ran
dom
up
dat
efr
equ
ency
and
des
tin
atio
n
2.
Sen
dth
ep
acke
t(controllerpacketsendtoip()
3.
Up
dat
eth
est
atis
tics
4.
Sch
edu
lese
lfin
terr
up
tfo
rn
ext
req
ues
tfo
ru
pd
ate
freq
uen
cych
ange
controllerpacketsendtoip()
1.
ICI
con
tain
sad
dre
ssof
des
tin
atio
nse
nso
r
2.
Pac
ket
isse
nt
ProgrammersReferen
ce→
DiscreteEventSim
ulation→
Interface
Control
Inform
ationPackage
ProgrammersReferen
ce→
DiscreteEventSim
ulation→
Packet
Package
19
OPNET
Workshop
Process
Models
Sen
sorNetwork
Process
Models
Controller
Analysis
Sen
sor
Pro
cess
Mo
del
Sim
ilar
toco
ntr
olle
rpr
oce
ssm
od
el:
mu
stre
gula
rly
sen
dp
acke
ts,
also
sen
dim
med
iate
lyaf
ter
rece
ivin
gp
acke
t
Ta
skA
dd
cod
eto
retr
ieve
the
up
dat
ep
erio
dfr
omth
ere
ceiv
edp
acke
t
ProgrammersReferen
ce→
DiscreteEventSim
ulation→
EventPackage
20
OPNET
Workshop
Process
Models
Sen
sorNetwork
Process
Models
Controller
Analysis
Co
nte
nts
Exa
mp
le:
Sen
sor
Net
wo
rk
Pro
cess
Mo
del
ling
inO
PN
ET
Co
ntr
olle
rP
roce
ssM
od
el
Sim
ula
tio
na
nd
An
aly
sis
21
OPNET
Workshop
Process
Models
Sen
sorNetwork
Process
Models
Controller
Analysis
Sim
ula
tio
na
nd
An
aly
sis
Ta
sks
1.
Ru
nth
esi
mu
lati
on
2.
Sh
owth
eex
isti
ng
resu
ltte
mp
late
s:DES→Panel
Operations→Arrange
Panels→Show
All
3.
Loa
dth
ere
sult
sin
toth
ete
mp
late
s:DES→Panel
Operations→Panel
Templates→Load
with
Latest
Results
Res
ult
ssh
owth
ere
gula
ru
pd
ates
from
sen
sors
,an
dch
ange
inu
pd
ate
inte
rval
trig
gere
dby
con
trol
ler
22
OPNET
Workshop
Process
Models
Sen
sorNetwork
Process
Models
Controller
Analysis
Sta
tist
ics,
Bu
cket
sa
nd
Su
m/
Tim
e
IB
uck
ets
are
use
dto
red
uce
the
stat
isti
cd
ata
stor
edd
uri
ng
sim
ula
tion
,e.
g.st
ore
1va
lue
for
all
pac
kets
sen
tin
bu
cket
du
rati
onof
10m
s
IS
um
/Tim
eis
ofte
nu
sed
for
rate
stat
isti
cs,
e.g.
bit
sp
erse
con
d
IL
ast
valu
ein
ab
uck
etis
prop
orti
onal
lysp
litac
ross
curr
ent
bu
cket
and
nex
tb
uck
et
IT
oav
oid
this
wit
hsu
m/t
ime
stat
isti
cs,
wri
teva
lue
0af
ter
wri
tin
gre
alst
atis
tic
ID
efau
ltb
uck
etsi
ze:
sim
du
rati
on/
valu
esp
erst
atis
tic 23