# Trip distribution

All trips have an origin and destination and these are considered at the trip distribution stage.

Trip distribution (or destination choice or zonal interchange analysis) is the second component (after trip generation, but before mode choice and route assignment) in the traditional four-step transportation forecasting model. This step matches tripmakers’ origins and destinations to develop a “trip table”, a matrix that displays the number of trips going from each origin to each destination.[1] Historically, this component has been the least developed component of the transportation planning model.

Table: Illustrative trip table
Origin \ Destination 1 2 3 Z
1 T11 T12 T13 T1Z
2 T21
3 T31
Z TZ1 TZZ

Where: T ij = trips from origin i to destination j. Note that the practical value of trips on the diagonal, e.g. from zone 1 to zone 1, is zero since no intra-zonal trip occurs.

Work trip distribution is the way that travel demand models understand how people take jobs. There are trip distribution models for other (non-work) activities such as the choice of location for grocery shopping, which follow the same structure.

## History

Over the years, modelers have used several different formulations of trip distribution. The first was the Fratar or Growth model (which did not differentiate trips by purpose). This structure extrapolated a base year trip table to the future based on growth, but took no account of changing spatial accessibility due to increased supply or changes in travel patterns and congestion. (Simple Growth factor model, Furness Model and Detroit model are models developed at the same time period)

The next models developed were the gravity model and the intervening opportunities model. The most widely used formulation is still the gravity model.

While studying traffic in Baltimore, Maryland, Alan Voorhees developed a mathematical formula to predict traffic patterns based on land use. This formula has been instrumental in the design of numerous transportation and public works projects around the world. He wrote "A General Theory of Traffic Movement," (Voorhees, 1956) which applied the gravity model to trip distribution, which translates trips generated in an area to a matrix that identifies the number of trips from each origin to each destination, which can then be loaded onto the network.

Evaluation of several model forms in the 1960s concluded that "the gravity model and intervening opportunity model proved of about equal reliability and utility in simulating the 1948 and 1955 trip distribution for Washington, D.C." (Heanue and Pyers 1966). The Fratar model was shown to have weakness in areas experiencing land use changes. As comparisons between the models showed that either could be calibrated equally well to match observed conditions, because of computational ease, gravity models became more widely spread than intervening opportunities models. Some theoretical problems with the intervening opportunities model were discussed by Whitaker and West (1968) concerning its inability to account for all trips generated in a zone which makes it more difficult to calibrate, although techniques for dealing with the limitations have been developed by Ruiter (1967).

With the development of logit and other discrete choice techniques, new, demographically disaggregate approaches to travel demand were attempted. By including variables other than travel time in determining the probability of making a trip, it is expected to have a better prediction of travel behavior. The logit model and gravity model have been shown by Wilson (1967) to be of essentially the same form as used in statistical mechanics, the entropy maximization model. The application of these models differs in concept in that the gravity model uses impedance by travel time, perhaps stratified by socioeconomic variables, in determining the probability of trip making, while a discrete choice approach brings those variables inside the utility or impedance function. Discrete choice models require more information to estimate and more computational time.

Ben-Akiva and Lerman (1985) have developed combination destination choice and mode choice models using a logit formulation for work and non-work trips. Because of computational intensity, these formulations tended to aggregate traffic zones into larger districts or rings in estimation. In current application, some models, including for instance the transportation planning model used in Portland, Oregon, use a logit formulation for destination choice. Allen (1984) used utilities from a logit based mode choice model in determining composite impedance for trip distribution. However, that approach, using mode choice log-sums implies that destination choice depends on the same variables as mode choice. Levinson and Kumar (1995) employ mode choice probabilities as a weighting factor and develop a specific impedance function or “f-curve” for each mode for work and non-work trip purposes.

## Mathematics

At this point in the transportation planning process, the information for zonal interchange analysis is organized in an origin-destination table. On the left is listed trips produced in each zone. Along the top are listed the zones, and for each zone we list its attraction. The table is n x n, where n = the number of zones.

Each cell in our table is to contain the number of trips from zone i to zone j. We do not have these within-cell numbers yet, although we have the row and column totals. With data organized this way, our task is to fill in the cells for tables headed t = 1 through say t = n.

Actually, from home interview travel survey data and attraction analysis we have the cell information for t = 1. The data are a sample, so we generalize the sample to the universe. The techniques used for zonal interchange analysis explore the empirical rule that fits the t = 1 data. That rule is then used to generate cell data for t = 2, t = 3, t = 4, etc., to t = n.

The first technique developed to model zonal interchange involves a model such as this:

${\displaystyle T_{ij}=T_{i}{\frac {A_{j}f\left({C_{ij}}\right)K_{ij}}{\sum _{j'=1}^{n}{A_{j'}f\left({C_{ij'}}\right)K_{ij'}}}}}$

where:

• ${\displaystyle T_{ij}}$ : trips from i to j.
• ${\displaystyle T_{i}}$ : trips from i, as per our generation analysis
• ${\displaystyle A_{j}}$ : trips attracted to j, according to generation analysis
• ${\displaystyle f(C_{ij})}$ : travel cost friction factor, say = ${\displaystyle C_{ij}^{b}}$
• ${\displaystyle K_{ij}}$ : Calibration parameter

Zone i generates T i trips; how many will go to zone j? That depends on the attractiveness of j compared to the attractiveness of all places; attractiveness is tempered by the distance a zone is from zone i. We compute the fraction comparing j to all places and multiply T ;i by it.

The rule is often of a gravity form:

${\displaystyle T_{ij}=a{\frac {P_{i}P_{j}}{C_{ij}^{b}}}}$

where:

• ${\displaystyle P_{i};P_{j}}$ : populations of i and j
• ${\displaystyle a;b}$ : parameters

But in the zonal interchange mode, we use numbers related to trip origins (T ;i) and trip destinations (T ;j) rather than populations.

There are many model forms because we may use weights and special calibration parameters, e.g., one could write say:

${\displaystyle T_{ij}=a{\frac {T_{i}^{c}T_{j}^{d}}{C_{ij}^{b}}}}$

or

${\displaystyle T_{ij}={\frac {cT_{i}dT_{j}}{C_{ij}^{b}}}}$

where:

• a, b, c, d are parameters
• ${\displaystyle C_{ij}}$ : travel cost (e.g. distance, money, time)
• ${\displaystyle T_{j}}$ : inbound trips, destinations
• ${\displaystyle T_{i}}$ : outbound trips, origin

## Gravity model

The gravity model illustrates the macroscopic relationships between places (say homes and workplaces). It has long been posited that the interaction between two locations declines with increasing (distance, time, and cost) between them, but is positively associated with the amount of activity at each location (Isard, 1956). In analogy with physics, Reilly (1929) formulated Reilly's law of retail gravitation, and J. Q. Stewart (1948) formulated definitions of demographic gravitation, force, energy, and potential, now called accessibility (Hansen, 1959). The distance decay factor of 1/distance has been updated to a more comprehensive function of generalized cost, which is not necessarily linear - a negative exponential tends to be the preferred form.

The gravity model has been corroborated many times as a basic underlying aggregate relationship (Scott 1988, Cervero 1989, Levinson and Kumar 1995). The rate of decline of the interaction (called alternatively, the impedance or friction factor, or the utility or propensity function) has to be empirically measured, and varies by context.

Limiting the usefulness of the gravity model is its aggregate nature. Though policy also operates at an aggregate level, more accurate analyses will retain the most detailed level of information as long as possible. While the gravity model is very successful in explaining the choice of a large number of individuals, the choice of any given individual varies greatly from the predicted value. As applied in an urban travel demand context, the disutilities are primarily time, distance, and cost, although discrete choice models with the application of more expansive utility expressions are sometimes used, as is stratification by income or vehicle ownership.

Mathematically, the gravity model often takes the form:

${\displaystyle T_{ij}=K_{i}K_{j}T_{i}T_{j}f(C_{ij})}$
${\displaystyle \sum _{j}{T_{ij}=T_{i}},\sum _{i}{T_{ij}=T_{j}}}$
${\displaystyle K_{i}={\frac {1}{\sum _{j}{K_{j}T_{j}f(C_{ij})}}},K_{j}={\frac {1}{\sum _{i}{K_{i}T_{i}f(C_{ij})}}}}$

where

• ${\displaystyle T_{ij}}$ = Trips between origin i and destination j
• ${\displaystyle T_{i}}$ = Trips originating at i
• ${\displaystyle T_{j}}$ = Trips destined for j
• ${\displaystyle C_{ij}}$ = travel cost between i and j
• ${\displaystyle K_{i},K_{j}}$ = balancing factors solved iteratively. See Iterative proportional fitting.
• ${\displaystyle f}$ = distance decay factor, as in the accessibility model

It is doubly constrained, in the sense that for any i the total number of trips from i predicted by the model always (mechanically, for any parameter values) equals the real total number of trips from i. Similarly, the total number of trips to j predicted by the model equals the real total number of trips to j, for any j.

## Entropy analysis

Wilson (1970) gives another way to think about zonal interchange problem. This section treats Wilson’s methodology to give a grasp of central ideas.

To start, consider some trips where there are seven people in origin zones commuting to seven jobs in destination zones. One configuration of such trips will be:

Table: Configuration of trips
zone 1 2 3
1 2 1 1
2 0 2 1
${\displaystyle w\left({T_{ij}}\right)={\frac {7!}{2!1!1!0!2!1!}}=1260}$

where 0! = 1.

That configuration can appear in 1,260 ways. We have calculated the number of ways that configuration of trips might have occurred, and to explain the calculation, let’s recall those coin tossing experiments talked about so much in elementary statistics.

The number of ways a two-sided coin can come up is ${\displaystyle 2^{n}}$, where n is the number of times we toss the coin. If we toss the coin once, it can come up heads or tails, ${\displaystyle 2^{1}=2}$. If we toss it twice, it can come up HH, HT, TH, or TT, four ways, and ${\displaystyle 2^{2}=4}$. To ask the specific question about, say, four coins coming up all heads, we calculate ${\displaystyle 4!/(4!0!)=1}$. Two heads and two tails would be ${\displaystyle 4!/(2!2!)=6}$. We are solving the equation:

${\displaystyle w={\frac {n!}{\prod _{i=1}^{n}{n_{i}!}}}}$

An important point is that as n gets larger, our distribution gets more and more peaked, and it is more and more reasonable to think of a most likely state.

However, the notion of most likely state comes not from this thinking; it comes from statistical mechanics, a field well known to Wilson and not so well known to transportation planners. The result from statistical mechanics is that a descending series is most likely. Think about the way the energy from lights in the classroom is affecting the air in the classroom. If the effect resulted in an ascending series, many of the atoms and molecules would be affected a lot and a few would be affected a little. The descending series would have many affected not at all or not much and only a few affected very much. We could take a given level of energy and compute excitation levels in ascending and descending series. Using the formula above, we would compute the ways particular series could occur, and we would conclude that descending series dominate.

That is more-or-less Boltzmann's Law,

${\displaystyle p_{j}=p_{0}e^{\beta e_{j}}}$

That is, the particles at any particular excitation level j will be a negative exponential function of the particles in the ground state, ${\displaystyle p_{0}}$, the excitation level, ${\displaystyle e_{j}}$, and a parameter ${\displaystyle \beta }$, which is a function of the (average) energy available to the particles in the system.

The two paragraphs above have to do with ensemble methods of calculation developed by Gibbs, a topic well beyond the reach of these notes.

Returning to the O-D matrix, note that we have not used as much information as we would have from an O and D survey and from our earlier work on trip generation. For the same travel pattern in the O-D matrix used before, we would have row and column totals, i.e.:

Table: Illustrative O-D matrix with row and column totals
zone 1 2 3
zone Ti \Tj 2 3 2
1 4 2 1 1
2 3 0 2 1

Consider the way the four folks might travel, 4!/(2!1!1!) = 12; consider three folks, 3!/(0!2!1!) = 3. All travel can be combined in 12×3 = 36 ways. The possible configuration of trips is, thus, seen to be much constrained by the column and row totals.

We put this point together with the earlier work with our matrix and the notion of most likely state to say that we want to

${\displaystyle \max w\left({T_{ij}}\right)={\frac {T!}{\prod _{ij}{T_{ij}!}}}}$

subject to

${\displaystyle \sum _{j}{T_{ij}=T_{i}};\sum _{i}{T_{ij}=T_{j}}}$

where:

${\displaystyle T=\sum _{j}{\sum _{i}{T_{ij}}}=\sum _{i}{T_{i}}=\sum _{j}{T_{j}}}$

and this is the problem that we have solved above.

Wilson adds another consideration; he constrains the system to the amount of energy available (i.e., money), and we have the additional constraint,

${\displaystyle \sum _{i}{\sum _{j}{T_{ij}C_{ij}=C}}}$

where C is the quantity of resources available and ${\displaystyle C_{ij}}$ is the travel cost from i to j.

The discussion thus far contains the central ideas in Wilson’s work, but we are not yet to the place where the reader will recognize the model as it is formulated by Wilson.

First, writing the ${\displaystyle \Lambda }$ function to be maximized using Lagrangian multipliers, we have:

${\displaystyle \Lambda (T_{ij},\lambda _{i},\lambda _{j})={\frac {T!}{\prod _{ij}{Tij!}}}+\sum _{i}{\lambda _{i}\left({T_{i}-\sum _{j}{T_{ij}}}\right)}+\sum _{j}{\lambda _{j}\left({T_{j}-\sum _{i}{T_{ij}}}\right)+\beta \left({C-\sum _{i}{\sum _{j}{T_{ij}C_{ij}}}}\right)}}$

where ${\displaystyle \lambda _{i},\lambda _{j}}$ and ${\displaystyle \beta }$ are the Lagrange multipliers, ${\displaystyle \beta }$ having an energy sense.

Second, it is convenient to maximize the natural log (ln) rather than ${\displaystyle w(T_{ij})}$, for then we may use Stirling's approximation.

${\displaystyle \ln N!\approx N\ln N-N}$

so

${\displaystyle {\frac {\partial \ln N!}{\partial N}}\approx \ln N}$

Third, evaluating the maximum, we have

${\displaystyle {\frac {\partial \Lambda (T_{ij},\lambda _{i},\lambda _{j})}{\partial T_{ij}}}=-\ln T_{ij}-\lambda _{i}-\lambda _{j}-\beta C_{ij}=0}$

with solution

${\displaystyle \ln T_{ij}=-\lambda _{i}-\lambda _{j}-\beta C_{ij}}$
${\displaystyle T_{ij}=e^{-\lambda _{i}-\lambda _{j}-\beta C_{ij}}}$

Finally, substituting this value of ${\displaystyle T_{ij}}$ back into our constraint equations, we have:

${\displaystyle \sum _{j}{e^{-\lambda _{i}-\lambda _{j}-\beta C_{ij}}}=T_{i};\sum _{i}{e^{-\lambda _{i}-\lambda _{j}-\beta C_{ij}}}=T_{j}}$

and, taking the constant multiples outside of the summation sign

${\displaystyle e^{-\lambda _{i}}={\frac {T_{i}}{\sum _{j}{e^{-\lambda _{j}-\beta C_{ij}}}}};e^{-\lambda _{j}}={\frac {T_{j}}{\sum _{i}{e^{-\lambda _{i}-\beta C_{ij}}}}}}$

Let

${\displaystyle {\frac {e^{-\lambda _{i}}}{T_{i}}}=A_{i};{\frac {e^{-\lambda _{j}}}{T_{j}}}=B_{j}}$

we have

${\displaystyle T_{ij}=A_{i}B_{j}T_{i}T_{j}e^{-\beta C_{ij}}}$

which says that the most probable distribution of trips has a gravity model form, ${\displaystyle T_{ij}}$ is proportional to trip origins and destinations. The constants ${\displaystyle A_{i}}$, ${\displaystyle B_{j}}$, and ${\displaystyle \beta }$ ensure that constraints are met.

Turning now to computation, we have a large problem. First, we do not know the value of C, which earlier on we said had to do with the money available, it was a cost constraint. Consequently, we have to set ${\displaystyle \beta }$ to different values and then find the best set of values for ${\displaystyle A_{i}}$ and ${\displaystyle B_{j}}$. We know what ${\displaystyle \beta }$ means – the greater the value of ${\displaystyle \beta }$, the less the cost of average distance traveled. (Compare ${\displaystyle \beta }$ in Boltzmann's Law noted earlier.) Second, the values of ${\displaystyle A_{i}}$ and ${\displaystyle B_{j}}$ depend on each other. So for each value of ${\displaystyle \beta }$, we must use an iterative solution. There are computer programs to do this.

Wilson's method has been applied to the Lowry model.

## Issues

### Congestion

One of the key drawbacks to the application of many early models was the inability to take account of congested travel time on the road network in determining the probability of making a trip between two locations. Although Wohl noted as early as 1963 research into the feedback mechanism or the “interdependencies among assigned or distributed volume, travel time (or travel ‘resistance’) and route or system capacity”, this work has yet to be widely adopted with rigorous tests of convergence, or with a so-called “equilibrium” or “combined” solution (Boyce et al. 1994). Haney (1972) suggests internal assumptions about travel time used to develop demand should be consistent with the output travel times of the route assignment of that demand. While small methodological inconsistencies are necessarily a problem for estimating base year conditions, forecasting becomes even more tenuous without an understanding of the feedback between supply and demand. Initially heuristic methods were developed by Irwin and Von Cube [2] and others, and later formal mathematical programming techniques were established by Suzanne Evans.[3]

### Stability of travel times

A key point in analyzing feedback is the finding in earlier research[4] that commuting times have remained stable over the past thirty years in the Washington Metropolitan Region, despite significant changes in household income, land use pattern, family structure, and labor force participation. Similar results have been found in the Twin Cities[5]

The stability of travel times and distribution curves over the past three decades[when?] gives a good basis for the application of aggregate trip distribution models for relatively long term forecasting. This is not to suggest that there exists a constant travel time budget.

## Footnotes

1. ^
2. ^ Florian M., Nguyen S., and Ferland J. 1975 On the Combined Distribution-Assignment of Traffic", Transportation Science, Vol. 9, pp. 43–53, 1975
3. ^ * Evans, Suzanne P. 1976 . Derivation and Analysis of Some Models for Combining Trip Distribution and Assignment. Transportation Research, Vol. 10, PP 37–57 1976
4. ^ Levinson, D. and A. Kumar 1994 The Rational Locator: Why Travel Times Have Remained Stable, Journal of the American Planning Association, 60:3 319–332
5. ^ Barnes, G. and Davis, G. 2000. Understanding Urban Travel Demand: Problems, Solutions, and the Role of Forecasting, University of Minnesota Center for Transportation Studies: Transportation and Regional Growth Study

## References

• Allen, B. 1984 Trip Distribution Using Composite Impedance Transportation Research Record 944 pp. 118–127
• Ben-Akiva M. and Lerman S. 1985 Discrete Choice Analysis, MIT Press, Cambridge MA
• Boyce, D., Lupa, M. and Zhang, Y.F. 1994 Introducing “Feedback” into the Four-Step Travel Forecasting Procedure vs. the Equilibrium Solution of a Combined Model presented at 73rd Annual Meeting of Transportation Research Board

• Haney, D. 1972 Consistency in Transportation Demand and Evaluation Models, Highway Research Record 392, pp. 13–25 1972
• Hansen, W. G. 1959. How accessibility shapes land use. Journal of the American Institute of Planners, 25(2), 73–76.
• Heanue, Kevin E. and Pyers, Clyde E. 1966. A Comparative Evaluation of Trip Distribution Procedures,
• Levinson, D. and Kumar A. 1995. A Multi-modal Trip Distribution Model. Transportation Research Record #1466: 124–131.
• Portland MPO Report to Federal Transit Administration on Transit Modeling
• Reilly, W.J. (1929) “Methods for the Study of Retail Relationships” University of Texas Bulletin No 2944, Nov. 1929.
• Reilly, W.J., 1931. The Law of Retail Gravitation, New York.
• Ruiter, E. 1967 Improvements in Understanding, Calibrating, and Applying the Opportunity Model Highway Research Record No. 165 pp. 1–21
• Stewart, J.Q. (1948) “Demographic Gravitation: Evidence and Application” Sociometry Vol. XI Feb.–May 1948 pp 31–58.
• Stewart, J.Q., 1947. Empirical Mathematical Rules Concerning the Distribution and Equilibrium of Population, Geographical Review, Vol 37, 461–486.
• Stewart, J.Q., 1950. Potential of Population and its Relationship to Marketing. In: Theory in Marketing, R. Cox and W. Alderson (Eds) ( Richard D. Irwin, Inc., Homewood, Illinois).
• Stewart, J.Q., 1950. The Development of Social Physics, American Journal of Physics, Vol 18, 239–253
• Voorhees, Alan M., 1956, "A General Theory of Traffic Movement," 1955 Proceedings, Institute of Traffic Engineers, New Haven, Connecticut.
• Whitaker, R. and K. West 1968 The Intervening Opportunities Model: A Theoretical Consideration Highway Research Record 250 pp. 1–7
• Wilson, A.G. A Statistical Theory of Spatial Distribution Models Transportation Research, Volume 1, pp. 253–269 1967
• Wohl, M. 1963 Demand, Cost, Price and Capacity Relationships Applied to Travel Forecasting. Highway Research Record 38:40–54
• Zipf, G. K., 1946. The Hypothesis on the Intercity Movement of Persons. American Sociological Review, vol. 11, Oct
• Zipf, G. K., 1949. Human Behaviour and the Principle of Least Effort. Massachusetts