Questions tagged [omnet++]

OMNeT++ is an extensible, modular, component-based C++ simulation library and framework, primarily for building network simulators. "Network" is meant in a broader sense that includes wired and wireless communication networks, on-chip networks and queueing networks.

OMNeT++ is an extensible, modular, component-based C++ simulation library and framework, primarily for building network simulators. "Network" is meant in a broader sense that includes wired and wireless communication networks, on-chip networks and queueing networks.


Useful links

1823 questions
0
votes
1 answer

Display map in veins

I used veins-4a2. Yesterday, when I launched the simulation as usual my map is not displayed correctly (in the gray area). What should I do to correct the map display please? Here attached the map display
Myriam
  • 11
  • 3
0
votes
1 answer

Wave Short Message content

I used veins 4a2 and OMNET++ (4.6). I like to know the content of messages exchanged between vehicles in the veins example. I have consulted waveshortmessage.msg, WaveShortMessage_m.cc and WaveShortMessage_m.h but I have not found messages…
Fariha
  • 417
  • 1
  • 4
  • 12
0
votes
0 answers

Getting error code in omnet++

I'm trying to run OLSR protocol using OMNET++ 4.6.. it's working fine but before end the simulation I get this error Simulation terminated with exit code: -1073741819 Working directory:…
Tariq
  • 93
  • 1
  • 9
0
votes
1 answer

How to implement CCA in OMNet++ 4.5

I am writing code to simulate wireless sensor network MAC protocol using OMNeT++ 4.5. But I don't get idea how to implement CCA (Carrier channel assessment) . Could you please help me with any sample code?
Mahedee
  • 154
  • 7
0
votes
1 answer

OMNET++ wireless communication client-server

It's the first time I'm using OMNET++. I want to start from the very basic stuff to understand how it works. I successuffly created my first simulation with two hosts continuosly exhanging mesagges (from tictoc example). What I would like to do now…
user6204136
0
votes
1 answer

omnet++ delete a module element

I need to delete sensor node if its energy level is less than 0.Every sensor nodes has inout gate.Every sensor node is also connected to the LCN.LCN has inout gate. I wrote this code to delete the module. if(totPower<0){ deleteModule(); …
eakn
  • 171
  • 1
  • 1
  • 14
0
votes
1 answer

how to insert query using mysql c++ connector

I need to insert my simulation result into database.I am using mysql c++ connector in ubuntu and omnet++.The last row is highlighted.What is the problem in here? sql::Driver *driver; sql::Connection…
eakn
  • 171
  • 1
  • 1
  • 14
0
votes
1 answer

End-To-End Delay calculation in omnet++

Dears, To calculate the end to end delay manual, i found can do this by bellow equation EED = current simulation time - creation time of packet .. So can any one advice me exactly what mean here ? i'm using omnet++ 4.6 Thanks in advance
Tariq
  • 93
  • 1
  • 9
0
votes
0 answers

How to build a network-coding based Converge-Cast wireless sensor network in Omnet with INET

Figure 1 I want to build a basic converge-cast wireless network to test the network-coding in Omnet with INET. The basic structure of this network is shown in the Figure 1. There are two sources S1 and S1, two relay nodes C1 and C2, and one…
Thomas.ZHOU
  • 57
  • 1
  • 8
0
votes
0 answers

extracting result txt file to specific folder

I have a simulation and I am assigning 2 processes to different cores.Every simulation extracts an output file at the end of simulation.The thing is that I want to do, at the end of the simulation, result file should be extracted to specific…
eakn
  • 171
  • 1
  • 1
  • 14
0
votes
0 answers

How to build a network-coding based wireless sensor network in Omnet with INET

Figure 1 I want to build a basic x topology wireless network to test the network-coding in Omnet with INET. The basic structure of this network is shown in the Figure 1. There are two sources SA and SB, two destinations DA and DB, and one relay R in…
Thomas.ZHOU
  • 57
  • 1
  • 8
0
votes
0 answers

Omnet++ , veins , the number of neighbors nodes for Car X in specific time

My question: how can I compute/find the number of neighbors nodes for Car X in specific time (targeted nodes in range of car X), from the results or by updating the code ? In Beacon broadcasting, to compute the ratio of successfully received packet…
phdstudent
  • 41
  • 6
0
votes
0 answers

Exchange messages between nodes with a new map and without accidents

I executed the Veins example with the erlangen map and I put node[*0].veinsmobility.accidentCount = 0, I noticed, during simulation, that there was no exchange of messages between nodes which is logical. I have generated my .rou.xml, .poly.xml and…
Fariha
  • 417
  • 1
  • 4
  • 12
0
votes
1 answer

Implementing a new scenario based on Veins example

I am working on the implementation of the following scenario using OMNET++ (4.6), SUMO-0.22.0 and VEINS-4a2 simulators: exchange of messages between cars which are in the same control area where messages represent the quality of the road. So, I…
Fariha
  • 417
  • 1
  • 4
  • 12
0
votes
1 answer

error parallel distribution in omnet++

When I try to make parallel distribution in ubuntu14.04 I got this error: Cannot append hostname to file name results/General-0.elog:no HOST , HOSTNAME or COMPUTERNAME (Windows) environment variable. [General] network = Network parallel-simulation…
eakn
  • 171
  • 1
  • 1
  • 14
1 2 3
99
100