This is a table of sample simulations provided with OMNeT++. They are not meant as faithful or actually useful simulations on their own, but rather, they serve the purpose of demonstrating various features of the simulation framework.
Tictoc Tutorial |
This is a tutorial that contains a series of simulation models numbered 1 through 16. The models are of increasing complexity -- they start from the basics and introduce new OMNeT++ features or simulation techniques in each step. The additions are well commented, so the model sources can help you build up a good working knowledge of OMNeT++ in a short time. Reveal • README • TicToc Tutorial • Run |
NED Demo |
Demonstrates how one can create various topologies using NED: chain, mesh, star, hexagonal grid, full graph, random graph and binary tree. The models themselves don't do anything apart from setting up the necessary model structure. |
Histograms |
Demonstrates the density estimation and histogram classes. The model generates random numbers, and feeds them into various density estimation objects that can be visually inspected during runtime. |
Result Files |
This project contains pre-recorded result files for trying out the Analysis and the Sequence Chart tools in the IDE. |
Fifo |
Demonstrates a single-server queue. The network contains a source, a queue and a sink module. |
CQN |
This simulation example contains a Closed Queueing Network that consists of N tandem queues and a switch in front if each tandem queue. |
QueueingLib |
QueueingLib is an example queueing library for OMNeT++. It contains several building blocks that can be used to build more complex queueing networks. The code is compiled into a shared library that can be used from other projects. See the QueueNet project for example usage. |
QueueNet |
The QueueNet project demonstrates how to use an already existing model library (QueueingLib) from a different project. QueueNet contains no C++ code and uses only the building blocks (simple modules) provided by QueueingLib. |
QueueingLibExt |
This project demonstrates how to use and extend an already existing model library (QueueingLib) from a different project. QueueingLibExt contains some C++ code that extends the behavior of the Sink module from the QueueingLib project. The QueueingLib shared library is linked dynamically to this project's executable. |
Aloha |
Model of the classic Aloha protocol from communication network textbooks. Both pure and slotted Aloha transmission modes are supported. The model also defines a parameter study (a.k.a. simulation campaign) for exploring the channel utilization in the function of number of hosts and packet generation frequency. |
Dyna |
Dyna is a model of a simple client-server network. The network contains several clients and one server interconnected via a switch. It demonstrates message files (.msg), dynamic module creation and many other OMNeT++ facilities. |
Hypercube |
Simulates a communication network with parametric hypercube topology and simplified deflection routing. Each node consists of a traffic source, a sink, and a router module. Demonstrates having module type as parameter, parametric topologies, and more. |
Routing |
Demonstrates static shortest-path routing. Routing tables are set up at the beginning of the simulation using the cTopology class. The model is intentionally kept simple to facilitate understanding. |
Canvas Demo |
This model demonstrates the use of the Canvas API. The Canvas API can be used for enhancing the visualization of simulations. |
OpenSceneGraph Introduction |
This model demonstrates 3D visualization in OMNeT++, based on OpenSceneGraph. (Requires Qtenv) |
OpenSceneGraph Earth Demo |
This sample demonstrates how to render 3rd party mapping data in OMNeT++, using OpenSceneGraph and osgEarth. (Requires Qtenv) |
OpenSceneGraph In-door Demo |
This sample demonstrates how to render 3 dimensional internal spaces (an office) using OpenSceneGraph. (Requires Qtenv) |
OpenSceneGraph Satellites Demo |
This sample demonstrates how to render scenarios in near Earth space (orbiting satellites) using OpenSceneGraph. (Requires Qtenv) |
CQN/ParSim |
This example demonstrates the parallel distributed simulation capabilities of OMNeT++ via the "stock" CQN simulation. Each tandem queue is simulated on a separate processor or processor core (given that there are enough.) To try it, run the provided script from the command line. |
Routing/Parsim |
This example demonstrates the parallel distributed simulation capabilities of OMNeT++. The model itself is the "stock" Routing simulation -- it hasn't been modified or specially instrumented for parallel execution. To try it, run the provided script from the command line. |
Dyna/RealTime |
This demonstrates real-time simulation capability of OMNeT++. The word simply means that the simulation is executed in a way such that simulation time is synchronized to real time: simulating one second in the model will also take one "real" second. |
Sockets/Hw-in-the-Loop |
This is an example how one can implement hardware-in-the-loop simulation with OMNeT++. Hardware-in-the-loop means that some external device is taking part in the simulation. (In other scenarios, the simulation program may emulate a device in a real system.) |
Embedding |
This example shows how to embed the simulation kernel into an application. The example defines the minimal environment required to execute a simulation. The model subdirectory contains all the code and NED files that belong to the simulation we want to execute. Run the executable from the command line to try it. |
Embedding2 |
This example shows how to embed a whole simulation into an application. Here, NED files are compiled into the application, so that the program has fewer external dependencies. Run the executable from the command line to try it. |
D:veinssrcsrcomnetpp-5.4.1idepluginsorg.omnetpp.doc_5.4.1.180629-5e28390contentsamples