Next Article in Journal
An Attention-Enhanced Bivariate AI Model for Joint Prediction of Urban Flood Susceptibility and Inundation Depth
Previous Article in Journal
Modeling the Effects of Speed and Red-Light Cameras and Traffic Signal Countdown Timers at Pre-Timed Controlled Intersections on Traffic Flow
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Traffic Characterization Based on Driver Reaction

1
Department of Computer Engineering, College of Computer Science and Engineering, University of Háil, Háil 55476, Saudi Arabia
2
Department of Computer Systems Engineering, University of Engineering and Technology, Peshawar 25000, Pakistan
3
Department of Electrical and Computer Engineering, University of Victoria, P.O. Box 1700, STN CSC, Victoria, BC V8W 2Y2, Canada
4
Department of Mathematics, College of Science, University of Háil, Háil 55476, Saudi Arabia
*
Author to whom correspondence should be addressed.
Mathematics 2025, 13(16), 2616; https://doi.org/10.3390/math13162616
Submission received: 7 June 2025 / Revised: 6 August 2025 / Accepted: 12 August 2025 / Published: 15 August 2025
(This article belongs to the Section E: Applied Mathematics)

Abstract

A macroscopic model for nonhomogeneous traffic is introduced that incorporates relaxation time and lateral time headway, and accounts for driver reaction time. Driver reaction is based on models of real-world nonhomogeneous traffic flow in Pakistan and Iran. A lateral time headway model is obtained using lane change data to characterize traffic during lane changes. The performance of the proposed model is compared with the well-known Payne–Whitham (PW) model on a 3000 m circular road using the FORCE numerical scheme. The results show that the initial multi-cluster density distribution evolves more realistically and accurately with the proposed model. Thus, it can be used to aid in traffic congestion mitigation for on-ramps and off-ramps.

1. Introduction

Precise characterization of traffic dynamics is crucial to effectively model congestion. This study introduces a traffic model that captures the evolution of traffic with a multi-cluster density distribution. This type of distribution results in large fluctuations in traffic behavior, which causes congestion and reduces efficiency [1]. The relaxation time is the time for drivers to adapt to a desired velocity based on the velocity and density [2]. It influences the responsiveness, stability, and accuracy of traffic models, leading to better traffic flow analysis, policy-making, and infrastructure design. The lateral time headway is the time between two adjacent vehicles traveling in parallel lanes. It affects lane changes, merging at ramps, weaving sections, highway safety, and autonomous vehicle decisions. During congestion, the lateral time headway is small, as vehicles are tightly packed. Consequently, lane changes are difficult and less frequent, as drivers have fewer acceptable gaps. This is important in merging zones, intersections, and bottlenecks where lateral interactions dominate. Both relaxation time and time headway are essential to model real-world congestion behavior.
Traffic flow can be classified as homogeneous or nonhomogeneous. In homogeneous traffic, vehicle types are similar and drivers typically adhere to lane discipline, resulting in minimal fluctuations in speed and density. On the other hand, nonhomogeneous traffic often lacks lane discipline and includes a mix of motorized and non-motorized vehicles [3]. This disrupts the smooth flow of traffic and frequently leads to bottlenecks and congestion [4]. Nonhomogeneous traffic is more complex and thus more difficult to characterize [5]. However, understanding this traffic is crucial for developing efficient traffic management strategies [6]. Conventional methods are primarily designed for homogeneous traffic and therefore perform poorly with nonhomogeneous traffic [7].
Traffic conditions on a road influence driver response [8]. For example, maintaining a safe distance headway from the vehicle ahead is crucial to avoid collisions [9]. In congestion, vehicles are closer together and there is frequent acceleration and deceleration [10]. A small lateral time headway increases the risk of collisions, especially during congestion, ramp merging, and lane changes. Drivers maintain a safe lateral time headway to prevent accidents [11], and this reduces driver conflicts and vehicle interactions. Typically, the safe lateral time headway is between 1.5 s and 3 s [12]. In nonhomogeneous traffic, the relaxation time and headway can vary significantly due to the lack of lane discipline. As a result, accurately representing this traffic requires a model that considers both relaxation time and lateral time headway.
Traditional macroscopic traffic models such as the Payne–Whitham (PW) model assume that traffic adapts instantaneously, and relaxation is ignored [13,14]. Further, traffic is considered to be homogeneous and behavior is uniform, and the lateral distance headway and lateral time headway are ignored [15,16]. Thus, they are not suitable for nonhomogeneous traffic, which is typical in developing countries. Therefore, a traffic model is proposed that considers both the relaxation time and time headway to accurately characterize traffic behavior. In particular, the PW model is modified to include driver reaction based on these parameters. The traffic flow is modeled using data obtained in Pakistan, while the time headway is modeled using data from Iran. The proposed and PW models are evaluated over a 3000 m circular road for 300 s. A multi-cluster density distribution is used to represent nonhomogeneous traffic. The results show that the proposed model provides a more realistic characterization of nonhomogeneous traffic.
The rest of this paper is organized as follows. A review of the related literature is presented in Section 2. The proposed macroscopic traffic model is given in Section 3. The hyperbolicity of the proposed and PW models is examined in Section 4. Section 5 introduces the FORCE scheme, and Section 6 provides the corresponding convergence analysis. The performance of the proposed and PW models is evaluated in Section 7. Finally, some conclusions are presented in Section 8.

2. Literature Review

Macroscopic traffic models are based on aggregate traffic parameters such as velocity, density, and flow [17]. They are used to examine the overall behavior of traffic and are suitable for large-scale traffic systems such as urban networks and highways. These models are widely used for congestion analysis, infrastructure planning, and traffic control. Microscopic models focus on individual vehicle behavior [18,19]. They focus on car-following, lane-changing, and acceleration/deceleration decisions, and they consider factors such as driver behavior, perception, and reaction time. Microscopic models are useful for intersections, ramps, and mixed traffic [20]. Mesoscopic traffic models combine elements of both macroscopic and microscopic models [21]. They are typically used to model traffic flows using probabilistic parameters [17,22]. Microscopic models have high computational complexity but can provide detailed results. Conversely, macroscopic models are simple and have low complexity, and so are widely employed [18,23].
The Lighthill, Whitham, and Richards (LWR) model [13,14] is a first-order model given as follows:
ρ t + ( ρ v ( ρ ) ) x = 0 ,
where x is distance, t is time, ρ is the density, and v(ρ) is the desired velocity based on the density for uniform traffic. This model characterizes traffic dynamics using the law of conservation and considers traffic as a fluid. It is very simple and can be employed for congestion and freeway control, and real-time traffic management. However, the LWR model assumes homogeneous traffic and cannot accurately model stop-and-go traffic [24]. Further, driver reaction is ignored and vehicle alignment is instantaneous, so relaxation time and time headway are not considered. This model is not suitable for large changes in traffic [15,16], interactions at intersections, and lane changes.
Payne proposed a higher-order model by adding velocity and driver response (reaction) [4,25]. The first equation is based on vehicle conservation as in the LWR model. Driver response to changes in traffic is based on a constant unrelated to traffic physics, so driver behavior and traffic conditions are ignored [8]. A relaxation term is used for changes while achieving the desired velocity [16]. Whitham independently developed this model, and so it is referred to as the Payne–Whitham (PW) model [8]:
ρ t + x ρ v ( ρ ) = 0 , ( ρ v ) t + x ( ρ v ) 2 ρ + C 0 2 ρ = ρ v ( ρ ) v τ ,
where ( ρ v ) t represents the temporal change in traffic flow. When ( ρ v ) t < 0 , the flow is decreasing, while for ( ρ v ) t > 0 , it is increasing. The term ( ρ v ) 2 ρ characterizes the changes in downstream traffic, and C 0 2 ρ is the driver reaction, which is based on a constant, C0. The term x ( ρ v ) 2 ρ + C 0 2 ρ in the PW model provides traffic stability. v ( ρ ) v τ is the relaxation term and τ is the relaxation time. The alignment to forward traffic is quicker with a small τ value, while changes in traffic are greater with a large τ value. As C0 is a constant, the density and velocity behavior are the same regardless of the traffic conditions, which is not realistic [26]. Consequently, this model provides unsatisfactory results during congestion [4]. A model should account for human factors such as relaxation time and lateral time headway.
The PW model can produce oscillatory behavior when there are large changes in traffic. Thus, a term was added to mitigate these effects, but the results are unsatisfactory for abrupt changes in traffic [27]. The PW model was also improved in [28]. However, small changes in speed and density can grow over time, which causes vehicles to group together, resulting in stop-and-go traffic without bottlenecks or accidents. Thus, vehicles evolve into groups during homogeneous flow without external factors.
Although the LWR and PW models have been used in a variety of applications, homogeneous traffic is assumed, so they do not reflect the diversity of real-world driving, and they cannot capture on-ramp and off-ramp behavior. Furthermore, calibration of these models is challenging, as precise traffic data is required, which can be difficult to obtain [29]. A macroscopic model based on velocity variance was proposed in [30], which is derived from Gas-Kinetic Theory (GKT). However, the model parameters are difficult to interpret. The PW model was modified in [31] by including driver reaction time, but when the density is high, instability can occur, resulting in stop-and-go traffic. The greater the reaction time, the more likely traffic becomes unstable, regardless of external factors.
A model based on GKT was developed in [32], where the relaxation time τ is a function of traffic density. However, statistical distributions are used, which increases the model complexity, and the analogy with gas theory is uncertain. Traffic is influenced by conditions ahead of a vehicle, and changes in velocity tend to be less than the average speed [15]. The PW model cannot account for the impact of leading vehicles [33], so speeds can be unrealistic when the density is high [34,35], but it can be suitable for multi-lane traffic [36].
In [37], a modified PW model based on vehicle density was given. However, density is assumed to be a monotonic increasing function regardless of driver response [38,39], which is not realistic. Further, homogeneous traffic is assumed, and the impact of different vehicle types is ignored. The PW model was improved in [4] by considering density-dependent velocity changes, but driver reaction is based on the desired velocity and adapts instantaneously to conditions ahead. This model also ignores parallel traffic and the time for a driver to react to changes ahead. Thus, lateral interactions between parallel and forward vehicles are ignored. The PW model was improved in [23] to consider nonhomogeneous traffic based on time headway and lateral distance. These parameters are important when there is a lack of lane discipline.
The desired velocity is a function of density and velocity and decreases as density increases [6,40]. The Greenshields velocity model [23] is widely used and is given as follows:
v ( ρ ) = v m 1 ρ ρ m ,
where vm and ρm are the maximum velocity and density, respectively. This model can be used for nonhomogeneous traffic because the relationship is nonlinear [41]. A logarithmic relationship between density and speed was considered in [42], and an exponential relationship was proposed in [43] based on traffic data from the Merritt Parkway in Connecticut, USA. However, the velocity can be unrealistic.
The above results indicate that a macroscopic traffic model based on relaxation time and time and distance headway is required to accurately predict traffic behavior. Driver reaction to forward changes should incorporate these parameters, as they are based on traffic physics.

3. Traffic Models

Density is a key factor in traffic behavior [44]. Driver reaction is fast with a large density and slow for a small relaxation time τ. However, changes in flow increase with the relaxation time. Thus, driver reaction can be expressed as follows:
D R = 1 τ f ρ ,
where f = ρv is the flow. Substituting Δ v = f ρ in (4) gives
D R = 1 τ Δ v ,
so driver reaction is affected by changes in velocity during the relaxation time τ. The reaction is quick with a large change in velocity and short relaxation time and slow with a small change in velocity and a large relaxation time. In free-flow traffic, vehicle interactions are slow, as there is sufficient time to react to changes in velocity [8].
Traffic data was collected for the week of Monday, 10 January 2022 to Sunday, 16 January 2022, from a sensor node in Peshawar, Pakistan, located at 33.99841270487691 latitude and 71.47962908395094 longitude [20]. This is a nonhomogeneous traffic environment where vehicles lack lane discipline. The time span was 9 a.m. to 4 p.m. each day to cover the congestion period. The node is based on a Raspberry Pi (RPi) 4 and has a Pi Camera v2 connected via the CSI port to record 1080p video at 20 frames per second. An Intel Movidius Neural Compute Stick 2 was integrated with the RPI 4 for edge computation. The count accuracy was 93.2% and the speed prediction accuracy was 82.9% [45]. 10,000 vehicles per day were considered in the analysis. The interquartile range was used to remove outliers from the data. Linear, exponential, logarithmic, power, and quadratic polynomial models were fit to the vehicle flow f ( ρ ) and density ρ data. The best fit model for the flow is [20]
f ( ρ ) = 44.34 ρ 2 + 80.02 ρ + 1.63 ,
with R2 = 0.7159. The negative coefficient of ρ2 indicates that the relationship between flow and density is concave downward, i.e., flow increases with density up to a point and then decreases as congestion occurs. The constant 1.628 is the minimum flow, which corresponds to the minimum density.
The change in flow with respect to density from (6) is as follows:
Δ v = f ( ρ ) ρ = 88.68 ρ + 80.02 .
Density is the number of vehicles per unit length and is measured in vehicles per meter. Then, the lateral distance between vehicles covered during a lane change can be expressed as follows:
ρ = 1 h d .
Then, from (8) and (7), we have
f ρ = 88.68 h d + 80.02 ,
and
h d = v n h ,
where h is the required lateral time headway for normalized velocity vn to change lanes.
The lateral time headway is modeled using data for lane changes on the Tehran–Karaj freeway in Iran [12]. On this road, 35% of the vehicles overtake each other, and the traffic is nonhomogeneous. The length of the road observed is 100 m, and HD (1280 × 720) video was provided by the Bureau of Rural Road and Transportation. Vehicle motion was determined using Python 2.2 and the OpenCV library, and vehicle tracking was performed using the Kernelized Correlation Filter (KCF) algorithm. Over a 5 h period, 2580 vehicles were selected and 92,278 data values were obtained. The speeds ranged from 61 to 127 km/h with an average of 97 km/h. The average time headway was 0.9 s with a maximum of 3.24 s. Driving behavior was categorized based on lateral distance. For lateral distances <0.50 m, traffic is lane based, while for lateral distances between 0.50 m and 2.20 m, it is non-lane based. The model obtained is
h = 0.003 d + 1.22 ,
where the coefficient 0.003 indicates that the lateral time headway increases with the lateral distance headway d, and 1.22 is the minimum lateral time headway between parallel vehicles.
The traffic flow and lateral time headway models obtained can be used to accurately predict traffic behavior. They show that high-speed traffic with a low density does not result in a large driver reaction to slow-moving traffic. Thus, changes in the traffic do not grow, but rather decay spatially and temporally. During lane changes, movement is controlled, so speed variations are small, as expected. In addition, including both models provides a better characterization of stop-and-go traffic. Substituting h from (11) in (10) gives
h d = v n ( 0.003 d + 1.22 ) ,
and then substituting (12) in (9) results in
Δ v = 88.68 v n ( 0.003 d + 1.22 ) + 80.02 .
This indicates that changes in velocity depend on the lateral distance headway and road location. With a large lateral distance headway, changes in velocity are large, as collisions are less likely.
Lane discipline is typically lacking in nonhomogeneous traffic [46], so the lateral distance headway is small. However, in homogeneous traffic, there is often lane discipline, so the lateral distance headway is larger. Substituting (13) in (5) gives the driver reaction:
D R = 1 τ 88.68 v n ( 0.003 d + 1.22 ) + 80.02 .
This shows that driver reaction is greater for a larger distance headway, and smaller changes in traffic are expected. Further, with a small relaxation time, driver reaction is fast, and typically, traffic is free-flow. With a larger relaxation time, driver reaction is slow, which is typical in congestion. Figure 1 illustrates the relaxation time, distance covered during a lane change, and lateral distance headway. Substituting DR from (14) for C0 in (2) gives the following:
ρ t + x ρ v ( ρ ) = 0 , ( ρ v ) t + x ( ρ v ) 2 ρ + 1 τ 88.68 v n ( 0.003 d + 1.22 ) + 80.02 2 ρ = ρ v ( ρ ) v τ .
This characterizes both homogeneous and nonhomogeneous traffic considering driver reaction. Large changes in traffic are expected with a small driver reaction, while the changes are small with a large driver reaction. The first equation in (15) is the same as in the PW model (2). Table 1 gives the driver response for the PW and proposed models from (2) and (15), respectively. This shows that driver response with the proposed model depends on the relaxation time and lateral distance between vehicles. Conversely, driver response with the PW model is based on the constant C0.

4. Traffic Model Hyperbolicity

A traffic system is required to be hyperbolic [15,16]. This ensures a unique solution exists for realistic initial and boundary conditions, and small measurement errors do not result in significant differences in traffic characterization, so the solution is well posed [8,39]. Further, hyperbolic systems have stable numerical solutions with the first-order centered (FORCE) scheme [47], i.e., they converge and produce realistic results [48]. The eigenvalues of a hyperbolic traffic system are unique and real [49]. The conserved model in divergence form is used to find the eigenvalues and is given as follows:
ζ t + f ( ζ ) x = S ( ζ ) .
The variables ρ and ρv are conserved, which ensures numerical stability so the traffic flow is consistent.
The PW model based on the conserved variables is as follows: [23]
ζ = ρ ρ v , f ( ζ ) = ρ v ( ρ v ) 2 ρ + C 0 2 ρ , S ( ζ ) = 0 ρ v ( ρ ) v τ ,
while the proposed model based on these variables is
ζ = ρ ρ v , f ( ζ ) = ρ v ( ρ v ) 2 ρ + 1 τ 88.68 v n ( 0.003 d + 1.22 ) + 80.02 2 ρ , S ( ζ ) = 0 ρ v ( ρ ) v τ .
This quasilinear system depends on driver reaction for traffic alignment to forward vehicles and ignores relaxation, so S ( ζ ) = 0 and (16) takes the following form:
ζ t + f ( ζ ) x = 0 .
The Jacobian matrix quantifies model sensitivity to small changes and determines the propagation of traffic changes. It provides the gradients of the vector f ( ζ ) with the conserved traffic variables. The Jacobian matrix for the PW model is
A = ( ρ , ρ v ) ρ v ( ρ v ) 2 ρ + C 0 2 ρ ,
which takes the form
A ( ζ ) = 0 1 v 2 + C 0 2 2 v .
The eigenvalues are the solutions of [23]
A ( ζ ) λ I = λ 1 v 2 + C 0 2 2 v λ ,
which are
λ 1 = v + C 0 , λ 2 = v C 0 .
These eigenvalues are distinct and real, so the PW model is hyperbolic and is a well-posed traffic system. The changes in flow propagate according to λ1,2, and do not increase unbounded over time. λ1 characterizes free-flow traffic, while λ2 characterizes congested traffic. Thus, changes in flow occur according to the constant C0, which is not based on traffic physics.
The Jacobian matrix for the proposed model is
A = ( ρ , ρ v ) ρ v ( ρ v ) 2 ρ + 1 τ 88.68 v n ( 0.003 d + 1.22 ) + 80.02 2 ρ ,
which takes the form
A ( ζ ) = 0 1 v 2 + 1 τ 88.68 v n ( 0.003 d + 1.22 ) + 80.02 2 2 v .
The eigenvalues are the solutions of
A ( ζ ) λ I = λ 1 v 2 + 1 τ 88.68 v n ( 0.003 d + 1.22 ) + 80.02 2 2 v λ ,
which are
λ 1 = v + 1 τ 88.68 v n ( 0.003 d + 1.22 ) + 80.02 , λ 2 = v 1 τ 88.68 v n ( 0.003 d + 1.22 ) + 80.02 .
These eigenvalues are distinct and real, so the proposed model is hyperbolic. They indicate that changes in flow are a function of the time headway and relaxation time. Thus, traffic behavior will be more realistic than with the PW model and based on traffic physics.

5. FORCE Numerical Scheme

The proposed and PW models are implemented in MATLAB R2019b using the First Order Centered (FORCE) scheme [47]. This technique has previously been used for traffic systems [50], as it can approximate large traffic changes and produce accurate results. Further, the computational complexity is lower than the Roe scheme [50], and it is simple to implement. The FORCE scheme is based on the second-order Richtmyer and first-order Lax–Friedrichs methods.
The road of length xM is divided into M equally spaced segments, so each segment has length
δ x = x M M .
The simulation time tN is divided into N discrete time steps, so each time step is
δ t = t N N = t n + 1 t n .
At each time step, the variables ζ and f ( ζ ) for the proposed and PW models given by (18) and (17), respectively, are approximated over each road segment given by the interval x i δ x 2 , x i + δ x 2 .
Let ζ denote the average value of the data variables within the ith road segment. Using the Lax–Friedrichs scheme, the traffic flux at the boundary between segments i and i + 1 is given by
( f i + 1 2 n ( ζ i n , ζ i + 1 n ) ) l = 1 2 f ( ζ i n ) + f ( ζ i + 1 n ) + 1 2 δ t δ x ( ζ i n ζ i + 1 n ) ,
where the superscript l indicates the Lax–Friedrichs scheme. For the Richtmyer scheme, the intermediate value of the data variables at the segment interface is
( ζ i + 1 2 ) r = 1 2 ζ i n + ζ i + 1 n + 1 2 δ t δ x f ( ζ i n ) f ( ζ i + 1 n ) ,
and the corresponding Richtmyer flux is
( f i + 1 2 n ( ζ i n , ζ i + 1 n ) ) r = f ( ζ i + 1 2 r ) .
The two flux values are averaged to obtain the net flux at the segment boundary:
f i n + 1 = 1 2 ( ( f i + 1 2 n ) r + ( f i + 1 2 n ) l ) .
Finally, the data variables are updated at the next time step by incorporating the net flux and source term S ( ζ i n ) :
ζ i n + 1 = ζ i n δ t δ x ( f i + 1 2 n f i 1 2 n ) + δ t S ( ζ i n ) .

6. Convergence Analysis

The accuracy of the FORCE scheme is evaluated using the PW traffic flow model with different step sizes δx. The simulation parameters are given in Table 2. The initial density distribution on the road is a step function given by
ρ 0 = 0.75 , x < 0.5 , 0.25 , x 0.5 ,
which can be considered challenging for numerical schemes. Neumann boundary conditions are employed, so the road is considered to be straight.
The average error between the reference grid size and grid size k is as follows:
1 x m 0 x m ρ k ( x ) ρ 1600 ( x ) d x .
It is approximated numerically using linear interpolation of the solution with grid size k. The convergence rate between successive values is given as follows:
p = log ( E k / E k + 1 ) log ( δ x k / δ x k + 1 ) .
The errors and average convergence rates are given in Table 3. The FORCE scheme exhibits sub first-order convergence, which is expected due to the discontinuity in the initial conditions. However, as the spatial resolution increases, the convergence rate improves, approaching first-order convergence. The results are consistent with the theoretical accuracy of the FORCE scheme with discontinuities and relaxation terms. They confirm the suitability of the FORCE scheme with the PW and related models.

7. Performance Results

A circular road of length 3000 m is considered with periodic boundary conditions to evaluate the performance of the models. The models are implemented in MATLAB, and the simulation parameters are shown in Figure 2. The road length xm is divided into M = 300 segments of size δx = 10 m. The time step is δt = 0.1 s, and there are N = 3000 time steps, so the simulation time is tN = 300 s. To ensure numerical stability, the Courant–Friedrichs–Lewy (CFL) condition [51] is applied [48]. The density ρ ( x , t ) , velocity v ( x , t ) , and driver reaction P ( x , t ) = 1 τ 88.68 v n ( 0.003 d + 1.22 ) + 80.02 2 ρ ( x , t ) for the proposed model, and reaction time P ( x , t ) = C 0 2 ρ ( x , t ) for the PW model, are stored in two-dimensional arrays of size M × N. The initial density profile ρ ( x , 0 ) has the following distribution:
ρ ( x , 0 ) = 0.7 , x 500 , 0.2 , 500 < x 1000 , 0.7 , 1000 < x 1500 , 0.2 , 1500 < x 2000 , 0.7 , 2000 < x 2500 , 0.1 , x 3000
The initial velocity is based on the Greenshields equilibrium velocity (3) and is
v ( x , 0 ) = v m 1 ρ ( x , 0 ) ρ m ,
where vm = 25 m/s is the free-flow speed and ρm = 1 is the maximum normalized density. The initial density is multi-cluster, which can be considered the worst case. The relaxation time is τ = 2 s and 4 s, while the lateral distance headway is d = 2 m, as in [52,53]. The speed constant for the PW model ranges from 2.4 m/s to 57 m/s [54], so here, C 0 = 45 m/s. The circular road and corresponding simulation parameters are given in Figure 2, and the simulation parameters are summarized in Table 4.
For time step n, the periodic boundary conditions are employed by updating the initial cells as follows:
R 1 n = R M + 1 n , R M + 2 n = R 2 n , V 1 n = V M + 1 n , V M + 2 n = V 2 n .
Then, the fluxes are computed using (28), (29), (30), and (31), and the conserved variables are updated using (32). Driver reaction for the proposed model is updated as
p i n + 1 = 1 τ 88.68 v n ( 0.003 d + 1.22 ) + 80.02 2 R i n + 1 ,
while for the PW model it is
p i n + 1 = C 0 2 R i n + 1 .
Finally, the arrays for density, velocity, and driver reactions are updated, and the spatial positions are adjusted accordingly.
Figure 3 presents the velocity for the proposed model over a 3000 m circular road at 100 s, 200 s, and 300 s. At 100 s, the velocity is 15.2 m/s at 0 m and decreases to 12.5 m/s at 600 m. It is 15.5 m/s at 1250 m and then decreases to 10.8 m/s at 1380 m, which is the lowest value. The velocity then increases to 15.5 m/s at 2300 m. At 200 s, the velocity is 14.1 m/s at 0 m and increases to 15.0 m/s at 600 m. It decreases to 13.8 m/s at 1250 m and then increases to 14.5 m/s at 1380 m. The minimum velocity is 12.5 m/s at 1700 m, and the velocity is 14.4 m/s at 2400 m. At 300 s, the velocity is 13.0 m/s at 0 m and increases to 14.4 m/s at 600 m. It is 15.0 m/s at 1250 m and then decreases to 14.5 m/s at 1380 m and 13.5 m/s at 1700 m. The velocity is 14.2 m/s at 2400 m. These results show that the velocity becomes smoother over time. Figure 4 presents the corresponding normalized density. At 100 s, the density is 0.39 at 0 m and increases to 0.50 at 600 m. It is 0.46 at 1250 m and 0.57 at 1380 m, with a maximum of 0.58 at 2300 m. At 200 s, the density is 0.44 at 0 m and decreases to 0.41 at 600 m. At 1250 m, it is 0.45, decreases to 0.43 at 1380 m, and then increases to 0.52 at 1700 m. The density is 0.44 at 2400 m. At 300 s, the density is 0.47 at 0 m and decreases to 0.44 at 600 m, 0.40 at 1250 m, and 0.39 at 1380 m. It then increases to 0.45 at 1700 m and 0.48 at 2900 m. As with the velocity, the density becomes smoother over time.
Figure 5 presents the velocity with the proposed model for 300 s over a 3000 m circular road with relaxation time 2 s. The minimum velocity is 0 m/s and the maximum is 25 m/s, and the results remain within these bounds. Initially, there are significant variations due to the multi-cluster density distribution, but over time, they diminish, which reflects realistic traffic evolution. Figure 6 presents the corresponding density. This shows that the density remains within the range 0 to 1, as required. Over time, the density variations decrease and the traffic becomes smooth, as expected.
Figure 7 presents the velocity with the proposed model over a 3000 m circular road at 100 s, 200 s, and 300 s. The relaxation time is 4 s and the lateral distance headway is 2 m. At 100 s, the velocity is 15.0 m/s at 0 m and increases to 17.0 m/s at 400 m. There is a peak of 15.0 m/s at 1250 m and then a decrease to the minimum of 8.0 m/s. The velocity is 15.9 m/s at 2300 m. At 200 s, the velocity is 16.1 m/s at 0 m and decreases to 15.0 m/s at 600 m. At 1250 m, it is 13.0 m/s, increases to 14.8 m/s at 1380 m, and then decreases to 7.5 m/s at 1500 m. The velocity is 16.2 m/s at 2400 m. At 300 s, the velocity is 16.4 m/s at 0 m and decreases to 16.1 m/s at 600 m. It is 16.2 m/s at 1250 m, decreases to 6.4 m/s at 1450 m, and then increases to 16.3 m/s at 2300 m. The minimum velocity is 5.0 m/s at 2400 m. These results show that the variations in velocity decrease over time.
Figure 8 presents the corresponding density. At 100 s, the density is 0.39 at 0 m and decreases to 0.32 at 400 m. It increases to 0.61 at 600 m, decreases to 0.35 at 1250 m, and then increases to 0.72 at 1380 m. The maximum density is 0.71 at 2300 m. At 200 s, the density is 0.35 at 0 m and increases to 0.41 at 600 m. It is 0.58 at 1100 m and decreases to 0.36 at 1380 m. The density is 0.75 at 1550 m and decreases to 0.35 at 2400 m. At 300 s, the density at 0 m is 0.34 and increases to 0.35 at 600 m, 0.77 at 1450 m, and 0.81 at 2450 m. It then decreases to 0.35 at 3000 m. These results show that the maximum density increases over time, and the variations are the least at 100 s.
Figure 9 presents the velocity with the proposed model for 300 s over a 3000 m circular road with relaxation time 4 s. This shows that the velocity remains within the range 0 m/s to 25 m/s, as required. Initially, there are significant variations due to the multi-cluster density distribution, but over time, these variations decrease. Figure 10 presents the corresponding normalized density. The density remains between 0 and 1, as expected, and over time, the variations decrease, consistent with the velocity. Further, a larger relaxation time results in greater variations in velocity and density, as expected.
Figure 11 presents the velocity with the PW model over a 3000 m road for 300 s with relaxation time 4 s. This shows that the maximum velocity is 40.8 m/s and the minimum is −11.1 m/s, which exceed the limits of 25 m/s and 0 m/s, respectively. Thus, these results are unrealistic and impossible. The corresponding normalized density is given in Figure 12. Initially, there are large variations in density, but they decrease over time. However, these results are inconsistent with the velocity observed in Figure 11. Therefore, the PW model cannot accurately characterize traffic behavior.
The results above indicate that the variations in traffic behavior with the proposed model are smaller with a shorter relaxation time. In contrast, the PW model produces velocities that exceed the maximum and fall below 0, so the results are unrealistic. Further, t changes in velocity with the PW model do not correspond to the changes in density and so are inconsistent. Conversely, the changes in velocity with the proposed model are in accordance with the changes in density. The velocity is greater with a smaller density, which is consistent with real-world traffic conditions.

Driver Reaction

The proposed model driver reaction is now evaluated for the initial density distribution
ρ 0 = 0.6 , x 500 , 0.1 , 500 < x 1000 , 0.6 , 1000 < x 1500 , 0.1 , 1500 < x 2000 , 0.6 , 2000 < x 2500 , 0.1 , x 3000 ,
and non-periodic boundary conditions. A 3000 m straight road is considered, as shown in Figure 13. The simulation parameters are also given. Figure 14 presents the driver reaction with the proposed model for a lane change with relaxation time 4 s. This shows that driver reaction varies between 2.39 and 0.37 and is large when the density is high. Figure 15 gives the driver reaction for a lane change with relaxation time 2 s. In this case, the driver reaction varies between 8.29 and 1.47, so the range is greater with a smaller relaxation time, and driver reaction for a lane change is higher.
Figure 16 presents the driver reaction for lane changes at 750 m, 1280 m, and 2950 m for 60 s with relaxation time 4 s. At 10 s, the driver reaction is 0.40 at 750 m, 2.22 at 1280 m, and 0.37 at 2950 m. At 30 s, the corresponding values are 1.19, 1.98, and 0.72, respectively. At 50 s, driver reaction increases to 1.44 at 750 m, decreases to 0.70 at 1280 m, and increases to 1.13 at 2950 m. Figure 17 gives the corresponding driver reaction with relaxation time 2 s. At 10 s, the driver reaction is 1.84 at 750 m, 8.87 at 1280 m, and 1.48 at 2950 m. At 30 s, the values increase to 4.82, 8.28, and 3.12, respectively, and at 50 s, they are 5.76 at 750 m, 3.06 at 1280 m, and 4.62 at 2950 m. These results indicate that for multi-cluster traffic, driver reaction varies more with a smaller relaxation time. In addition, driver reaction varies according to the local traffic conditions.
Figure 18 presents the peak-to-peak normalized density on a 3000 m straight road for 60 s with relaxation time 2 s and 4 s. This is the difference between the maximum and minimum density on the road. At 10 s, it is 0.51 with relaxation time 2 s and 0.52 with relaxation time 4 s. At 30 s with relaxation time 2 s it is 0.47, and with relaxation time 4 s, it is 0.54. With relaxation time 4 s the congestion is larger at 30 s, as the density difference has increased. At 50 s, with relaxation time 2 s the density difference is 0.39, while with relaxation time 4 s it is 0.42. Thus, the congestion is dissipating as the difference is decreasing.
Figure 19 gives the driver reaction with the PW model over a 3000 m straight road for a lane change with relaxation time 2 s and 4 s, and C 0 = 45 . This shows that the driver reaction varies between 1215 and 214 at 1 s. After 60 s, it is between 1215 at 0 m and 654.3 at 3000 m. The corresponding results with relaxation time 4 s are the same, so driver reaction does not vary according to the traffic conditions. Figure 20 gives the corresponding driver reaction with C0 = 4. The driver reaction varies between 9.60 and 1.60 at 1 s. After 60 s, it is between 3.78 and 8.27. Thus, the variations in driver reaction to a lane change decrease with C0. However, this is a constant that is not based on traffic physics, so the results are artificial. The driver reaction with the proposed model increases with density and is consistent with the relaxation time. With the PW model, the driver reaction is very large, which is unrealistic, and it does not change with the relaxation time.

8. Conclusions

In this paper, a macroscopic traffic model based on the relaxation time and lateral distance headway was proposed. Models for the lateral time headway and flow were obtained using nonhomogeneous traffic data from Iran and Pakistan, respectively. The use of real-world data provides realistic and accurate models that reflect traffic physics. It was shown that the results with the PW model exceed physical limits, and the traffic behavior does not reflect the changes in density. Further, the velocity evolves similarly for different relaxation times, which is incorrect. Conversely, the variations in density and velocity with the proposed model are greater with a larger relaxation time, and the velocity is consistent with the changes in density. The velocity with the proposed model is within the physical limits. Driver reaction with the proposed model changes according to the relaxation time, whereas with the PW model, it is based on a constant and so is unrealistic. The results presented show that the proposed model can effectively characterize nonhomogeneous traffic under different conditions, unlike the PW model.

Author Contributions

Conceptualization, Z.H.K. and A.C.; Methodology, T.A.G.; Software, Z.H.K. and A.C.; Validation, Z.H.K., K.S.K., and T.A.G.; Formal analysis, Z.H.K. and A.B.A.; Investigation, Z.H.K., K.S.K., A.B.A., T.A.G., A.C., and S.H.; Resources, T.A.G.; Writing—original draft, Z.H.K. and A.B.A.; Writing—review & editing, K.S.K., T.A.G., and S.H. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Data Availability Statement

The original contributions presented in this study are included in the article. Further inquiries can be directed to the corresponding author.

Acknowledgments

The authors thank Shaima S. Khan from Norman Bethune Collegiate Institute, Scarborough, ON, Canada, for help generating the figures.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Timilsina, G.R.; Dulal, H.B. Urban road transportation externalities: Costs and choice of policy instruments. World Bank Res. Obs. 2010, 26, 162–191. [Google Scholar] [CrossRef]
  2. Khan, Z.H.; Gulliver, T.A.; Imran, W.; Khattak, K.S.; Altamimi, A.B.; Qazi, A. A macroscopic traffic model based on relaxation time. Alex. Eng. J. 2022, 61, 585–596. [Google Scholar] [CrossRef]
  3. Mallikarjuna, C.; Rao, K. Heterogeneous traffic flow modeling: A complete methodology. Transportmetrica 2011, 7, 321–345. [Google Scholar] [CrossRef]
  4. Zhang, H. A theory of non-equilibrium traffic flow. Transp. Res. Part B Methodol. 1998, 32, 485–498. [Google Scholar] [CrossRef]
  5. Delitala, M.; Tosin, A. Mathematical modeling of vehicular traffic: A discrete kinetic theory approach. Math. Model. Methods Appl. Sci. 2007, 17, 901–932. [Google Scholar] [CrossRef]
  6. Jiang, R.; Wu, Q.; Zhu, Z. A new continuum model for traffic flow and numerical tests. Transp. Res. Part B Methodol. 2002, 36, 405–419. [Google Scholar] [CrossRef]
  7. Ambarwati, L.; Pel, A.J.; Verhaeghe, R.; van Arem, B. Empirical analysis of heterogeneous traffic flow and calibration of porous flow model. Transp. Res. Part C Emerg. Technol. 2014, 48, 418–436. [Google Scholar] [CrossRef]
  8. Khan, Z.H.; Gulliver, T.A. A macroscopic traffic model based on transition velocities. J. Comput. Sci. 2020, 43, 101131. [Google Scholar] [CrossRef]
  9. Brackstone, M.; McDonald, M. Driver headway: How close is too close on a motorway? Ergonomics 2007, 50, 1183–1195. [Google Scholar] [CrossRef]
  10. Qu, D.; Chen, X.; Yang, W.; Bian, X. Modeling of car-following required safe distance based on molecular dynamics. Math. Probl. Eng. 2014, 2014, 604023. [Google Scholar] [CrossRef]
  11. Maurya, A.K.; Das, S.; Dey, S.; Nama, S. Study on speed and time-headway distributions on two-lane bidirectional road in heterogeneous traffic condition. Transp. Res. Procedia 2016, 17, 428–437. [Google Scholar] [CrossRef]
  12. Khansari, E.R.; Tabibi, M.; Nejad, F.M. A study on following behavior based on the time headway. J. Kejuruter. 2020, 32, 187–195. [Google Scholar] [CrossRef]
  13. Lighthill, M.J.; Whitham, G.B. On kinematic waves II. A theory of traffic flow on long crowded roads. Proc. R. Soc. Lond. Ser. A Math. Phys. Sci. 1955, 229, 317–345. [Google Scholar]
  14. Richards, P.I. Shock waves on the highway. Oper. Res. 1956, 4, 42–51. [Google Scholar] [CrossRef]
  15. Daganzo, C. Requiem for second-order fluid approximations of traffic flow. Transp. Res. Part B Methodol. 1995, 29, 277–286. [Google Scholar] [CrossRef]
  16. Maerivoet, S.; Moor, B.L.R.D. Transportation Planning and Traffic Flow Models; Technical Report 05; Departement Elektrotechniek, Katholieke Universiteit Leuven: Leuven, Belgium, 2008. [Google Scholar] [CrossRef]
  17. Kessels, F. Traffic Flow Modeling; Springer: Cham, Switzerland, 2019; pp. 99–105. [Google Scholar] [CrossRef]
  18. Nagel, K.; Wagner, P.; Woesler, R. Still flowing: Approaches to traffic flow and traffic jam modeling. Oper. Res. 2003, 51, 681–710. [Google Scholar] [CrossRef]
  19. Henein, C.; White, T. Microscopic information processing and communication in crowd dynamics. Phys. A Stat. Mech. Appl. 2010, 389, 4636–4653. [Google Scholar] [CrossRef]
  20. Ali, F.; Khan, Z.H.; Gulliver, T.A.; Khattak, K.S.; Altamimi, A.B. A microscopic traffic model to investigate the effect of connected autonomous vehicles at bottlenecks and the impact of cyberattacks. Appl. Sci. 2025, 15, 1214. [Google Scholar] [CrossRef]
  21. Cantarella, G.; Luca, S.D.; Gangi, M.D.; Pace, R.D.; Memoli, S. Macroscopic vs. mesoscopic traffic flow models in signal setting design. In Proceedings of the International IEEE Conference on Intelligent Transportation Systems, Qingdao, China, 8–11 October 2014. [Google Scholar] [CrossRef]
  22. Hoogendoorn, S.; Bovy, P. State-of-the-art of vehicular traffic flow modelling. Proc. Inst. Mech. Eng. Part I J. Syst. Control Eng. 2001, 215, 283–303. [Google Scholar] [CrossRef]
  23. Imran, W.; Khan, Z.H.; Gulliver, T.A.; Khattak, K.S.; Nasir, H. A macroscopic traffic model for heterogeneous flow. Chin. J. Phys. 2020, 63, 419–435. [Google Scholar] [CrossRef]
  24. Liu, G.; Lyrintzis, A.; Michalopoulos, P. Improved high-order model for freeway traffic flow. Transp. Res. Rec. J. Transp. Res. Board 1998, 1644, 37–46. [Google Scholar] [CrossRef]
  25. Payne, H.J. Models of freeway traffic and control. Math. Model. Public Syst. (Simul. Counc. Proc.) 1971, 1, 51–61. [Google Scholar]
  26. Whitham, G.B. Linear and Nonlinear Waves; Wiley: New York, NY, USA, 1971. [Google Scholar]
  27. Kuhne, R.D.; Rodiger, M.B. Macroscopic simulation model for freeway traffic with jams and stop-start waves. In Proceedings of the Winter Simulation Conference, Phoenix, AZ, USA, 8–11 December 1991; pp. 762–770. [Google Scholar] [CrossRef]
  28. Kerner, B.S.; Konhäuser, P. Cluster effect in initially homogeneous traffic flow. Phys. Rev. E 1993, 48, R2335. [Google Scholar] [CrossRef]
  29. Papageorgiou, M.; Blosseville, J.-M.; Hadj-Salem, H. Macroscopic modelling of traffic flow on the Boulevard Peripherique in Paris. Transp. Res. Part B Methodol. 1989, 23, 29–47. [Google Scholar] [CrossRef]
  30. Helbing, D. Derivation and empirical validation of a refined traffic flow model. Phys. A Stat. Mech. Appl. 1996, 233, 253–282. [Google Scholar] [CrossRef]
  31. Castillo, J.D.; Pintado, P.; Benitez, F. The reaction time of drivers and the stability of traffic flow. Transp. Res. Part B Methodol. 1994, 28, 35–60. [Google Scholar] [CrossRef]
  32. Phillips, W. A kinetic model for traffic flow with continuum implications. Transp. Plan. Technol. 1979, 5, 131–138. [Google Scholar] [CrossRef]
  33. Hegyi, A.; Schutter, B.D.; Hellendoorn, J.; Hoogendoorn, S.P.; Tampere, C. Gelijke behandeling voor verkeersstroommodellen. Verkeerskunde 2001, 52, 32–36. [Google Scholar]
  34. Grace, M.; Potts, R. A theory of the diffusion of traffic platoons. Oper. Res. 1964, 12, 255–275. [Google Scholar] [CrossRef]
  35. Graham, E.F.; Chenu, D.C. A study of unrestricted platoon movement of traffic. Traffic Eng. 1962, 32, 11–13. [Google Scholar]
  36. Papageorgiou, M. Some remarks on macroscopic traffic flow modeling. Transp. Res. Part A 1998, 32, 323–329. [Google Scholar] [CrossRef]
  37. Aw, A.; Rascle, M. Resurrection of second order models of traffic flow. SIAM J. Appl. Math. 2000, 60, 916–938. [Google Scholar] [CrossRef]
  38. Richardson, A.D. Refined Macroscopic Traffic Modelling via Systems of Conservation Laws. Master’s Thesis, Department of Mathematics and Statistics, University of Victoria, Victoria, BC, Canada, 2012. [Google Scholar]
  39. Morgan, J.V. Numerical Methods for Macroscopic Traffic Models. Ph.D. Thesis, Department of Mathematics, University of Reading, Berkshire, UK, 2002. [Google Scholar]
  40. Bonzani, I.; Mussone, L. On the derivation of the velocity and fundamental traffic flow diagram from the modelling of the vehicle–driver behaviors. Math. Comput. Model. 2009, 50, 1107–1112. [Google Scholar] [CrossRef]
  41. Li, J.; Zhang, H.M. Fundamental diagram of traffic flow. Transp. Res. Rec. J. Transp. Res. Board 2011, 2260, 50–59. [Google Scholar] [CrossRef]
  42. Greenberg, H. An analysis of traffic flow. Oper. Res. 1959, 7, 79–85. [Google Scholar] [CrossRef]
  43. Salter, R.J. The relationship between speed, flow and density of a highway traffic stream. In Highway Traffic Analysis and Design; Palgrave: London, UK, 1996; pp. 119–130. [Google Scholar] [CrossRef]
  44. Yu, C.; Zhang, J.; Yao, D.; Zhang, R.; Jin, H. Speed-density model of interrupted traffic flow based on coil data. Mob. Inf. Syst. 2016, 2016, 7968108. [Google Scholar] [CrossRef]
  45. Khan, A.; Khattak, K.S.; Khan, Z.H.; Gulliver, T.A.; Abdullah. Edge computing for effective and efficient traffic characterization. Sensors 2023, 23, 9385. [Google Scholar] [CrossRef]
  46. Mi, J.; Bai, Y.; Luo, M.; Wang, H.; Chen, M. Microscopic estimation of road impedance by decomposing traffic delay into individual road segments: An analytical approach. Math. Probl. Eng. 2019, 2019, 3285498. [Google Scholar] [CrossRef]
  47. Toro, E.F.; Hidalgo, A.; Dumbser, M. Force schemes on unstructured meshes I: Conservative hyperbolic systems. J. Comput. Phys. 2009, 228, 3368–3389. [Google Scholar] [CrossRef]
  48. LeVeque, R.J. Finite Volume Methods for Hyperbolic Problems; Cambridge University Press: Cambridge, UK, 2002. [Google Scholar] [CrossRef]
  49. Toro, E.F. Riemann Solvers and Numerical Methods for Fluid Dynamics: A Practical Introduction; Springer: Berlin, Germany, 2011. [Google Scholar] [CrossRef]
  50. Kachroo, P.P.E.; Wadoo, S.A.; Al-Nasur, S.J.; Shende, A. Numerical Methods. In Pedestrian Dynamics Feedback Control of Crowd Evacuation; Springer: New York, NY, USA, 2008; pp. 61–93. [Google Scholar] [CrossRef]
  51. de Moura, C.A.; Kubrusly, C.S. The Courant–Friedrichs–Lewy (CFL) Condition: 80 Years After Its Discovery; Springer: Berlin, Germany, 2013. [Google Scholar] [CrossRef]
  52. Basak, K.; Hetu, S.N.; Zheminli; Azevedo, C.L.; Loganathan, H.; Toledo, T.; Runminxu; Yanxu; Li-Shiuanpeh; Ben-Akiva, M. Modeling reaction time within a traffic simulation model. In Proceedings of the International IEEE Conference on Intelligent Transportation Systems, The Hague, The Netherlands, 6–9 October 2013; pp. 302–309. [Google Scholar] [CrossRef]
  53. Yi, P.; Lu, J.; Zhang, Y.; Lu, H. Safety-based capacity analysis for Chinese highways. IATSS Res. 2004, 28, 47–55. [Google Scholar] [CrossRef]
  54. Khan, Z.H.; Imran, W.; Azeem, S.; Khattak, K.S.; Gulliver, T.A.; Aslam, M.S. A macroscopic traffic model based on driver reaction and traffic stimuli. Appl. Sci. 2019, 9, 2848. [Google Scholar] [CrossRef]
Figure 1. Relaxation time τ, distance covered during a lane change hd, and the lateral distance headway d.
Figure 1. Relaxation time τ, distance covered during a lane change hd, and the lateral distance headway d.
Mathematics 13 02616 g001
Figure 2. The 3000 m circular road and simulation parameters.
Figure 2. The 3000 m circular road and simulation parameters.
Mathematics 13 02616 g002
Figure 3. The proposed model velocity over a 3000 m circular road at 100 s, 200 s, and 300 s with lateral distance headway 2 m and relaxation time 2 s.
Figure 3. The proposed model velocity over a 3000 m circular road at 100 s, 200 s, and 300 s with lateral distance headway 2 m and relaxation time 2 s.
Mathematics 13 02616 g003
Figure 4. The proposed model normalized density over a 3000 m circular road at 100 s, 200 s, and 300 with lateral distance headway 2 m and relaxation time 2 s.
Figure 4. The proposed model normalized density over a 3000 m circular road at 100 s, 200 s, and 300 with lateral distance headway 2 m and relaxation time 2 s.
Mathematics 13 02616 g004
Figure 5. Velocity with the proposed model over a 3000 m circular road for 300 s with lateral distance headway 2 m and relaxation time 2 s.
Figure 5. Velocity with the proposed model over a 3000 m circular road for 300 s with lateral distance headway 2 m and relaxation time 2 s.
Mathematics 13 02616 g005
Figure 6. Density with the proposed model over a 3000 m circular road for 300 s with lateral distance headway 2 m and relaxation time 2 s.
Figure 6. Density with the proposed model over a 3000 m circular road for 300 s with lateral distance headway 2 m and relaxation time 2 s.
Mathematics 13 02616 g006
Figure 7. Velocity with the proposed model over a 3000 m circular road at 100 s, 200 s, and 300 s with lateral distance headway 2 m and relaxation time 4 s.
Figure 7. Velocity with the proposed model over a 3000 m circular road at 100 s, 200 s, and 300 s with lateral distance headway 2 m and relaxation time 4 s.
Mathematics 13 02616 g007
Figure 8. Density with the proposed model over a 3000 m circular road at 100 s, 200 s, and 300 s with lateral distance headway 2 m and relaxation time 4 s.
Figure 8. Density with the proposed model over a 3000 m circular road at 100 s, 200 s, and 300 s with lateral distance headway 2 m and relaxation time 4 s.
Mathematics 13 02616 g008
Figure 9. Velocity with the proposed model over a 3000 m circular road for 300 s with lateral distance headway 2 m and relaxation time 4 s.
Figure 9. Velocity with the proposed model over a 3000 m circular road for 300 s with lateral distance headway 2 m and relaxation time 4 s.
Mathematics 13 02616 g009
Figure 10. Normalized density with the proposed model over a 3000 m circular road for 300 s with lateral distance headway 2 m and relaxation time 4 s.
Figure 10. Normalized density with the proposed model over a 3000 m circular road for 300 s with lateral distance headway 2 m and relaxation time 4 s.
Mathematics 13 02616 g010
Figure 11. Velocity with the PW model over a 3000 m circular road for 300 s with relaxation time 4 s.
Figure 11. Velocity with the PW model over a 3000 m circular road for 300 s with relaxation time 4 s.
Mathematics 13 02616 g011
Figure 12. Normalized density with the PW model over a 3000 m circular road for 300 s with relaxation time 4 s.
Figure 12. Normalized density with the PW model over a 3000 m circular road for 300 s with relaxation time 4 s.
Mathematics 13 02616 g012
Figure 13. The 3000 m straight road and simulation parameters.
Figure 13. The 3000 m straight road and simulation parameters.
Mathematics 13 02616 g013
Figure 14. Driver reaction with the proposed model over a 3000 m straight road for 60 s with relaxation time 4 s.
Figure 14. Driver reaction with the proposed model over a 3000 m straight road for 60 s with relaxation time 4 s.
Mathematics 13 02616 g014
Figure 15. Driver reaction with the proposed model over a 3000 m straight road for 60 s with relaxation time 2 s.
Figure 15. Driver reaction with the proposed model over a 3000 m straight road for 60 s with relaxation time 2 s.
Mathematics 13 02616 g015
Figure 16. Driver reaction with the proposed model at 750 m, 1280 m, and 2950 over a straight road for 60 s with relaxation time 4 s.
Figure 16. Driver reaction with the proposed model at 750 m, 1280 m, and 2950 over a straight road for 60 s with relaxation time 4 s.
Mathematics 13 02616 g016
Figure 17. Driver reaction with the proposed model at 750 m, 1280 m, and 2950 m over a straight road for 60 s with relaxation time 2 s.
Figure 17. Driver reaction with the proposed model at 750 m, 1280 m, and 2950 m over a straight road for 60 s with relaxation time 2 s.
Mathematics 13 02616 g017
Figure 18. Peak-to-peak normalized density with the proposed model over a 3000 m straight road for 60 s with relaxation time 2 s and 4 s.
Figure 18. Peak-to-peak normalized density with the proposed model over a 3000 m straight road for 60 s with relaxation time 2 s and 4 s.
Mathematics 13 02616 g018
Figure 19. Driver reaction with the PW model over a 3000 m straight road for 60 s with relaxation time 2 s and 4s, C 0 = 45 .
Figure 19. Driver reaction with the PW model over a 3000 m straight road for 60 s with relaxation time 2 s and 4s, C 0 = 45 .
Mathematics 13 02616 g019
Figure 20. Driver reaction with the PW model over a 3000 m straight road for 60 s with relaxation time 2 s and C 0 = 45 .
Figure 20. Driver reaction with the PW model over a 3000 m straight road for 60 s with relaxation time 2 s and C 0 = 45 .
Mathematics 13 02616 g020
Table 1. Driver response for the PW and proposed traffic models.
Table 1. Driver response for the PW and proposed traffic models.
PW ModelProposed Model
C 0 2 ρ 1 τ 88.68 v n ( 0.003 d + 1.22 ) + 80.02 2 ρ
Table 2. Simulation parameters.
Table 2. Simulation parameters.
ParameterValue
Road lengthxm = 1 km
Maximum velocityvm = 2 km/h
Number of time stepsN = 1600
Total simulation timetN = 0.2 h
Grid sizek = 50, 100, 200, 400
Reference grid size1600
Relaxation timeτ = 0.1 h
Velocity distributionGreenshields (3)
Maximum normalized densityρm = 1
Speed constantC0 = 0.5 km/h
Table 3. Results with the FORCE scheme.
Table 3. Results with the FORCE scheme.
Grid Size kAverage ErrorAverage Convergence Rate
500.0450
1000.02960.6060
2000.01810.7038
4000.00990.8723
Table 4. Simulation Parameters.
Table 4. Simulation Parameters.
ParameterValue
Simulation timetN = 300 s
Number of road segmentsM = 300
Circular road lengthxm = 3000 m
Maximum velocityvm = 25 m/s
Time stepδt = 0.1 s
Road stepδx = 10 m
Relaxation timeτ = 2 s and 4 s
Lateral distance headwayd = 2 m
Velocity distributionGreenshields (3)
Maximum normalized densityρm = 1
Speed constant C 0 = 45 m/s
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Khan, Z.H.; Khattak, K.S.; Altamimi, A.B.; Gulliver, T.A.; Chabir, A.; Hussain, S. Traffic Characterization Based on Driver Reaction. Mathematics 2025, 13, 2616. https://doi.org/10.3390/math13162616

AMA Style

Khan ZH, Khattak KS, Altamimi AB, Gulliver TA, Chabir A, Hussain S. Traffic Characterization Based on Driver Reaction. Mathematics. 2025; 13(16):2616. https://doi.org/10.3390/math13162616

Chicago/Turabian Style

Khan, Zawar Hussain, Khurram S. Khattak, Ahmed B. Altamimi, Thomas Aaron Gulliver, Alaa Chabir, and Shah Hussain. 2025. "Traffic Characterization Based on Driver Reaction" Mathematics 13, no. 16: 2616. https://doi.org/10.3390/math13162616

APA Style

Khan, Z. H., Khattak, K. S., Altamimi, A. B., Gulliver, T. A., Chabir, A., & Hussain, S. (2025). Traffic Characterization Based on Driver Reaction. Mathematics, 13(16), 2616. https://doi.org/10.3390/math13162616

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop