Git Product home page Git Product logo

2019-simulations-dlm's Introduction

Simulation of road traffic scenario

Traffic Simulation for the paper "Bayesian dynamic linear model with adaptive parameter estimation for short-term travel speed prediction" Tai-Yu Ma, and Yoann Pigné.

sumo

We use version 0.26 as it is compatible with the LUST dataset.

Download the archive from sourceforge as the svn Checkout of tag v0_26_0 fails.

Compilation on OSX

export CPPFLAGS="$CPPFLAGS -I/usr/local/include -I/opt/X11/include"
export LDFLAGS="$LDFLAGS -L/usr/local/lib -L/opt/X11/lib"

./configure CXX=clang++ CXXFLAGS="-stdlib=libc++ -std=gnu++11" --with-xerces=/usr/local --with-proj-gdal=/usr/local --with-fox-config=/usr/local/bin/fox-config -with-proj-gdal=/usr/local --with-xerces=/usr/local --prefix=/opt/sumo
make -j8

LUST

We use the Luxembourg SUMO Traffic (LuST) Scenario as a base scenario for mobility scenario.

git clone https://github.com/lcodeca/LuSTScenario.git

Then we artificially bloc road segments in order to simulate unpredicted traffic hazards.

Detectors map

Output data is generated from a set of detectors materialized in this map :

Detectors are configured in the mydetectors.xml file in each scenario folder.

http://sumo.dlr.de/wiki/Simulation/Output/Induction_Loops_Detectors_(E1)

Data are recorded between 7AM (25200s) and 9AM (32400s)

Scenarii

There are two scenarii. One with normal traffic. One where an accident occurs at 7.30AM and blocs the road for 30 minutes.

Output

Finally, results are presented in files :

  • scenarios/results/lust.normal-taffic/lust.normal-traffic.out.xlsx
  • scenarios/results/lust-accident-pt-duchesse/lust.accident-pt-duchesse.out.xlsx

These table contains lane-by-lane speed time series on each detector defined earlier. This data is used as an input for the estimation method.

2019-simulations-dlm's People

Contributors

pigne avatar

Watchers

 avatar James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.