2,180 questions
0
votes
0
answers
36
views
Dynamic generating topology via xml file using omnet++ INET: Channel not initialized error
void NetBuilder::buildNetwork(cModule *parent)
{
const char* xmlPath = par("xmlConfig");
cXMLElement* xmlRoot = getEnvir()->getXMLDocument(xmlPath);
if (xmlRoot == nullptr) {
...
0
votes
1
answer
61
views
Change parameters during runtime using handleParameterChange() in OMNet++
I am a beginner in OMNet++. I need to chnage my mobiliity parameter during runtime. I came across the handleParameterChange() in OMNet++ simulation Manual . I actually want to set the ...
0
votes
1
answer
34
views
OMNeT++ is freezing and becoming unresponsive while running a Veins simulation
I am unable to access anything in OMNeT++ Qtenv when running a Veins simulation. I don't know the exact reason for this, but it started when I first tried to inspect a vehicle's internal communication ...
0
votes
1
answer
50
views
Parameters cannot be changed with Scenario Manager
I am a beginner in OMNet++ and I have created a multi-node network using OMNET++ INET framework. The nodes are instances of WirelessHosts. I am trying chaange their mobility parameters using Scenario ...
0
votes
0
answers
36
views
TraCI server "SUMO 1.21.0" reports API version 21, which is unsupported
I'm trying to simulate a c-v2x scenario in Omnet++ 6.0.3, Veins 5.2, Inet 4.5 and Simu5G. My SUMO version, as in the title, is in 1.21.0.
After building my project and running the Scenario with sumo-...
0
votes
0
answers
27
views
OMNeT++ 6.1 Scavetool Filter not removing config/runattr fields
I am trying to export some OMNeT++ Simulation Results using opp_scavetool from OMNeT++ 6.1. I am only interested in the result type "vector", so I added that to my filter condition. Still, ...
1
vote
1
answer
68
views
How can I add custom information to packets in OMNET++'s INET framework?
I have some information I want to include in the packets, and I hope to achieve this by extending the UDPBasicApp application, sending out the packet, and updating it at every switch node in the ...
0
votes
0
answers
38
views
Omnetpp skipping a huge amount of sim time, making the simulation stops
The event "ProsumerNetExtraLarge.schedulerModule (MosaikSchedulerModule, id=3)", after proceeding right with its time for a long period of the simulation, suddenly skips a huge amount of ...
0
votes
0
answers
12
views
Aligning Network Area in OMNeT++ with SUMO Road Network
I am working on a simulation involving a vehicular 5G network using Simu5G and SUMO in OMNeT++. I have set the network area size to 100x200 using the playgroundX and playgroundY properties, and I have ...
0
votes
0
answers
25
views
Omnet++ cyclical results of measurements
I have a problem with my ping results. They come out cyclically every 3 the same, not really different. I don't know where this problem comes from. (My PingApp with ICMP set up is good). (I have RIP ...
0
votes
0
answers
40
views
NED file located in MyProject/src cannot be seen in MyProject/simulation/package.ned
I have compound module "ExtSwitch" in src folder of my project. When I try to extend this module in NED file (simulation/package.ned) there is error "no such component "ExtSwitch&...
0
votes
0
answers
47
views
How to connect inherited submodule with inherited compound module
I need to modify some functions of Gptp module in TsnSwitch.
For this in NED file I added submodule which extends Gptp
simple ExtendedGptp extends Gptp
{
}
Then I added compound module, inherited ...
0
votes
1
answer
49
views
Omnetpp "no such modele type" error while creating a simple network
I am very new at using Omnetpp. By using the Simulaton Manual of Omnetpp, when I write the code blow to create a simple network, each nodes give "Node: no such module type" error. I know it ...
0
votes
1
answer
41
views
How to implement Traffic Light in a Veins scenario
How can I implement traffic lights in Veins. I tried looking at the veins_testsims example but I don't understand how to allow exchanging messages with vehicles. I would like traffic lights to be able ...
0
votes
0
answers
26
views
create chart for simulation data visualisation
I need advice regarding my simulation. My simulation is about 100 nodes, every node have filesystem that is populated with file storing process from other nodes. Now I want to collect data from ...
0
votes
0
answers
32
views
Is it possible to remove existing submodule?
I need to modify existing submodule of switch, which located in application layer.
I tried to inherit this submodule, but there is error: handleRegisterProtocol(): protocol is already registered.
I ...
0
votes
1
answer
91
views
How can I generate a MakeFile for an OMNeT++ simulation?
I am a new OMNeT++ user (6.0.3) running inet 4.5. I am trying out the first part of the INET Tutorial for setting up two wireless hosts communicating with each other.
I am having an issue with the ...
0
votes
1
answer
67
views
OMNET++ simulation : Class not found perhaps its code was not linked in
I'am having a issue with omnet++ when running my first project and I don't get where the problem is
the error is : <!> Class "BaseStation" not found -- perhaps its code was not linked ...
0
votes
1
answer
40
views
Design not showing proper result in Omnet++ after defining the network in NED file
I followed a tutorial and entered the source code for the NED file but did not get the intended result.
simple Txc10
{
parameters:
@display("i=block/routing");
gates:
...
0
votes
0
answers
34
views
How to create car to car communication by using the D2D Multicast connection in simuLTE.omnet
I am trying to simulate car-to-car communication by using D2D Multicast configuration, to do this I have considered the number of vehicles to be 30 and I want to establish D2D multicast ...
0
votes
1
answer
43
views
Trouble with intallation of OMNET++. After running the mingenv file. I run the make command but I got this error and do not know what it means
clistener.cc
clistener.cc:56:5: warning: 'receiveSignal' is deprecated [-Wdeprecated-declarations]
receiveSignal(c, signalID, checked_int_cast<long>(i,nullptr,msg), d);
^
C:/OM++/omnetpp-...
0
votes
0
answers
53
views
gPTP with TAS: inet::GptpIngressTimeInd is absent
I'm trying to simulate a network with gPTP and Time-Aware-Shaper, where the gPTP Traffic is in a TAS Stream with pcp=7. When running this simulation, I get an error after the first GptpPdleayReq ...
0
votes
1
answer
55
views
OMNet++ 6.03 INET 4.5 how to run INET showcases?
I installed OMNet++ 6.03 and INET 4.5 on Windows 11. While I can simulate INET examples without any issues, I'm having trouble running the showcases.
When I double-click on the omnetpp.ini file, it ...
-1
votes
1
answer
55
views
How do i fix this bug in OMNET++
I wrote a time synchronization project based on OMNET's Time Flood protocol, in which the topology is a very simple triangle, but when compiling it always shows that it can't find the dependency ...
0
votes
0
answers
27
views
Does anybody have any idea how to use MATLAB Engine API directly from Omnet++?
I am trying to run a simulation in Omnet++ which is very easily simulated in MATLAB so now i want to somehow call his from OMNET++ and I read somewhere that it is possible by using Engine API in ...
0
votes
1
answer
44
views
How to retrieve SUMO results from VEINs?
I'm currently working on a project that integrates SUMO with OMNeT++ using Veins. I am running different simulation scenarios by changing the TraCIScenarioManager penetration rate variable in the ...
0
votes
0
answers
23
views
Problems of the AodvRouter due of violation of the communication range and not to establish links with closer nodes being in the communication range
In the following NED file:
import inet.networklayer.configurator.ipv4.Ipv4NetworkConfigurator;
import inet.node.aodv.AodvRouter;
import inet.physicallayer.wireless.unitdisk.UnitDiskRadioMedium;
import ...
0
votes
0
answers
34
views
how to simulate syn flood sing INET
I am trying to simulate a SYN flood attack, but I am not sure how to achieve this. I have attempted to use TcpSessionApp and TcpSinkApp, but the targeted host is sending back SYN-ACK responses, which ...
0
votes
0
answers
65
views
how to record pcap file in omnet ++
i recorded the pcap file but it was empty, here is code ini file :
*.hostB.numPcapRecorders = 1
*.hostB.pcapRecorder[0].typename = "PcapRecorder"
*.hostB.pcapRecorder[0].pcapFile = "...
0
votes
0
answers
61
views
How to deploy ml model into omnet ++
i trained a deep learning model with tensorflow and keras for classification problems (ddos attack),
now i want to deploy this model to omnet ++ . I tried with docker but didnt work well for windows ,...
0
votes
1
answer
58
views
how to send udp packet to specified host in omnet ++ with inet
my problem is host A is broadcast the udp packet to all hosts within the network , what i need is just to send it to the specified destination address host B. i used udpbasic app and udp sink.
please ...
1
vote
1
answer
87
views
Omnet++ Simple Wireless Host (antenna.mobilityModule error)
I am new to OMNET++ and I have the following problem:
I am trying to create a network with 3 nodes that communicate wirelessly.
My project contains these files -> Network.ned, CustNetworkNode.ned, ...
0
votes
1
answer
35
views
Some problems about inet and osg when using omnet++
I'm trying to simulate nesting network at omnet++.
After i import the nesting project and inet into the omnet++, i build the project and i encounter some problems like below:
/usr/bin/ld: ../../inet/...
0
votes
1
answer
38
views
Simulation does not run correctly, the green window showing the simulation taking place does not appear
I'm new here and if someone could explain it to me or someone who has been through the same situation.
When I run a simulation, it compiles without any error, but it doesn't show that green window ...
0
votes
0
answers
28
views
how do I resolve the check and cast error on omnetpp
When I run the leach project I downloaded from github, I get check_and_cast errorenter image description here.Can someone help me see what went wrong,Thank you!
leach.cc
ICcEnergyStorage *...
0
votes
0
answers
28
views
OMNeT++, MEC issue: Cannot resolve address -- in module (VirtualisationInfrastructureManager)
I met an error and wish to find solution. Thank you.
I am running the simulation based on the MEC simulation example in Simu5g. I added a cellular interface in the udp module in MecHost to move it ...
0
votes
0
answers
36
views
Omnet timestamp different from server timestamp in MoSTScenario
i have a problem while using veins (v5.2) with the veinsInet plugin, omnetpp(v6.0.1) and sumo (v1.8).
I am trying to run the MoSTScenario (https://github.com/lcodeca/MoSTScenario). After a few seconds ...
0
votes
0
answers
29
views
Expression interfaceTable->findInterfaceByName(p.c_str()) returned nullptr at inet/linklayer/ieee8021as/Gptp.cc:83
I have an error : Expression interfaceTable->findInterfaceByName(p.c_str()) returned nullptr at inet/linklayer/ieee8021as/Gptp.cc:83 -- in module (inet::Gptp) Network.tsnSwitch1.gptp (id=133)
I ...
0
votes
0
answers
42
views
How can I set vector module parameter in ini file in OMNeT++
I would like to set the vector module parameters in ini file and I found I can not set in strings.
For example, this is the section of ned(ps. I defined a new mechost to move it dynamically):
mmecHost[...
0
votes
0
answers
91
views
How make veins simulator and carla 9.0.15 interact using sumo as connection point
What I'd like to achieve is something similar to this post related to artery simulator: https://github.com/riebl/artery/issues/116
I'm using omnetpp 5.7, sumo 1.9.2, carla 9.0.15 and veins directly ...
0
votes
0
answers
32
views
Veins 5.2 not works using sumo-gui command instead of veins_launchd scrippt: Answered with error to command 0x03: Wrong position in requestMessage
I'm working with veins. I have to use multiple connection on sumo, so I changed the scenario.ned file in order to use TraCiScenarioManager instead of TraCiScenarioManagerLaunchd, like this:
manager: ...
0
votes
0
answers
29
views
Trying to create networks with 100 nodes, variable no.of gateways using omnet FLoRa. How can I configure and automate it, to run all configurations?
I have multiple configuration files, which are to be automated in the sequence and the results to be recorded in individual .sca and .vec files. I am interested in analyzing the results for the ...
0
votes
0
answers
53
views
declared package "inet.node.tsn" doesn't match expected package
I try to build TSN model using inet.node.tsn package, but there is constant error.
I tried another packages like inet.examples.ieee8021as, but there is the same result.
I also checked another threads ...
0
votes
0
answers
28
views
How open multi client connection on Sumo using veins_launchd script
I'm working on veins and Sumo and I'd like to know how to modify the veins_launchd script in order to launch a sumo istance with the parameter --num-cliens 2.
I'm referring to this: How to give sumo ...
0
votes
0
answers
30
views
Implementation of trust model for Rsu to Rsu communication in VANETs in OMNET5
I am trying to implement a trust model for RSU to RSU communication in OMNET. I have added a certain number of RSUs to the network. Where exactly should the trust model be implemented? Also, how can I ...
0
votes
0
answers
14
views
RSU example scenario results analysis
I'm new here and hoping I could get help with my research.
I have adjusted the RSU example scenario to fit my scenario. Still, after analyzing the data from the statistic filter, I found so many ...
0
votes
0
answers
50
views
How to add multicast route in UE?
I'm considering implementing D2D multicast routing emulation between UEs (NRCars) based on the example found at http://simu5g.org/emulation_openness.html.
However, when HostA sends a packet, it's ...
-1
votes
1
answer
52
views
Want to run a simulation on Omnet++ 6.0 for openDSME
I'm trying building the omnet++ 6.0 in order to run simulaiton for my research work for openDSME, but keeps getting the build error wwhich is kind of "use of deleted function" and so on. I ...
0
votes
0
answers
24
views
Bicycle module in veins 5.2
From the Veins documentation: Link
I see that there are other modules other than Car, such as bike, bicycle, train...
In veins, however, I cannot find these other modules.
In fact, in the directory /...
0
votes
1
answer
111
views
How to build veins inet project in omnet
when I m trying to build an omnetpp project including Inet-4.2.2 Simu5G-1.1.0 and veins-5.1 this error occurs while building :
Creating shared library: ../out/clang-release/src/libveins_inet.dll
../...