Docsity

Traffic Flow Modeling: Macroscopic and Microscopic Approaches, Cheat Sheet of English

Partial preview of the text

Download Traffic Flow Modeling: Macroscopic and Microscopic Approaches and more Cheat Sheet English in PDF only on Docsity!

Mathematical Modeling and Simulations

of Traffic Flow

by Jiah Song

A dissertation submitted in partial fulfillment of the requirements for the degree of Doctor of Philosophy (Applied and Interdisciplinary Mathematics) in The University of Michigan 2019

Doctoral Committee: Professor Smadar Karni, Co-ChairProfessor Romesh Saigal, Co-Chair Professor Robert KrasnyProfessor Philip Roe

Jiah Song [email protected] ORCID iD: 0000-0003-4317-

©c Jiah Song 2019

ACKNOWLEDGEMENTS

First, I want to express my sincere gratitude to my advisors Professors Smadar Karni and Romesh Saigal. I am especially thankful for Professor Karni’s patient guidance, constant support, and kind encouragement. She is a role model of me who can be incredibly patient, brilliant and successful. Professor Saigal is an incredible mentor who provided inspired and valuable advice whenever I seek for a help. I especially thank for his help in finding a job. I was very lucky to have them as my advisors who are immensely approachable. We had so many productive conversation about the research. I would like to thank my committee members Professors Philip Roe and Robert Krasny for taking their time to allow me to present my research, and offering useful comments to this dissertation. I also thank all the friends that I have made here in Michigan, and all the support from the Math department. Thanks to my family and friends in South Korea who always believe in me and support me with your unconditional love. Lastly, Leah and Seonghoon. Leah, you gave me a new life. Thank you for making me a good person, my forever sunshine. All the work in this dissertation went along with you for the past three years. Seonghoon, this dissertation would have not been able to be complete without your support. I look forward to spending our time after graduation. You are my only hero.

iii

TABLE OF CONTENTS

DEDICATION.......................................... ii

ACKNOWLEDGEMENTS.................................. iii

LIST OF FIGURES...................................... vi

ABSTRACT........................................... viii

CHAPTER

I. Introduction....................................... 1 1.1 Hyperbolic Conservation Laws.......................... 1 1.1.1 Mathematical Theory......................... 1 1.1.2 Numerical Methods........................... 7 1.2 Traffic Field Data................................. 10

II. Microscopic Car-Following Model.......................... 15

2.1 Literature Review................................. 15 2.2 Numerical Result................................. 19

III. Macroscopic Traffic Flow Model........................... 22

3.1 Scalar Conservation Laws............................. 22 3.1.1 Derivation of Equation......................... 22 3.1.2 Fundamental Relation and a New Fundamental Diagram...... 26

iv

LIST OF FIGURES
 - 3.1.3 Riemann Problem - 3.1.4 Generalization - 3.2 System - 3.2.1 Literature Review - 3.2.2 A New Model - 3.3 New Multilane Models - 3.3.1 Lane Change Conditions - 3.3.2 Multilane Scalar and System Models 
  • IV. Numerical Method and Result - 4.1 Numerical Method Revisit - 4.2 Numerical Examples
    • V. Conclusion and Future Work
  • APPENDIX
  • BIBLIOGRAPHY
  • 1.1 Shock jump condition Figure
  • 1.2 Example I.1
  • 1.3 Example I.2
  • 1.4 Schematic for numerical computation
  • 1.5 Study area schematic and camera coverage
  • 1.6 Two velocity visual representations of US 101 (lane 1)
  • 1.7 Two velocity visual representations of I-80 (lane 2)
  • 2.1 Car-following schemetics
  • 2.2 Uniform flow (a), disturbed flow with one entering car (b) and leaving car (c).
  • 2.3 Top: car trajectories with #1 car trajectory (bold line). Bottom: speed of #1 car.
  • 3.1 The Greenshields’ model
  • 3.2 Example III.1
  • 3.3 Example III.2
  • 3.4 Some visual representations of Table 3.1.
    • green. Fitted curve is in blue (Left). Same data in f − ρ plane (Right). 3.5 US 101 data represented in v − ρ plane, original in black and smoothed data in
  • 3.6 Reconstruction and errors of US
    • Fitted curve is in blue (Left). Same data in f − ρ plane (Right). 3.7 I-80 data represented in v − ρ plane, original in black and smoothed data in green.
  • 3.8 Reconstruction and errors of I-80
  • 3.9 A practical shape of the new FD (3.7)
  • 3.10 Road example of the variable speed limit
  • 3.11 Riemann solution structure in terms of wave propagation
  • 3.12 Graphs of admissible fL and fR in solid curves
  • 3.13 Riemann solution locus and evolution of density.
  • 3.14 Convex hull, evolution of density, and characteristics of Example III.5
  • 3.15 Convex hull, evolution of density, and characteristics of Example III.6
  • 3.16 Headway in microscopic (a) and macroscopic (b) description
  • 3.17 Numerical study on diffusive effect
  • 3.18 Diagram illustrating lane changes in three lanes
  • 4.1 Instability of PDE system of (3.26)
  • 4.2 Example IV.2 results by (3.26)
  • 4.3 Example IV.2 results by (3.26) with three-phase V (ρ)
  • 4.4 Example IV.3 results by (3.31)
  • 4.5 Example IV.3 results by (3.31) with (3.18)
  • 4.6 Example IV.4 results by (3.33). In this simulation, R = 0.
  • 4.7 Example IV.4 results by (3.33). In this simulation, R = 0.3.
  • 4.8 Example IV.4 results in lane 1 superimposed with and without effect of lane changes.
  • 4.9 Trajectories of vehicles in lane 1 according to the computation of Example IV.4
  • A.1 Optimized m and α, and its relation with ρ
CHAPTER I

Introduction

The scope of this dissertation encompasses mathematical models, numerical com- putations of traffic flow, and understanding its essential fundamentals based on field data. Chapter I presents the mathematical structure and its numerical aspects in section 1.1 and the description of data being utilized in section 1.2. Two classes of models are taken into account in describing traffic flow: micro- scopic and macroscopic descriptions. The former is based on individual vehicles’ motion, and the latter is concerned with average behavior. Our interest is mainly in macroscopic understanding that naturally leads to the hyperbolic partial differential equations (PDEs). The following, therefore, sheds light on theory and numerical methods of nonlinear hyperbolic equations.

1.1 Hyperbolic Conservation Laws 1.1.1 Mathematical Theory

We start by stating a system of hyperbolic conservation laws with an initial con- dition   

∂tW + ∂xF (W ) = 0 W (x, 0) = W 0 (x)

1

2

where t is the time, x is the space, W = W (x, t) is a vector of n conserved variables, and F (W ) is a vector of n fluxes. For brevity, x and t are omitted. Here

W = (w 1 , w 2 , · · · , wn)T^ , and F (W ) = (f 1 (W ), f 2 (W ), · · · , fn(W ))T^.

We deal with one-dimensional case in x but note that this may be extended to multi- dimensions as needed. Many practical problems, including gas dynamics, a spiral galaxy, shallow water waves, traffic flow etc, involve conserved quantities. Therefore, the field of hyperbolic conservation laws provides the theoretical underpinnings for modeling them. In a quasilinear form, (1.1) can be put into the following frame:   

∂tW + A(W )∂xW = 0 W (x, 0) = W 0 (x)

where

A(W ) = F ′(W ) = ∂F ∂W^ (W )=

A 11... A 1 n

... Aij = (^) ∂w∂fij... An 1... Ann

is the Jacobian matrix of F (W ). (1.1) is linear if A(W ) returns a constant matrix, or nonlinear otherwise. (1.1) is hyperbolic if A(W ) has n real eigenvalues and linearly independent n eigenvectors. Derivation of hyperbolic systems can be found in many books [32, 35, 51, 53]. We will later focus on the derivation of scalar equation in terms of traffic flow in section 3.1.1. Hyperbolic PDE features characteristic curves along which information propagates

4

x

t Shock

∆t ∆x

WL WR

Figure 1.1: Shock jump condition

which leads to the Rankine-Hugoniot jump condition

[F ] = FR − FL = ∆ ∆xt (WR − WL) = s[W ]

where [·] = (·)R − (·)L and shock speed s ≈ ∆ ∆xt. This shows that the shock jump condition ensures the conservation laws. The solution that is piecewise smooth separated by discontinuity curves and sat- isfies PDE in smooth parts and shock jump condition across discontinuities is called a weak solution. Weak solutions satisfy

(1.5)

−∞^ W φt^ dx^ +

0 F^ (W^ )φx^ dt^ =

−∞^ W^ (x,^ 0)φ(x,^ 0)^ dx for all test functions φ that are smooth and of compact support. See [51, 35] for details. Note that smoothness in W is not necessary anymore by transferring its requirement to test functions φ. It turns out that weak solutions are not unique. The physically relevant solution can be obtained by the principle of stability or checking the Entropy condition. One can either regularize the initial data by a small amount or the equation itself by adding a small viscous term, and then apply limiting process to find the vanishing viscosity solution. This is based on the principle that solution should be stable to small perturbations: if problem is changed by a small amount, then the solution should change by a small amount. The Entropy condition is the condition that picks a solution of physical relevance among many weak solutions. A

5

discontinuity propagating with speed s satisfies the Lax Entropy condition if

f ′(wL) > s > f ′(wR)

for convex f [32]. Geometrically it says that shock wave is admissible if characteristics converge into the shock. A more general entropy condition due to Oleinik, valid for non-convex f , says about the entropy solution with speed s: all discontinuities have the property that f (w) − f (wL) w − wL^ ≥^ s^ ≥^

f (w) − f (wR) w − wR for all w between wL and wR [51]. Another approach to formulate the Entropy condition is to use entropy functions and entropy fluxes. See [35] for details. The Riemann Problem associated with a hyperbolic conservation laws is to find a solution, called the Riemann solution, with an initial condition:

W (x, 0) =

WL, x < 0 WR, x > 0.

Understanding the Riemann solution provides both insights into the physical system itself and critical numerical perspectives due to the emergence of shock phenomenon.

Example I.1. Consider Burgers’ equation (1.3) with

w(x, 0) =

wL = 1, x < 0 wR = 0, x > 0. Characteristics are straight lines starting from the initial profile, see Figure 1.2a. They are converging as fast information with speed f ′(1) catches up with the slow information with speed f ′(0). Therefore, the Riemann solution is a shock wave connecting two states wL and wR, traveling with speed

s = [[wf^ ]] =

(^12) w (^2) R − 12 w (^2) L wR − wL^ =

see Figure 1.2b. 

7

x

f’(wL)

x=

t f’(wR) ?

x

f’(wL)

x=

t f’(wR)

x

f’(wL)

x=

t f’(wR)

(x) (o)

(a) Characteristics creating a rarefaction wave

-0.2-100 -80 -60 -40 -20 0 20 40 60 80 100

0

1 1.2 t=0 t=

(b) Riemann solution Figure 1.3: Example I.

1.1.2 Numerical Methods

Foundational numerical methods in particular finite volume method (FVM) is focused here and will be used throughout this dissertation for PDE-based computa- tions. Let us consider

(1.7) ∂tW + ∂xF (W ) = 0.

FVM deals with a cell average by defining it at time tn over [xj− 12 , xj+ 12 ] as

W (^) jn ≈ (^) ∆^1 x

∫ (^) xj+ (^12) xj− 12 W^ (x, tn)^ dx.

8

xj x

t

Wjn

xj-1 xj-1/2 xj+1/2 xj+

Wjn+

tn^ Wj-1n^ Wj+1n

tn+

Figure 1.4: Schematic for numerical computation

Here ∆x is a mesh width and ∆t is a time step. FVM approximates the integral form (1.4) of (1.7) on the shaded region in Figure 1.4. One numerical feature in conservation laws is to maintain its conservation. A conservative method requires

(1.8) W (^) jn +1= W (^) jn − (^) ∆∆xt[Fj+ 12 − Fj− 12 ]

where Fj+ 12 is a numerical flux defined at the cell interface as some function of, for example, W (^) jn and W (^) jn+1. Different choices of numerical flux provide different methods. There is a necessary stability condition, called CFL condition, that the domain of dependence of numerical method should contain the domain of dependence of the PDE. This condition was originally derived for finite difference methods for PDEs by Courant, Friedrichs, and Lewy [13]. Nonlinear hyperbolic systems yields:

(1.9)

∣λp(W (^) jn ) ∆∆xt

for all p at each W (^) jn , where λp is the p th eigenvalue of the Jacobian matrix F ′(W ). Lax-Wedroff theorem says that if numerical solutions by a conservative method con- verge to some function as the grid is refined, then this function is a weak solution of the conservation law [31]. Godunov’s scheme is one conservative method proposed in 1959 [18]. It numerically solves exact Riemann solution on every cell interface, which is expensive. We introduce the Upwind scheme by linearizing the Jacobian matrix

10

Source term, S(W ), can be treated by means of Upwind as well. The scheme includes the source term by being projected onto the eigenstructure of A¯ [50]:

(1.14) W (^) jn +1= W (^) jn − (^) ∆∆xt

A+ j− 12 ∆W n^ − ∆x S¯+ j− 12 )^ + (^ A¯− j+ 12 ∆W n^ − ∆x S¯ j−+ 12 )

where (1.15) A¯+∆W − ∆x S¯+^ = ∑ ¯λk > 0

(αk λ¯k − ∆xβk)¯rk, A¯−∆W − ∆x S¯−^ = ∑ λ^ ¯k < 0

(αk ¯λk − ∆xβk)¯rk.

Wave strengths αk and βk can be determined:

∆W = ∑ k

αk ¯rk, S¯ = ∑ k

βk r¯k

where S¯ is some averaging source term at the cell interface.

Closing Remarks: More details on theory and different numerical methods includ- ing higher order schemes can be found in [32, 51, 53, 35].

1.2 Traffic Field Data

This section describes traffic field data used in this dissertation. Dataset was collected under Next Generation SIMulation (NGSIM) project^1. Data from the in- nermost lane of US Highway 101 (US 101) and lane 2^2 of Interstate 80 (I-80) were used because it is less likely to have trucks or large vehicles that may have differ- ent driving maneuver than regular cars, and less vehicles changing lanes. US 101 data records vehicle trajectories and instantaneous velocity on the southbound of US 101 in Los Angeles, CA, between 7:50 a.m. and 8:35 a.m. on June 15, 2005. The study area is approximately 2, 100 feet in length. Vehicle trajectories of I-80 data are recorded on northbound direction of Interstate 80 in San Francisco, CA, between 5: (^12) NGSIM dataset is open to public for the purpose of research: https://data.transportation.gov. Lane 1 of I-80 is designated as high-occupancy vehicle lane.

11

(a) US 101 (b) I- Figure 1.5: Study area schematic and camera coverage

p.m. and 5:30 p.m. on April 13, 2005. The site is approximately 1, 650 feet in length. More specific study area location is in Figure 1.5. Both US 101 and I-80 data provide the precise location of every vehicle within the study area every one-tenth of a second along with detailed lane positions. See Figure 1.6a for the first 3 minutes of vehicle trajectories. Our objective is to extract a manageable macroscopic information from this microscopic-collected dataset without losing much information. Therefore

(a) Vehicle trajectories color-coded with instanta-neous velocity (ft/sec) from 7:50 am - 7:53 am

500 1000 1500 2000 2500 200400

600800

10001200

14001600

18002000

510

1520

2530

3540

45

(b) Mean velocity map (mph) from 7:50 am - 8:35 am Figure 1.6: Two velocity visual representations of US 101 (lane 1)