Trip Generation Trip Distribution Mode Choice
Trip Generation Trip Distribution Mode Choice
Trip Generation Trip Distribution Mode Choice
Trip Generation • The greater the separation between an origin and destination, the less
likely the trip.
• The decay in the willingness to travel function varies by mode.
• The choice of mode influences locational decisions
Trip Distribution • Conventional trip distribution models are estimated for auto trips only
and applied to all modes.
• Justified because more than 80% of all trips are made by cars.
Mode Choice • However, limits ability of model to forecast other modes, important in
recent years.
Route Assignment
Origin \ Destination 1 2 3 Z
1 T11 T12 T13 T1Z
Destination 1 2 3 . . J
2 T21
3 T31 Origin
Z T41 TZZ
1 Cij
2
3
Gravity Model
http://www.rri.wvu.edu/WebBook/Goetz/slides/figuresII/sld002.htm
1
Negative Exponential
Opportunities
Form Impedence Function (e-0.08t) Cumulative Opportunities= D*3.14*t2
0.8
45000000
0.7 40000000
35000000
0.6
30000000
0.5
25000000
0.4
20000000
0.3
15000000
0.2
10000000
0.1 5000000
0
0
0 20 40 60 80 100 120 140
0 10 20 30 40 50 60 70 80 90
Time
Time (minutes)
Resulting Trip
Distribution Proportion of Trips
Trip Distribution:
0.16 Impedances
0.14 • This table of impedances requires knowing the congested
travel time on the network (Cij), which itself requires
0.12
knowing demand, and so may require a recursive solution
0.1
method of some kind (i.e. feedback).
0.08
• Interaction between zones is often described by a gravity
0.06
model, in analogy to Newton's Laws of Gravitation. While
f(Cij)=1/Cij2 was used in the past, now a negative exponential
0.04 form f(Cij)=eβCij is often preferred.
0.02
0
0 20 40 60 80 100 120 140
Time
Transit
a TIME 0.05 -0.11 -0.08 -0.08 -0.07 -0.06 -0.14 0.350 to Transit
(2.3) (-3.8) (-7.9) (-17.2) (-16.4) (-10.6) (-11.6) to Transit
Transit
0.300 Auto-1
b TIME0.5 - 0.642 0.265 - - - -
Relative Probability per Opportunity
Auto-2
- (2.1) (2.3) - - - - Auto-3+
0.250
c TIME 2
-0.00106 - - - - - -
(-4.6) - - - - - - 0.200
0.050
0.5 2
f (Cijm ) = e at+ bt + ct + d
0.000
0 5 10 15 20 25 30 35 40 45 50 55 60 65 70 75 80 85 90
TIME (in 5 minute cohorts)
2
Trip Patterns Are Like
Coin Tossing
Coins
• Number of ways 4 coins can be tossed and come zone 1 2 3
up all heads is 1. (HHHH) zone
1 2 1 1
• Number of ways they can be tossed and come up 2 2 0 2 1
∏n! i
i =1
• 1=4!/4!0!, 6=4!/2!2! €
∑T ij = Tj
i
• C is quantity of resources, cij is travel cost. • Transform the constraints so that instead of
€ X=Y, X-Y=0
• Put transformed constraints into objective
€ function (multiplied by a Langrangian
multiplier (lambda or beta).
3
Transform with
Evaluate the Maximums
Natural Logs
ln N!≈ N ln N − N ∂T
= − lnTij − λi − λj − βcij = 0
∂Tij
∂ ln N!
≈ ln N lnTij = − λi − λj − βcij
∂N
€ −λi −λj −βc ij
Tij = e
€ € €
€
4
Objective of Mode
Mode Choice
Choice
Trip Generation • AGGREGATE: Estimate the number of trips from each zone to each
zone by purpose that take mode m.
• DISAGGREGATE: Estimate the probability that a particular trip
(purpose, time, zone-zone) by a specific individual will take mode m.
Trip Distribution • Typically forecasters use a “discrete choice” model, that predicts distinct
(or discrete or qualitative) choices (bus vs. car) rather than continuous
ones (3.4 trips vs. 3.6).
Mode Choice • Logit is the most popular version of mode choice model.
Route Assignment
U mij • Pm - probability of • Disaggregate Choice Model - include variables other than travel time in
e determining the probability of making a trip.
Pm = U mij
taking mode m • The logit model and gravity model have been shown by Wilson to be of
• The key difference is that the gravity model is typically • (WCT) walk connected transit • Alternative Structures include Nests
much more aggregate. • (ADT) auto connect transit (driver • Advantages: Nests Allow Model to
alone/park and ride) Capture Relationships between
• (APT) auto connect transit (auto modes, skirt IIA property.
passenger/kiss and ride)
• Disadvantages: Increased
• (AU1) auto driver (no passenger)
computation, Marginal
• (AU2) auto 2 occupants Improvement in Estimation
• (AU3+) auto 3+ occupants
• (WK/BK) walk/bike
5
Independence of Probability vs.
Irrelevant Alternatives Difference in Weights
• Property of Logit (but not all Discrete Choice models) Probability
• Example: Suppose a mode were removed. Where would those travelers 0.8
go. IIA says they will go to other modes in same proportion that other 0.7
travelers are currently using them. However, if we eliminated Kiss and 0.6
Ride, a disproportionate number may use Park and Ride or carpool. 0.5
Nesting allows us to reduce this problem. However, there is an issue of
0.4
the proper Nest.
0.3
• Other alternatives include more complex models (e.g. Mixed Logit)
which are more difficult to estimate. 0.2
0.1
0
-10 -9 -8 -7 -6 -5 -4 -3 -2 -1 0 1 2 3 4 5 6 7 8 9 10
W1-W2
∂L
=0
€ • Utility of auto depends on cost of auto, cost
€
∂θˆN
of transit, auto travel time, transit travel time, N
income, and number of travelers ln L* = ∑ ln f ( yn xn ,θ )
n=1
€
€
6
Two Choices (0, 1) Likelihood Function
• Either choose X or not-X. f(1,1,1,0,1)
0.09
Likelihood Function for the Sample {1,1,1,0,1}
0.06
estimator γ. 0.04
• If γ is 0, P of drawing sample is 0
0.03
0.02
0.1*0.1*0.1*0.9*0.1 = 0.00009 0
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1
Bi-nomial Logit
Maximum Log-Likelihood
Likelihood
N n
L* = ∏ P (1− P )Yi 1−Y i ∂l
n=1
i
n
i = ∑ Yi − Pˆi = 0
∂β i =1
( )
l = ln L = ∑[Yi ln Pi + (1− Yi ) ln(1− Pi )]
*
i =1
• Set partial derivatives to zero
€ e v (xauto )
Pauto =
1+ e v (xauto )
n €
€ [
l = ln L* = ∑ Yi v(xauto )− ln(1+ e v (xauto ) )
i =1
]
€
Route Assignment
7
Volume-Delay Function Wardrop’s Principles
Link Travel Time
Volume Delay Function
• Each link has a link • User Equilibrium • System optimal
3 – Each user acts to minimize
volume delay function his/her own cost, subject to – Each user acts to
2.5
(link performance every other doing the same – minimize the total
Travel times are equal on all travel time on the
2
function) relating travel used routes and lower than on
time (Cost) on that link any unused route. system.
– What people choose is efficient
1.5
and total flow on the for them which however need
1 link. This is analogous not be efficient for the network.
0.5
to an average cost
curve used in
0
0 500 1000
Flow per Lane
1500 2000 2500 economics.
Problem: User
Problem (continued)
Equilibrium
• Example. Given a flow of six (6) units from origin “o” to destination “r”. • A. What is the flow and travel time on each link
Flow on each route ab is designated with Qab in the Time Function.
Apply Wardrop's Network Equilibrium Principle (Users Equalize (complete the table below) for Network A?
Travel Times on all used routes)
8
Problem (Solution)
These four links are really 2 links O-P-R and O-Q-R, because by conservation of flow
Example 2 (Continued)
Qop = Qpr and Qoq=Qqr.
By Wardrop's Equilibrium Principle, The travel time (cost) on each used route must By the conservation of flow principle
be equal. So 13/7Qoqr = 41/7
Qoqr+Qopr = 6 Qoqr = 41/13 = 3.15
Copr = Coqr. Qopr = 6 - Qoqr
OR Qopr=2.84
By substitution
25+ 6*Qopr= 20+7*Qoqr Check
Qoqr = 5/7 + 6/7 (6 - Qoqr) = 41/7 -6/7
Qoqr 42.01=25+6(2.84) ? 20+7(3.15) = 42.05
5+ 6*Qopr= 7*Qoqr
Check (within rounding error)
Qoqr = 5/7 + 6/7 Qopr
Link Time Flow Time
Function
Link Time
o-p 5 *Qop 2.84 14.2
Function
p-r 25 + Qpr 2.84 27.84
o-p-r 25+6 *Qopr
o-q 20 + 2*Qoq 3.15 26.3
o-q-r 20 + 7*Qoqr
q-r 5 *Qqr 3.15 15.75