Unformatted text preview:

Seminar On “OMNET++ Network Simulator”Topics CoveredIntroductionThe NED LanguageBackground MathSlide 6Slide 7Case Study Cont…Simulation ResultReferencesSlide 11Seminar Seminar OnOn““OMNET++ Network OMNET++ Network Simulator”Simulator”Presented By:Presented By:Saurav K BenganiSaurav K Bengani Guided By:Guided By: Dr. Andrew yangDr. Andrew yangTopics CoveredTopics CoveredIntroductionIntroductionThe NED LanguageThe NED LanguageBackground MathematicsBackground MathematicsCase StudyCase StudyReferencesReferencesIntroductionIntroductionOMNeT++ is an object-oriented modular discrete event network simulator. It can be used for: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.The NED LanguageThe NED LanguageThe NED language facilitates the modular description of a network. This means that a network description may consist of a number of component descriptions channels, simple/compound module types). The channels, simple modules and compound modules of one network description can be reused in another network description.A NED description can contain the following components, in arbitrary number or order:• Import directives• Channel definitions• Simple and compound module definitions• Network definitionsBackground MathBackground MathAn OMNeT++ model consists of the following parts:NED language topology description (.ned files) which describe the module structure with parameters, gates etc. NED files can be written using any text editor or the GNED graphical editor.Message definitions (.msg files). You can define various message types and add data fields to them.OMNeT++ will translate message definitions into full-fledged C++ classes.Simple modules sources. They are C++ files, with .h/.cc suffix.Background MathBackground MathThe simulation system provides the following components:Simulation kernel: This contains the code that manages the simulation and the simulation class.Library: It is written in C++, compiled and put together to form a library (a file with .a or .lib extension)User interfaces: OMNeT++ user interfaces are 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 (.a or .lib files).Case Study (OCO)Fig. The Simulation processCase Study Cont…Case Study Cont…Use an OMNET++ program calledUse an OMNET++ program called “position collection” “position collection” to generate to generate 200, 250, 300, 350, 400, 450…nodes randomly. The user selects a 200, 250, 300, 350, 400, 450…nodes randomly. The user selects a node to be the base station in each configuration. The program will node to be the base station in each configuration. The program will simulate the position collection phase. After the simulation, a text file simulate the position collection phase. After the simulation, a text file is generated. The file contains node IDs, the base ID, and energy.is generated. The file contains node IDs, the base ID, and energy.The processing program will read the text file, perform all processing The processing program will read the text file, perform all processing and then generate result files for OCO. These files describe which and then generate result files for OCO. These files describe which nodes are deployed, the mission of each node in the network, the nodes are deployed, the mission of each node in the network, the energy level, etc.energy level, etc.The OMNET++ program calledThe OMNET++ program called OCO OCO read these files and apply read these files and apply appropriate algorithm(s) for the simulations. The results of the appropriate algorithm(s) for the simulations. The results of the simulations are text files, which contain information such as the simulations are text files, which contain information such as the detected points, the energy level of each node, and the time before detected points, the energy level of each node, and the time before first dead node.first dead node.Finally, MATLAB programs are used to analyze and evaluate the Finally, MATLAB programs are used to analyze and evaluate the simulation results.simulation results.Simulation ResultSimulation ResultDC MethodLeach MethodOCO MethodThe above simulation result shows the network architecture for 250 nodes using DC, LEACH and OCO approaches. OCO employs less no. of nodes and it is very efficient.ReferencesReferencesJan Heijmans, Alex Paalvast, and Robert van der Leij. Jan Heijmans, Alex Paalvast, and Robert van der Leij. Network simulation using the JAR compiler for the Network simulation using the JAR compiler for the OMNeT++ simulation system. Technical report, OMNeT++ simulation system. Technical report, Technical University of Budapest, Dept. of Technical University of Budapest, Dept. of Telecommunications, 1995.Telecommunications, 1995.Gábor Lencse. Graphical network editor for OMNeT++. Gábor Lencse. Graphical network editor for OMNeT++. Master’s thesis, Technical University of Budapest, 1994. Master’s thesis, Technical University of Budapest, 1994. In Hungarian.In Hungarian.R. L. Bagrodia and M. Takai. Performance evaluation of R. L. Bagrodia and M. Takai. Performance evaluation of conservative algorithms in parallel simulation conservative algorithms in parallel simulation languages. 11(4):395–414, 2000.languages. 11(4):395–414, 2000.Thank


View Full Document

UHCL CSCI 5931 - OMNET Network Simulator

Documents in this Course
Load more
Download OMNET Network Simulator
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view OMNET Network Simulator and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view OMNET Network Simulator 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?