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
0 answers

Omnet CreateProcess error=2, The system cannot find the file specified

I am new to Omnet++ but it is the tool I want to use for my project on cognitive radio networks. I was following the tutorial on this site Getting Started with OMNet++ to get familiar. I try to compile, but I am getting the error below. Any help is…
0
votes
1 answer

Mixing SystemC modules with Omnet++ modules

I'm interested to mix SystemC modules with Omnet++ modules. According to the Omnet++ manual, this feature is supported. However, I couldn't find any further documentation or examples. Can anyone help me with this procedure? How to enable this…
sefi
  • 101
  • 3
0
votes
1 answer

Omnet++ Send wireless message to limited distance

I develop simulator of mobile nodes, each one with transmission range of 100m for example. The communication between the nodes are wireless and TDMA based. I have notice that if 2 nodes (not in the same range) broadcast message on the same time,…
0
votes
1 answer

Omnet++: Run simulation in inet

I'm trying to run an examples in Inet ( this is wireless tutorial in inet homepage https://omnetpp.org/doc/inet/api-current/tutorials/wireless/step1.html). I have these lines in my NED file: package inet.tutorials.wireless; import…
Khanh Lê
  • 31
  • 4
0
votes
1 answer

How do channels work with inout gates?

First of all I know that inout gates are composed of an input and output gates stuck together. Which leads me to the following questions When a channel is assigned to a connection between two inout gates in NED, do the input and output gate share…
0
votes
0 answers

omnet++ delete one of the module with given index

We have a network topology. There is a base station, 36 LCN and 1500 sensor nodes.Base station makes request in every 5 min from randomly selected lcn (Target lcn) and it selects the random sense value.While simulating, If every lcn is visited I…
ekn
  • 47
  • 9
0
votes
1 answer

Getting a ETA of a packet in Omnet++

I embedded the Omnet++ simulation kernel into my application and I'm using the inet framework for my simulation. The problem I'm having is that I need to estimate at witch time a packet is going to arrive at it's destination. So more specific: There…
phyratokar
  • 161
  • 2
  • 9
0
votes
1 answer

Determining when two vehicles are in contact(Veins, Omnet++)

In Veins/Omnet++ simulation, how can I determine when two vehicles are in range to exchange data? Suppose, I have three vehicles in a simulation (v1, v2, v3). During simulations these vehicles pass each other a few times. Now suppose v1 and v2…
dutu
  • 15
  • 4
0
votes
1 answer

Veins - Unexpected behavior with lost packets in certain vehicles

I'm working with the Veins framework over the OMNeT++ simulator and I'm facing a weird situation where certain few nodes lose all received packets. To put everybody in context, I'm simulating 100 nodes (4 flows of 25 nodes), all under coverage…
Jack
  • 13
  • 3
0
votes
1 answer

How to stop transmission of packets in between In Omnet++

I want to stop transmission of packets in between and want to start transmission again after some time. Also I want to calculate total simulation time ( before stopping, during stopping plus after resuming) how can I do that?
0
votes
1 answer

No nic with thid ID () is registered with this ConnectionManager, return empty GateList

I use Veins-4a2 and I have changed the car.ned and its nicType by specifying string nicType = default("Nic802154_TI_CC2420"); When I run the simulation, I get this window with the following message "Module RSUExampleScenario.node[0].nic.phy: No nic…
Fariha
  • 417
  • 1
  • 4
  • 12
0
votes
1 answer

omnet++ retrieve network topology from code

I'm very new to OMNeT++ and I'm writing my first simulation with it. What I'm trying to do is to retrieve the complete topology of the network at execution time from a node. Basically, I have a router node that needs to know the entire topology…
arandomuser
  • 489
  • 7
  • 20
0
votes
1 answer

Can we read in data from a database like MySQL into Omnet++

I am working on creating a network in Omnet++ consisting of mobile hosts.What I want to know is it possible for one to read in data from MySQL and use for message passing between different hosts. In short, is it possible to connect a Omnet++ project…
0
votes
1 answer

check module destructor in Omnet++ with Veins

I have a VANETs project, I work with veins-2.0-rc2. In class LinearMobility.cc I have this code, void LinearMobility::initialize(int stage) { BaseMobility::initialize(stage); debugEV << "initializing LinearMobility stage " << stage << endl; …
Nacer
  • 1
  • 5
0
votes
1 answer

Omnet++ INET Compound module behaviour

I am new to omnet++ and inet. I want to inherit a compound module like Adhoc Host and then write logic for it. Unfortunately, there is no C++ file with Compound modules. The behaviour I want to write is what should a host do when it reaches which…
1 2 3
99
100