Technische Universität München 1 Traffic Simulation with Queues 09.2008 Ferienakademie, Sarntal Neven Popov.

Slides:



Advertisements
Similar presentations
Traffic Simulation & Optimization Hsuan Lee.
Advertisements

Enhanced matrix multiplication algorithm for FPGA Tamás Herendi, S. Roland Major UDT2012.
Yu Stephanie Sun 1, Lei Xie 1, Qi Alfred Chen 2, Sanglu Lu 1, Daoxu Chen 1 1 State Key Laboratory for Novel Software Technology, Nanjing University, China.
Introduction to VISSIM
CITS4403 Computational Modelling Agent Based Models.
GEOG 111 & 211A Transportation Planning Traffic Assignment.
TRANSPORT MODELLING Lecture 4 TRANSPORT MODELLING Lecture 4 26-Sep-08 Transport Modelling Microsimulation Software.
Computational Modelling of Road Traffic SS Computational Project by David Clarke Supervisor Mauro Ferreira - Merging Two Roads into One As economies grow.
CSS595 SUMMER 2014 ZACH MA ADVISOR: MUNEHIRO FUKUDA Multi-Agent Transportation Simulation Using MASS MATMASSim.
TRIP ASSIGNMENT.
A Simple, Efficient Method for Realistic Animation of Clouds
Cmpt-225 Simulation. Application: Simulation Simulation  A technique for modeling the behavior of both natural and human-made systems  Goal Generate.
Jennifer Rexford Princeton University MW 11:00am-12:20pm Wide-Area Traffic Management COS 597E: Software Defined Networking.
FOCUS MODEL OVERVIEW CLASS FIVE Denver Regional Council of Governments July27, 2011.
Tomo-gravity Yin ZhangMatthew Roughan Nick DuffieldAlbert Greenberg “A Northern NJ Research Lab” ACM.
JUTS JSim Urban Traffic Simulator 1 J-Sim Urban Traffic Simulator J-Sim based, XML using grafical and console simulation tool. David Hartman ZČU-FAV-KIV.
Traffic Theory Jo, Hang-Hyun (KAIST) April 9, 2003.
Performance Evaluation of Vehicular DTN Routing under Realistic Mobility Models Pei’en LUO.
Nino Boccara Highway Car Traffic as a Complex System The Physicist’s Point of view.
©2009 Proprietary and Confidential DTA in practice: Modeling dynamic networks in the real world Michael Mahut, Ph.D. INRO Montreal, Canada.
Mediamatics / Knowledge based systems Dynamic vehicle routing using Ant Based Control Ronald Kroon Leon Rothkrantz Delft University of Technology October.
An Agent-Based Cellular Automaton Cruising-For-Parking Simulation A. Horni, L. Montini, R. A. Waraich, K. W. Axhausen IVT ETH Zürich July 2012.
A Traffic Simulation Model Allowing For Wide-ranged Vehicle Communication (being altered/worked on) Timmy Galvin (Third Quarter)
ParCFD Parallel computation of pollutant dispersion in industrial sites Julien Montagnier Marc Buffat David Guibert.
Challenges of Large-scale Vehicular & Mobile Ad hoc Network Simulation Thomas D. Hewer, Maziar Nekovee, Radhika S. Saksena and Peter V. Coveney
A study of Intelligent Adaptive beaconing approaches on VANET Proposal Presentation Chayanin Thaina Advisor : Dr.Kultida Rojviboonchai.
S. Erdogan 1, K. Patnam 2, X. Zhou 3, F.D. Ducca 4, S. Mahapatra 5, Z. Deng 6, J. Liu 7 1, 4, 6 University of Maryland, National Center for Smart Growth.
Growth Codes: Maximizing Sensor Network Data Persistence abhinav Kamra, Vishal Misra, Jon Feldman, Dan Rubenstein Columbia University, Google Inc. (SIGSOMM’06)
MATRIX ADJUSTMENT MACRO (DEMADJ.MAC AND DEMADJT.MAC) APPLICATIONS: SEATTLE EXPERIENCE Murli K. Adury Youssef Dehghani Sujay Davuluri Parsons Brinckerhoff.
DLR-Institute of Transport Research Testing and benchmarking of microscopic traffic flow simulation models Elmar Brockfeld, Peter Wagner
1. Variety of modes (types) of transport (public and private) 2. Density of transport networks more nodes and.
ZACH MA WINTER 2015 A Parallelized Multi-Agent Transportation Simulation Using MASS MATMASSim.
CS 521 Computational Science1 Street Traffic Simulation Charles Erwin.
A Stochastic Model of Platoon Formation in Traffic Flow USC/Information Sciences Institute K. Lerman and A. Galstyan USC M. Mataric and D. Goldberg TASK.
Detecting Equality of Variables in Programs Bowen Alpern, Mark N. Wegman, F. Kenneth Zadeck Presented by: Abdulrahman Mahmoud.
4th International Conference on High Performance Scientific Computing 4th International Conference on High Performance Scientific Computing A Framework.
1 Real-Time Parking Information on Parking-Related Travel Cost TRIP Internship Presentation 2014 Kory Harb July 24, 2014 Advisor: Dr. Yafeng Yin Coordinator:
Methodological Considerations for Integrating Dynamic Traffic Assignment with Activity-Based Models Ramachandran Balakrishna Daniel Morgan Srinivasan Sundaram.
Behavior Control of Virtual Vehicle
Cellular Automata Introduction  Cellular Automata originally devised in the late 1940s by Stan Ulam (a mathematician) and John von Neumann.  Originally.
Modeling Drivers’ Route Choice Behavior, and Traffic Estimation and Prediction Byungkyu Brian Park, Ph.D. Center for Transportation Studies University.
By: Sahar M. 8 Grade Girls.  Motion is the action or process of moving or changing place or position.  Acceleration is the change in velocity divided.
Hcm 2010: BASIC CONCEPTS praveen edara, ph.d., p.e., PTOE
Network Connectivity of VANETs in Urban Areas Wantanee Viriyasitavat, Ozan K. Tonguz, Fan Bai IEEE communications society conference on sensor, mesh and.
Data Structures and Algorithms in Parallel Computing Lecture 3.
Chapter 14 : Modeling Mobility Andreas Berl. 2 Motivation  Wireless network simulations often involve movements of entities  Examples  Users are roaming.
Ephemeral Network Broker to Facilitate Future Mobility Business Models/Transactions A collaboration between Ford University Research Program and University.
Traffic Light Simulation Lynn Jepsen. Introduction and Background Try and find the most efficient way to move cars through an intersection at different.
Timmy Galvin Computer Systems Lab. Traffic simulation Communication Traffic Jams What causes a jam?
Why use landscape models?  Models allow us to generate and test hypotheses on systems Collect data, construct model based on assumptions, observe behavior.
Generated Trips and their Implications for Transport Modelling using EMME/2 Marwan AL-Azzawi Senior Transport Planner PDC Consultants, UK Also at Napier.
Urban Traffic Simulated From A Dual Perspective Hu Mao-Bin University of Science and Technology of China Hefei, P.R. China
School of Systems, Engineering, University of Reading rkala.99k.org April, 2013 Motion Planning for Multiple Autonomous Vehicles Rahul Kala Congestion.
VANET:On mobility Scenarios and Urban Infrastructure. & Realistic Simulation of Network Protocols in VANET Scenarios Advisor: Kai-Wei Ke Speaker: Chia-Ho.
Evolution of Cooperation in Mobile Ad Hoc Networks Jeff Hudack (working with some Italian guy)
Vehicular Mobility Modeling for Flow Models Yaniv Zilberfeld Shai Malul Students: Date: May 7 th, 2012 VANET Course: Algorithms in.
Verein Konstantin Melnik Svetlana
Traffic Models Alaa Hleihel Daniel Mishne /32.
METRO Dynamic Traffic Assignment in Action COST Presentation ODOT Region 4 April 1,
Network Analyst. Network A network is a system of linear features that has the appropriate attributes for the flow of objects. A network is typically.
International Interdisciplinary Seminar
Cellular IP: A New Approach to Internet Host Mobility
CSS434 Presentation Guide
Modeling of Traffic Patterns on Highways
Parallel Computers.
Finding Fastest Paths on A Road Network with Speed Patterns
Multi-modal Bi-criterion Highway Assignment for Toll Roads Jian Zhang Andres Rabinowicz Jonathan Brandon Caliper Corporation /9/2018.
Traffic Light Simulation
Erasmus Intensive Program
A section-based queueing-theoretical traffic model for congestion and travel time analysis in networks Sandro Huber
Presentation transcript:

Technische Universität München 1 Traffic Simulation with Queues Ferienakademie, Sarntal Neven Popov

2Technische Universität MünchenOutline Motivation Motivation Introduction Introduction Traffic simulation Traffic simulation Two models Two models Nagel-Schreckenberg model Nagel-Schreckenberg model Cellular automaton Cellular automaton Essential steps Essential steps Disadvategous Disadvategous Queue model Queue model Queue data structure Queue data structure Model of Simao and Powell Model of Simao and Powell Gawron’s model Gawron’s model Extensions Extensions Parallel computing Parallel computing Results Results Comparison between the two models Comparison between the two models

3Technische Universität MünchenMotivation How to avoid traffic jams? How to avoid traffic jams? Cities with light traffic? Cities with light traffic? In the USA with the name “Transims” for parallel computing In the USA with the name “Transims” for parallel computing Basis for the OSLIM-Traffic predictions in Nordrhein- Westfalen Basis for the OSLIM-Traffic predictions in Nordrhein- Westfalen

4Technische Universität MünchenOutline Motivation Motivation Introduction Introduction Traffic simulation Traffic simulation Two models Two models Nagel-Schreckenberg model Nagel-Schreckenberg model Cellular automaton Cellular automaton Essential steps Essential steps Disadvategous Disadvategous Queue model Queue model Queue data structure Queue data structure Model of Simao and Powell Model of Simao and Powell Gawron’s model Gawron’s model Extensions Extensions Parallel computing Parallel computing Results Results Comparison between the two models Comparison between the two models

5Technische Universität München Introduction – Traffic Simulation Microscopic model – through description of the decisions of the single cars Microscopic model – through description of the decisions of the single cars Decisions and conditions of the system Decisions and conditions of the system Source:

6Technische Universität München Introduction – Two models Nagel-Schreckenberg model Nagel-Schreckenberg model Interactions between the vehicles Interactions between the vehicles Four essential steps Four essential steps Queue model Queue model No interactions between the vehicles No interactions between the vehicles Faster movement of the vehicles Faster movement of the vehicles

7Technische Universität MünchenOutline Motivation Motivation Introduction Introduction Traffic simulation Traffic simulation Two models Two models Nagel-Schreckenberg model Nagel-Schreckenberg model Cellular automaton Cellular automaton Essential steps Essential steps Disadvategous Disadvategous Queue model Queue model Queue data structure Queue data structure Model of Simao and Powell Model of Simao and Powell Gawron’s model Gawron’s model Extensions Extensions Parallel computing Parallel computing Results Results Comparison between the two models Comparison between the two models

8Technische Universität München Cellular automaton Cellular automaton Cellular automaton Neighborhood conditions Neighborhood conditions The condition depends on the previous time step The condition depends on the previous time step Von-Neumann Neighborhood Moore Neighborhood Source:

9Technische Universität München Cellular automaton Game of Life Game of Life Source:

10Technische Universität München Nagel-Schreckenberg Model - Four Essential Steps Four important steps Four important steps 1) Acceleration 1) Acceleration (if v n, < v max set v n = v n + 1) (if v n, < v max set v n = v n + 1) 2) Slowing down 2) Slowing down (if sites to n+1-th vehicle (j) <= v n so set (if sites to n+1-th vehicle (j) <= v n so set v n = j-1) v n = j-1) 3) Randomization 3) Randomization (if v n > 0 so set v n = v n – 1 with probability p) (if v n > 0 so set v n = v n – 1 with probability p) 4) Car motion 4) Car motion (move the cars with v n cells forward) (move the cars with v n cells forward) Configuration at time step t Configuration at time step t Acceleration with v max = 2 Acceleration with v max = 2 Slowing down Slowing down Randomization with probability p Randomization with probability p Car motion (time step t+1) Car motion (time step t+1) Source:

11Technische Universität München Reason for applying Queue model Cellular automata too complex Cellular automata too complex Too many cells to represent Too many cells to represent The behavior of the driver too complex The behavior of the driver too complex That’s why : Transition to Queue model Transition to Queue model Simplifying the Cellular automation Simplifying the Cellular automation More realistic by building of traffic jams More realistic by building of traffic jams

12Technische Universität MünchenOutline Motivation Motivation Introduction Introduction Traffic simulation Traffic simulation Two models Two models Nagel-Schreckenberg model Nagel-Schreckenberg model Cellular automaton Cellular automaton Essential steps Essential steps Disadvategous Disadvategous Queue model Queue model Queue data structure Queue data structure Model of Simao and Powell Model of Simao and Powell Gawron’s model Gawron’s model Extensions Extensions Parallel computing Parallel computing Results Results Comparison between the two models Comparison between the two models

13Technische Universität MünchenQueue Important data structure Important data structure Access only to the border elements Access only to the border elements Example FIFO-Queue (First In, First Out) Source:

14Technische Universität München Queue model Model of Simao and Powell Model of Simao and Powell Traffic network Traffic network Nodes (Places) Nodes (Places) Edges (Streets) Edges (Streets) Edges Edges In sub edges In sub edges FIFO-Queues FIFO-Queues Leaving depends on the capacity Leaving depends on the capacity

15Technische Universität München Gawron’s Model Generating the traffic network Generating the traffic network O-D Matrices O-D Matrices Describe basic movement patterns during a certain period of time (e.g. 24 hours) Describe basic movement patterns during a certain period of time (e.g. 24 hours) N Vehicles leave origin o in order to get to the destination d during time t N Vehicles leave origin o in order to get to the destination d during time t Origin node -> Destination node = #Vehicles Iteration for computation of the fastest route Iteration for computation of the fastest route OriginDestination#Vehicles

16Technische Universität München Gawron’s Model Computation of the departure time Computation of the departure time Through laminar traffic Through laminar traffic Through a preferred speed Through a preferred speed Edges have limited space Edges have limited space Leaving only if there is a next free edge Leaving only if there is a next free edge Building of traffic jams Building of traffic jams

17Technische Universität München Dependency between Velocity and Density Laminar Traffic Laminar Traffic Capacity dominating Capacity dominating Congestion area Congestion area Source:

18Technische Universität MünchenExtensions However, However, O-D Matrices not realistic enough O-D Matrices not realistic enough O-D Matrices not flexible O-D Matrices not flexible It can be achieved even more efficiency It can be achieved even more efficiency Applying of: Applying of: Agents Agents Event-Driven Queue Based Simulations Event-Driven Queue Based Simulations

19Technische Universität München Modelling of Agents Replaces O-D Matrixes Replaces O-D Matrixes Activities of the single person Activities of the single person Building of activities through iterations Building of activities through iterations Plan 1 - Home till 9 am - Drive to work (car) - Work 8h, begin approx 9.30 am -Drive to sports (car) - Sports 19 pm to 22 pm (optional) - Drive home (car) Plan 2 - Home till 8 am - Drive to work (pt) - Work 8h, begin approx 8.30 am -Drive to sports (pt) - Sports 18 pm to 21 pm (optional) - Drive home (pt)

20Technische Universität München Event-Driven Queue Based Simulations Substitution of the constant time-step through direct treatment of actions Substitution of the constant time-step through direct treatment of actions Most computational time where traffic flow is maximal Most computational time where traffic flow is maximal Results : Results : Simulation performance is being boosted Simulation performance is being boosted Advantageous for the parallel computing Advantageous for the parallel computing Fast simulation of huge traffic networks Fast simulation of huge traffic networks

21Technische Universität München Elements of the Event-Driven Queue Based Simulations Activity plan Agent Road segment Clock Set timer Wake up Entry/arrival time Register

22Technische Universität München Results from the Event-Driven Queue Based Simulations Independent from the size of the traffic network Independent from the size of the traffic network Boosting up with factor of ten in comparison to simple Queue model Boosting up with factor of ten in comparison to simple Queue model There is no case where the other models are faster There is no case where the other models are faster

23Technische Universität München Parallel computing Partitioning of the network Partitioning of the network Every partition to a different processor Every partition to a different processor Source: D. Charypar und K.W. Axhausen und K. Nagel, An event-driven parallel queue-based microsimulation for large scale traffic scenarios, VSP Working Paper, (2007)

24Technische Universität MünchenResults Test cases : Berlin and Brandenburg Test cases : Berlin and Brandenburg 11,6k nodes and 27,7k edges 11,6k nodes and 27,7k edges 7,05M simulated persons for 24 hours 7,05M simulated persons for 24 hours 249M used edges for 24 hours 249M used edges for 24 hours Used computer system Used computer system Shared memory parallel computer with 256GB RAM Shared memory parallel computer with 256GB RAM 64 dual-core Intel Itanium 2 processors with 1,65 GHz 64 dual-core Intel Itanium 2 processors with 1,65 GHz Results Results Boosting up with factor of 53 Boosting up with factor of 53 Time for simulation : 87s Time for simulation : 87s

25Technische Universität MünchenEfficiency Linear factoring to 64 processors Linear factoring to 64 processors Best result by 4 processors Best result by 4 processors Source: D. Charypar und K.W. Axhausen und K. Nagel, An event-driven parallel queue-based microsimulation for large scale traffic scenarios, VSP Working Paper, (2007)

26Technische Universität MünchenOutline Motivation Motivation Introduction Introduction Traffic simulation Traffic simulation Two models Two models Nagel-Schreckenberg model Nagel-Schreckenberg model Cellular automaton Cellular automaton Essential steps Essential steps Disadvategous Disadvategous Queue model Queue model Queue data structure Queue data structure Model of Simao and Powell Model of Simao and Powell Gawron’s model Gawron’s model Extensions Extensions Parallel computing Parallel computing Results Results Comparison between the two models Comparison between the two models

27Technische Universität München Comparison between the two models The Queue model (in general) The Queue model (in general) Higher efficiency Higher efficiency More realism by building of congestions More realism by building of congestions Nagel-Schreckenberg model Nagel-Schreckenberg model A better observation of the interactions between the vehicles A better observation of the interactions between the vehicles More complex than the Queue model More complex than the Queue model

28Technische Universität München Questions? Questions?