MovSim = Multi-model open-source vehicular-traffic Simulator.
Demonstration:
(MovSim v1.0) www.verkehrsdynamik.de/simulation.shtml
(MovSim v1.2) www.movsim.org/app.shtml
(Routing game) www.movsim.org
(Android client) Android App
MovSim is a microscopic traffic simulator with xml-based configuration and csv text output.
Features:
- multi-lane simulator including onramps, offramps, "flow-conserving bottlenecks" and traffic-lights
- multiple models of different model classes (car-following models, coupled-map models and cellular automata)
- Intelligent Driver Model (IDM) Wikipedia
- Enhanced IDM/Adaptive Cruise Control Model [Preprint] (http://arxiv.org/abs/0912.3613)
- Optimal Velocity or Bando Model
- Velocity Difference Model
- Gipps Model [Wikipedia] (http://en.wikipedia.org/wiki/Gipps%27_Model)
- Krauss Model
- Nagel-Schreckenberg Cellular Automaton [Wikipedia] (http://en.wikipedia.org/wiki/Nagel-Schreckenberg_model)
- Kerner-Klenov-Wolf Cellular Automaton
- general lane-changing model MOBIL Paper
- detailed physics-based model for fuel consumption and emissions
- text-file output of detectors, spatiotemporal fields, floating-car data etc.
MovSim has several main components:
- The core contains the main MovSim library and a console application that can run a traffic simulation and produce .csv output for further processing or graphical display.
- The viewer displays an animated traffic simulation.
- The consumption comprises a physics-based fuel consumption model which can also be fed by csv data.
Install the git version control system.
Download this repository:
git clone [email protected]:movsim/movsim.git
or
git clone https://github.com/movsim/movsim.git
Install Java, if you do not already have it. You need at least version 7 of Java (JRE 1.7).
Install [Apache Maven] (http://maven.apache.org/download.html). Maven is the software build and management tool that is used to build MovSim.
MovSim produces output that can be plotted using gnuplot. If you wish to use this output to produce graphs, install gnuplot.
To build MovSim, type mvn install
from the main MovSim directory.
To run the movsim core or viewer see their respective readme files: core and viewer.
MovSim can readily be built and run from within the Eclipse IDE. To use Eclipse:
Install the Eclipse IDE for Java Developers, if you do not already have it.
From with the Eclipse IDE install the m2e(Maven Integration for Eclipse) plugin (from the Help menu in Eclipse select Eclipse Marketplace... and in the resulting enter maven
in the Find box and then install the plugin).
Import the project into Eclipse from the File >> Import menu item. In the resulting Select dialog, choose the General >> Existing Projects into Workspace option. In the resulting dialog select the movsim/core
directory and import. Repeat for the movsim/viewer
directory.
Alternatively, create an eclipse configuration from the commandline by typing mvn eclipse:eclipse
and using the Eclipse Import... dialog for Existing Maven Project
. Attention: this method leads to bug in eclipse. See maven.README.
You can then build and run either the core or viewer Java applications.
We use the source code formatter movsim/codestyle/eclipse_movsim_profile.xml.
There are a number of predefined simulation scenarios defined in the sim directory.
Applet demos on the website www.movsim.org
For commercial use, please contact the copyright holders at [email protected].
MovSim is Copyright (C) 2010, 2011, 2012, 2013 by Arne Kesting, Martin Treiber, Ralph Germ, and Martin Budden.
MovSim is licensed under GPL version 3.