harryprince / GeoSparkSim

Scalable Microscopic Traffic Simulation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GeoSparkSim is a scalable microscopic traffic simulator, which extends Apache Spark to generate large-scale road network traffic data and help data scientists to simulate, analyze and visualize large-scale traffic data. GeoSparkSim converts road networks into Spark graphs, simulates vehicles to Vehicle Resilient Distributed Datasets (VehicleRDDs) and provides a simulation-aware vehicle partitioning method to parallelize simulation steps, balance workload and handle the dynamic spatial distribution.

It is mainly developed by the contributors from Data Systems Lab

Installation

  • Download GeoSparkSim repository or run command

    git clone https://github.com/zishanfu/GeoSparkSim.git

  • Run cd GeoSparkSim

  • Run mvn clean install under GeoSparkSim folder

Get Start

  • Run command java -cp target/GeoSparkSim-1.0-SNAPSHOT-jar-with-dependencies.jar com.zishanfu.geosparksim.GeoSparkSim -h

  • Run GeoSparkSim with -o to show the user interface

  • Run GeoSparkSim in standalone mode
  ./spark-folder/bin/spark-submit
  --class com.zishanfu.geosparksim.GeoSparkSim
  target/GeoSparkSim-1.0-SNAPSHOT-jar-with-dependencies.jar
  • Run GeoSparkSim in distributed mode
  ./spark-folder/bin/spark-submit
  --master <master-url>
  --class com.zishanfu.geosparksim.GeoSparkSim
  target/GeoSparkSim-1.0-SNAPSHOT-jar-with-dependencies.jar

References

Questions

Please contact ZishanFu@asu.edu

About

Scalable Microscopic Traffic Simulation


Languages

Language:Java 73.6%Language:Scala 26.4%