Modeling Vehicular Traffic Flow With Taillight Effect on Deteriorated Roads
Abstract
This study addresses a critical gap in traffic flow modeling by developing a macroscopic framework that simultaneously accounts for taillight signaling effects and deteriorated road conditions—a common but understudied scenario in developing regions. Building on the observation that reduced road quality and limited visibility significantly alter driver behavior, particularly in response to preceding vehicles’ taillights, we formulate a model that captures these complex interactions neglected by classical approaches. Through systematic mathematical analysis, we first demonstrate that the vector–matrix formulation yields a strictly hyperbolic and anisotropic system, characterized by finite-speed wave propagation along distinct characteristic fields. We then establish the model’s theoretical foundations by conducting a linear stability analysis that quantitatively links traffic stability to key parameters including driver sensitivity, headway, and road condition factors. Numerical simulations validate our analytical framework, revealing how small initial density perturbations evolve into characteristic traffic wave phenomena: shock formations, rarefaction waves, and stop-and-go clusters. These results not only confirm the model’s ability to reproduce realistic traffic patterns under infrastructure constraints but also provide mechanistic insights into the emergence of congestion in poor road conditions. By integrating taillight dynamics with road quality effects, this work advances macroscopic traffic theory while offering practical tools for traffic management in low-maintenance road networks.
1. Introduction
Taillights are crucial for vehicle and occupants safety, especially in low-visibility conditions. They are mandatory components of vehicle design for driving on public highways, serving as signals to inform other road users about a vehicle’s location, speed, and intentions. Numerous micro [1–3], lattice-based [4–7], lane changing [8, 9], and macro [10–20] models have been proposed to address various aspects of vehicular traffic flow, including the effects of taillight signaling [21–23]. In particular, Zhang et al. [21] presented an enhanced car-following model to analyze the impact of the preceding vehicle’s taillight on driving behavior. Their findings revealed that drivers could anticipate future headway by using visual cues from nearby vehicles, thereby adjusting their acceleration based on the discrepancy between expected and actual headway.
By converting microvariables into macrovariables, Zhai and Wu [23] introduced dynamic velocity equations that incorporate both the driver’s memory time and the taillight of the preceding vehicle. Through nonlinear stability analysis, the authors derived a modified KdV–Burgers equation to characterize the properties of density wave propagation and evolution near the neutral stability curve. Their findings suggest that memory time negatively impacts traffic flow stability, whereas the presence of the preceding vehicle’s taillight helps alleviate congestion and conserve energy. Subsequently, Zhai and Wu [22] developed a continuous traffic flow model that considers the combined effect of headway variation and the taillight of the preceding vehicle. The flow of traffic jams near steady conditions was similarly explained using the density wave solution obtained by solving the KdV–Burgers equation. Additionally, Li and Ma [24] proposed a lattice model that considers the effects of taillights and velocity variation on traffic flow stability. Through a phase diagram analysis, they observed that both taillight effects and velocity variation positively influence traffic flow stability. This finding was validated by examining the spatiotemporal evolution of density wave profiles. It was also discovered that low-speed estimates and high critical densities negatively impact traffic flow stability, while the opposite conditions have a positive effect.
While these studies advance our understanding of taillight-informed driver behavior, another critical factor affecting traffic flow, particularly in low- and middle-income regions, is the condition of the road surface itself. Deteriorated roads, characterized by potholes, cracks, and uneven textures, introduce sudden variations in vehicle speed, elevate reaction times, and often disrupt uniform traffic progression [25, 26]. Drivers encountering such conditions tend to reduce speed either preemptively or in response to the behavior of leading vehicles, especially when visibility is low.
The aforementioned models, however, are limited in their ability to directly study various complex traffic phenomena caused by these diverse road conditions, as they do not explicitly account for these factors. Nevertheless, some efforts have been made to address the impact of road surfaces in traffic modeling. These efforts include the discrete velocity model proposed by [27], a traffic flow model that accommodates both good and bad road conditions by [28], and a car-following model that considers driving resistance [29].
Using discrete theory, Delitala and Tosin [27] developed a mathematical model for vehicle traffic to explore the influence of road conditions on traffic flow. However, this study focused solely on the mathematical aspects of how road conditions affect traffic flow and did not conduct numerical tests to demonstrate whether the model can qualitatively reproduce these effects. More precisely, the study did not investigate how road conditions impact the fundamental diagram, the formation and evolution of shock and rarefaction waves, traffic flow stability, or other traffic phenomena. Moreover, the study exclusively examines the traffic scenario in which a zero equilibrium speed is reached under the worst road conditions and derives the anticipation term of the proposed model for both the worst and best road conditions. Furthermore, the car-following model proposed by [29] examined how driving resistance influences car-following behavior. This model assumed that variations in road conditions would have qualitatively similar effects on traffic flow, with only minor variations in the values of certain parameters. Based on the findings of [28, 29], Tang et al. [30] introduced a new model based on empirical data that considers various road conditions in car-following behavior. Initially, the authors analyzed the impact of road conditions on uniform flow from both analytical and numerical perspectives. The results confirmed that road conditions have a significant effect on uniform flow. Specifically, good road conditions were found to increase velocity and flow, with improvements becoming more pronounced as road conditions improve. Conversely, poor road conditions were associated with decreased velocity and flow.
In 2014, Tang et al. [31] formulated a similar model that considers varying road conditions. The analytical and numerical findings indicate that poor road conditions decelerate traffic, while good road conditions can enhance the speed and flow of uniform traffic. Besides, the numerical results demonstrate that poor road conditions lead to steeper shock waves and reduced traffic flow stability, whereas good road conditions can mitigate shock waves and improve stability. The qualitative agreement with empirical findings suggests that the proposed model accurately describes the impacts of road conditions on traffic flow. To investigate the effects of road, institutional, and weather conditions on traffic flow, Golovnin [32] proposed a data-driven approach for traffic flow characterization. The author utilized detailed information on road conditions along with macroscale traffic flow parameters. The study focused on profiling weather-sensitive traffic flow speed and intensity using data from the city of Aarhus, Denmark. The results highlighted the effectiveness of this approach in predicting traffic flow dynamics under varying road conditions.
A second-order macroscopic traffic model introduced by [25] considers road surface irregularities that disrupt smooth vehicular flow. The study investigated how pothole size, along with flow rate severity and vehicle speed, affects driver reaction time to these irregularities. Also, a local cluster analysis was conducted to examine the effects of minor disturbances on traffic flow. The findings revealed that, except in low and high jam density scenarios where amplifications dissipate rapidly, the amplification on road surfaces with wider cracks is less severe compared to those with smaller potholes. While potholes are visible road features, their relationship with macroscopic traffic factors remains a subject of debate. Existing literature on potholes has primarily emphasized detection methods [33–43]. However, some recent studies, such as [26], have begun to model the effects of road surface irregularities on traffic dynamics, focusing on pothole-induced congestion. Despite these advancements, current models largely overlook the interaction between deteriorated road conditions and adaptive driver behavior, including responses to taillight signals. This study proposes a new macroscopic traffic flow model to explore how taillight signaling influences driver behavior and its implications for traffic flow dynamics, especially in the context of poor road conditions. The proposed model integrates these critical elements, which have been largely disregarded in traditional traffic flow models.
The remaining sections are organized as follows: Section 2 outlines the model derivation process, followed by a discussion of linear stability analysis in Section 3. Section 4 provides a detailed analysis of the model, focusing on nonlinear traffic phenomena. The final section summarizes the findings, draws conclusions, and suggests avenues for future research.
2. Model Derivation and Properties
The two main classifications of vehicular models are microscopic and macroscopic equations. Microscopic models delve into a detailed analysis of individual driver-vehicle behavior, while macroscopic models provide an aggregate analysis of traffic flow. Microscopic models can be aggregated into macroscopic models, offering a broader perspective on traffic dynamics.
Thus, the wave speed remains lower than the vehicle speed, thereby preserving the anisotropic nature of traffic flow, where drivers respond only to the conditions ahead of them.
Let us refer to the waves associated with h1 and h2 eigenvalues as the h1-wave and h2-wave characteristic fields, respectively. By computing the gradient vector of each eigenvalue with respect to the conserved variables and evaluating the dot product of the resulting vector with the corresponding right eigenvector, we discover that h1-wave is genuinely nonlinear, while the h2-wave is linearly degenerate for the homogeneous part of (6). This can also be confirmed from the right eigenvectors of h1 and h2 which are given by [−ρ/dv(λ + M), μ] and [ν, 0], respectively, for some real nonzero constants ν and μ.
It is well known that Cauchy problems of hyperbolic systems admit differentiable solutions only up to a finite time, beyond which the solution develops severe irregularities [46, 47]. These irregular solutions—typically shock waves, rarefaction waves, or contact discontinuities—are collectively referred to as weak solutions. For (6), let us briefly consider a special initial data, namely, the Riemann data, characterized by constant states (ρL, uL) and (ρR, uR) on the left and right of x = 0, respectively. In general, a genuinely nonlinear wave is classified as a shock wave if it satisfies the Rankine–Hugoniot jump condition with a finite speed of propagation and meets the Lax admissibility criteria. On the other hand, a linearly degenerate wave is a rarefaction wave if the generalized Riemann invariants are all constant and a corresponding “diverging” entropy condition is also satisfied. Furthermore, a contact wave discontinuity arises for a linearly degenerate field only if the characteristics on both sides of the wave are parallel. [48].
For System (6), both eigenvalues are functions of only u and the Riemann invariants of h2-wave is not well defined. In contrast, the Riemann invariant across h1-wave is given by u + dv(λ + M)lnρ = const. Thus, any solution of a generalized Riemann problem arises only from changes in the flow speed and not from perturbations in density of vehicles on the road. Consequently, h2-wave is further classified as contact discontinuity with a propagation speed of (ρRuR − ρLuL)/(ρR − ρL). On the other hand, h1-wave is a rarefaction, a shock wave, or is represented by a contact discontinuity given that uL < uR, uL > uR, or uL = uR, respectively. See Section 4 for detailed exposition.
Thus, the propagation of z1 is along the characteristic u(x, t), whereas the propagation of z2 is along the characteristic u(x, t) − dv(λ + M).
3. Stability Condition of the Proposed Model
The stability of the proposed model depends on specific conditions, underscoring the importance of identifying and monitoring these conditions to prevent instability. Understanding the steady-state conditions of the proposed model enables more accurate predictions and more efficient regulation of traffic flow, leading to reduced congestion and improved road safety. These findings are crucial for devising effective strategies to mitigate oscillatory traffic and congestion, with significant implications for traffic management.
4. Numerical Simulation
At the position (i, j), the variables and correspond to the density and velocity, and the spatial increment is denoted by Δx, while the time increment is denoted by Δt.
4.1. Traffic Wave Dynamics
The free flow velocity is represented by uf, where ρm denotes the maximum density and cm signifies the kinematic wave velocity. The parameter values used in the simulation are shown in Table 1. These values, derived from real traffic experiments, are standard references in traffic research.
Parameter | Value |
---|---|
uf | 25.00 |
τ | 3.00 |
cm | 11.00 |
α | 0.20 |
dv | 4. 00 |
ρcrit | 0.38 |
λ | 0.60 |
ρm | 1.00 |
x0 | 6.00 |
β | 1.40 |
T | 1.00 |
Φo | 0.10 |
The plot in Figure 1 illustrates an initial profile defined by upstream and downstream densities and velocities. The upstream initial density is set at 0.3900 vehicles per meter (ρl), while the downstream initial density is 0.3700 vehicles per meter (ρr). The corresponding upstream velocity (ul) and downstream velocity (ur) are determined based on these densities. The traffic wave depicted in Figure 1 represents a scenario where the upstream and downstream density values are close to the critical density. An immediate drop in downstream density is observed, followed by a stabilization phase. This is accompanied by an initial increase in speed as fewer vehicles reduce congestion. The speed increase eventually stabilizes as traffic adjusts to the new conditions, leading to a constant speed downstream. Simultaneously, the upstream wave profiles propagate forward gradually. This movement reflects how transitions at one point in traffic affect the entire flow downstream.

In Figure 2, the upstream initial density is set at 0.7500 vehicles per meter (ρl), while the downstream initial density is 0.1500 vehicles per meter (ρr). This scenario represents a significant disparity between upstream and downstream density values relative to the critical density. This scenario represents a significant disparity between upstream and downstream density values relative to the critical density to observe the behavior of the vehicles approaching the midpoint. With relatively few vehicles downstream, those nearing this point experience an increase in speed. This acceleration occurs because reduced congestion downstream facilitates smoother and faster traffic flow as vehicles approach the midpoint. Further analysis of the plot reveals the gradual dissolution of the vehicle queue over time. This dissolution is a crucial aspect of traffic dynamics, demonstrating how changes in traffic density can lead to the easing of congestion as vehicles redistribute themselves along the road network. The insights from our rarefaction plot not only illustrate these intricate traffic dynamics but also align with real-world observations. In practice, similar behaviors are often observed, where traffic waves dissolve as vehicles adjust their speeds and positions.

In Figure 3, the upstream initial density is set at 0.3700 vehicles per meter (ρl), and the downstream initial density is set at 0.3900 vehicles per meter (ρr). Observations from the plot reveal a dynamic pattern in downstream density. Initially, as vehicles from the upstream region enter the downstream section, the density increases. This rise in density leads to a corresponding drop in downstream speed, as the higher vehicle count results in congestion and slower traffic flow. Over time, the downstream density decreases as vehicles from the shock region move downstream. This drop in density leads to stabilization, where the downstream density reaches an equilibrium point. This stabilization is reflected in a constant downstream speed as traffic adjusts to the new conditions following the shock. Meanwhile, the propagation of upstream wave profiles gradually advances, demonstrating how changes in traffic conditions at one point in the road network can influence traffic patterns upstream.

In Figure 4, the plot analysis examines a traffic wave scenario where upstream and downstream density values are significantly different from the critical density. In this case, the relatively light density upstream merges with the somewhat moving traffic downstream. This dynamic results in only a minor queue buildup, as the lighter upstream traffic integrates smoothly with the downstream flow without causing significant congestion. Further observation reveals a decrease in downstream density over time. This decline occurs because the light upstream traffic merges with the downstream flow, leading to fewer vehicles in this section. As a result, the reduction in density corresponds to an increase in downstream speed, as the decreased congestion facilitates smoother and faster traffic flow. Moreover, no substantial queue buildup is observed due to the efficient merging of traffic from the upstream and downstream sections. This scenario reflects real-world conditions where light traffic merging with a slightly moving flow does not typically lead to significant congestion or queue formation.

4.2. Cluster Analysis
The simulation results for the cluster effect are illustrated in Figures 5 and 6. These plots visually demonstrate how minor variations in initial traffic density can lead to significant fluctuations in traffic flow patterns. The observed cluster effect highlights the importance of considering initial conditions when modeling traffic flow, especially in scenarios with wide variations in traffic densities. The simulations reveal substantial fluctuations in traffic density, ranging from 0.11 to 0.46, showcasing the sensitivity of traffic flow dynamics to initial density values. These variations underscore the diverse nature of road networks and how small changes in the initial density profile can significantly impact traffic flow patterns. As the initial density increases from lower to higher values, the disturbance in the wave profiles intensifies. This disturbance is characterized by the emergence of multiple local clusters and pockets of varying densities along the road, indicating regions of higher congestion or slower traffic flow interspersed with areas of smoother flow. However, once the initial density exceeds a certain threshold, the impact of the disturbance diminishes. Beyond this point, traffic flow tends toward uniformity, resulting in a more consistent density profile along the road network.


The plots depicted in Figure 6 illustrate how varying values of Δ influence density profile amplifications. As Δ values increase from lower to higher levels, a notable decrease in the amplitude of density profiles for traffic clusters is observed. Larger intervehicle distances correspond to diminished amplitudes in these density profiles. This suggests that traffic congestion and clustering decrease as vehicles are spaced farther apart. Essentially, greater intervehicle distances result in smoother traffic flow and lower amplitude fluctuations in density profiles. In addition, for smaller Δ values, the influence of the taillight effect on traffic flow is evident. In these cases, the taillight effect significantly impacts the traffic density downstream of the disturbance, leading to noticeable changes in density profiles. However, for larger Δ values, the impact of the taillight effect on traffic flow diminishes. This suggests that at higher perturbation levels, traffic flow patterns are influenced more by other factors, with the taillight effect having a lesser impact on flow dynamics.
5. Conclusion
This study presents a significant advancement in understanding traffic dynamics in challenging road environments by introducing a novel macroscopic traffic flow model that incorporates taillight signaling and deteriorated road conditions. By drawing on insights from both microscopic and macroscopic modeling, we derive a system of equations that captures the interaction between vehicle behavior and infrastructure degradation. The model accounts for taillight-induced deceleration and variable road surface quality, thereby enhancing realism in low-visibility and poorly maintained environments.
We analytically established that the proposed model is strictly hyperbolic and anisotropic. The associated wave structure reveals two distinct characteristic fields: one linearly degenerate and one genuinely nonlinear. A linear stability analysis yields an explicit stability criterion, which relates stability thresholds to key physical and behavioral parameters such as driver sensitivity, road condition metrics, and vehicle headway.
Simulation results demonstrate the model’s ability to replicate realistic traffic phenomena. These include the emergence and propagation of shock waves, rarefaction patterns, and stop-and-go clusters under different density profiles. The model also captures the formation of localized traffic disturbances and highlights how minor variations in initial density can trigger significant dynamic effects. This confirms both the sensitivity and internal consistency of the framework.
To assess real-world applicability, the model was tested under synthetic conditions mimicking deteriorated road scenarios common in many developing regions. The speed–density relations used are empirically grounded, and the resulting traffic profiles are qualitatively consistent with field observations. In future work, we aim to calibrate the model using empirical data from West African road networks, particularly Ghana.
These contributions—ranging from theoretical derivation and structural classification to realistic simulation and contextual applicability—emphasize the model’s potential as a tool for analyzing and managing traffic flow under infrastructure-constrained conditions.
Conflicts of Interest
The authors declare no conflicts of interest.
Author Contributions
G.O.F., G.K.G., and K.A.G. contributed to the conceptualization and supervision of the study. G.O.F. and K.A.G. conducted the formal analysis. G.O.F., G.K.G., and R.O. were responsible for the investigation and validation of results and prepared the original draft. G.O.F., G.K.G., K.A.G., and R.O. contributed to writing, review, and editing. All authors have reviewed and approved the final version of the manuscript.
Funding
No funding was received for this manuscript
Open Research
Data Availability Statement
Data sharing is not applicable to this article as no new data were created or analyzed in this study.