Operational Implementation of the TASHA Agent-Based...

27
Operational Implementation of the TASHA Agent-Based Microsimulation Travel Model System in the Greater Toronto-Hamilton Area Presented at: 5 th TRB Conference on Innovations in Travel Modelling Baltimore, April 29, 2014 Eric J. Miller, Ph.D. Professor, Dept. of Civil Engineering Director, UTTRI University of Toronto

Transcript of Operational Implementation of the TASHA Agent-Based...

Page 1: Operational Implementation of the TASHA Agent-Based ...onlinepubs.trb.org/onlinepubs/conferences/2014/ITM/Presentations/... · TASHA Agent-Based Microsimulation Travel Model System

Operational Implementation of the TASHA Agent-Based Microsimulation Travel Model System in the Greater Toronto-Hamilton Area

Presented at:

5th TRB Conference on

Innovations in Travel Modelling

Baltimore, April 29, 2014

Eric J. Miller, Ph.D.

Professor, Dept. of Civil Engineering

Director, UTTRI

University of Toronto

Page 2: Operational Implementation of the TASHA Agent-Based ...onlinepubs.trb.org/onlinepubs/conferences/2014/ITM/Presentations/... · TASHA Agent-Based Microsimulation Travel Model System

Presentation Outline

2

The University – Public Agency Nexus

TASHA Overview

The GTAModel V4.0 Implementation

Current Status; Next Steps

Page 3: Operational Implementation of the TASHA Agent-Based ...onlinepubs.trb.org/onlinepubs/conferences/2014/ITM/Presentations/... · TASHA Agent-Based Microsimulation Travel Model System

The University – Public Agency Nexus

The University of Toronto has a 30-year history of collaboration with local, regional and provincial transportation planning agencies in support of:

– Travel demand surveys & data management

– Transportation network modelling

– Travel demand modelling

3

Page 4: Operational Implementation of the TASHA Agent-Based ...onlinepubs.trb.org/onlinepubs/conferences/2014/ITM/Presentations/... · TASHA Agent-Based Microsimulation Travel Model System

Transportation Tomorrow Survey & The Data Management Group (DMG)

Starting in 1986, one-day travel surveys of 5% of GTHA households has been undertaken every 5 years.

The DMG at UofT has managed these surveys on behalf of the regional agencies and has managed the resulting time series survey database.

Approximately 150,000 households are surveyed over a 3-4 month period in the fall of the survey year.

TTS provides an excellent database for transportation planning analysis and travel demand modelling

4

Page 5: Operational Implementation of the TASHA Agent-Based ...onlinepubs.trb.org/onlinepubs/conferences/2014/ITM/Presentations/... · TASHA Agent-Based Microsimulation Travel Model System

Transportation Network Modelling

5

All transportation planning agencies use Emme as their standard network modelling software.

Starting in the late 1980’s DMG maintained the Emme software, established common network coding standards, and developed base TTS year road and transit networks for agencies’ use.

Since 2011, the Travel Modelling Group (next slide) has taken over the coding standards and base network development tasks.

Page 6: Operational Implementation of the TASHA Agent-Based ...onlinepubs.trb.org/onlinepubs/conferences/2014/ITM/Presentations/... · TASHA Agent-Based Microsimulation Travel Model System

Travel Demand Modelling & The Travel Modelling Group (TMG)

Since 1990 UofT has worked with the City of Toronto (formerly Metro Toronto), the Ontario Ministry of Transportation (MTO) and other regional agencies on developing improved 4-step travel demand modelling capabilities in the GTHA.

In 2011 this relationship was formalized and expanded to include all transportation planning agencies in the GTHA through the formation of the Travel Modelling Group (TMG).

6

Page 7: Operational Implementation of the TASHA Agent-Based ...onlinepubs.trb.org/onlinepubs/conferences/2014/ITM/Presentations/... · TASHA Agent-Based Microsimulation Travel Model System

TTS; EMME

New Logit Mode Choice Model

1990-91 (1986 TTS)

MetroModel

1992-94 (1986 TTS)

GTAModel V1

1996-97 (1991 TTS)

GTAModel V2

1998-2001 (1996 TTS)

GTAModel V3

2006-08 (2001 TTS)

York Region Model

(IBI)

MTO GGH Model

(IBI)

Mississauga/Brampton

Hurontario Model

(MMM)

Durham Region Model

(iTRANS)

Simplified GTA Model

(Dalton Consulting)

(multiple applications)

City of Toronto model evolution

(University of Toronto)

Other Models

(Peel, Hamilton, etc.)

GTAModel Evolution & Contribution to

GTHA Travel Demand Modelling

Page 8: Operational Implementation of the TASHA Agent-Based ...onlinepubs.trb.org/onlinepubs/conferences/2014/ITM/Presentations/... · TASHA Agent-Based Microsimulation Travel Model System

Parallel Model Application & Development Processes

Operational

Model, V1

Issues/Needs for R&D

On-going

modelling

R&D

Operational

Model, V1.1

Periodic updates of

selected model

components, etc.

Operational

Model, V2

New model

An operational model always

exists. It is used on an on-going

basis to address current

policy/planning issues. In so

doing it builds confidence in &

support for models as part of the

planning process.

At the same time, modelling R&D

is also continuously underway,

addressing short- & long term

improvements. As these

improvements are developed and

tested, they are implemented into

the operational model. Since the

R&D is “off-line” from day-to-day

planning deadlines risk is

minimized & R&D efficiency and

effectiveness is maximized. On-going

planning

applications

Data

collection &

management

Statistical

analyses

Model

development

& testing

Software

development

Page 9: Operational Implementation of the TASHA Agent-Based ...onlinepubs.trb.org/onlinepubs/conferences/2014/ITM/Presentations/... · TASHA Agent-Based Microsimulation Travel Model System

TASHA TASHA (Travel/Activity Scheduler for Household Agents) has

been developed at the University of Toronto. A validated version of

the model is now operational and is being re-estimated/calibrated for

operational use by the City of Toronto.

It is an activity-based, agent-based, microsimulation model of

weekday activity/travel in the Greater Toronto-Hamilton Area

(GTHA). Key features include:

• Household-based

• Activity scheduling

• Treatment of tours and modes

• Treatment of time

• Flexibility in development and application

Page 10: Operational Implementation of the TASHA Agent-Based ...onlinepubs.trb.org/onlinepubs/conferences/2014/ITM/Presentations/... · TASHA Agent-Based Microsimulation Travel Model System

Key Features 1: Household-Based World

Households Episode

Distributions

Spatial

Representation

Persons

Person

Projects

Person

Project

Agenda

Individual Activity

Episodes

Person

Schedule

Household

Project

Agenda

Joint Activity

Episodes

Zones Distance

Matrix

Travel Time

Matrices

Household

Projects

Travel

Episodes

Individual & Joint Activity

Episodes

Persons exist within households. This

allows TASHA to deal explicitly with:

• Vehicle allocation

• Ridesharing

• Joint activities/trips

• Serve-dependent activities/trips

Page 11: Operational Implementation of the TASHA Agent-Based ...onlinepubs.trb.org/onlinepubs/conferences/2014/ITM/Presentations/... · TASHA Agent-Based Microsimulation Travel Model System

Vehicle Allocation within TASHA

Work ShopPerson 1

ShoppingPerson 2

SchoolPerson 3

Person 1 Person 2 Person 3

Choose allocation

with highest total

household utility

3 Conflicting With-Car Chains

3 Possible Vehicle Allocations

Allocation 1

Allocation 2

Allocation 3

Work ShopPerson 1

ShoppingPerson 2

SchoolPerson 3

Person 1 Person 2 Person 3

Choose allocation

with highest total

household utility

3 Conflicting With-Car Chains

3 Possible Vehicle Allocations

Allocation 1

Allocation 2

Allocation 3

TASHA assigns household

vehicles to drivers based

on overall household

utility derived from the

vehicle usage. Drivers not

allocated a car must take

their second-best mode of

travel.

Page 12: Operational Implementation of the TASHA Agent-Based ...onlinepubs.trb.org/onlinepubs/conferences/2014/ITM/Presentations/... · TASHA Agent-Based Microsimulation Travel Model System

Household Ridesharing Options in TASHA

Home

Joint

Activity

Joint TripHome

Joint

Activity

Joint Trip

Home

Passenger’s

Activity

Serve

Passenger Trip

Passenger

Home

Passenger’s

Activity

Serve

Passenger Trip

Passenger

Home

Joint

Activity 1

Joint

Activity 2

Joint

Trip

Joint

Trip

Joint

Trip

Home

Joint

Activity 1

Joint

Activity 2

Joint

Trip

Joint

Trip

Joint

Trip

Home

Work

Joint

Activity

Joint

Trip

Transit

Transit

Drive

Home

Work

Joint

Activity

Joint

Trip

Transit

Transit

Drive

Home

Passenger’s

Activity

Serve

Passenger Trip

Serve Passenger Trip

Passenger

Home

Passenger’s

Activity

Serve

Passenger Trip

Serve Passenger Trip

Passenger

Home

Passenger’s

Activity

Driver’s

Activity

Serve

Passenger Trip

DriveDrive

Passenger

Home

Passenger’s

Activity

Driver’s

Activity

Serve

Passenger Trip

DriveDrive

Passenger

Within-household ridesharing is explicitly handled within TASHA.

Drivers will “offer” rides to household members if a net gain in

household utility is obtained and feasibility criteria are met.

Page 13: Operational Implementation of the TASHA Agent-Based ...onlinepubs.trb.org/onlinepubs/conferences/2014/ITM/Presentations/... · TASHA Agent-Based Microsimulation Travel Model System

Joint Activities

…. ….

Day n

Person 1

…. ….

Day n

Person 2

Joint Shopping

Activity:

Duration: 2 hrs

Location: The Mall

Search for feasible

joint time slot

Page 14: Operational Implementation of the TASHA Agent-Based ...onlinepubs.trb.org/onlinepubs/conferences/2014/ITM/Presentations/... · TASHA Agent-Based Microsimulation Travel Model System

Serve Dependents

Daycare

At-Home

At-Home

Child’s Schedule

At-Home

At-Home

Adult 1 Schedule

At-Home

Adult 2 Schedule

Work

Shopping

Take child to/from daycare

Page 15: Operational Implementation of the TASHA Agent-Based ...onlinepubs.trb.org/onlinepubs/conferences/2014/ITM/Presentations/... · TASHA Agent-Based Microsimulation Travel Model System

Key Features 2: Activity Scheduling

Project 1

• episode 1.1

• episode 1.2

• ….

Project 2

• episode 2.1

• episode 2.2

• ….

Project N

• episode N.1

• episode N.2

• ….

Day 1 Day 2 Day 3 Day 4 Day 5 Day 6 Day 7

TASHA is an activity scheduling

model in which individual activity

episodes are generated and then

explicitly scheduled. Out-of-home

activity patterns and their associated

trip-chains (tours) are thus “built

from scratch” rather than selected

from a pre-specified set of feasible

patterns. Thus, travel patterns

dynamically adjust to changes in

transportation level of service,

activity system “supply”, changes in

household and personal constraints

and needs, etc.

Page 16: Operational Implementation of the TASHA Agent-Based ...onlinepubs.trb.org/onlinepubs/conferences/2014/ITM/Presentations/... · TASHA Agent-Based Microsimulation Travel Model System

PDF

Activity

Frequency

Activity

Frequency

Joint

PDF

Start

Time

Feasible

Start Times

Start

Time

Joint

PDF

Duration

Feasible

Durations

(a) Draw activity

frequency from

marginal PDF

(b) Draw activity start

time from feasible

region in joint PDF

(c) Draw activity

Duration from

feasible region in

joint PDF

Activity Episode Frequency, Start Time and Duration Generation

At – Home

Work

Work

Shop 1 Shop 2

Other

Other

Work Project

School Project

Other Project

Shopping Project

Shop 1 At-home Other Shop 2 Person

Schedule

= “Gap” in Project Agenda = Activity Episode = Travel Episode

At-home At-home

:

:

Scheduling Activity Episodes into a Daily Schedule

TASHA generates the number of

activity episodes from a set of

“projects” that a person (or

household) might engage in during a

typical weekday. It also generates the

desired start time and duration of

each episode.

It then builds each person’s daily

schedule, adjusting start times and

durations to ensure feasibility.

Travel episodes are inserted as part of

the scheduling process.

Page 17: Operational Implementation of the TASHA Agent-Based ...onlinepubs.trb.org/onlinepubs/conferences/2014/ITM/Presentations/... · TASHA Agent-Based Microsimulation Travel Model System

Key Feature 3: Tour-Based Mode Choice

Chain c:

1. Home-Work

2. Work-Lunch

3. Lunch-Meeting

4. Meeting-Work

5. Work-Home

m1 m2

m3 m4

m5

Non-drive option for Chain c

m1 = drive

Sub-Chain s:

2. Work-Lunch

3. Lunch-Meeting

4. Meeting-Work

m2 m3

m4

Non-drive for

Sub-chain s

m2 = drive

m3 = drive

m4 = drive

Drive for

Sub-chain s

m5 = drive

Drive Option for Chain c

mN = mode chosen for trip N

TASHA’s tour-based mode choice model:

• Handles arbitrarily complex tours and sub-tours.

without needing to pre-specify the tours

• Dynamically determine feasible combinations

of modes available to use on tours. Modes can

be added without changing the model structure.

• Cars automatically are used on all trips of a

drive tour.

Page 18: Operational Implementation of the TASHA Agent-Based ...onlinepubs.trb.org/onlinepubs/conferences/2014/ITM/Presentations/... · TASHA Agent-Based Microsimulation Travel Model System

Key Feature 4: Treatment of Time

Models all out-of-home activities and trips for a 24-hour typical weekday

Minute-by-minute time increments are used for start times and durations/travel times

Trips can be aggregated to whatever level of temporal detail/categorization is required by the network assignment model

Deals naturally with “peak-spreading”, etc.

Provides excellent detail for environmental impact analysis

Page 19: Operational Implementation of the TASHA Agent-Based ...onlinepubs.trb.org/onlinepubs/conferences/2014/ITM/Presentations/... · TASHA Agent-Based Microsimulation Travel Model System

Key Feature 5: Flexibility

TASHA has been designed to be very flexible in terms of its development and its application.

It has been developed using ordinary trip-based survey data for the GTA (but it could also exploit activity-based survey data).

It can be used as a direct replacement for the first 3 stages in a 4-step system, or integrated within a full microsimulation model system.

The data requirements for model development are no greater

than other current models, including conventional trip-based

models.

Usable in a variety of contexts, and facilitates the evolution of

the model system over time from aggregate to microsimulation.

Page 20: Operational Implementation of the TASHA Agent-Based ...onlinepubs.trb.org/onlinepubs/conferences/2014/ITM/Presentations/... · TASHA Agent-Based Microsimulation Travel Model System

Application in a conventional setting

Pop & Emp

by zone

Synthesize persons, hhlds

& work/school locations

TASHA

Standard zone-based, static

road & transit assignment

Standard 4-step zone-based inputs

Standard network assignment

package (EMME, Vissum, etc.)

TASHA contains its own synthesis

procedures to convert aggregate,

zone-based inputs into disaggregated

persons, etc. required for

microsimulation

Page 21: Operational Implementation of the TASHA Agent-Based ...onlinepubs.trb.org/onlinepubs/conferences/2014/ITM/Presentations/... · TASHA Agent-Based Microsimulation Travel Model System

Base Year Census Data,

Other Aggregate Data

Synthesize Base Year Population,

Employment, Dwellings, etc.

ILUTE Evolutionary Engine

For T = T0+1,T0+NT do:

• Demographic Update

• Building Stock Update

• Residential Housing

• Commercial Floorspace

• Firm/Job Location Update

• Household Composition Update

• Work/school Participation & Location Update

• Residential Location Update

• Auto Ownership Update

Exogenous Inputs, Time T

• In-migration

• Policy changes

• …

Dynamic Network Assignment Model

(meso- or micro-scopic)

T0 = Base time point

T = Current time point being simulated

NT= Number of simulation time steps

Travel Models

• Commercial Vehicle Movement Update

• Activity/Travel Update (TASHA)

Application in a full microsimulation setting

Page 22: Operational Implementation of the TASHA Agent-Based ...onlinepubs.trb.org/onlinepubs/conferences/2014/ITM/Presentations/... · TASHA Agent-Based Microsimulation Travel Model System

Current Status

TASHA was developed using 1996 travel survey data for the GTHA.

The activity scheduler has been validated against 2001 survey data.

Interfaces with both EMME and MATSIM.

Has been experimentally applied to Montreal, London & Changzhou, China.

Currently being re-estimated/calibrated using 2011 TTS data for full operational deployment by the City of Toronto later this year.

Page 23: Operational Implementation of the TASHA Agent-Based ...onlinepubs.trb.org/onlinepubs/conferences/2014/ITM/Presentations/... · TASHA Agent-Based Microsimulation Travel Model System

City of Toronto Implementation: GTAModel V4.0

TASHA operates on a list of persons & households possessing known work & school locations, demographics and household auto ownership levels.

For operational use it needs to be embedded within an overall model system. This model system is designated GTAModel V4.0.

23

Page 24: Operational Implementation of the TASHA Agent-Based ...onlinepubs.trb.org/onlinepubs/conferences/2014/ITM/Presentations/... · TASHA Agent-Based Microsimulation Travel Model System

GTAModel V4.0

Pop & Emp by Zone

Synthesize persons,

households, cars & jobs

PORPOW PORPOS

TASHA

• Activity generation

• Activity scheduling

• Tour-based model choice

• Auto allocation

• Ridesharing

Emme Road & Transit

Assignments by Time Period

Converged?

STOP

No

Yes

Location choice for

non-work/school

activities

High-order transit

P&R station choice

Surface transit

speed updating

External Trips &

Other Special Generators

Page 25: Operational Implementation of the TASHA Agent-Based ...onlinepubs.trb.org/onlinepubs/conferences/2014/ITM/Presentations/... · TASHA Agent-Based Microsimulation Travel Model System

Some Additional Features of V4.0

Basic inputs are population & employment totals by traffic zone. Individual persons, households and jobs are then synthesized.

Work and school locations are synthesized for each worker and student.

Non-work/school activity episode locations are dynamically determined at the time of episode generation.

Road assignment includes toll road modelling. Transit assignment is stochastic, congested assignment. Surface transit line speeds are updated based on roadway

congestion. A new, detailed model of drive-access to high-order transit

stations is being developed that ensures trip-makers return to their access station to retrieve their cars.

25

Page 26: Operational Implementation of the TASHA Agent-Based ...onlinepubs.trb.org/onlinepubs/conferences/2014/ITM/Presentations/... · TASHA Agent-Based Microsimulation Travel Model System

Next Steps

Tour-based mode choice and other demand components currently being estimated.

Hoping to have a re-estimated system by end of June for detailed testing and validation.

Already have a list of V4.1 improvements!

Once implemented this will be the first operational fully agent/activity-based travel microsimulation model system in Canada.

26

Page 27: Operational Implementation of the TASHA Agent-Based ...onlinepubs.trb.org/onlinepubs/conferences/2014/ITM/Presentations/... · TASHA Agent-Based Microsimulation Travel Model System

THANK YOU! QUESTIONS?

Acknowledgements to the ILUTE/TASHA project team (past & present): • Ahad Bekaei

• Juan Antonio Carrasco

• Franco Chingcuanco

• Len Eberhard

• Ilan Elgar

• Bilal Farooq

• Yiling Deng

• Leila Dianet

• Sean Doherty

• Jared Duivestein

• Wenli Gao

• Martin Giroux-Cook

• Ahsan Habib

• Khandker Habib

• Murtaza Haider

• Michael Hain

• Jiang Hao

• Tony Harapin

• Adam Harmon

• Marianne Hatzopoulou

• Brian Hollingworth

• Nik Krameric

• Peter Kucirek

• Marek Litwin

• Wenzhu Liu

• Kouros Mohammadian

• David McElroy

• Trajce Nokolov

• Gurbanin Paintal

• Winnie Poon

• David Pritchard

• Anna Pushkar

• Matt Roorda

• Adam Rosenfield

• Paul Salvini

• Bruno Santos

• James Vaughan

• David Wang

• Joshua Wang

• Marcus Williams