3. The Gravity Model
The bigger the friction factor,
the more trips that are encouraged
Tij = Qij =
Pi Aj FijKij
ΣAzFizKi
j
Fij = 1 / Wc
ij
(Productions)(Attractions)(Friction Factor)
Sum of the (Attractions x Friction Factors) of the Zones
=
= Pipij
& ln F = - c ln W
4. Some of the Variables
Tij = Qij = Trips Volume between i & j
Fij =1/Wc
ij = Friction Factor
Wij = Generalized Cost (including travel time, cost)
c = Calibration Constant
pij = Probability that trip i will be attracted to zone j
kij = Socioeconomic Adjustment Factor
5. To Apply the Gravity Model
What we need…
1. Productions, {Pi}
2. Attractions, {Aj}
3. Skim Tables {Wij)
Target-Year Interzonal Impedances
6. Gravity Model Example 8.2
Given:
Target-year Productions, {Pi}
Relative Attractiveness of Zones, {Aj}
Skim Table, {Wij}
Calibration Factor, c = 2.0
Socioeconomic Adjustment Factor, K = 1.0
Find:
Trip Interchanges, {Qij}
7. Attractions vs. Attractiveness
The number of attractions to a particular zone
depends upon the zone’s attractiveness
As compared to the attractiveness of all the other
competing zones and
The distance between them
Two zones with identical attractiveness may
have a different number of attractions due to one’s
remote location
Thus, substituting attractions for attractiveness
can lead to incorrect results
9. Keep in mind that the socioeconomic
factor, K, can be a matrix of value
rather than just one value
TAZ 1 2 3 4
1 1.4 1.2 1.7 1.9
2 1.2 1.1 1.1 1.4
3 1.7 1.1 1.5 1.3
4 1.9 1.4 1.3 1.6
10. Calibration of
the Gravity Model
When we talk about calibrating the
gravity model, we are referring to
determining the numerical value c
The reason we do this is to fix the
relationship between the travel-time
factor and the inter-zonal impedance
11. Calibration of
the Gravity Model
Calibration is an iterative process
We first assume a value of c and then use:
Qij = Pi
Aj Fij
Σ(Ax Fix)
[ ]
Qij = Tij = Trips Volume between i & j
Fij =1 / Wc
ij = Friction Factor
Wij = Generalized Cost (including travel time, cost)
c = Calibration Constant
12. Calibration of
the Gravity Model
The results are then compared with the
observed values during the base year
If the values are sufficiently close, keep c
The results are expressed in terms of the
appropriate equation relating F and W with c
If not, then adjust c and redo the procedure
14. Gravity Model
Calibration Example
Given:
Zone 2
Zone 3
Zone 4
Zone 5
Zone 1
5 TAZ City
TAZ Productions
1 500
2 1000
3 0
4 0
5 0
Σ 1500
TAZ "Attractiveness"
1 0
2 0
3 2
4 3
5 5
Σ 10
TAZ 3 4 5
1 5 10 15
2 10 5 15
Target-Year Inter-zonal Impedances, {Wij}
5
5
10
10
15
15
Find: c and Kij to fit the base data
TAZ 3 4 5
1 300 150 50
2 180 600 220
Base-Year Trip Interchange Volumes, {tij}
15. Relating F & W
Starting with:
Take the natural log of both sides
Now c is the slope of a straight
line relating ln F and ln W
Fij =
1
Wc
ij
ln F = - c ln W
ln
F
ln W
16. Trip-Length Frequency Distribution
Group zone pairs by max Wij
Sum Interchange Volumes for each set of zone pairs
Find f = (Σtix) / (Σtij)
TAZ 3 4 5
1 5 10 15
2 10 5 15
Target-Year Inter-zonal Impedances, {Wij}
TAZ 3 4 5
1 300 150 50
2 180 600 220
Base-Year Trip Interchange Volumes, {tij}
W Σtij f
5 300 600 900 0.60
10 150 180 330 0.22
15 50 220 270 0.18
Σ 1500 1.00
tij Values
Zone Pairs
13, 24
14, 23
15, 25
25. K Factors
Even after calibration, there will typically still be
discrepancies between the observed & calculated data
To “fine-tune” the model, some employ socioeconomic
adjustment factors, also known as K-Factors
The intent is to capture special local conditions between some
zonal pairs such as the need to cross a river
Kij = Rij
1-Xi
1 - XiRij
Rij = ratio of observed to calculated Qij (or Tij)
Xi = ratio of the base-year Qij to Pi (total productions of zone i)
27. The Problem with K-Factors
Although K-Factors may improve the model
in the base year, they assume that these
special conditions will carry over to future
years and scenarios
This limits model sensitivity and undermines the
model’s ability to predict future travel behavior
The need for K-factors often is a symptom
of other model problems.
Additionally, the use of K-factors makes it more
difficult to figure out the real problems
28. Limitations of
the Gravity Model
Too much of a reliance on K-Factors in
calibration
External trips and intrazonal trips cause
difficulties
The skim table impedance factors are often too
simplistic to be realistic
Typically based solely upon vehicle travel times
At most, this might include tolls and parking costs
Almost always fails to take into account how things
such as good transit and walkable neighborhoods affect
trip distribution
No obvious connection to behavioral decision-making