1 Introduction

To date, traffic problems have been serious and attracted researchers to develop traffic flow models to explore the complex traffic phenomena (e.g., lane-changing, congestion, local clusters, phase transition, etc.) [1, 2]. Roughly speaking, these models can be divided into micro models [319] and macro models [2041], where the micro models focus on studying the micro properties of traffic flow (e.g., lane-changing, overtaking, etc.) and the macro models focus on exploring the macro properties of traffic flow (e.g., the fundamental diagram, the distribution, evolution, propagation of density, speed and flow, etc.). However, the above models cannot be used to explore the effects of inter-vehicle communication (IVC) on traffic flow since IVC is not explicitly considered in these models.

With the development of the computer technology, IVC has been an important tool that driver can receive the related information from his/her traffic state, so IVC can help driver to better adjust his/her driving behavior. To explore the impacts of IVC on traffic flow, researchers developed some models to study the properties of traffic flow in the traffic system with IVC. Tsugawa [42] gave an overview on IVC and its application, defined IVC as a communication among the vehicles under intelligent-transportation system (ITS), and pointed out that IVC can effectively enlarge the horizon of the drivers and on-board sensors. Knorr et al. [43] explored the mixed traffic flow consisting of the vehicles with and without IVC, thus they constructed an effective strategy that can improve the stability of traffic flow. Jin and Recker [44] discussed the reliability of IVC under one traffic stream and found that the reliability is dependent on the distribution of the vehicles with IVC but directly related to the proportion of the vehicles with IVC. Kerner et al. [45] developed a test-bed for the wireless IVC based on their three-phase traffic theory and studied the statistical features of ad hoc vehicle networks and the influences of car-to-car (C2C) communication on the traffic efficiency and safety. Ngoduy et al. [46] applied the multi-class gas-kinetic theory to obtain the speed of the vehicles with IVC based on the downstream traffic state, thus they proposed a continuum model to investigate the dynamics properties of cooperative traffic flow. However, the above models [4246] do not study the effects of IVC on the micro driving behavior since they did the research from the macroscopic perspective. In fact, IVC will affect the micro driving behavior. For example, IVC can provide drivers information (e.g., road quality) which can help drivers to adjust their driving behavior, so IVC should explicitly be considered when we explore the micro driving behavior. However, IVC often has significant impacts on the micro driving behavior only when large perturbation (e.g., accident) occurs in the traffic system. Therefore, we in this paper construct a car-following model with IVC to study the effects of IVC on the driving behavior under an accident.

2 Model

The existing car-following models on a single lane can be written as follows [311]:

$$\begin{aligned} \frac{\mathrm{{d}}v_\mathrm{n}\left( t\right) }{\mathrm{{d}}t}=f\left( {v_\mathrm{n},\Delta x_\mathrm{n},\Delta v_\mathrm{n},\ldots }\right) , \end{aligned}$$
(1)

where \(v_\mathrm{n} ,\Delta x_\mathrm{n} = x_{\mathrm{n}+1} -x_\mathrm{n} ,\Delta v_\mathrm{n} =v_{\mathrm{n}+1} -v_\mathrm{n} ,x_\mathrm{n} \) are respectively the nth vehicle’s speed, headway, relative speed, and position. Equation (1) illustrates that the nth vehicle’s acceleration is determined by its speed, headway, relative speed, and other factors (e.g., multi-anticipative speed and speed difference, road quality, etc.).Footnote 1 If we define Eq. (1) as different formulations, we can obtain different car-following models. For instance, Lenz et al. [17] extended the car-following model [35] by incorporating multi-vehicle interactions and proved that multi-vehicle interactions can improve the stability of traffic flow; Hoogendoorn et al. [18] applied empirical trajectory data to analyze the heterogeneous multi-anticipative behavior and found that considering the multi-anticipative behavior can greatly improve the performance of their proposed car-following model; Treiber et al. [19] generalized many time-continuous car-following models and found that the essential aspects of driver behavior (e.g., the finite reaction time, estimation errors, spatial anticipation, and temporal anticipation) cannot be captured by the models.

However, IVC is not explicitly considered in the above car-following models, so these car-following models cannot be used to study the effects of IVC on the driving behavior. In fact, IVC can provide drivers information, so it will affect the driving behavior and should be explicitly considered if we apply car-following model to study the driving behavior in the traffic system with IVC. Among the existing car-following models, the full velocity difference model (FVD) [7] has widely been extended to investigate the driving behavior because it has been cited 175 times since 2001 based on the data from the web of science, so we can here propose a car-following model to study the influences of IVC on the driving behavior based on the FVD model [7]. But IVC often affects the parameters \({\kappa },{\lambda }\) and the optimal velocity \(V\left( {\Delta x_\mathrm{n}}\right) \) in the FVD model and produces a perturbed term on the basis of the FVD model, so we can construct a car-following model with consideration of IVC based on the FVD model [7], i.e.,

$$\begin{aligned} \frac{\mathrm{{d}}v_{\mathrm{{n}}}\left( t\right) }{\mathrm{{d}}t}&= \kappa _{\mathrm{IVC}} \left( {V_{\mathrm{IVC}} \left( {\Delta x_{\mathrm{n}}\left( t\right) }\right) -v_{\mathrm{n}}\left( t\right) }\right) \nonumber \\&+\,\lambda _{\mathrm{IVC}}\Delta v_{\mathrm{n}} \left( t\right) +\xi _{\mathrm{IVC}} , \end{aligned}$$
(2)

where \(V_{\mathrm{IVC}}\left( {\Delta x_\mathrm{n}\left( t\right) } \right) \) is the nth vehicle’s optimal speed with consideration of IVC, \(\kappa _{\mathrm{IVC}},\lambda _{\mathrm{IVC}}\) are two reaction coefficients whose physical meanings are similar to those of \({\kappa },{\lambda }\) in the FVD model [7], \(\xi _{\mathrm{IVC}}\) is the perturbed term resulted by IVC.

\(V_{\mathrm{IVC}}\left( {\Delta x_\mathrm{n}\left( t\right) } \right) \) is related to the vehicle’s performance and ICV cannot change each vehicle’s performance, so we can define it as follows [3]:

$$\begin{aligned} V_{\mathrm{IVC}}\left( {\Delta x_\mathrm{n}}\right) =\frac{v_{\max }}{2}\left( {\tanh \left( {\Delta x_\mathrm{n}-x_\mathrm{c}}\right) +\tanh \left( {x_\mathrm{c}}\right) }\right) , \end{aligned}$$
(3)

where \(v_{\mathrm{max}}\) is the maximum speed, \(x_\mathrm{c}\) is the safety distance. As for the parameters \(\kappa _{\mathrm{IVC}},\lambda _{\mathrm{IVC}}\), we will define them in the next section.

Roughly seeing, the proposed model is similar to the model [11], but they have the following difference: the drivers can adjust their acceleration in Eq. (2) based on all the traffic situations in front of them since they can obtain the traffic information through IVC while the drivers can adjust their acceleration in model [11] only based on the traffic situations within their sight. For example, when an accident occurs, the drivers can immediately adjust their acceleration based on Eq. (2) since they can know the accident and its related information through IVC, while the drivers still drive their vehicles based on the traffic situations within their sight in the model [11] because they cannot immediately know the accident. The above difference shows that the model [11] cannot describe the effects of IVC on the driving behavior and that Eq. (2) can be used to study the driving behavior in the traffic system with IVC.

3 Numerical tests

Equation (2) consists of multi ODEs that are non-autonomous systems and many parameters of the proposed are discontinuous, so it is very difficult to obtain its analytical solution and carry out its stability analysis, but we will further explore this topic in the future. Therefore, we should here use numerical scheme to discretize Eq. (2). However, there are many different numerical schemes that can be used to discretize Eq. (2), but the schemes have no qualitative effects on the numerical results, so we here apply the Euler forward difference to discretize Eq. (2), i.e.,

$$\begin{aligned} \begin{array}{l} v_{\mathrm{{n}}}\left( {t+\Delta t}\right) = v_{\mathrm{{n}}}\left( t\right) +\Delta t\frac{\mathrm{{d}}v_{\mathrm{n}}\left( t\right) }{\mathrm{{d}}t} \\ x_{\mathrm{{n}}}\left( {t+\Delta t}\right) = x_{\mathrm{{n}}}\left( t\right) +v_\mathrm{n}\left( t\right) \Delta t+\frac{1}{2}\frac{{\mathrm{{d}}}v_\mathrm{n}\left( t\right) }{\mathrm{{d}}t}\left( {\Delta t} \right) ^{2}\nonumber \end{array},\\ \end{aligned}$$
(4)

where \(\Delta t=1\mathrm {s}\) is the length of the time-step.

Before simulation, we should first define \(\xi _{\mathrm{IVC}}, \kappa _{\mathrm{IVC}}\), \(\lambda _{\mathrm{IVC}}, v_{\mathrm{IVC}}^{\max }, x_{\mathrm{IVC}}^\mathrm{c}\). In the following numerical tests, we use Eq. (2) to explore the evolution of traffic flow when an accident occurs in a traffic system. Once the accident occurs, IVC will provide the drivers some related information, so the drivers at the accident’s upstream will decelerate more quickly, i.e., \(\xi _{\mathrm{IVC}} <0, \kappa _{\mathrm{IVC}} ,\lambda _{\mathrm{IVC}} \) are larger than those of FVD model. Similarly, IVC will provide related information once the accident is cleared, so \(\xi _{\mathrm{IVC}} >0, \kappa _{\mathrm{IVC}},\lambda _{\mathrm{IVC}} \) are larger than those of FVD model. But \(\xi _{\mathrm{IVC}},\kappa _{\mathrm{IVC}},\lambda _{\mathrm{IVC}} \) have no qualitative impacts on the numerical results, so we here simplify them as follows:

$$\begin{aligned} \xi _{\mathrm{IVC}}&= \left\{ {{\begin{array}{l@{\quad }l} {-\xi _1} ,&{}{\mathrm{{when}}\,t_0 \!<t\!<\!t_0 \!+\!T_{{\mathrm{{accident}}}} } \\ {\xi _2} ,&{} {\mathrm{{when}}\,t\!\ge \! t_{0}\!+\!T_\mathrm{{accident}}} \\ \end{array}}} \right. ,\end{aligned}$$
(5a)
$$\begin{aligned} \kappa _{\mathrm{IVC}}&= \left\{ {{\begin{array}{l@{\quad }l} {\kappa +\beta _1} ,&{}{\mathrm{{when}}\,t_{0} \!<\!t\!<\!t_{0} \!+\!T_\mathrm{{accident}}} \\ {\kappa +\beta _2} ,&{}{\mathrm{{when}}\,t\ge t_{0} \!+\!T_\mathrm{{accident}}} \\ \end{array}}} \right. ,\end{aligned}$$
(5b)
$$\begin{aligned} \lambda _{\mathrm{IVC}}&= \left\{ {{\begin{array}{l@{\quad }l} {\lambda \!+\!\lambda _1} ,&{}{\mathrm{{when}}\,t_0\!<\!t<\!t_{0} \!+\!T_\mathrm{{accident}} } \\ {\lambda \!+\!\lambda _2} ,&{}{\mathrm{{when}}\,t\!\ge \! t_{0} \!+\!T_\mathrm{{accident}}} \\ \end{array}}} \right. , \end{aligned}$$
(5c)

where \(t_{0}\) is the time that the accident occurs, \(T_{\mathrm{accident}}\) is the time that the accident is cleared, \(-\xi _\mathrm{i},\beta _\mathrm{i} ,\lambda _\mathrm{i}\) are the corresponding perturbed terms resulted by IVC under the accident, \(\kappa ,\lambda \) are the corresponding parameters without IVC. For simplicity, we here define \(t_{0}=0\).

During the period from the time that the accident occurs to the time that the accident is cleared, the effects of IVC and accident will turn weaker with the increase of the distance between the vehicle and accident, which shows that \(\xi _{1},\beta _{1},\lambda _{1}\) will decrease with the increase of the distance between the vehicle and accident, so we can here define \(\xi _{1},\beta _{1},\lambda _{1} \) as follows:

$$\begin{aligned} \xi _{1}&= \left\{ {{\begin{array}{l@{\quad }l} \xi _{1,\max }+\frac{\xi _{1,\max }}{D} \left( {x-x_0 +D}\right) ,&{}{\mathrm{{if}}\;x_0 -x\le D} \\ {0},&{}{\mathrm{{if}}\;x_0 -x>D} \\ \end{array} }} \right. ,\end{aligned}$$
(6a)
$$\begin{aligned} \beta _{1}&= \left\{ {{\begin{array}{l@{\quad }l} \beta _{1,\max }+\frac{\beta _{1,\max }}{D} \left( {x-x_0 +D}\right) ,&{}{\mathrm{{if}}\;x_0 -x\le D} \\ {0},&{}{\mathrm{{if}}\;x_0 -x>D} \\ \end{array} }} \right. ,\end{aligned}$$
(6b)
$$\begin{aligned} \lambda _{1}&= \left\{ {{\begin{array}{l@{\quad }l} \lambda _{1,\max }+\frac{\lambda _{1,\max }}{D} \left( {x-x_0 +D}\right) ,&{}{\mathrm{{if}}\;x_0 -x\le D} \\ {0},&{}{\mathrm{{if}}\;x_0 -x>D} \end{array}}} \right. , \end{aligned}$$
(6c)

where \(\xi _{1,\mathrm{max}},\beta _{1,\mathrm{max}},\lambda _{1,\mathrm{max}}\) are the corresponding maximum values, x is the vehicle’s position, \(x_{0}\) is the accident’s position, D is a critical value.

Similarly, after the accident is cleared, the effects of IVC under the accident are related to the distance between the first vehicle and the current vehicle, i.e., the impacts will increase with the distance, so \(\xi _{2},\beta _2,\lambda _{2} \) will increase with the distance, so we can for simplicity define \(\xi _{2},\beta _2,\lambda _{2} \) as follows:

$$\begin{aligned} \xi _{2}&= \left\{ {{\begin{array}{l@{\quad }l} \xi _{2,\max } +\frac{\xi _{2,\max }}{D} \left( {x-x_1+D}\right) ,&{}{\mathrm{{if}}\;x_1 \!-\!x\!\le \! D} \\ {0},&{}{\mathrm{{if}}\;x_1 \!-\!x\!>\!D} \\ \end{array}}} \right. ,\end{aligned}$$
(7a)
$$\begin{aligned} \beta _{2}&= \left\{ {{\begin{array}{l@{\quad }l} \beta _{2,\max }+\frac{\beta _{2,\max }}{D} \left( {x-x_1 +D}\right) ,&{}{\mathrm{{if}}\;x_1 \!-\!x\!\le \! D} \\ {0},&{}{\mathrm{{if}}\;x_1 \!-\!x\!>\!D} \\ \end{array} }} \right. ,\end{aligned}$$
(7b)
$$\begin{aligned} \lambda _{2}&= \left\{ {{\begin{array}{l@{\quad }l} \lambda _{2,\max }+\frac{\lambda _{2,\max }}{D} \left( {x-x_1 +D}\right) ,&{}\mathrm{{if}\,x_1 -x\le D} \\ {0},&{}{\mathrm{{if}}\;x_1 -x>D} \end{array} }} \right. . \end{aligned}$$
(7c)

In this paper, we study the effects of IVC on the driving behavior. The initial conditions of the numerical tests are as follows:

$$\begin{aligned} \begin{array}{l} \Delta x_1\left( 0\right) =\cdots =\Delta x_\mathrm{N}\left( 0\right) =100\,\mathrm{{m}} \\ v_1 \left( 0\right) =\cdots =v_\mathrm{N}\left( 0\right) =V_{\mathrm{IVC}} \left( {100} \right) \\ \end{array}, \end{aligned}$$
(8)

where N is the number of vehicles.

Other parameters are defined as follows:

$$\begin{aligned} \begin{array}{l} \kappa =0.41,\lambda =0.2,v_{\max }=15\,\mathrm{{m}}/\mathrm{{s}},x_{\mathrm{{c}}} =4,\\ \quad \xi _{1, \max } = 2\,\mathrm{{m}}/\mathrm{{s}}^{2},\xi _{2,\max } =1\,\mathrm{{m}}/\mathrm{{s}}^{2}, \\ \quad \beta _{1,\max }=\beta _{2,\max }=0.1,\lambda _{1,\max }=\lambda _{2,\max }=0.1,\\ \quad D=1000\,\mathrm{{m}} \\ \end{array}. \end{aligned}$$
(9)

Researchers often carry out the linear stability analysis and nonlinear analysis of car-following model, but as for the stability of Eq. (2), we here give the following note: IVC affects the driving behavior only when one accident occurs. But since accident belongs to a large perturbation, we do not use linear stability analysis or nonlinear analysis to study the impacts of IVC on each vehicle’s driving behavior since the two methods can only be used to explore small perturbation.

However, we can study the effects of IVC on each vehicle’s driving behavior during the period from the time when an accident occurs to the time when the queue is dissipated from the analytical perspective. Using the above definitions of the related parameters, we can obtain the following proposition.

Proposition

When the accident occurs and before it is cleared, each vehicle’s deceleration of the proposed model is greater than the one of the FVD model under the same condition, i.e.,\(a_\mathrm{n}\ge \bar{{a}}_\mathrm{n} \ge 0\); after the accident is cleared and before the queue is dissipated, each vehicle’s acceleration obtained by the proposed model is greater than the one of the FVD model under the same conditions, i.e., \(a_\mathrm{n}\ge \bar{{a}}_\mathrm{n}\ge 0\). Footnote 2

Proof

When the accident occurs and before it is cleared, we have

$$\begin{aligned} V\left( {\Delta x_\mathrm{n}}\right) -v_\mathrm{n}\le 0,\quad \Delta v_\mathrm{n} \le 0. \end{aligned}$$
(10)

Using the above definitions of the related parameters, we have

$$\begin{aligned} \kappa _{\mathrm{IVC}}>\kappa ,\lambda _{\mathrm{IVC}}>\lambda ,\xi _{\mathrm{IVC}} <0. \end{aligned}$$
(11)

Thus, under the same condition, we have

$$\begin{aligned} a_\mathrm{n} \le \bar{{a}}_\mathrm{n} \le 0. \end{aligned}$$
(12)

After the accident is cleared and before the queue is dissipated, we have

$$\begin{aligned} V\left( {\Delta x_\mathrm{n}}\right) -v_\mathrm{n} \ge 0,\quad \Delta v_\mathrm{n} \ge 0. \end{aligned}$$
(13)

Using the above definitions of the related parameters, we have

$$\begin{aligned} \kappa _{\mathrm{IVC}}>\kappa ,\lambda _{\mathrm{IVC}}>\lambda ,\quad \xi _{\mathrm{IVC}} >0. \end{aligned}$$
(14)

Thus, under the same condition, we have

$$\begin{aligned} a_\mathrm{n} \ge \bar{{a}}_\mathrm{n} \ge 0. \end{aligned}$$
(15)

The above proposition shows that IVC have positive effects on each vehicle’s motion during the period from the time that the accident occurs to the time that the queue is dissipated, i.e.,

  1. (i)

    When the accident occurs and before it is cleared, IVC can lessen the braking process of the vehicles which should stop, which can improve the traffic safety.

  2. (ii)

    After the accident is cleared and before the queue is dissipated, ICV can lessen the starting process of the vehicles, which can speed up the dissipation speed of the queue.

To validate the above proposition, we apply the above conditions to carry out some numerical tests, where each vehicle’s speed, acceleration, running trail, and headway under an accident are shown in Figs. 1, 2, 3, and 4. From these figures, we can obtain the following results:

  1. (1)

    Because IVC can guide each driver to decelerate in advance before the accident is cleared, each vehicle’s speed obtained by the new model is less than the one obtained by the FVD model. Since IVC can enhance each driver’s acceleration and speed when the accident is cleared, each vehicle’s speed of the FVD model is less than that of the new model, each vehicle can quickly start, its speed quickly increase to its ideal speed, and each vehicle’s starting time of the new model is shorter than that of the FVD model (Fig. 1).

  2. (2)

    Each vehicle decelerates but its deceleration of the new model is greater than that of the FVD model before the accident is cleared, so each vehicle’s braking time of the new model is shorter than that of the FVD model. Each vehicle accelerates but its acceleration of the FVD model is less than that of the new model after the accident is cleared, so each vehicle’s starting time of the new model is shorter than that of the FVD model (Fig. 2).

  3. (3)

    Before the accident is cleared, some collisions will occur under the FVD model and no collision occurs under the new model, so the new model can avoid collision and is better than the FVD model (Fig. 3).

  4. (4)

    Because the FVD model will produce collision under an accident, we only draw each vehicle’s headway of the proposed model. Before the accident is cleared, each vehicle’s headway is relatively large in order to avoid collision; once the accident is cleared, each vehicle’s headway is relatively small in order that the vehicles’ queue can quickly be dissipated; the vehicles’ headways far away from the accident are approximately equal to the initial headway since the accident and IVC have little effects on the vehicles’ driving behavior (Fig. 4).

    Fig. 1
    figure 1

    Each vehicle’s speed under \(N=20,T_{\mathrm{{accident}}} =300\) s, where a and b are, respectively, the results of the FVD model and c and d are the results of the proposed model

    Fig. 2
    figure 2

    Each vehicle’s acceleration under \(N=20,T_{\mathrm{{accident}}}=300\) s, where a and b are, respectively, the results of the FVD model and c and d are the results of the proposed model

    Fig. 3
    figure 3

    Each vehicle’s running trail under \(N=20,T_{\mathrm{{accident}}}=300\) s, where a and b are, respectively, the results of the FVD model and the proposed model

    Fig. 4
    figure 4

    Each vehicle’s headway under the proposed model, where \(N=20,T_{\mathrm{{accident}}}=300\) s

4 Conclusions

In this paper, we propose a car-following model to study the impacts of IVC on each vehicle’s speed, acceleration, running trail, and headway under an accident. The numerical results show that the new model can qualitatively describe each vehicle’s velocity, acceleration, running trail, and headway.

However, this paper has the following limitations:

  1. (1)

    The proposed model is not deduced from the experimental data;

  2. (2)

    All the parameters are not calibrated by used of experimental data

  3. (3)

    We do not study the impacts of IVC on the driving behavior under other traffic states.

In view of the above limitations, in the future we will use experimental data to construct an exact car-following model to further study the effects of IVC on the driving behavior under other traffic states.