Research Questions and Hypothesis
In this article we draw on the strong connection between traffic modelling and physics to discuss the following two questions:
-
How can the principle of least action be used to consider traffic flow in an urban setting?
-
How can this formulation be expanded to include stochastic effects analogous to quantum mechanical effects to capture phenomenon not typically found in traffic models?
Methods and Data
In Fermat’s principle of least time, vehicles move between two points in space [1] We consider a total travel time as a generalized principle of least action: T[z]=∫BAτ(z)dz(1) for an instantaneous travel time and a total travel time This travel time can be generalized to a cost function if desired, so long as the units remain consistent throughout the problem. The problem can also consider vehicle speed along a path by understanding that an instantaneous path length divided by the speed at any point produces the instantaneous travel time, or T[z]=∫BAdzu(z)(2) The speed function can be related to a volume delay function in traffic assignment modelling. In a direct analogy to physics, a volume delay function can be thought of as an application of a potential that affects route choice and the willingness to make a trip.
and in the least amount of time possible.Under the principle of stationary action, a set of equations known as the Euler-Lagrange equations can be derived for each of the generalized coordinates tτ(z)˙z−τ(z)z=0(3) Application of the Euler-Lagrange equation presented in equation 3 can be used to find the path that minimizes in equation 2. This formulation is applied to an idealized situation of traffic flow in a city experiencing radially symmetric congestion. The intention is not to accurately model common scenarios, but as a proof of concept outlining the process required to retain results for the small set of situations that produce analytical functions. More complex situations can be evaluated numerically if desired.
These equations have the formAfter this classical application is outlined, we provide qualitative discussion of how the classical approach can be extended to quantum mechanical applications in traffic modelling.
Findings
Consider a situation in which peak period travel has caused radially symmetric congestion in a city. Congestion is highest at the origin (downtown), and decreases radially outwards. A driver wishes to move between two arbitrary points in the least amount of time possible, given the congestion described above. For this problem we apply Fermat’s principle.
Due to the radially symmetric nature of the problem, the polar coordinate system is chosen as the most suitable. The coordinates da=√dx2+dy2=√dr2+r2dϕ2=√1+r2ϕ′2dr(4) where Given that travel is made between to points in the shortest time, equation 4 is applied to equation 2 to produce T=∫BAdr√1+r2ϕ2u(r,ϕ)(5) At this point a function for the speed is necessary. For analytical simplicity, suppose that the congestion affects travel speed as u(r)=α√r(6) for some arbitrary constant This is in fact the classic Brachistochrone problem in polar coordinates, and a radial gravitational field. Using equation 6, equation 5 becomes T=∫BAdr√1+r2ϕ2α√r The Euler-Lagrange equation in this case is rGϕ′−Gϕ=0 where G=√1+r2ϕ2α√r The resulting differential equation is r[r3/2ϕ′α√1+r2ϕ′2]=0 which implies that r3/2ϕ′α√1+r2ϕ′2=aα For some arbitrary constant This is itself a differential equation of the form ϕ′(r)=a√r3−a2r2 with a solution ϕ(r)=2arctan(√r−a2a)+C or, alternatively, r(ϕ)=a2sec2(ϕ2−C) The constant can be partially determined by requiring the function to pass through initial coordinates The first point can be used to find a=√r1cos(ϕ12−C) leaving only the phase angle to be determined, or r(ϕ)=r1cos2(ϕ12−C)sec2(ϕ2−C) is varied numerically and the trajectory is examined to determine if it passes through the desired destination point. Varying rotates the trajectory function about To restrict trajectories to fall in only one hemicircle, and eliminate duplicate solutions, is restricted to −π≤C<π
are given in terms of standard Cartesian coordinates as and The standard unit of infinitesimal distance is given asOne mathematical artifact of the simplified model is that trajectories cannot pass through the origin, and in fact trajectories must always pass around the origin (even for trips made along the same ray towards or away from the origin). This is a result of the singularity that appears due to the simplicity of the model, and may not appear if another, less analytical model of congestion is used. The important conclusion is that faced with this congestion, drivers will not follow a straight line between their origin and destination. Instead, drivers “skirt” the core and make their way around it in some way. Figure 1 provides some example trajectories for a specified origin of
for the upper hemimcircle, with the understanding that the lower hemicircle is identical when reflected about the lines and (the horizontal axis).Trip Energy Threshold
Einstein (1905) demonstrated that the energy required to knock electrons from a metal is discretized; a certain energy threshold is required to begin removing the electrons. Similarly, there is a certain energy threshold that is required for trip to be worthwhile; below that energy no trips will happen. This energy threshold is the amount of effort required by a driver to make any trip, regardless of the length or obstacles faced. This parallels the concept of utility in travel, and makes the argument that travel behaviour changes in discrete, quantized steps. A trip energy threshold could be quantified for a given region or city using a logit or distribution typical in the literature for modelling trip choice. In a recent thesis, Hancock (2019) proposed a quantum-state approach to modelling choices, indicating that incorporating quantum ideas into transportation modelling is of continued interest to scholars.
Deviation from a Single Path
In quantum mechanical formulations, the path derived from the principle of stationary action as above is allowed to deviate at a cost, which can accommodate trips that do not strictly follow the path of least time. This accounts for drivers who do not take the optimal route, whether out of habit or inertia (Xu et al. 2017; Srinivasan and Mahmassani 2000). Each individual path takes the form of a probability distribution with decreasing likelihood based on increased distance from that of least action. This creates a distribution of possible paths that can be combined to form a distribution of possible states and paths used by individuals, capturing the random aspects of human behaviour that do not always follow a mathematically optimal path. This type of approach was used by Feynman (1942) to bridge classical and quantum mechanics; this approach could also be applied to Lagrangian models such as the one presented here to develop a quantum-analogous state space for travel and congestion in a city.
An interested reader can consult the Feynman Lectures on Physics (Feynman, Leighton, and Sands 2011a, 2011b) for more detail.