GET THE APP

Simulation and Analysis of Diffusion Type Traffic Flow Model Using Linear and Exponential Velocity Density Relationship
..

Journal of Applied & Computational Mathematics

ISSN: 2168-9679

Open Access

Research Article - (2024) Volume 13, Issue 5

Simulation and Analysis of Diffusion Type Traffic Flow Model Using Linear and Exponential Velocity Density Relationship

Mojammel Haque1*, Most Halimatuj Sadia2 and Laek Sazzad Andallah3
*Correspondence: Mojammel Haque, Department of Mathematics, Dhaka University of Engineering and Technology, Gazipur, Bangladesh, Tel: 8801744454991, Email: ,
1Department of Mathematics, Dhaka University of Engineering and Technology, Gazipur, Bangladesh
2Department of Mathematics and Statistics, Bangladesh University of Business and Technology, Dhaka, Bangladesh
3Department of Mathematics, Jahangirnagar University, Savar, Dhaka, Bangladesh

Received: 16-Sep-2024, Manuscript No. Jacm-24-148069; Editor assigned: 18-Sep-2024, Pre QC No. P-148069; Reviewed: 02-Oct-2024, QC No. Q-148069; Revised: 07-Oct-2024, Manuscript No. R-148069; Published: 02-Nov-2024 , DOI: 10.37421/2168-9679.2024.13.579
Citation: Haque, Mojammel, Most Halimatuj Sadia and Laek Sazzad Andallah. “Simulation and Analysis of Diffusion Type Traffic Flow Model Using Linear and Exponential Velocity Density Relationship.” J Appl Computat Math 13 (2024): 579.
Copyright: © 2024 Haque M, et al. This is an open-access article distributed under the terms of the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.

Abstract

In our modern era, traffic congestion in big cities has become threat for our daily life. It is one of the greatest problems in many developed countries of the world like Bangladesh. Various mathematical models have been employed to address the issue of traffic congestion. Traffic flow models assume that density and velocity are related. Bruce Greenshields first introduced traffic density-velocity connection. In this paper, we would like to study with linear velocity density relationship (Greenshields Model) and exponential velocity density relationship (Underwood Model) using the model for the flow of traffic based on diffusion. To make a comparative study between Greenshields and Underwood Models we solve the traffic flow model of the diffusion type as analytically as well as numerically. Due to analytical solution complexity, we use the finite difference method to solve the model numerically. We use explicit upwind, explicit centered, and explicit Lax-Wendrooff schemes to solve the model numerically. For each of the schemes, we present a comparison between linear and exponential velocity-density relationships. From this comparison, we can say that the exponential velocity- density relationship is appropriate to overcome the traffic congestion problem for each of the schemes.

Keywords

Traffic congestion • Velocity-density relation • Analytical solution • Numerical solution • Greenshields model • Underwood model

Introduction

For the management of traffic situations, Highways, streets, and other transportation networks are vital. They make the transportation of persons and products more efficient as well as more convenient. The constantly expanding number of cars on urban streets and highways, together with the economic and social ramifications such auto collision prevention, pollution, and energy regulation, led me to study traffic flow modelling. In particular, the rising number of automobiles on metropolitan roads in recent years. Congestion in the transportation system is a constant problem in our nation. An accurate traffic flow model is needed to reduce congestion. There have been three major approaches in mathematical traffic flow modeling which describes situations due to different assumptions, amplifications, and modifications. In this paper, we consider a macroscopic traffic flow model namely “traffic flow model of the diffusion type” developed by Khune in 1971 [1] to show the traffic diffusivity. A second class of models based on individual behavior is also known as macroscopic models [2], and it includes the car-following models in which the driver changes his or her acceleration depending on the situations in front of them. In our paper we would like to give attention to comparing Greenshields and Underwood models [3,4] utilizing the model of the macroscopic fluid dynamics since it is more useful and simpler to execute than other modeling techniques, with the primary emphasis being placed on the evaluation of numerical solutions.

The governing equations for traffic flow with greenshields and underwood model

For the purpose of analyzing traffic patterns, the fluid dynamic traffic flow model is utilized. This model makes use of a set of collective variables that change depending on the location (x), velocity (v), and density (u) of the road network. Based on the conservation of mass Lighthill and Whitham and by Richards [5,6] suggested a fluid dynamic model,

image

This is known as the LWR fluid dynamics traffic flow model. This model is unable to explain traffic diffusivity that’s why in 1984 Khune contributed a phrase for diffusion with the LWR model [7]. That is,

image

This model represents a second-order diffusion model of traffic flow. We use the velocity density relationship.

image

This velocity density relationship is known as the Greenshields model.

And a non-linear (exponential) velocity-density relationship [Underwood Model] which is of the form:

image

Where vmax denotes maximum velocity (free-flow speed) and umax denotes maximum density (jam density).

Analytical methods to solve the governing equation

The linear relationship between speed and population density in the Lighthill-Whitham-Richards (LWR) traffic flow model is analyzed using the characteristics approach as described in reference [8].

image

And with exponential velocity-density relationship is,

image

The Cole-Hopf transformation yields the following as the exact solution to the traffic flow model of the diffusion type [2]

image

Where image is the initial condition

However, due to the solution's integrodifferential shape and the difficulty of its evaluation, the traffic flow model of the diffusion type is solved by a numerical approach.

Numerical method to solve the governing equation

It is common knowledge that the assessment of the analytical approach using the diffusion- type traffic management model might be considered to be rather difficult. So, we need to get the numerical solution. Here we use finite difference method to solve the model numerically [9]. This section focuses on the discussion of the FTBSCS scheme, explicit centered difference scheme, and Lax-Wendroff scheme as numerical solutions for the partial differential equation (PDE) [10].

Explicit upwind (ftbscs) scheme

In this method, the forward difference formula is used to approximate the first order temporal derivative, the backward difference formula is used to approximate the first order spatial derivative, and the center difference formula is used to approximate the second order spatial derivative. These approximations collectively comprise the explicit upwind or FTBSCS scheme.

image

For Greenshields model,

image

For Underwood model,

image

Explicit centered difference scheme or FTCSCS scheme

In this context, we employ the forward difference formula to approximate the first order temporal derivative. Additionally, we utilize the central difference formula to approximate both the first order spatial derivative and the second order spatial derivative. By combining these approximations, we obtain the FTCSCS scheme.

image

For Greenshields model,

image

Explicit Lax-Wendroff scheme of second order

The explicit Lax-Wendroff scheme for the traffic flow model of diffusion type involves discretizing a portion of the scheme using the half time step Lax- Friedrich scheme. This discretized value is then incorporated into the half-step Leapfrog scheme. Subsequently the central diffusion portion is merged with the schemes described before to provide the explicit 2nd-order Lax-Wendroff scheme for the diffusion type of traffic flow model [11].

The utilization of the forward difference formula for the first-order time derivative and the central difference formula for the first-order spatial derivative results in the establishment of the Lax-Friedrich scheme. The Lax- Friedrich approach is,

image

The Lax-Friedrich system is now being employed for the half-time step,

image

Applying the central difference formula to the first-order derivatives of both time and space yields the leapfrog scheme,

image

Leave-frog scheme for half step is,

image

The central difference formula is employed to discretize the second order spatial derivative,

image

Now combining leave-frog scheme for half step, lax-friedrich scheme for half step and central diffusion term we get the Lax-Wendroff scheme.

For Greenshields model the scheme is,

image

For Underwood model the scheme is,

image

The stability criterion of numerical schemes

Convex combination and Von-Neumann techniques are used to determine the requirements for stability of the FTBSCS, explicit centered, and explicit 2nd order Lax-Wendroff Scheme [12]. The following is the Stability Requirement of the Explicit Upwind Difference Scheme

image

The stability requirement of an explicit centered difference scheme,

image

Furthermore, Lax-Wendroff scheme stability requires that,

image

Results and Discussion

Assumptions for the simulation

In order to conduct a comparative analysis of the Greenshields and Underwood models, our initial objective is to simulate a diffusion-type traffic flow model. This will be accomplished by employing explicit upwind, explicit centered, and Lax-Wendorff schemes. In this study, periodic boundary conditions are employed as both the start and left boundary conditions. The Neumann boundary condition is employed as the boundary condition on the right side. In the simulation, the spatial domain utilized for all three methods encompasses a range of 0 to 10 kilometers. The maximum velocity of the cars is denoted as vmax, with a value of 60 kilometers per hour. The numerical experiment was conducted for a duration of 3 minutes, using a temporal grid size of 0.3 seconds, a spatial grid size of 0.05 km, and a diffusion constant of D = 0.1 Km2/Min [13,14].

Density profile using explicit upwind (FTBSCS) scheme for both linear and exponential velocity-density relationship (i.e, greenshields and underwood model)

Based on the aforementioned assumptions, we conducted numerical experiments to observe the density profile for duration of 3 minutes or 180 seconds. These experiments were conducted using a traffic flow model that incorporates a velocity-density connection and diffusion-type features. The purpose of these experiments was to analyze the dynamics of traffic characteristics in relation to both spatial and temporal factors. In Figure 1 it represents the car density of the traffic flow model with respect to highway in km for initial time and consecutive 3 minutes. The curve marked by “solid red line” represents car density at initial time, the curve visible by “—”(dashed line) with blue line at 1 minute, the curve visible by “:” (colon) with megenta color represents car density at 2 minutes and the curve represented by “green solid line” shows the car density at 3 minutes. We use same things for all the three schemes to present the comparison between Greenshields and Underwood model for each of the density, velocity and flux profile.

applied-computational-mathematics-traffic

Figure 1. Traffic density profile a) Greenshields model and b) Underwood model.

Comparison of density profile using greenshields and underwood model

Here we compare the car density between Greenshields model and Underwood model at different times. We perform the comparison with same initial and boundary condition, maximum velocity, maximum density, parameters. In Figure 2, it represents the comparison of car density between Greenshields and Underwood model at different times. The Underwood model has a solid red line for car density, while the Greenshields model has a dashed line.

applied-computational-mathematics-density

Figure 2. Comparison of density profiles using underwood model and greenshields model at different times in case of explicit upwind difference scheme.

After comparing car density between Greenshields Model and Underwood model at different times, some observations are given below:

1. Maximum or minimum car density for a particular time is equal for using both Greenshields and Underwood model.

2. Using Greenshields model attains its maximum car density faster than using Underwood model with respect to highway in km at a particular time, i.e., the density curve using Greenshields model is steeper than the density curve using Underwood model while the time is progressed.

Velocity profile in case of explicit upwind scheme of the traffic flow model of the diffusion type using greenshield and underwood model

As like with the density profile we present the velocity profile and comparison using Greenshields and Underwood model (Figure 3).

applied-computational-mathematics-velocity

Figure 3. Traffic velocity profile for using a) Greenshields model and b) Underwood model.

Comparison of velocity profile using greenshields and underwood model

Here we compare the car Velocity using Greenshields model and Underwood model at different times as like with the density profile (Figure 4).

applied-computational-mathematics-velocity

Figure 4. Comparison of velocity profiles using underwood model and greenshields model at different times in case of explicit upwind difference scheme (FTBSCS scheme).

After comparing car Velocity between Greenshields Model and Underwood model at different times, some observations are given below:

1. The car velocity using Underwood model is always greater than the car velocityu sing Greenshields model with respect to highway in km for any time.

Therefore, cars using Underwood model are much faster than cars using Greenshields model at respective different times.

Flux profile in case of explicit upwind scheme of the traffic flow model of the diffusion type using greenshield and underwood model

As like with the density, velocity profile we present the flux profile and comparison using Greenshields and Underwood model (Figure 5).

applied-computational-mathematics-flux-profile

Figure 5. Flux profile for using a) Greenshields model and b) Underwood model.

Comparison of flux profile using Greenshields and Underwood Model

Here we compare the car Velocity using Greenshields model and Underwood model at different times as like with the density profile (Figure 6).

applied-computational-mathematics-flux-profile

Figure 6. Comparison of flux profiles using underwood model and greenshields model at different times in case of explicit upwind difference scheme (FTBSCS scheme).

After comparing car flux using Greenshields Model and Underwood model at different times, some observations are given below:

1. Minimum car flux for a particular time is equal for using both Greenshields and Underwood model.

2. The Flux curve using Underwood model is steeper than the flux curve of Greenshield model while the time is progressed.

Density profile using explicit centered difference (ftcscs) scheme of traffic flow model of diffusion type with greenshield and underwood model

Under the same assumption with explicit upwind scheme in this section we present the density, velocity and flux profile with the help of explicit centered difference scheme.

The density profile using explicit centered difference scheme at different time is shown by the (Figure 7).

applied-computational-mathematics-greenshield

Figure 7. Traffic density profile using a) Greenshields model and b) Underwood model.

Comparison of density profile using greenshields and underwood model

As like with the comparison using Greenshields and Underwood model in case of explicit upwind scheme, here we present the comparison using Greenshields and Underwood model in case of explicit centered difference scheme (Figure 8).

applied-computational-mathematics-underwood

Figure 8. Comparison of density profile using underwood model and greenshields model at different times in case of explicit centered difference scheme (FTCSCS scheme).

After comparing car density using Greenshields Model and Underwood model at different times, some observations are given below:

3. Maximum or minimum car density for a particular time is equal for using both Greenshields and Underwood model.

4. Using Greenshields model attains its maximum car density faster than using Underwood model with respect to highway in km at a particular time, i.e., the density curve of using Greenshields model is steeper than the density curve of using Underwood model while the time is progressed.

Velocity profile in case of explicit centered difference scheme of traffic flow model of diffusion type using greenshield and underwood model

As like with the density profile here we present the velocity profile in case of explicit centered difference scheme (Figure 9).

applied-computational-mathematics-velocity

Figure 9. Traffic velocity profile using a) Greenshields model and b) Underwood model.

Comparison of velocity profile between Greenshields and underwood model

Here we compare the car velocity using Greenshields model and Underwood model at different times as like with the density profile (Figure 10).

applied-computational-mathematics-velocity

Figure 10. Comparison of velocity profiles using underwood model and greenshields model at different times in case of explicit centered difference scheme (FTCSCS scheme).

After comparing car Velocity using Greenshields Model and Underwood model at different times, some observations are given below:

• The car velocity using Underwood model is always greater than the car velocity using Greenshields model with respect to highway in km for any time. Therefore, cars using Underwood model are much faster than cars using Greenshields model at respective different times.

Flux profile in case of explicit centered difference scheme of traffic flow model of diffusion type using greenshield and underwood model

As like the density, velocity profile flux profile is presented here (Figure 11).

applied-computational-mathematics-flux-profile

Figure 11. Flux profile using a) Greenshields model and b) Underwood model.

Comparison of flux using greenshields and underwood model

Here we compare the car flux using Greenshields model and Underwood model at different times as like with the velocity profile (Figure 12).

applied-computational-mathematics-flux-profile

Figure 12. Comparison of flux profiles using underwood model and greenshields model at different times in case of explicit centered difference scheme (FTCSCS scheme).

After comparing car flux using Greenshields Model and Underwood model at different times, some observations are given below:

1. Minimum car flux for a particular time is equal for using both Greenshields and Underwood model.

2. The Flux curve using Underwood model is steeper than the flux curve using Greenshields model while the time is progressed.

Density profile in case of Lax-Wendroff scheme of second order of traffic flow model of diffusion type using greenshield and underwood model

Under the same assumption with Explicit upwind scheme in this section we present the density, velocity and flux profile in case of explicit second order Lax-Wendroff scheme.

The density profile in case of explicit second order Lax-Wendroff scheme at different time is shown by the (Figure 13).

applied-computational-mathematics-traffic

Figure 13. Traffic density profile using a) Greenshields model and b) Underwood model.

Comparison of density profile between greenshields and underwood model

As like with the comparison using Greenshields and Underwood model in case of explicit upwind scheme, here we present the comparison using Greenshields and Underwood model inc ase of lax-wendroff scheme (Figure 14).

applied-computational-mathematics-density

Figure 14. Comparison of density profiles using underwood model and Greenshields model at different times in case of explicit second order Lax-Wendroff scheme.

After comparing car density using Greenshields Model and Underwood model at different times, some observations are given below:

· Maximum car density using Greenshields model is greater than using Underwood model in the density curve.

· Using Underwood model it is capable to reduce car density faster than using Greenshields model.

Velocity profile in case of lax-wendroff scheme of second order of traffic flow model of diffusion type using greenshield and underwood model

As like with the density profile here we present the velocity profile in case of Lax-Wendroff scheme of second order (Figure 15).

applied-computational-mathematics-greenshield

Figure 15. Traffic velocity profile for a) Greenshields model and b) Underwood model.

Comparison of velocity profile using greenshields and underwood model

Here we compare the car velocity using Greenshields model and Underwood model at different times as like with the density profile (Figure 16).

applied-computational-mathematics-underwood

Figure 16. Comparison of velocity profiles between underwood model and greenshields model at different times in case of explicit second order Lax-Wendroff Scheme.

After comparing car velocity using Greenshields Model and Underwood model at different times, some observations are given below:

• Cars using Underwood model are much faster than cars using Greenshields model at respective different times.

Flux profile in case of Lax-Wendroff scheme of second order of traffic flow model of diffusion type using greenshield and underwood model

As like with the density profile here we present the flux profile in case of Lax- Wendroff scheme of second order (Figure 17).

applied-computational-mathematics-greenshields-model

Figure 17. Flux profile using a) Greenshields model and b) Underwood model.

Here we compare the car flux using Greenshields model and Underwood model at different times as like with the density profile (Figure 18).

applied-computational-mathematics-underwood-model

Figure 18. Comparison of flux profiles using underwood model and greenshields model at different times in case of explicit second order Lax-Wendroff Scheme.

After comparing car flux using Greenshields Model and Underwood model at different times, some observations are given below:

1. Maximum or minimum flux using Greenshields model for a particular time is not equal to using Underwood model in this case.

2. The Flux curve using Greenshields model is steeper than the flux curve using Underwood model while the time is progressed.

Conclusion

In this work, we simulate the diffusion type traffic flow using linear and exponential velocity density relationship. we also give a comparison using the Greenshields and Underwood models utilizing explicit upwind, explicit centered, and second order Lax-Wendroff schemes. It is shown that using Greenshields model it has a larger maximum car density than using the Underwood model by comparing the density profiles generated by the explicit upwind, explicit centered, and second order Lax-Wendroff schemes. Using Underwood model it is capable to reduce car density faster than using Greenshields model. From the comparison of velocity profile generated by explicit upwind, explicit centered, and Lax-Wendroff schemes it is seen that the car velocity using Underwood model is always greater than the car velocity using Greenshields model with respect to highway in km for any time. Therefore, cars using Underwood model are much faster than cars using Greenshields model at respective different times. From the comparison of flux profile, we observe that The Flux curve using Greenshields model is steeper than the flux curve using Underwood model while the time is progresses. So, from the comparison of density, velocity and flux profile using Greenshields and Underwood model it can be concluded that using Underwood model gives faster flow than using Greenshields model shows a better fit for the traffic flow model of the diffusion type.

Funding

This research did not receive any specific funding.

Acknowledgement

I would like to thank my supervisor Prof. Dr. Laek Sazzad Andallah for supporting the entire work.

Conflict of Interest

The authors declare no conflicts of interest regarding the publication of this paper.

References

  1. Klar, Axel, Reinhart D. Kühne and Raimund Wegener. "Mathematical models for vehicular traffic." Surv Math Ind 6 (1995): 215-239.

    Google Scholar

  2. Bashmakova, I. "Istoria na matematikata [history of mathematics]." Sophia: Izdatelstvo nauka I izkustvo (1975).

    Google Scholar

  3. Andallah, L. S., Shajib Ali, M. O. Gani and M. K. Pandit, et al. "A finite difference scheme for a traffic flow model based on a linear velocity-density function." J ScI 32 (2009): 61-71.

    Google Scholar

  4. Kabir, M. H., M. O. Gani and L. S. Andallah. "Numerical simulation of a mathematical traffic flow model based on a nonlinear velocity-density function." JBAS 34 (2010): 15-22.

    Google Scholar, Crossref, Indexed at

  5. Lighthill, Michael James and Gerald Beresford Whitham. "On kinematic waves II. A theory of traffic flow on long crowded roads." Proceedings of the royal society of London. series a. mathematical and physical sciences 229 (1955): 317-345.

    Google Scholar, Crossref, Indexed at

  6. Lighthill, Michael James and G. Be Whitham. "On kinematic waves I. Flood movement in long rivers." Proc Royal Soc A  229 (1955): 281-316.

    Google Scholar, Crossref, Indexed at

  7. Kühne, R. "Macroscopic freeway model for dense traffic-stop-start waves and incident detection." ISTTT 9 (1984): 21-42.

    Google Scholar

  8. Hasan, Mahmudul, Shirin Sultana, Laek Sazzad Andallah and Tauhedul Azam. "Lax-Friedrich scheme for the numerical simulation of a traffic flow model based on a nonlinear velocity density relation." Am J Comput 5 (2015): 186-194.

    Google Scholar, Crossref, Indexed at

  9. LeVeque, Randall J. and Randall J. Leveque. "Numerical methods for conservation laws." Basel: Birkhäuser, 214 (1992).

    Google Scholar

  10. Gani, M. O., M. M. Hossain and L. S. Andallah. "A finite difference scheme for a fluid dynamic traffic flow model appended with two-point boundary condition." GANIT 31 (2011): 43-52.

    Google Scholar, Crossref, Indexed at

  11. Andallah, L. S. and M. R. Khatun. "Numerical solution of advection-diffusion equation using finite difference schemes." BJSIR 55 (2020): 15-22.

    Google Scholar, Indexed at

  12. Azad, T. M. A. K. and L. S. Andallah. "Stability analysis of finite difference schemes for an advection diffusion equation." J Sci Res 29 (2016): 143-151.

    Google Scholar, Crossref, Indexed at

  13. Payne, H. J. "Models of freeway traffic and control. mathematical models of public systems. simulation councils." Inc Vista (1971).

    Google Scholar

  14. Haberman, Richard. "Mathematical models: mechanical vibrations, population dynamics and traffic flow." SIAM (1998).

    Google Scholar, Crossref, Indexed at

Google Scholar citation report
Citations: 1282

Journal of Applied & Computational Mathematics received 1282 citations as per Google Scholar report

Journal of Applied & Computational Mathematics peer review process verified at publons

Indexed In

 
arrow_upward arrow_upward