SlideShare a Scribd company logo
1 of 17
By
Mohammed Amer Al-Batati

         2012
 Start the OMNet IDE:
1. Lunch “mingwenv.cmd”
2. Type: omnetpp
 Then you will be asked to select the workspace path.
 Let’s create our own. (e.g.; C:Myworkspace)
 Click ‘OK’
Overview

                                            Workbench
           What's New




                        Tutorials   Migration
 An  OMNeT++ model consists of modules that
  communicate with message passing.
 Simple modules can be grouped into compound
  modules and so forth.
 The number of hierarchy levels is unlimited.
Gate(s)
                                                  Input gate (receive data from)
                                                  Output gate (send data from)


Connection (link)
Modules communicate by exchanging messages.
In an actual simulation, messages can represent
frames, packets , jobs, etc.
 Go to “Project Explorer” (Window-> Show View->
  Project Explorer)
 Right-Click-> New -> OMNet++ Project
 Name it (myproject) -> select empty project -> Finish
 Right-Click on “myproject” -> New -> Simple Module
 Name it (Node.ned) -> A simple module -> Finish
 Double Click on “Node.ned”.
 A dual-mode (Design and Source) NED editor is
 opened.
 Double Click on “Node.ned”.
 A dual-mode (Design and Source) NED editor is
 opened.
 For now, let our Node with only two gates: input and
    output gates.
   Use keyword “gates” followed by “:” to define gates.
   Use keyword “input” for input gates.
   Use keyword “output” for output gates.
   Don’t forget semi-colons or to save your file.
 Go back to “Design” view.
 By Right-click on Node module, you can modify the
  module properties (e.g.; base, icon and polygon).
 Let’s change the icon.
 Let’s create a network with two nodes (node1 and
  node2) connected to each other.
 Right-Click on “myproject” -> New -> Network
 Name it (mynetwork.ned) -> An empty network ->
  Finish.
 Still with NED editor, so it can be done using either
  Design or Source mode.
 One click on module “Node” in ‘Submodules’.
 Another click on “mynetwork” to create first node.
 Rename it if needed.
 Do the same with the other node.
 Connect them together by using “Connection”, which
  can be founded in Palette.
 There are three types of channels:




 Activate “Connection” by clicking on it.
 Connect Node1 with Node2 by clicking Node1 first
  then Node2. (From node1 to Node2)
 Do the same with Node 2.
 By opening the Source mode we will find:


                                      CTRL+SHIFT+O
                                      To import needed packages.




                                      CTRL+SHIFT+F
                                      To reformat the NED file.


               CTRL+SPACE
               When help is needed.
 let's test what we have done so far.
 Right-click on “mynetwork.ned” Run As -> OMNet++
  Simulator.




 OK -> OK

More Related Content

What's hot

Clock synchronization in distributed system
Clock synchronization in distributed systemClock synchronization in distributed system
Clock synchronization in distributed systemSunita Sahu
 
Convex Hull Algorithm Analysis
Convex Hull Algorithm AnalysisConvex Hull Algorithm Analysis
Convex Hull Algorithm AnalysisRex Yuan
 
Inter process communication
Inter process communicationInter process communication
Inter process communicationMohd Tousif
 
Process synchronization in Operating Systems
Process synchronization in Operating SystemsProcess synchronization in Operating Systems
Process synchronization in Operating SystemsRitu Ranjan Shrivastwa
 
Memory management
Memory managementMemory management
Memory managementcpjcollege
 
Simplifying The S's: Single Sign-On, SPNEGO and SAML
Simplifying The S's: Single Sign-On, SPNEGO and SAMLSimplifying The S's: Single Sign-On, SPNEGO and SAML
Simplifying The S's: Single Sign-On, SPNEGO and SAMLGabriella Davis
 
DNUG HCL Domino 11 First Look
DNUG HCL Domino 11 First LookDNUG HCL Domino 11 First Look
DNUG HCL Domino 11 First Lookdaniel_nashed
 
directory structure and file system mounting
directory structure and file system mountingdirectory structure and file system mounting
directory structure and file system mountingrajshreemuthiah
 
Dynamic interconnection networks
Dynamic interconnection networksDynamic interconnection networks
Dynamic interconnection networksPrasenjit Dey
 
Computer networks a tanenbaum - 5th edition
Computer networks   a tanenbaum - 5th editionComputer networks   a tanenbaum - 5th edition
Computer networks a tanenbaum - 5th editionJaved Attar
 
SMTP Simple Mail Transfer Protocol
SMTP Simple Mail Transfer ProtocolSMTP Simple Mail Transfer Protocol
SMTP Simple Mail Transfer ProtocolSIDDARAMAIAHMC
 
Operating system memory management
Operating system memory managementOperating system memory management
Operating system memory managementrprajat007
 
SYNCHRONIZATION IN MULTIPROCESSING
SYNCHRONIZATION IN MULTIPROCESSINGSYNCHRONIZATION IN MULTIPROCESSING
SYNCHRONIZATION IN MULTIPROCESSINGAparna Bhadran
 

What's hot (20)

Stream oriented communication
Stream oriented communicationStream oriented communication
Stream oriented communication
 
Clock synchronization in distributed system
Clock synchronization in distributed systemClock synchronization in distributed system
Clock synchronization in distributed system
 
Convex Hull Algorithm Analysis
Convex Hull Algorithm AnalysisConvex Hull Algorithm Analysis
Convex Hull Algorithm Analysis
 
Inter process communication
Inter process communicationInter process communication
Inter process communication
 
Process synchronization in Operating Systems
Process synchronization in Operating SystemsProcess synchronization in Operating Systems
Process synchronization in Operating Systems
 
The CAP Theorem
The CAP Theorem The CAP Theorem
The CAP Theorem
 
Memory management
Memory managementMemory management
Memory management
 
Simplifying The S's: Single Sign-On, SPNEGO and SAML
Simplifying The S's: Single Sign-On, SPNEGO and SAMLSimplifying The S's: Single Sign-On, SPNEGO and SAML
Simplifying The S's: Single Sign-On, SPNEGO and SAML
 
Mutual exclusion and sync
Mutual exclusion and syncMutual exclusion and sync
Mutual exclusion and sync
 
6.distributed shared memory
6.distributed shared memory6.distributed shared memory
6.distributed shared memory
 
DNUG HCL Domino 11 First Look
DNUG HCL Domino 11 First LookDNUG HCL Domino 11 First Look
DNUG HCL Domino 11 First Look
 
directory structure and file system mounting
directory structure and file system mountingdirectory structure and file system mounting
directory structure and file system mounting
 
Dynamic interconnection networks
Dynamic interconnection networksDynamic interconnection networks
Dynamic interconnection networks
 
Chapter 3 - Processes
Chapter 3 - ProcessesChapter 3 - Processes
Chapter 3 - Processes
 
Computer networks a tanenbaum - 5th edition
Computer networks   a tanenbaum - 5th editionComputer networks   a tanenbaum - 5th edition
Computer networks a tanenbaum - 5th edition
 
SMTP Simple Mail Transfer Protocol
SMTP Simple Mail Transfer ProtocolSMTP Simple Mail Transfer Protocol
SMTP Simple Mail Transfer Protocol
 
Mobile computing (Wireless) Medium Access Control (MAC)
Mobile computing (Wireless) Medium Access Control (MAC)Mobile computing (Wireless) Medium Access Control (MAC)
Mobile computing (Wireless) Medium Access Control (MAC)
 
Cache coherence ppt
Cache coherence pptCache coherence ppt
Cache coherence ppt
 
Operating system memory management
Operating system memory managementOperating system memory management
Operating system memory management
 
SYNCHRONIZATION IN MULTIPROCESSING
SYNCHRONIZATION IN MULTIPROCESSINGSYNCHRONIZATION IN MULTIPROCESSING
SYNCHRONIZATION IN MULTIPROCESSING
 

Similar to OMNet IDE Setup and Simple Network Model

Similar to OMNet IDE Setup and Simple Network Model (20)

INET for Starters
INET for StartersINET for Starters
INET for Starters
 
Computer Networks Omnet
Computer Networks OmnetComputer Networks Omnet
Computer Networks Omnet
 
Tutorial 4 adding some details
Tutorial 4   adding some details Tutorial 4   adding some details
Tutorial 4 adding some details
 
Lab 1.pptx
Lab 1.pptxLab 1.pptx
Lab 1.pptx
 
Internet of Things exercise on IBM Bluemix
Internet of Things exercise on IBM BluemixInternet of Things exercise on IBM Bluemix
Internet of Things exercise on IBM Bluemix
 
40 hill
40 hill40 hill
40 hill
 
Introduction to om ne t++
Introduction to om ne t++Introduction to om ne t++
Introduction to om ne t++
 
Getting started with code composer studio v4 for tms320 f2812
Getting started with code composer studio v4 for tms320 f2812Getting started with code composer studio v4 for tms320 f2812
Getting started with code composer studio v4 for tms320 f2812
 
Acceleo Code Generation
Acceleo Code GenerationAcceleo Code Generation
Acceleo Code Generation
 
Ide overview
Ide overviewIde overview
Ide overview
 
Getting started with PlatformIO
Getting started with PlatformIOGetting started with PlatformIO
Getting started with PlatformIO
 
Lab1
Lab1Lab1
Lab1
 
C++Basics2022.pptx
C++Basics2022.pptxC++Basics2022.pptx
C++Basics2022.pptx
 
An Introduction to OMNeT++ 6.0
An Introduction to OMNeT++ 6.0An Introduction to OMNeT++ 6.0
An Introduction to OMNeT++ 6.0
 
Node-RED and Minecraft - CamJam September 2015
Node-RED and Minecraft - CamJam September 2015Node-RED and Minecraft - CamJam September 2015
Node-RED and Minecraft - CamJam September 2015
 
D2 k word_format
D2 k word_formatD2 k word_format
D2 k word_format
 
The power of dots
The power of dotsThe power of dots
The power of dots
 
Introduction-to-C-Part-1.pdf
Introduction-to-C-Part-1.pdfIntroduction-to-C-Part-1.pdf
Introduction-to-C-Part-1.pdf
 
An Introduction to OMNeT++ 5.4
An Introduction to OMNeT++ 5.4An Introduction to OMNeT++ 5.4
An Introduction to OMNeT++ 5.4
 
Node-RED and getting started on the Internet of Things
Node-RED and getting started on the Internet of ThingsNode-RED and getting started on the Internet of Things
Node-RED and getting started on the Internet of Things
 

Recently uploaded

WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsMiki Katsuragi
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostZilliz
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piececharlottematthew16
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clashcharlottematthew16
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 

Recently uploaded (20)

WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 

OMNet IDE Setup and Simple Network Model

  • 2.  Start the OMNet IDE: 1. Lunch “mingwenv.cmd” 2. Type: omnetpp
  • 3.  Then you will be asked to select the workspace path.  Let’s create our own. (e.g.; C:Myworkspace)  Click ‘OK’
  • 4. Overview Workbench What's New Tutorials Migration
  • 5.  An OMNeT++ model consists of modules that communicate with message passing.  Simple modules can be grouped into compound modules and so forth.  The number of hierarchy levels is unlimited.
  • 6. Gate(s) Input gate (receive data from) Output gate (send data from) Connection (link) Modules communicate by exchanging messages. In an actual simulation, messages can represent frames, packets , jobs, etc.
  • 7.  Go to “Project Explorer” (Window-> Show View-> Project Explorer)  Right-Click-> New -> OMNet++ Project  Name it (myproject) -> select empty project -> Finish
  • 8.  Right-Click on “myproject” -> New -> Simple Module  Name it (Node.ned) -> A simple module -> Finish
  • 9.  Double Click on “Node.ned”.  A dual-mode (Design and Source) NED editor is opened.
  • 10.  Double Click on “Node.ned”.  A dual-mode (Design and Source) NED editor is opened.
  • 11.  For now, let our Node with only two gates: input and output gates.  Use keyword “gates” followed by “:” to define gates.  Use keyword “input” for input gates.  Use keyword “output” for output gates.  Don’t forget semi-colons or to save your file.
  • 12.  Go back to “Design” view.  By Right-click on Node module, you can modify the module properties (e.g.; base, icon and polygon).  Let’s change the icon.
  • 13.  Let’s create a network with two nodes (node1 and node2) connected to each other.  Right-Click on “myproject” -> New -> Network  Name it (mynetwork.ned) -> An empty network -> Finish.  Still with NED editor, so it can be done using either Design or Source mode.
  • 14.  One click on module “Node” in ‘Submodules’.  Another click on “mynetwork” to create first node.  Rename it if needed.  Do the same with the other node.
  • 15.  Connect them together by using “Connection”, which can be founded in Palette.  There are three types of channels:  Activate “Connection” by clicking on it.  Connect Node1 with Node2 by clicking Node1 first then Node2. (From node1 to Node2)  Do the same with Node 2.
  • 16.  By opening the Source mode we will find: CTRL+SHIFT+O To import needed packages. CTRL+SHIFT+F To reformat the NED file. CTRL+SPACE When help is needed.
  • 17.  let's test what we have done so far.  Right-click on “mynetwork.ned” Run As -> OMNet++ Simulator.  OK -> OK