akegermany / movsim

MovSim: multi-model open-source vehicular-traffic simulator

Home Page:www.movsim.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MovSim

MovSim = Multi-model open-source vehicular-traffic Simulator.

http://www.movsim.org

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

Description

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)
  • 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.

Installation

Install the git version control system.

Download this repository:

git clone git@github.com: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.

Usage

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.

Eclipse

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.

Demos

There are a number of predefined simulation scenarios defined in the sim directory.

Applet demos on the website www.movsim.org

Commercial use

For commercial use, please contact the copyright holders at movsim.org@gmail.com.

Copyright

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.

About

MovSim: multi-model open-source vehicular-traffic simulator

www.movsim.org

License:GNU General Public License v3.0


Languages

Language:Java 99.4%Language:Perl 0.3%Language:Shell 0.2%Language:HTML 0.1%