Lecture: Agent Based Modeling in Transportation

Slides:



Advertisements
Similar presentations
OVERVIEW OF CMAPS ADVANCED TRAVEL MODEL CADRE Kermit Wies, Deputy Executive Director for Research and Analysis AMPO Modeling Group, November 2010.
Advertisements

Juni 14 1 New actors in MATSim –T: Agent based retailers F. Ciari IVT – ETH Zürich MATSim Seminar - Castasegna.
12th TRB National Transportation Planning Applications Conference
Downtown Vancouver Transportation and Emergency Management System (DVTEMS) PTV Vision User‘s Group Meeting Karen Giese Kean Lew.
MATSim Destination Choice for Shopping and Leisure Activities
Presented by: Pascal Volet, ing. October 11,2007 Application of Dynameq in Montréal: bridging the gap between regional models and microsimulation Application.
GEOG 111 & 211A Transportation Planning Traffic Assignment.
TRANSIMS Research and Deployment Project TRACC TSM Staff Dr. Vadim Sokolov Dr. Joshua Auld Dr. Kuilin Zhang Mr. Michael Hope.
Sequential Demand Forecasting Models CTC-340. Travel Behavior 1. Decision to travel for a given purpose –People don’t travel without reason 2. The choice.
TRANSPORT MODELLING Lecture 4 TRANSPORT MODELLING Lecture 4 26-Sep-08 Transport Modelling Microsimulation Software.
Lec 15 LU, Part 1: Basics and simple LU models (ch6.1 & 2 (A), ch (C1) Get a general idea of urban planning theories (from rading p (A)
Automatic loading of inputs for Real Time Evacuation Scenario Simulations: evaluation using mesoscopic models Josep M. Aymamí 15th TRB National Transportation.
SEMCOG Modeling Peer Exchange Panel Report. Overall Outline Topic Definition Planning Objective Problem Statement Basic Solution Advanced Solution Resources.
Agent-based Dynamic Activity Planning and Travel Scheduling (ADAPTS) Model  ADAPTS scheduling process model: –Simulation of how activities are planned.
An Experimental Procedure for Mid Block-Based Traffic Assignment on Sub-area with Detailed Road Network Tao Ye M.A.Sc Candidate University of Toronto MCRI.
Network and Dynamic Segmentation Chapter 16. Introduction A network consists of connected linear features. Dynamic segmentation is a data model that is.
Model Task Force Meeting November 29, 2007 Activity-based Modeling from an Academic Perspective Transportation Research Center (TRC) Dept. of Civil & Coastal.
An Empirical Comparison of Microscopic and Mesoscopic Traffic Simulation Paradigms Ramachandran Balakrishna Daniel Morgan Qi Yang Caliper Corporation 14.
Source: NHI course on Travel Demand Forecasting (152054A) Session 10 Traffic (Trip) Assignment Trip Generation Trip Distribution Transit Estimation & Mode.
Technische Universität München 1 Traffic Simulation with Queues Ferienakademie, Sarntal Neven Popov.
SAN FRANCISCO COUNTY TRANSPORTATION AUTHORITY San Francisco DTA Project: Model Integration Options Greg Erhardt DTA Peer Review Panel Meeting July 25 th,
Problem Statement and Motivation Key Achievements and Future Goals Technical Approach Kouros Mohammadian, PhD and Yongping Zhang (PhD Candidate), CME,
Lesson 5 – Looking at the Output MATSim Tutorial, 2011, Shanghai 1.
1 Preferred citation style for this presentation Axhausen, K.W. (2006) Next steps ?, MATSIM-T Developer Workshop, Castasegna, October 2006.
Evaluating Robustness of Signal Timings for Conditions of Varying Traffic Flows 2013 Mid-Continent Transportation Research Symposium – August 16, 2013.
1 A Model of Within-Households Travel Activity Decisions Capturing Interactions Between Household Heads Renni Anggraini, Dr.Theo Arentze, Prof.H.J.P. Timmermans.
Destination Choice Modeling of Discretionary Activities in Transport Microsimulations Andreas Horni.
SHRP2 C10: Jacksonville Partnership to Develop an Integrated Advanced Travel Demand Model and a Fine-grained Time- sensitive Network Key Agency Partners:
Developing a ‘Rapid’ Strategic Land-Use and Transport Policy Model using EMME/2 Marwan AL-Azzawi Senior Transport Planner PDC Consultants, UK Also at Napier.
Zhiyong Wang In cooperation with Sisi Zlatanova
Act Now: An Incremental Implementation of an Activity-Based Model System in Puget Sound Presented to: 12th TRB National Transportation Planning Applications.
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.
April 2010 Scott Smith Volpe Center / RITA / U.S. DOT Transportation Border Working Group Meeting Boston, MA An Integrated Regional Planning / Microsimulation.
Computers in Urban Planning Computational aids – implementation of mathematical models, statistical analyses Data handling & intelligent maps – GIS (Geographic.
Integration of Transportation System Analyses in Cube Wade L. White, AICP Citilabs Inc.
Improvements and Innovations in TDF CE 451/551 Source: NHI course on Travel Demand Forecasting (152054A) Chapter 12.
NTERFACING THE MORPC REGIONAL MODEL WITH DYNAMIC TRAFFIC SIMULATION INTERFACING THE MORPC REGIONAL MODEL WITH DYNAMIC TRAFFIC SIMULATION David Roden (AECOM)
SAN FRANCISCO COUNTY TRANSPORTATION AUTHORITY San Francisco’s Dynamic Traffic Assignment Model Background SFCTA DTA Model Peer Review Panel Meeting July.
Master’s Thesis Competition Date Monday, 17 th May ‘10.
Comparing Dynamic Traffic Assignment Approaches for Planning
Activity-Based Modeling How does it work?. CT-RAMP model Coordinated Travel – Regional Activity Based Modeling Platform (CT-RAMP) for the Atlanta Region.
Dynamic Origin-Destination Trip Table Estimation for Transportation Planning Ramachandran Balakrishna Caliper Corporation 11 th TRB National Transportation.
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.
Presented by: Pascal Volet, ing. City of Montreal TRB Technical Conference May 9, 2007 A Multi-resolution Modelling Framework in the Montréal Area A Multi-resolution.
Mohamed S. Mahmoud, M.Sc. Ph.D. Candidate MODELING TRANSIT MODE CHOICE FOR INTER-REGIONAL COMMUTING TRIPS ACT Canada Sustainable Mobility Summit November.
A. Horni and K.W. Axhausen IVT, ETH Zürich GRIDLOCK MODELING WITH MATSIM.
1 Preferred citation style for this presentation Balmer, M. (2006) Next Steps: Detail Discussion of Forthcoming Tasks, MATSIM-T Developer Workshop, Castasegna,
SHRP2 C10A Final Conclusions & Insights TRB Planning Applications Conference May 5, 2013 Columbus, OH Stephen Lawe, Joe Castiglione & John Gliebe Resource.
ZACH MA WINTER 2015 A Parallelized Multi-Agent Transportation Simulation Using MASS MATMASSim.
3 rd Exercise Topic for Case Study: Elasticity Analysis for Electric Vehicle Shares Rashid A. Waraich Course: Agent Based Modelling in Transportation September.
Www-civil.monash.edu.au/its Institute of Transport Studies National Urban Transport Modelling Workshop, 5 March 2008 Travel Demand Management Geoff Rose.
1 Fine Tuning Mathematical Models for Toll Applications Dr. A. Mekky, P.Eng., A. Tai, M. Khan Ministry of Transportation, Ontario, Canada.
Preferred citation style Horni A. (2013) MATSim Issues … suitable for a car trip discussion, Group seminar VPL, IVT, Zurich, September 2013.
Methodological Considerations for Integrating Dynamic Traffic Assignment with Activity-Based Models Ramachandran Balakrishna Daniel Morgan Srinivasan Sundaram.
Location Choice Modeling for Shopping and Leisure Activities with MATSim: Utility Function Extension and Validation Results A. Horni IVT ETH Zurich.
Lesson 4 1 Looking closer at the input elements Learn how the initial demand was created for Switzerland Create a single agent using MATSim tools (the.
Modeling Drivers’ Route Choice Behavior, and Traffic Estimation and Prediction Byungkyu Brian Park, Ph.D. Center for Transportation Studies University.
Strategic Planning of National/Regional Freight Transportation Systems : An Analysis TG Crainic, J Damay, M Gendreau, R Namboothiri June 15, 2009.
Science & Engineering Research Support soCiety Special Issue Call for Papers Paper Submission The papers will be subject to the usual peer review process.
Public Transport Pricing Strategies using an Agent-based Simulation Platform (A Case study of Singapore and Lessons for Pakistan) Speaker : Dr. Muhammad.
Simulating Cities: An Overview of the ILUTE Approach
◊MATSim Destination Choice ◊Upscaling Small- to Large-Scale Models ◊Research Avenues How to Improve MATSim Destination Choice For Discretionary Activities?
Urban Planning Group Implementation of a Model of Dynamic Activity- Travel Rescheduling Decisions: An Agent-Based Micro-Simulation Framework Theo Arentze,
September 2008What’s coming in Aimsun: New features and model developments 1 Hybrid Mesoscopic-Microscopic Traffic Simulation Framework Alex Torday, Jordi.
Transportation leadership you can trust. presented to Third International Conference on Innovations in Travel Modeling presented by Thomas Rossi Cambridge.
Verein Konstantin Melnik Svetlana
Transportation Modeling – Opening the Black Box. Agenda 6:00 - 6:05Welcome by Brant Liebmann 6:05 - 6:10 Introductory Context by Mayor Will Toor and Tracy.
METRO Dynamic Traffic Assignment in Action COST Presentation ODOT Region 4 April 1,
Special Issue Call for Papers
Modelling Sustainable Urban Transport
Presentation transcript:

Lecture: Agent Based Modeling in Transportation Lecturers: Dr. Francesco Ciari Dr. Rashid Waraich Assistant: Patrick Bösch Autumn Semester 2014

Lecture I September 16th 2014

Lecture Structure Theory Practice Paper Modeling Transport Agent Based Modeling Multi Agent Transport Simulation (MATSim) Practice Case studies (individual or in small groups) Paper The expected output is a case study report in the form of a proper scientific paper

Modeling transport(ation)

Modeling transportation Transportation: ??? Model: ???

Modeling transportation Transportation: is the movement of people, animals and goods from one location to another (Wikipedia) Model: ???

Modeling transportation Transportation: is the movement of people, animals and goods from one location to another (Wikipedia) Model: A simplified representation of a part of the real world which concentrates on certain elements considered important for its analysis from a particular point of view (Ortuzar and Wilumsen, 2006)

What for? Planning (i.e. infrastructure, systems) Policy making Type of model depends on: Decision making context Accuracy required Data Resources

Activity based paradigm

Transportation Transportation: is the movement of people, animals and goods from one location to another

Transportation Transportation: is the movement of people, animals and goods from one location to another

Transportation Transportation: is the movement of people, animals and goods from one location to another What are the reasons of this movement?

Activity approaches Activity approaches means «The consideration of revealed travel patterns in the context of a structure of activities, of the individual or household, with a framework emphasizing the importance of time and space constraints. (Goodwin, 1983)

Activity approaches Allow looking at important aspects of travel like: Activity Generation In home/out of home activities (patterns, substitution) Constraints Scheduling Social Networks (Kitamura, 1988)

Modeling with agents

What is an agent? An agent: Agents are: Has a set of attributes/characteristics Follows given behavioral rules Has decision making capability Is goal oriented Acts in an environment and interacts with other agents Is autonomous Can learn Agents are: Heterogeneous Attributes can change dynamically (Source: Macal and North, 2005)

Agent Attributes Behavioral rules Decision making Memory Agent-based modeling is a new approach to modeling systems comprised of autonomous agents. Each agent has a set of characteristics and rules governing its decisions-making capabilities. An agent is goal-oriented, having goals to achieve with respect to its behaviors. However, an agent is flexible, and has the ability to learn and adapt its behavior over times based on experience. This requires some form of knowledge.

Agent-based modeling Environment … Moreover, an agent is situated, living in an environment in which... Environment

Agent-based modeling … … … ...it interacts with other agents. Agents have some kind of protocols for interaction with other agents, and the capability to respond to the environment. Agents have the ability to recognize and distinguish the traits of other agents. …

Agent-based modeling ...it interacts with other agents. Agents have some kind of protocols for interaction with other agents, and the capability to respond to the environment. Agents have the ability to recognize and distinguish the traits of other agents.

Agent-based modeling Finally, there might be various types of agents in an agent-based modelling systems, which are interacting among each other.

Agent-based modeling

Agent-based modeling The actors of the (real) system modeled are represented at indivudual level and implement simple rules. The behavior of the system is not explictly modeled but emerges from the simulation

Agent-based modeling The actors of the (real) system that is modeled are represented at indivudual level and implement simple rules. The behavior of the system is not explictly modeled but emerges from the simulation Simple rules implemented at the micro-level (individual) allows modeling complex behavior at the macro-level (system)

Pros and cons Pros: Models Individuals Agents heterogeneity Emergent behavior Can deal with complexity Cons: Data hungry Skilled users

Why Agent-Based Modeling is becoming popular? Increasingly complex world Availability of high resolution level data Computer power

What about transportation?

Traditional Modeling Approach Four steps model

Four Step Process Trip generation Trip distribution Mode choice Define number of trips from and to each zone. Trip distribution Define for each zone where its trips are coming from and going to. Mode choice Define transport mode for each trip. Route assignment Assign a path to each route. 34

Four Step Process – Trip Generation 35

Four Step Process – Trip Distribution 36

Four Step Process – Mode Choice 37

Four Step Process – Route Assignment 38

Four Step Process – Facts Traditional approach in transport planning Simple, well known and understood Sequential execution Feedback not required, but desirable Aggregated Model No individual preferences of single travelers Only single trips, no trip chains Static, average flows for the selected hour, e.g. peak hour 39

Iterative Four Step Process Improvement of the traditional approach Iterations allow feedback to previous process steps Still an aggregated model 40

Modern Modeling Approaches Activity-based demand generation Dynamic traffic assignment

Activity-based demand generation Models the traffic demand on an individual level. Based on a synthetic population representing the original population. For each individual a detailed daily schedule is created, including descriptions of performed… …activities (location, start and end time, type) …trips (mode, departure and arrival time) Activity chains instead of unconnected activities and trips. Represents the first three steps of the 4 step process.

Activity-based demand generation Spatial resolution can be increased from zone to building/coordinate. High resolution input data is required such as… …the coordinates of all locations where an activity from type X can be performed. …the capacity of each of this locations. Examples of activity-based models ALBATROSS (A Learning-Based Transportation Oriented Simulation System) TASHA (Travel Activity Scheduler for Household agents)

Dynamic Traffic Assignment Supports detailed description of the demand (persons/households). Based on trip chains instead of single trips. Time dependent link volumes replace static traffic flows. Spatial and temporal dynamics are supported. Represents the fourth step of the 4 step process.

Dynamic Traffic Assignment Typical implementations are simulation based. Iterative simulation and optimization of traffic flows in a network on an individual level. Examples of DTA implementations DYNAMIT (Ben-Akiva et.al.) DYNASMART (Mahmassani et.al.) VISSIM (PTV; only small scenarios) TRANSIMS

State of the art Fully agent-based approach Combination of activity-based demand generation and dynamic traffic assignment

Fully Agent-based Approach Combines the benefits of activity-based demand generation and dynamic traffic assignment. Replaces all steps of the four step process. During the whole process, people from the synthetic population are maintained as individuals. Individual behavior can be modeled!

Macro-Simulation vs. Micro-Simulation Based on aggregated data Flows instead of individual movement Often planning networks Micro-Simulation Population is modeled as a set of individuals Traffic flows are based on the movement of single vehicles (or agents) and their interactions Various traffic flow models, e.g. cellular automata model, queue model or car following model Often high resolution networks (e.g. in navigation quality) 48

Introduction to MATSim

MATSim at a glance Implementation of a fully agent-based approach as part of a transport modeling tool Disaggregated Activity-based Dynamic Agent-based Open source framework written in java (GNU License) Started ~10 years ago, community is still growing Developed by Teams at ETH Zurich, TU Berlin and senozon AG www.matsim.org MATSim provides a toolbox to implement large-scale agent-based transport simulations. The toolbox consists of severel modules which can be combined or used stand-alone. Modules can be replaced by own implementations to test single aspects of your own work. Currently, MATSim offers a toolbox for demand-modeling, agent-based mobility-simulation (traffic flow simulation), re-planning, a controler to iteratively run simulations as well as methods to analyze the output generated by the modules. Multiagent traffic simulation toolkit, fast microscopic transport model. Each traveller of the real system is modelled as an individual agent in the simulation. Supply side is modelled as fixed constraints of the system. The agents are able to take decisions, according to given information and coherently with a predetermined goal. Agents are able to learn. Transport is a derived necessity in relation with the primary need of individuals to perform certain activities during the day.

Working with MATSim… Users Super-users Developers Black-box use Add new features Developers Add new fundamental features

Working with MATSim… Users Super-users Developers Black-box use Add new features Developers Add new fundamental features

MATSim Optimization Loop Optimization is based on a co-evoluationary algorithm Period-to-period replanning (typically day-to-day) Each agent has total information and acts like homo economicus Approach is valid for typical day situations

MATSim – Scenario Creation A MATSim scenario contains some mandatory as well as some supplementary data structures Mandatory Network Population Supplementary Facilities Transit (Schedule, Vehicles) Counts

55 Road network High resolution navigation network, including turning rules

56 Day-plan 7:30 7:40 7:50 7:56 17:03 17:09 17:13 17:25 17:45 17:55 19:24 19:31

Speed vs Resolution physical (VISSIM) Resolution CA (TRANSIMS) parallel Q event (MATSIM) Q (Cetin) Q event (MATSIM) meso (METROPOLIS) macro (VISUM) Speed

Facilities „Facilities“: Building location Activity options 58 Facilities „Facilities“: Building location Activity options Capacity, Opening time Source: Enterprise register, Building register

Performance - Scenario 59 Performance - Scenario Transportation system in Switzerland 24 h of an average Work-day 5.99 Mio Agents 1.6 Mio Facilities for 1.7 Mio Activities (5 Types) Navigation network with 1.0 Mio Links 4 Modes (others optional  i.e. shared modes) 22.2 Mio Trips Routes-, Time-, (Subtour-)Mode- und „Location“-Choice  One Iteration in ca. 4.5 hours 5.99 Mio Agenten = 88% der Gesamtbevölkerung Verkehrsmittel: MIV, ÖV, Fahrrad, zuFuss, Mitfahren 22.2 Mio Wege = 3.7 Wege/Agent Aktivitätentypen: zu Hause, Arbeit-Sektor 2, Arbeit-Sektor 3, Einkaufen, Freizeit, Schule-Kindergarten, Schule-Pflicht, Schule-Erweitert, Schule-Universität und Schule, und Übrige

Current research themes (I) Simulation of public transport Improved routing, multimodal simulation Replanning improvement Reduce the number of iterations, add other choice dimensions Simulation of traffic lights and lanes Focus on adaptive signal-control Queue simulation Parallelization Modeling of vehicle fleet Calculation of emissions Electric vehicles Simulation of the use of electric vehicles

Current research themes (II) Agents coordination Simulation of joint plans Parking Improvement of parking choice and search Introduction of land-use Integration with UrbanSim Location choice of retailers Addition of supply-side agents Car-sharing Car-sharing as an additional modal option Weather impacts Modeling of weather and climate change effects

Current scenarios Zurich and Switzerland Switzerland 7,6 Mio Agents Navigation road network with 1 Mio Links Berlin, Germany Singapore Gauteng, South-Africa Sioux Falls, USA Munich, Germany Germany/Europe – Main road network Padang, Indonesia Tel-Aviv, Israel Kyoto, Japan Toronto, Canada Caracas, Venezuela Tel Aviv, Israel Switzerland Berlin and Munich, Germany Toronto, Canada Gauteng, South Africa

MATSim Singapore 60FPS NEW TITLES.mkv (author: Pieter Fourie)

Possible Case Study Themes Carsharing Electric Vehicles Weather

Questions Laptop? Windows Mac

Additional Literature Bhat, C. R., J. Y. Guo, S. Srinivasan and A. Sivakumar (2004) A comprehensive econometric microsimulator for daily activity-travel patterns, Transportation Research Record, 1894, 57-66. Kitamura, R. (1988) An evaluation of activity-based travel analysis, Transportation, 15 (1) 9–34. Macal, C. M. and M. J. North (2005) Tutorial on agent-based modeling and simulation, Proceedings of the 37th Conference on Winter simulation, Orlando, December 2005. Mahmassani, H. S., T. Hu and R. Jayakrishnan (1992) Dynamic traffic assignment and simulation for advanced network informatics, in N. H. Gartner and G. Improta (eds.) Compendium of the Second International Seminar on Urban Traffic Networks. Ortuzar, J. D. D. and L. G. Willumsen (2006) Modelling Transport, John Wiley & Sons, Chichester.