Overview
OMNeT++? Installation Simulation Models TicToc Tutorial NED, Tkenv, GNED, Plove, and Scalars AdHocSim
What is OMNeT++?
An object-oriented modular discrete event network simulator
traffic modeling of telecommunication networks protocol modeling modeling queuing networks modeling multiprocessors and other distributed hardware systems validating hardware architectures evaluating performance aspects of complex software systems ... modeling any other system where the discrete event approach is suitable.
Library
Written in C++, compiled and put together to form a library
User interfaces
Used in simulation execution, to facilitate debugging, demonstration, or batch execution of simulations. There are several user interfaces, written in C++, compiled and put together into libraries
OMNet++ OMNet ++
Portability
Working on Windows and several Unix platforms using various C++ compilers
Windows
You need to have NT4.0, Win2000 or XP. Win95/98/ME won't work. Install OMNeT++ into a directory that doesn't have space in its name, e.g. don't install in under C:\Program files\ (Otherwise you'll have problems with the makefiles.)
Windows/Microsoft Visual C++ 6.0 or 7.0 (.NET) Windows/MSVC - building from sources Windows/Cygwin Windows/MinGW 7
Simulation Models
An OMNeT++ model consists of the following parts:
NED language topology description (.ned files) which describe the module structure with parameters, gates etc. Message definitions, we can define various message types and add data fields to them. OMNeT++ will translate message definitions into fullfledged C++ classes. Simple modules sources. They are C++ files, with .h/.cc suffix.
10
11
12
Modules
Hierarchically nested modules The NED (NEtwork Description) Language
Facilitates the modular description of a network Reuse in another network description
Message passing
13
Modules: Example
14
15
16
17
18
TicToc
19
Tkenv
Tkenv is a portable graphical windowing user interface. Tkenv supports interactive execution of the simulation, tracing and debugging.
20
GNED
Graphical editor for OMNeT++ models
21
Plove
A handy tool for plotting and analyzing OMNeT++ simulation results
22
Plove (Cont.)
23
Scalars
A handy tool for creating bar charts and x-y plots from OMNeT++ output scalar files (omnetpp.sca by default)
24
AdHocSim (Assignment)
25
Lessmann, Lessmann , J., Janacik Janacik, , P., Lachev Lachev, , L., Orfanus Orfanus, , D.,
26
27
Reference
http://www.omnetpp.org/ OMNet++ User Manual TicToc Tutorial for OMNet++
28
Questions, Comments, ?
29