I found a weird question about simulation running time about omnetpp and sumo.
If I run sumo alone, it will end after 999s
However, when I run sumo with omnetpp, the simulation will ends after 999s in omnetpp, 452s in sumo.
I'm curious why these two simulations have different running time in sumo. Does anyone have ideas?
Related
I am using the M1 Macbook Pro. I have noticed this problem while using jupyter and multiprocessing library together. Not sure the problem is specific to this combination, but that combination is where I experienced it multiple times. Every time I interrupt a kernel while multiprocessing.Pool.map is running my computer freezes, then crashes, and restarts.
Does anyone know why this happens or if there is a fix?
I am using the virtual machine instant-veins-4-7-1-i1.ova on VirtualBox.
I have created a sumo scenario with 2 vehicles (my_nodes.nod.xml, my_edge.edg.xml, my_type.type.xml, my_net.net.xml, my_net.rou.xml, my_config_file.sumocfg ).
Launching the sumo-gui command from the terminal and selecting my_config_file.sumocfg file, I can run the scenario simulation.
I have followed the Tictoc tutorial on Omnet++ site and if I run it on Omnet++ IDE, it will work fine.
In the Omnet++ IDE, I am able to run correctly the Veins Erlangen example.
Now, I would like to integrate my sumo scenario and the Tictoc network to realize a simulation similar to the Veins Erlangen example.
Which are the steps that I should follow?
Thanks.
A straightforward answer would be to modify the Veins 4.7.1 tutorial simulation's network by adding a Tic node and a Toc node. I am guessing, though, that this is not what you had in mind. You probably want to change the Veins tutorial simulation to use your my_config_file.sumocfg instead of its own erlangen.sumo.cfg file.
The file that is configured as the road traffic simulation in omnetpp.ini is called erlangen.launchd.xml. By changing this file (or configuring the simulation to use another one) you can change which SUMO scenario is simulated when you run the Veins example.
I have to create two vehicle to communicate as my first step. I have install veins_inet but how to communicate them in OMNeT++ and then represent them in SUMO.
I'am a beginner in omnetpp .
i have to create a vehicle in omnet using inet then to connect it via veins to sumo how could i start my project.
Veins 4.7.1 comes with a subproject called veins_inet, which you can use to create an INET simulation that uses Veins for node mobility (which, in turn, uses SUMO to simulate vehicle movement). Simply import the subprojects/veins_inet directory as a project into the OMNeT++ IDE, then create an INET simulation that configures both veins_inet and veins as project references.
You can also download Instant Veins 4.7.1, a virtual machine image that has all of this set up already. This should give you a running simulation in two minutes.
I want to run omnet which its IDE is based on Eclipse with different workspaces on different cores of cpu. I have found a similar question but in OSX here.
Is there a way to do it in windows?
I could do it before, omnet just asked me for which workspace I want to use then loaded that workspace. But for some reason it stopped doing it and says The process cannot access the file because it is being used by another process