Traffic Flow Theory
Traffic flow theory involves the development of mathematical relationships among the primary elements of a traffic stream: flow, density, and speed. These macroscopic relationships help engineers understand traffic behavior, predict congestion, and design efficient transportation facilities.
Time-Space Diagrams
A fundamental graphical tool used to analyze traffic streams.
Time-Space Diagram
A two-dimensional plot with time (usually in seconds) on the x-axis and distance (usually in meters or feet) on the y-axis. The trajectory of a single vehicle is plotted as a line or curve on this graph.
Interpreting Time-Space Diagrams
- Vehicle Trajectories: The path of an individual vehicle over time and space.
- Speed (): The slope of the trajectory line (). A steeper slope indicates a higher speed. A horizontal line (zero slope) indicates a stopped vehicle.
- Headway (): The horizontal distance between two parallel trajectories at a constant distance (e.g., passing a specific point).
- Spacing (): The vertical distance between two parallel trajectories at a constant time (e.g., a snapshot of the roadway).
- Shockwaves: When traffic states change (e.g., from free-flow to congested), the boundary between these states forms a shockwave, visually identifiable as the intersection points of different trajectory slopes.
Queueing Theory Applications
Mathematical modeling of waiting lines in transportation facilities.
Queueing Models in Traffic
- Deterministic Queueing (D/D/1): Used for predictable situations like toll booths or signalized intersections where arrivals and departures are constant. It uses cumulative input and output curves (bottleneck models) to calculate total delay and maximum queue length.
- Stochastic Queueing (M/M/1, M/G/1): Used when arrivals are random (Poisson distribution) and service times are variable (exponential or general). Essential for analyzing uncontrolled intersections, parking lots, or airport runways where the exact timing of arrivals cannot be known.
- Key Metrics: Average waiting time, average queue length, maximum queue length, and system utilization factor ().
Fundamental Equation of Traffic Flow
The core relationship linking the three main macroscopic parameters—flow (), density (), and speed ()—is given by:
Where:
- = Flow rate: Number of vehicles passing a point per hour (veh/hr or vph)
- = Density: Number of vehicles occupying a given length of a lane or roadway at a given instant (veh/km or veh/mi)
- = Space mean speed: The average speed of vehicles over a specific length of roadway (km/hr or mph)
- Fundamental Traffic Variables
Traffic Flow Theory (Greenshields Model)
Model Parameters
Free-Flow Speed (u_f)80 km/h
Jam Density (k_j)100 veh/km
Current Traffic State
Current Density (k)25 veh/km
Speed (u)60.0 km/h
Flow (q)1500 veh/h
Capacity (q_max)2000 veh/h
Optimum Speed40.0 km/h
Flow vs. Density (q-k)
Loading chart...
Speed vs. Density (u-k)
Loading chart...
To understand the macroscopic variables (), we must first understand their microscopic counterparts.
Flow () and Headway ()
Checklist
- Flow (): The macroscopic rate at which vehicles pass a fixed point.
- Headway (): The microscopic time interval between the passage of the front bumpers of consecutive vehicles.
They are inversely related:
(Where is in seconds, yielding flow in vehicles per hour)
Density () and Spacing ()
Checklist
- Density (): The macroscopic concentration of vehicles over a length of road.
- Spacing (): The microscopic distance between the front bumpers of consecutive vehicles.
They are inversely related:
(Where is in meters, yielding density in vehicles per kilometer)
Speed ()
Checklist
- Time Mean Speed (): The arithmetic mean of the spot speeds of vehicles passing a fixed point over a period of time. It is measured using radar guns or loop detectors.
- Space Mean Speed (): The harmonic mean of spot speeds, representing the average speed of vehicles present on a segment of roadway at a given instant. This is the speed () used in the fundamental equation .
Key Takeaways
- Flow (), Density (), and Speed () form the three macroscopic variables linked by .
- Space Mean Speed () is the harmonic mean of individual speeds and properly links macroscopic flow to density.
Time-Space Diagrams (Trajectories)
Visualizing vehicle movement over time and space.
A fundamental tool in traffic flow theory is the Time-Space Diagram. It plots the position of a vehicle () on the vertical axis against time () on the horizontal axis.
- The line representing a vehicle's path is called its trajectory.
- The slope of the trajectory () at any point represents the vehicle's speed.
- A steeper slope indicates a faster speed; a horizontal line indicates a stopped vehicle.
- The vertical distance between two parallel trajectories is the spacing ().
- The horizontal distance between two parallel trajectories is the time headway ().
Measurement Methods
The Moving Observer Method
A practical field technique for simultaneously estimating traffic flow () and average speed () on a roadway segment is the Moving Observer Method. A test vehicle travels along the segment in both directions, recording:
- The number of vehicles it overtakes.
- The number of vehicles that overtake the test vehicle.
- The number of opposing vehicles met (when traveling in the opposite direction).
- The travel time of the test vehicle. Through algebraic relationships, these counts and times can accurately estimate the stream flow and speed without installing stationary sensors.
- Traffic Stream Models
These models attempt to describe the empirical relationships between speed, density, and flow under uninterrupted conditions.
Greenshields Model (Linear)
The simplest and most widely taught macroscopic model. It assumes a linear, inverse relationship between speed and density. As the road gets more crowded, drivers slow down linearly.
Where:
Checklist
- = Free-flow speed: The theoretical speed when density is zero (an empty road).
- = Jam density: The theoretical maximum density when speed is zero (complete gridlock).
Substituting this into the fundamental equation (), we get a parabolic flow-density relationship:
The Derivation of Maximum Capacity ()
Understanding why capacity occurs at exactly half of the free-flow speed and jam density.
To find the mathematical peak of the parabolic flow-density curve (which represents the absolute maximum capacity of the roadway segment), we apply differential calculus.
We start with the parabolic flow equation derived from Greenshields:
To find the maximum flow (), we take the derivative of flow () with respect to density () and set it to zero:
Solving for , we find the optimal density ():
Substituting back into the original linear speed equation yields the optimal speed ():
Finally, applying the fundamental equation :
Note
Maximum Flow (Capacity)
In the Greenshields model, maximum flow (, also called capacity) occurs exactly when the traffic stream is at half the jam density and half the free-flow speed.
In the Greenshields model, maximum flow (, also called capacity) occurs exactly when the traffic stream is at half the jam density and half the free-flow speed.
- Optimum Density ():
- Optimum Speed ():
Greenberg's Logarithmic Model
Greenshields breaks down at very low densities (predicting finite speed instead of matching free-flow limits realistically) and very high densities. Greenberg proposed a logarithmic model that fits dense traffic conditions much better, though it fails at low densities (predicting infinite speed at zero density).
Greenberg's Logarithmic Model
Calculates the speed of traffic based on a logarithmic relationship with density, particularly effective for dense traffic conditions.
$$
u = u_o \ln\left( \frac{k_j}{k} \right)
$$Key Takeaways
- The Greenshields Model forms a linear inverse relationship between speed and density, causing a parabolic flow-density curve.
- Optimum flow (capacity) occurs halfway to the jam density () and halfway to free-flow speed ().
Macroscopic Fundamental Diagram (MFD)
Extending flow theory from a single roadway segment to an entire urban network.
While traditional models analyze a single link, the Macroscopic Fundamental Diagram (MFD) (or Network Fundamental Diagram) plots the relationship between the average network flow (production) and the average network density (accumulation) for an entire city region or downtown core.
MFD Characteristics
- It proves that an entire urban network behaves similarly to a single road: as the number of vehicles in the downtown area increases, the total network throughput increases up to a critical capacity point.
- If accumulation exceeds that critical point, gridlock sets in, and total network throughput drops drastically.
- Engineers use the MFD to implement perimeter metering (e.g., holding cars at suburban traffic signals) to ensure the downtown core never exceeds its critical accumulation, thus maintaining maximum city-wide throughput.
- Shockwave Theory
Traffic conditions on a roadway are rarely uniform. When there is a sudden change in capacity (due to a lane closure, a crash, or a red light) or a sudden change in demand (like a stadium emptying out), the boundary between the two different traffic states propagates along the highway. This moving boundary is called a shockwave.
Understanding shockwaves is critical for safety analysis, as they represent areas where drivers must suddenly decelerate, leading to high risks of rear-end collisions. Traffic engineers use shockwave theory to calculate how fast a queue will grow, how long it will take to dissipate, and where to place advanced warning signs for stopped traffic.
A shockwave in traffic represents a boundary between two distinct states of traffic flow (e.g., free-flowing traffic hitting a sudden queue). It is the propagation of a change in density and flow along the roadway.
The speed of the shockwave () is calculated as the slope of the chord connecting the two traffic states (Points 1 and 2) on the flow-density () curve.
Checklist
- Forward Moving Shockwave (): The boundary moves in the direction of traffic. (e.g., A queue dissipating after a green light turns on).
- Backward Moving Shockwave (): The boundary moves against the direction of traffic. (e.g., A queue forming and growing backward from a red light or an accident).
- Stationary Shockwave (): The boundary stays in one place. (e.g., The front of a queue at a steady bottleneck where arrival rate exactly equals departure rate).
Key Takeaways
- Shockwaves visualize moving boundaries between two distinct traffic states with differing flows and densities.
- Speed of a shockwave represents the rate of queue growth or dissipation, aiding in bottleneck delays calculation.
Microscopic Car-Following Models
Modeling the behavior of individual drivers reacting to the car in front of them.
While macroscopic models look at the stream as a whole, car-following models mathematically describe how a single driver (the follower) adjusts their acceleration based on the actions of the vehicle immediately ahead (the leader). These form the basis of modern microscopic traffic simulation software (like VISSIM).
The General Motors (GM) Model
The most famous family of car-following models posits that a driver's response (acceleration/deceleration) is proportional to the stimulus (the relative speed between the two cars) and inversely proportional to their spacing.
Where:
- is the acceleration of the following vehicle after a reaction time .
- is the relative speed (stimulus).
- is the spacing between the vehicles.
- are calibration parameters.
Gap Acceptance Theory
Crucial for modeling unsignalized intersections, roundabouts, and lane changing. A driver on a minor road will only pull into the major traffic stream if the time headway (gap) between approaching vehicles is greater than their personal Critical Gap (). If the gap is rejected, they wait for the next one. This theory uses probability distributions (like the negative exponential distribution) to predict how long a driver will be delayed before finding a safe gap.
- Queuing Theory
Queuing theory is used to analyze delays, queue lengths, and waiting times at bottlenecks (like toll booths or intersections).
Deterministic Queuing (D/D/1)
Checklist
- Assumptions: Arrival rate () and service rate () are constant and deterministic. There is 1 server.
- Mechanism: A queue forms whenever the arrival rate exceeds the service rate ().
- Analysis: Often visualized using cumulative arrival and departure curves over time. Total Delay is the area between these two curves.
Stochastic Queuing (M/M/1)
Checklist
- Assumptions: Arrivals are random (following a Poisson distribution, hence Markovian 'M'), service times are exponentially distributed (also 'M'), and there is 1 server.
- Condition: The system only reaches a steady state if the utilization ratio . If , the queue grows infinitely.
- Key Metric: Average queue length () is given by:
M/M/1 Delay Analysis
Calculates the average time a vehicle spends waiting in the queue and the total time spent in the system.
$$
W_q = \frac{\lambda}{\mu(\mu - \lambda)}
$$Total Time in System
Calculates the total average time a vehicle spends in the M/M/1 queuing system (wait time + service time).
$$
W = W_q + \frac{1}{\mu} = \frac{1}{\mu - \lambda}
$$Key Takeaways
- Queuing theory assesses bottlenecks by analyzing arrival rates () vs. service rates ().
- When , queues grow infinitely; analyzing these helps predict delays and needed capacity expansion.
Mathematical Formulations in Flow Theory
The Greenshields Model Equation
The Greenshields Model assumes a linear relationship between speed and density:
Where is free-flow speed and is jam density. Substituting this into the fundamental equation () yields a parabolic relationship for flow:
Maximum capacity () occurs when density is exactly half of the jam density () and speed is half of the free-flow speed ():
Shockwave Velocity
The velocity of a shockwave () propagating between two different traffic states (state 1 and state 2) is defined as the change in flow divided by the change in density:
Key Takeaways
- The fundamental equation of macroscopic traffic flow is (Flow = Density × Speed).
- Time Mean Speed is the arithmetic average of spot speeds; Space Mean Speed is the harmonic average and must be used in the fundamental equation.
- The Greenshields Model assumes a linear relationship between speed and density, leading to a parabolic relationship between flow and density where capacity () occurs at and .
- Shockwave Theory describes how changes in traffic states (like a queue forming or dissipating) propagate along a roadway.
- Queuing Theory is used to calculate delays and queue lengths at bottlenecks, analyzing the balance between arrival rates and service rates.