Advanced Search
Search Results
43 total results found
Sending messages to another node
We will start over with our code, for simplicity. We will write a simulation with two blue nodes. Both nodes will change to RED at time 10 and then change the color every now and then randomly. We already know how to do this. Additionally, each node will send...
Add delays to connections
OMNeT++ allows you to easily setup a delay for any connection in Network.NED like this : node1.my_gate <--> {delay=2s;} <--> node2.my_gate; If you re-run your code now, you will observe a different between when the node has sent out a message and when it was...
Add parameters
Setting up parameters for a module in OMNeT++ always consists of three steps: Define the parameter in the module NED file. For example, in Node.ned: simple Node { parameters: int triggerYellow; @display("b=60,10,rect,blue,black,2...
More parameters
Parameters and the way you set them up and use them is one of the most useful features in OMNeT++. You can setup full simulation campaigns with parameter exploration studies that run fully automatically. Here are some further tips and tricks how to use them. ...
Two nodes: Summary
Sending messages from one node to another is simple. You need to define gates in the nodes, connect them and then use send() to send messages around. In our last example, we had quite a lot of messages, bouncing here and there. The biggest difficulty in maste...
Chapter 4: Control and debug
In this last chapter of our tutorial, we will see in more details how the simulation actually works and to control and debug simulations.
The event queue
The event queue is very important in discrete event simulations, as we already discussed shortly in Discrete Event Simulation. Now we are ready to look into it more closely. When you start a simulation, the event queue is showing you the currently scheduled e...
The simulation kernel
The simulation kernel is the heart of OMNeT++ and any other discrete event simulator. It is the one that takes all of your messages, organizes them into the event queue (see last page) and calls them one by one when their time has come. It is very important t...
Control the simulation end
Usually, the simulation will end automatically once there are no more events in the queue. Remember, this is also the reason why we always need at least one message to be scheduled during initialize for at least one node, otherwise the simulator will not start...
The End
This is the end of our tutorial. We hope you understood the basics of discrete event simulations and are able now to create your own nodes and to send messages around. We only scratched on the surface of what OMNeT++ can offer you. We highly recommend to turn...
Organizing Conferences
This is a book with all details about how to organise conferences - in general and in ComNets in particular. Some of the chapters are public, others are internal use only.
Conference sustainability
Let us discuss one pressing problem: how to organise greener conferences. The main points we will discuss are the catering and the travel / hotel stays of the participants. Green catering for scientific events This is not an easy task. You need to cover all ...
Rethinking How We Travel for Academic Events: Striking a Balance
Let's talk about something that’s been on my mind for a long time now: the sustainability of our academic travels. It’s a tricky topic because it mixes economic, social, and environmental factors. I will try to break down these elements and suggest ways we can...
Information and Templates for Students at ComNets
This book is for students doing a project or a thesis with ComNets, University of Bremen, Germany.
Presentations
Student presentations
For presentations with the ComNets department, you are required to follow some formal steps that include the use of the right template, preserving a proper form, and adhering to slide and time limits. In the following, you will find the requirements for your t...
Seminar presentations
1. First round of presentation: First slide with your name and matriculation number, title, and authors of the research paper. The template does not matter. Use whatever you prefer. At most 4 slides, including the first one. One presentation is allocated 5 m...
Templates
Presentation Template
For your presentations we provide you with a template that you are supposed to use. You can open it in PowerPoint, Google Slides, Open Office or the like. Find the template here How to use it You need to edit the master slides and include your name, the date,...