I tried this for a long time and gave up after some time since it is not possible to go beyond a point in OMNET++ and there is no documentation available.
I recommend you to begin with understanding OMNET++ itself by following the tictoc tutorial. You can find it (and other introductory material as well) here: https://omnetpp.org/documentation
Then, depending on what you want to simulate in Veins, you need to investigate the corresponding part by checking the source code (and maybe the corresponding publication). You can check the example folder and its corresponding application layer modules TraCIDemo11p and TraCIDemoRSU11p to see how Veins works in general.
I assume also you are aware by the FAQ of Veins http://veins.car2x.org/documentation/faq/ and the answer provided for "Where do I start?" question.
I will suggest you to go with a combination of NS3 - SUMO or VSimRTI - JIST/SWANS - SIMO combination. Omnet++ is having some limitations with respect to this aspect. For linking the any of these traffic or network simulators nowadays people go for TraCI (Traffic Control Interface).
TraCI uses a TCP based client/server architecture to provide access to SUMO. Thereby, SUMO acts as server that is started with additional command-line options: --remote-port where is the port SUMO will listen on for incoming connections.
When started with the --remote-port option, SUMO only prepares the simulation and waits for an external application, that takes over the control. Please note, that the --end option is ignored when SUMO runs as a TraCI server, SUMO runs until the client demands a simulation end.
When using SUMO-GUI as a server, the simulation must either be started by using the play button or by setting the option --start before TraCI commands will be processed.
Try to become familiar with TraCI and then all your confusion for interconnecting this simulators will get over.
More about TraCI you can see in the below link or there are many help documents available.
Yes me too. Veins is impossible to figure out and there is zero support.
After many months of experimentation i figured that NetSim (http://www.tetcos.com) has the best interfacing with SUMO for VANET simulation.
You can create any road / traffic network in SUMO and import that into NetSim direct via the GUI. Then you can configure all the networking aspects using NetSim, and then run the simulation. This would run SUMO and NetSim simultaneously and you can play / pause etc.
There is also a facility in NetSim to write you own code and debug, and I am figuring out how to do this in conjunction with SUMO.
I would recommend using Veins and the steps to follow are very well pointed out above by Karim Emara: start with the OMNeT++ Tic Toc tutorial (https://omnetpp.org/doc/omnetpp/tictoc-tutorial/) and follow the Veins tutorial (http://veins.car2x.org/tutorial/) that will also help you installing the necessary software and tools. Most of the questions that you will have are most likely already answered in Veins FAQ (http://veins.car2x.org/documentation/faq/) or on Stackoverflow (http://stackoverflow.com/questions/tagged/veins).
I want to use Sumo+Veins+Omnet for VANET and Cognitive Radio Simulation. I am stuck with installation of Sumo, any leads will be appreciated. I am using Windows OS.
I am strongly recommending to move to Linux OS. Veins is not working on Windows. Also, installation problems of SUMO and OMNeT++ on Windows can be avoided. Check the links above for a complete tutorial on how to install everything on Linux.
please how can i simulate ieee 802.11bd in VANET, i have simulated ieee 802.11bd using ns3, and sumo. but i cant do same with 802.11bd. please which of the simulator can simulate 11bd perfomance
SUMO is easy to understand and use but we had a lot of difficulty in setting up and understanding NS3. We then decided to use NetSim + SUMO for VANET simulations