omnet++

20
Presented by:- Supervised By:- SGGS IE&T,NANDED,INDIA. Friday, April 13, 2012

Upload: muffassir

Post on 22-Oct-2014

272 views

Category:

Documents


3 download

DESCRIPTION

This is a seminar topic of my M.Tech Semeter.If u have any queries contact me at [email protected]

TRANSCRIPT

Page 1: OMNET++

Presented by:-

Supervised By:-

SGGS IE&T,NANDED,INDIA.Friday, April 13, 2012

Page 2: OMNET++

ContentsContents�� Introduction to WSN and its SimulationIntroduction to WSN and its Simulation

�� Various Platforms available for SimulationVarious Platforms available for Simulation

�� Introduction to OMNET++Introduction to OMNET++

�� Features of OMNET++Features of OMNET++

�� ComparisonComparison

�� ConclusionConclusion

Friday, April 13, 2012 SGGS IE&T,NANDED,INDIA.

Page 3: OMNET++

Introduction to WSNIntroduction to WSN�� Large number of Communication Nodes.Large number of Communication Nodes.

�� WSN is deployed in Hazardous & inaccessible WSN is deployed in Hazardous & inaccessible places.places.

Various applications (almost everywhere) Various applications (almost everywhere) �� Various applications (almost everywhere) Various applications (almost everywhere)

�� egeg: Monitoring and Inspecting the : Monitoring and Inspecting the environment.environment.

Friday, April 13, 2012 SGGS IE&T,NANDED,INDIA.

Page 4: OMNET++

Simulation in WSNSimulation in WSN�� Simulation programs usually have a long Simulation programs usually have a long

debugging periods because of large number of debugging periods because of large number of nodes.nodes.

�� WSN uses hierarchical structure, WSN uses hierarchical structure, so we need a so we need a �� WSN uses hierarchical structure, WSN uses hierarchical structure, so we need a so we need a large number of modules to construct models, large number of modules to construct models, the module relations must defined in the module relations must defined in hierarchical to built hierarchical to built reusable components.reusable components.

�� WSN needs to cooperate with other software to WSN needs to cooperate with other software to achieve the target.achieve the target.

Friday, April 13, 2012 SGGS IE&T,NANDED,INDIA.

Page 5: OMNET++

Various platforms for Various platforms for

Simulating WSNSimulating WSN�� OMNET++: www.omnetpp.orgOMNET++: www.omnetpp.org

�� TossimTossim Simulation EnvironmentSimulation Environment

�� OPNETOPNET

�� NS 2NS 2

�� SNSimSNSim -- WSN SimulatorWSN Simulator

Friday, April 13, 2012 SGGS IE&T,NANDED,INDIA.

Page 6: OMNET++

Introduction to Introduction to

OMNET++OMNET++Objective Modular Network Objective Modular Network TestbedTestbed in C++in C++

Friday, April 13, 2012 SGGS IE&T,NANDED,INDIA.

Page 7: OMNET++

OMNET++OMNET++OMNeTOMNeT++ is an object++ is an object--oriented modular discrete event oriented modular discrete event

network simulator. It can be used for:network simulator. It can be used for:

�� Traffic modeling & Protocol modeling.Traffic modeling & Protocol modeling.�� Traffic modeling & Protocol modeling.Traffic modeling & Protocol modeling.

�� Modeling queuing networks.Modeling queuing networks.

�� Modeling multiprocessors and other distributed Modeling multiprocessors and other distributed hardware systems.hardware systems.

�� Validating hardware architectures.Validating hardware architectures.

�� Evaluating performance aspects of complex software Evaluating performance aspects of complex software systems.systems.

Friday, April 13, 2012 SGGS IE&T,NANDED,INDIA.

Page 8: OMNET++

OMNET++ FeaturesOMNET++ Features(1)(1)

�� Hierarchically nested modules.Hierarchically nested modules.

�� Modules are instances of module types.Modules are instances of module types.

�� Modules communicate with messages. Modules communicate with messages.

through channels.through channels.

�� Flexible module parameters.Flexible module parameters.

�� Topology description language (NED).Topology description language (NED).

Friday, April 13, 2012 SGGS IE&T,NANDED,INDIA.

Page 9: OMNET++

OMNET++ FeaturesOMNET++ Features(2)(2)

�� It is compatible with: DOS, UNIX, WINDOWS.It is compatible with: DOS, UNIX, WINDOWS.

�� Several graphical interfaces allows debugging Several graphical interfaces allows debugging

and variables inspection.and variables inspection.

�� Modules, gates and links can be created Modules, gates and links can be created

statically dynamically.statically dynamically.

�� Offers support for parallel execution (PDES).Offers support for parallel execution (PDES).

Friday, April 13, 2012 SGGS IE&T,NANDED,INDIA.

Page 10: OMNET++

Model Structure in Model Structure in

OMNET++OMNET++

Fig: Model

Friday, April 13, 2012 SGGS IE&T,NANDED,INDIA.

Fig: Model structure.

Page 11: OMNET++

Contd..

�� Simple Modules.Simple Modules.

�� Messages can be sent either via output gates, Messages can be sent either via output gates, or directly to another module.or directly to another module.

Compound module consists of simple Compound module consists of simple �� Compound module consists of simple Compound module consists of simple modules.modules.

�� Nodes in WSN is compound modules.Nodes in WSN is compound modules.

�� These structures are defined by NED language These structures are defined by NED language which can be which can be edittededitted by both text and by both text and graphical user interface(GUI).graphical user interface(GUI).

Friday, April 13, 2012 SGGS IE&T,NANDED,INDIA.

Page 12: OMNET++

Simulation Software

Comparison

Friday, April 13, 2012 SGGS IE&T,NANDED,INDIA.

Page 13: OMNET++

Simulation Software

Comparison

Friday, April 13, 2012 SGGS IE&T,NANDED,INDIA.

Page 14: OMNET++

ComparisonComparison�� Available Protocols and Models:Available Protocols and Models:

OPNET is so expensive and NS2’s protocol model is OPNET is so expensive and NS2’s protocol model is excessively unitary, so OMNET++ has the big advantage in excessively unitary, so OMNET++ has the big advantage in the model library and the available model aspects.the model library and the available model aspects.the model library and the available model aspects.the model library and the available model aspects.

�� Network Topology & Hierarchical Models:Network Topology & Hierarchical Models:

NS2 does not allow hierarchical model . OPNET models NS2 does not allow hierarchical model . OPNET models always use fixed topology .OMNET++’s NED and its always use fixed topology .OMNET++’s NED and its graphical editor allow customize topology and graphical editor allow customize topology and parameterized topologies.parameterized topologies.

Friday, April 13, 2012 SGGS IE&T,NANDED,INDIA.

Page 15: OMNET++

ComparisonComparison (2)(2)

�� Debugging and Tracing:Debugging and Tracing:

OPNET did not have a graphical runtime environment. OPNET did not have a graphical runtime environment. NS2 is very slow in WSN simulation which limits its use.NS2 is very slow in WSN simulation which limits its use.

•• Source Opening:Source Opening:•• Source Opening:Source Opening:

OPNET only provides the sources of the protocol models, OPNET only provides the sources of the protocol models, OMNET++ and NS2 is fully openOMNET++ and NS2 is fully open--sourced.sourced.

NOTENOTE: Simulation software in WSN, NS2’s performance is : Simulation software in WSN, NS2’s performance is not very good, OPNET has good performance (like not very good, OPNET has good performance (like OMNET++), but it is too expensiveOMNET++), but it is too expensive

Friday, April 13, 2012 SGGS IE&T,NANDED,INDIA.

Page 16: OMNET++

ComparisonComparison (3)(3)

Friday, April 13, 2012 SGGS IE&T,NANDED,INDIA.

Fig: Execution Time of 100 queries generate nodes

Page 17: OMNET++

ComparisonComparison (4)(4)

Friday, April 13, 2012 SGGS IE&T,NANDED,INDIA.

Fig: Memory Usage of 100 queries generate nodes

Page 18: OMNET++

Conclusion:Conclusion:

OMNET++ is an excellent WSN simulation software, OMNET++ is an excellent WSN simulation software, its functions follows requirements of WSN its functions follows requirements of WSN simulation. Compare with NS2, it reflects that simulation. Compare with NS2, it reflects that simulation. Compare with NS2, it reflects that simulation. Compare with NS2, it reflects that OMNET++ have better performance than NS2, also OMNET++ have better performance than NS2, also have some advantages when comparing with have some advantages when comparing with OPNET which is an expensive commercial software.OPNET which is an expensive commercial software.

Friday, April 13, 2012 SGGS IE&T,NANDED,INDIA.

Page 19: OMNET++

References:References:� Erwin Anggadjaja and Ian McLoughlin, “Point-to-Point OMNeT++ Based

Simulation”, in 2010 Second International Conference on Advances in Computing, Control, and Telecommunication Technologies,2010,pp.125-128.

� Xiaodong Xian, Weiren Shi and He Huang, “Comparison of OMNET++ and Other Simulator for WSN Simulation” in IEEE Proceedings,2008,pp.1439-1445.

� András Varga , “OMNET++ User Manual” ,OpenSim Ltd, 2010.

� http://whale.hit.bme.hu/omnetpp/

� Piotr Szczytowski, Abdelmajid Khelil, Neeraj Suri, “Map-Based Modeling and Design of Wireless Sensor Networks with OMNeT++” , in SPECTS 2009, 2009 pp.162-169.

� www.omnetpp.org

� Tina Devkota, Master Thesis on “A two-level event brokering architecture” of Graduate School of Vanderbilt University,2009,pp.16-23.

Friday, April 13, 2012 SGGS IE&T,NANDED,INDIA.

Page 20: OMNET++

Friday, April 13, 2012 SGGS IE&T,NANDED,INDIA.