Professional Documents
Culture Documents
OPNET
Farshid Agharebparast
A Presentation for EECE569 Mobile Communications Networks March 14, 2007
Department of Electrical & Computer Engineering The University of British Columbia
Outline
Overview of OPNET modeler Radio modeler Supported technologies/modules
WLAN UMTS library Satellite Terrain Modeling Module (TMM)
EECE 569 - March 14, 2007 Farshid Agharebparast 2
OPNET
http://www.opnet.com Intelligent network management and network R&D software Clients: Motorola, Nortel, Lucent, Ericsson, Cisco, Available OPNET products/add-on modules @ ECE
Modeler (version 11.5.A)
WDM Guru (8.1.A)
Radio modeler UMTS library suit
12.0.A
Farshid Agharebparast
Source: opnet.com
Farshid Agharebparast
OPNET
Event-Driven (DEDS)
Simulation ends when event list empty (unless stopped)
Events:
Self interrupt STRM interrupts (packet arrivals) STAT interrupts (writing to statwire) BEGSIM/ENDSIM
Farshid Agharebparast
OPNET Hierarchy
Farshid Agharebparast
Available Editors
Network Node Process Packet Link Antenna pattern
Farshid Agharebparast
Modeling Stages
problem Modeling Simulation Results
Statement of problem (goals) Required aspects (abstractness) Input and output Modeling Network, node, process hierarchy Packet, link, antenna, modeling Simulation Debugging Validation of results
EECE 569 - March 14, 2007 Farshid Agharebparast 8
Network Model
Built-in technologies Startup wizard Drag and drop
Node or Subnet
link
Farshid Agharebparast
10
Node Model
Generic devices Vendor devices Your own models Module
Processor Queue Transceivers
module interface
Process Model
State transition diagram States
Forced (green) Unforced (red)
condition transition Enter exec
EECE 569 - March 14, 2007 Farshid Agharebparast
state
Exit exec
12
Proto-C Programming
Proto-C
C/C++ Kernel Procedures (KP) KP
Farshid Agharebparast
13
Interrupt package
op_intrpt_type() op_intrpt_code() op_intrpt_schedule_self()
Simulation package
op_sim_time()
ID package
op_id_self() op_topo_parent()
Farshid Agharebparast
14
Link Model
Connection between nodes
Point-to-point Bus Radio
Create or modify
DS1, OS-196,
Verify links
EECE 569 - March 14, 2007 Farshid Agharebparast 15
Packet Model
Entity for carrying all information Should be created, passed and destroyed Formatted
Fields
Unformatted
field
EECE 569 - March 14, 2007 Farshid Agharebparast 16
Simulation Settings
Define statistics needed Choose output format
Vector Scalar Animation
Farshid Agharebparast
17
Simulation
Run simulation
Single
Configure
Duration Seed Attributes
Sequence
Unix shell scripts Configure seq.
EECE 569 - March 14, 2007 Farshid Agharebparast 18
Results
View results Web reports
Farshid Agharebparast
19
Publishing
Display results
View in OPNET
Scalar vector
Export
MATLAB Spreadsheet
Web report
EECE 569 - March 14, 2007 Farshid Agharebparast 20
Debugging
Compilation
OPNET compilation result window Look at cc-err file
Simulation
Look for clues in OPNET messages Look at err_log & session_log files ODB (OPNET debugger)
Farshid Agharebparast
21
Radio Modeler
Farshid Agharebparast
22
Radio Modeler
Add-on component Models radio channel: frequency, power, Supported technologies
Satellite WLAN TMM (extra license is required)
Radio Modeler
Nodes
Mobile nodes Satellite nodes
Mobile nodes may change position during a simulation. Radio receiver Radio modules
Radio transmitter Antenna
EECE 569 - March 14, 2007 Farshid Agharebparast 24
An Example
Farshid Agharebparast
25
Radio Link
Radio receiver and transmitter attributes:
Pipeline model Modulation Channel Noise figure Ecc threshold (err/bits)
Farshid Agharebparast
26
Pipeline Stages
S1 S2 S3 S4
Transmitter
Each stage models an aspect of the links behavior
Receiver
Source: opnet.com
Implements the physical layer characteristics Each stage models a particular aspect of the channel.
Farshid Agharebparast
28
Pipeline Stages
1 TRANSMISSION DELAY MODEL 2 LINK CLOSURE MODEL 3 CHANNEL MATCH MODEL 4 TRANSMITTER ANTENNA GAIN MODEL 5 PROPOGATION DELAY MODEL 6 RECEIVER ANTENNA GAIN MODEL 7 RECEIVED POWER MODEL
Farshid Agharebparast
29
Pipeline Stages
8 BACKGROUND NOISE MODEL 9 INTERFERENCE NOISE MODEL 10 SNR MODEL 11 BER MODEL 12 ERROR ALLOCATION MODEL 13 ERROR CORRECTION MODEL
Farshid Agharebparast
30
Mobility
Trajectory
A fixed path a mobile node moves along during simulation. Created at: Network/define trajectory menu Set the attributes, use mouse to set the path
Farshid Agharebparast
31
Mobility
Direct changes to the nodes position attribute
Using Proto-C
Farshid Agharebparast
32
Source: opnet.com
Farshid Agharebparast
33
QPSK
Farshid Agharebparast
34
Useful KPs
op_radio_txch_rxch_add() op_radio_txch_rxgroup_get() op_radio_txch_rxch_remove() op_radio_txch_rxgroup_set() op_tbl_mod_ber() op_tbl_pat_gain() op_pk_bcast_general() op_pk_bcast_unique() op_pk_deliver()
op_radio_txch_rxgroup_compute()
Farshid Agharebparast
35
Radio-specific Statistics
Collision Status
Reflects the collision of packets at the receiver channel
Received Power
The average power of a packet arriving at a receiver channel
Signal/Noise Ratio
The ratio of the average power of a packet segment being received at a receiver channel and the combined average power of all relevant interference sources
Farshid Agharebparast
36
Farshid Agharebparast
37
Satellite Nodes
Modeling satellites and spacecrafts Changes position
Based on an assigned orbit Direct changes to the nodes position attributes
Source: opnet.com
Farshid Agharebparast
38
WLAN
This project is built to demonstrate some of the implemented features and algorithms of the wireless-LAN technology, specified in IEEE's 802.11, 802.11a, 802.11b and 802.11g standards, using OPNET's WLAN model suite, like:
1. 2. 3. 4. IBSS (ad-hoc) network configuration. Access point functionality and BSS and EBSS network configurations. WLAN backbone configuration. Physical layer technologies and data rates specified in 802.11, 11a, 11b and 11g standards. 5. DCF mode and its algorithms. 6. PCF mode and its algorithms. 7. Optional RTS/CTS frame exchange procedures. 8. Optional fragmentation of large data frames. 9. Receiver sensitivity and support of communication distances that are longer than 300 meters. 10.Neighbor-BSS interference. 11.Roaming of mobile WLAN nodes among access points. 12.Coexistence if ERP (11g) and non-ERP (11/11b) stations in the same BSS, and use of CTS-to-self approach as the protection mechanism.
Source: OPNETs WLAN Example Project
Farshid Agharebparast
39
802.11:
Farshid Agharebparast
40
802.11:
Application Layer
Transport Layer
Network Layer
MAC Layer
Farshid Agharebparast
41
Farshid Agharebparast
43
UMTS Model
Modeling a very complex system
Universal Mobile Telecommunications System
Development consortium
OPNET, Telcordia, NEC, DoCoMo,
Farshid Agharebparast
44
Benefits
QoS policy development
SLA establishment Delay, jitter, packet loss, throughput monitoring
Traffic management techniques Power control Pathloss, shadow fading, interface Capacity planning Protocol interaction Mobility
EECE 569 - March 14, 2007 Farshid Agharebparast 45
Features
GPRS attach PDP context activation RAB setup RLC modes (AM, UM, TrM) MAC priority handling Admission control DCH/DSCH/FACH/RACH Power control Mobility
EECE 569 - March 14, 2007 Farshid Agharebparast 46
Limitations
Synchronization at power-on No GPRS detach PDP context deactivation At least one UE per node-B No mobility prior to attachment No DPDCH/PCPCH No QoS negotiation
EECE 569 - March 14, 2007 Farshid Agharebparast 47
Components
Core network
SGSN
EECE 569 - March 14, 2007 Farshid Agharebparast 48
User Equipment
Simple or TCP/IP enabled
Fixed or Mobile
Farshid Agharebparast
49
User Equipment
Application Layer:
- Data and multimedia application models - Highly configurable generic models
RLC/MAC Layer:
- Acknowledged, Unacknowledged and Transparent modes - SAR of higher layer data - DCH, RACH, CPCH
Physical Layer
Farshid Agharebparast
50
Node-B
Uses W-CDMA Uu interface to connect to UEs Radio link management Radio interface with UE Supports FDD only ATM interface to RNC
Farshid Agharebparast
51
SGSN/GGSN
Interface to Internet ATM to UTRAN Provides:
GPRS attach PDP context activation IP interface to Internet ATM interface to RNCs
Farshid Agharebparast
53
Built-in Architectures
Large Network Soft and hard handoff Core network Voice over IP Sectorization Admission Control FACH, RACH ASC, and DSCH study
EECE 569 - March 14, 2007 Farshid Agharebparast 54
Implemented Protocols
TCP/IP GMM RLC/MAC/L1 ATM/DiffServ/RSVP/MPLS
Farshid Agharebparast
55
Logical/transport/physical CH
Uplink
DCH (Dedicated CH) RACH (Random Access CH) CPCH (Common Packet CH)
Downlink
DSCH (Downlink Shared CH) PCH (Paging CH) DCH
EECE 569 - March 14, 2007 Farshid Agharebparast 56
Message Flow
Application Session Transport Network GMM RLC/MAC Radio Link Management Radio ATM Admission Control ATM Application Session Transport Network SGSN AAL ATM
GPRS Attach
PDP Request PDP Request RL Addition Request RB Setup Request RL Addition Response RB Setup Request RB Complete RB Complete Activate PDP Accept RAB Assignment Response Activate PDP Accept
PDP Request
Admission Control
PDP Context
Channel Setup
Farshid Agharebparast
57
Resources
OPNET online documentation UMTS model usage guide WWW.OPNET.COM OPNETwork publications
Farshid Agharebparast
58
Farshid Agharebparast
59