Skip to content
forked from movsim/movsim

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

License

Notifications You must be signed in to change notification settings

popabczhang/movsim

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MovSim


Movsim == Multi-model open-source vehicular-traffic Simulator

Movsim's Homepage: http://www.movsim.org

Current build status for branch Master: Build Status Master

Current build status for branch develop: Build Status Bidirectional

Quick links to this file:

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 submodules/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.
  • The xsd module comprises the xsd schema resources for the xml bindung (JAXB)
  • The common provides general functionality for all submodules.

Installation


Install the git version control system and clone the repository via ssh

git clone git@github.com:movsim/movsim.git

or via https (to prevent firewall problems)

git clone https://github.com/movsim/movsim.git

Java is required at least in version 7 (JRE 1.7).

[Apache Maven] (http://maven.apache.org/download.html) is the software build and management tool for MovSim.

MovSim produces csv/text-based output that can be plotted using gnuplot or other tools.

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 be built and run from within the Eclipse IDE with the m2e(Maven Integration for Eclipse) 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.

You can then build and run either the core or viewer Java applications.

We use the source code formatter movsim/misc/codestyle/eclipse_movsim_profile.xml.

Development


We follow the naming conventions of the Git Flow Model. Please checkout the branch develop to start with the latest source code.

Demos


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

Commercial Use


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

Copyright and License


MovSim is Copyright (C) 2010-2015 by Arne Kesting, Martin Treiber, Ralph Germ, and Martin Budden.

MovSim is licensed under GPL version 3.

References


[1] M. Treiber and A. Kesting. Traffic Flow Dynamics, Data, Models and Simulation. Springer 2013. Link

[2] A. Kesting, M. Treiber, and D. Helbing. General lane-changing model MOBIL for car-following models. Transportation Research Record, 86-94 (2007). Paper

[3] A. Kesting, M. Treiber, and D. Helbing. Enhanced intelligent driver model to access the impact of driving strategies on traffic capacity. Philosophical Transactions of the Royal Society A, 4585-4605 (2010). Preprint

[4] A. Kesting, M. Treiber, and D. Helbing. Agents for Traffic Simulation. Chapter 11 in "Multi-Agent Systems: Simulation and Applications", 325-356 (2009). Preprint

[5] M. Treiber, A. Kesting, and D. Helbing. Delays, inaccuracies and anticipation in microscopic traffic models. Physica A: Statistical Mechanics and its Applications 71-88 (2006). Preprint

[6] M. Treiber, and A. Kesting. An open-source microscopic traffic simulator. IEEE Intelligent Transportation Systems Magazine, 6-13 (2010). Preprint

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 99.5%
  • Other 0.5%