Using OMNetpp Package for R on Windows

Unfortunately the package on the OMNet++ site you download for Windows (currently, is compiled for an older version of R (2.11.1).  In order to get this to load in a newer version of R you will need to recompile the package. Here are some directions in helping you get the omnetpp package for R working on Windows. Tools Needed: OMNet++ R Package Repository: OMNet++ R Package Download: R Compiler Environment for Windows: Installation Directions: Download and install the latest “Rtools” compiler environment for R.  (Update your Windows PATH variables to include the Rtools bin directories and the R bin…
Read more

VANETSim: Updating INET and VEINS progress

I am currently updating INET and VEINS to their current versions in my VANETSim project. INET updated to Commit b32e1dcf3239a44c23a9920fdc2d877f96a01c83 VEINS updated to Commit fb5c0dbef5c6909722c374a247e98b4eaf15a633 As this will be a major change to the master when completed I created a new branch named oldinet. Please be prepared for any development you make off of the master currently to look at changes in oldinet if there is a bug etc. Again this is a working project. It is directly related to my dissertation and research, I do not guarantee this to be working all the time as it is a resource…
Read more

Setting Speed Limit for Roads in SUMO and OMNET++

To make road simulations more accurate you may want to set speed limits for your simulations. In order to set the speed limit for roads you can edit the values in you edge file, in the example below the speed is set to 14m/s which is 50km/h. Example in Edge File

In the routing example below the max speed is set to 70 m/s which is 252 km/hr. Example in Route File


Creating a Simple SUMO Network and Simulation

Creating a Simple SUMO Network A SUMO network file describes the traffic-related part of a map, the roads and intersections the simulated vehicles run along or across. At a coarse scale, a SUMO network is a directed graph. Nodes, usually named “junctions” in SUMO-context, represent intersections, and “edges” roads or streets. Note that edges are unidirectional. Specifically, the SUMO network contains the following information: every street (edge) as a collection of lanes, including the position, shape and speed limit of every lane, traffic light logic referenced by junctions, junctions, including their right of way regulation, connections between lanes at junctions…
Read more