VanetMobiSim is an extension for the CANU Mobility Simulation Environment (CanuMobiSim), a flexible framework for user mobility modeling.

CanuMobiSim is JAVA-based and can generate movement traces in different formats, supporting different simulation/emulation tools for mobile networks (NS2, GloMoSim, QualNet, NET). CanuMobiSim originally includes parsers for maps in the Geographical Data Files (GDF) standard and provides implementations of several random mobility models as well as models from physics and vehicular dynamics.

The VanetMobiSim extension focuses on vehicular mobility, and features new realistic automotive motion models at both macroscopic and microscopic levels. At macroscopic level, VanetMobiSim can import maps from the US Census Bureau TIGER/Line? database, or randomly generate them using Voronoi tesselation. Also, it adds support for multi-lane roads, separate directional flows, differntiated speed constraints and traffic signs at intersections. At microscopic level, VanetMobiSim implements new mobility models, providing realistic car-to-car and car-to-infrastructure interaction. According to these models, vehicles regulate their speed depending on nearby cars, overtake each other and act according to traffic signs in presence of intersections.

VanetMobiSim mobility patterns have been validated against TSIS-CORSIM - a well known and validated traffic generator - proving the high level of realism reached by VanetMobiSim.


February 14th 2007: VanetMobiSim 1.1 is now available !!


VanetMobiSim 1.1 binaries (234 kB) [download] (includes portions of CanuMobiSim 2001-2003, © Universität Stuttgart, Germany)
VanetMobiSim 1.1 sources file (1483 kB) [download]
VanetMobiSim 1.1 user manual (182 kB) [download]


VanetMobiSim 1.1
  • A Speed-based Shortest Path Trip generation has been added. Accordingly, we can customize a threshold between high speed street segments and distance to the destination, which may generate a longer but faster path.
  • Street Segments includes a speed limitation attribute. For TIGER files, we generate default values based on the State of California current regulations, or let the user define them in an external file.
  • Decoupling the multi-lane feature from the lane changing feature. When multiple lanes are available, each car chooses one lane and keeps it (if available) for the whole trip.
  • New Randomized Dijikstra shortest path algorithm. The original Dijkstra's algorithm, given a start and an end point, always selects the same path, even in presence of multiple available paths with same weights. For traffic balancing, cars should be able to select different shortest paths.
  • Trace generation starting at a user defined simulation time in order to ignore the transient phase.
  • Traffic generation according to different laws (Poisson, Erland, etc..).
  • Obstacle extraction from VanetMobiSim topologies in order to be parsed by a network simulator and compute radio obstacles.
  • New Incident Extension, which specifies an incident class, its location and its duration, in order to first simulate traffic adaptability and also vehicular network protocols.


VanetMobiSim binaries require the presence of a Java Run Time Environment version 1.5 and higher. If the user downloaded the source files, VanetMobiSim requires the presence of a Java SDK version 1.5 or higer as well as Apache Ant.

We make the user aware that most of the linux and windows systems come with a pre-installed JVM. However, VanetMobiSim will likely not work if the JVM is not the Sun JVM. Check your version with this command:

    java -version

Download the latest Sun JVM and Apache Ant.


VanetMobiSim is ready to run and plateform independant. The user can simply download the VanetMobiSim java binaries. No further processing is required.

In order to comply with the copyright of CanuMobiSim framework, we cannot diffuse the full source code of VanetMobiSim, which includes portions of CanuMobiSim.
However, the copyright allows us to diffuse the source code and extensions brought to CanuMobiSim by VanetMobiSim. Therefore, in order to obtain the full source code of the VanetMobiSim simulator, we let the user patch CanuMobiSim source code with VanetMobiSim source code and finally compile the project.
The procedure is totally automatic and uses the power of Apache Ant.
  • Download the source code of VanetMobiSim and expand it in a base directory of your choice. You should get the following subdirectories and files:


  • Download the source code of CanuMobiSim Expand it in the same directory. You should get a subdirectoy named "src/". At this time, your current directory should contains:


  • Open a terminal and go to your directory. Be sure that you have a working and well configured version of Apache Ant and that the build.xml file is in the base directory you will launch ant.

    "ant patch"

    The program will patch the src/ directory with VanetMobiSim source files.

  • Finally, in order to build the simulator and create the javadocs

    "ant all"

    Warnings generated by javadoc are not important. They are created because we do not distribute the source code of the geotransform java library (It may be found here: GeoTransform)

    The binary .jar file of VanetMobiSim will be place in the jar/ subdirectory.

  • You can now use VanetMobiSim according to the user manual.


  • J. Härri, M. Fiore, F. Fethi, and C. Bonnet, VanetMobiSim: generating realistic mobility patterns for VANETs, in Proc. of the 3rd ACM International Workshop on Vehicular Ad Hoc Networks (VANET'06), September 29, 2006, Los Angeles, USA. [.pdf]
  • M. Fiore, J. Härri, F. Fethi, and C. Bonnet, Vehicular mobility simulation for VANETs, in Proc. of the 40th IEEE Annual Simulation Symposium (ANSS'07), March 25 - March 29, 2007, Norfolk, USA. [.pdf]


Jérôme Härri Marco Fiore Prof.  Fethi Filali Prof.  Christian Bonnet
Institut Eurécom Politecnico Di Torino Institut Eurécom Institut Eurécom
jerome.haerri{at}eurecom.fr marco.fiore{at}polito.it fethi.filali{at}eurecom.fr christian.bonnet{at}eurecom.fr

Useful Links