1 Introduction

With the rapid development of urbanization, the problem of traffic congestion has been attracted considerable attention of scientists and researchers nowadays. A variety of models have been applied to describe the collective properties of traffic flow [19]. In the last few years, the lattice hydrodynamic traffic model, firstly, proposed by Nagatani [10] has been given much attention. Afterward, many extensions have been carried out by considering different factors like backward effect [11], lateral effect of the lane width [12], density difference effect [13], anticipation effect of potential lane changing [14], optimal current difference effect [15], etc. All of the above-mentioned models describe some traffic phenomena only on a single-lane or two-lane highway.

Most of the road networks, for example, either traffic system of a whole a city or an expressway network, comprise of two or more lanes. So, one-dimensional traffic flow models are not appropriate to study the traffic flow on networks. Therefore, higher dimensional lattice hydrodynamic models, which are very abstract models of traffic flow, can describe the traffic behavior on networks. In this direction, firstly, Biham et al. [16] proposed a two-dimensional traffic flow model by using cellular automata approach. Later, Nagatani extended his one-dimensional lattice hydrodynamic model to two-dimensional [17] as well as to higher dimensional [18] traffic flow models. Recently, Gupta and Redhu [19] investigated the effect of optimal current difference in a two-dimensional traffic flow model on square lattice.

In order to make two-dimensional square lattice model more appropriate in explaining traffic dynamics on networks, Nagatani [20], further, studied two-dimensional triangular lattice model by assuming three types of vehicles and observed that jamming transition in traffic flow depends on the lattice type. However, best to our knowledge, the effect of optimal current difference on two-dimensional triangular lattice has not been investigated yet.

In this letter, a new two-dimensional triangular lattice model is proposed by considering the effect of optimal current difference. Linear and nonlinear stability analysis will be carried out to investigate the impact of optimal current difference on triangular lattice. Here, we would like to discuss three main points: (1) To check whether or not the modified model exhibits the similar jamming transition as observed by Nagatani [20]. (2) The effect of optimal current difference on the stability of two-dimensional triangular traffic flow has to be analyzed. (3) To compare the results of triangular and square lattice in two-dimensional traffic flow. Finally, to validate the theoretical findings, numerical simulation will be carried out.

2 Proposed model

The lattice hydrodynamic model proposed by Nagatani [10] is the simplified version of continuum traffic flow models incorporating both the ideas of car following and macroscopic models to analyze the density waves. Later, the lattice model was extended to analyze two-dimensional traffic flow on square and triangular lattices by Nagatani [17, 20].

However, the above models are able to explain the phase transition and critical phenomena on one- or higher dimensional traffic flow, the important aspect of optimal current difference effect, recently observed by Gupta and Redhu [19], has not been explored yet. To investigate the effect of optimal current difference, we propose a modified model by considering three types of vehicles, where first, second, and third type of vehicles move in the positive \(x, y\), and along diagonal direction, respectively. The interface among three types of vehicles occurs only on the crossing, and vehicles are not allowed to turn. The number of vehicles of each type remains conserved, i.e., one type of vehicles never changes to another type of vehicles. The density [speed] of vehicles moving in the \(x, y\), and along diagonal direction are denoted by \(\rho _x(x,y,t)[u(x,y,t)], \rho _y(x,y,t)[v(x,y,t)]\), and \(\rho _r(x,y,t)[w(x,y,t)]\), respectively. Hence, the continuity equations on two-dimensional triangular lattice are given by

$$\begin{aligned}&\partial _t \rho _x(x,y,t)+\partial _x(\rho _x(x,y,t)u(x,y,t))=0, \end{aligned}$$
(1)
$$\begin{aligned}&\partial _t \rho _y(x,y,t)+\partial _y(\rho _y(x,y,t)v(x,y,t))=0, \end{aligned}$$
(2)
$$\begin{aligned}&\partial _t \rho _r(r,y,t)+\partial _r(\rho _r(x,y,t)w(x,y,t))=0, \end{aligned}$$
(3)

where \(\partial _t=\partial /\partial t, \partial _x=\partial / \partial x, \partial _y=\partial / \partial y\), and \(\partial _r=\partial / \partial r\).

In real traffic, drivers always adjust their velocity according to the observed traffic situations and estimate their driving behavior. We propose new evolution equations for two-dimensional triangular lattice with the consideration of optimal current difference as follows:

$$\begin{aligned}&\rho _x(x,y,t\!+\!\tau )u(x,y,t+\tau )\nonumber \\&\quad \!=\!c_x\rho _0[V(\rho (x\!+\!h,y,t))] \!+\!\lambda c_x \rho _0[V(\rho (x\!+\!2h,y,t))\nonumber \\&\qquad - V(\rho (x+h,y,t))], \end{aligned}$$
(4)
$$\begin{aligned}&\rho _y(x,y,t\!+\!\tau )v(x,y,t\!+\!\tau ) \!=\!c_y\rho _0[V(\rho (x,y+h,t))] \nonumber \\&\qquad \mathbf +\lambda c_y\rho _0[ V(\rho (x,y+2h,t))\nonumber \\&\qquad - V(\rho (x,y+h,t))], \end{aligned}$$
(5)
$$\begin{aligned}&\rho _r(x,y,t\!+\!\tau )w(x,y,t\!+\!\tau )\!=\!c_r\rho _0[V(\rho (x\!+\!h,y\!+\!h,t))] \nonumber \\&\quad +\lambda c_r\rho _0[ V(\rho (x+2h,y+2h,t))\nonumber \\&\qquad - V(\rho (x+h,y+h,t))], \end{aligned}$$
(6)

where \(\rho (x,y,t)\!=\!\rho _x(x,y,t)\!+\!\rho _y(x,y,t)+\rho _r(x,y,t)\); \(\rho _0\) is the total average density; \(h\) is the average headway; \(c_x, c_y\), and \(c_r\) are the fractions of vehicles moving in \(x, y\), and along diagonal direction, respectively; \(\lambda \) is the reaction coefficient of optimal current difference; \(V(.)\) is the optimal velocity function; and \(\tau (a=1/\tau )\) is the delay that requires to reach the traffic current at optimal level. In the proposed model, the traffic current in the \(x\)-direction at position \((x,y)\) at time \(t\) is adjusted not only by the optimal current at position \((x+h,y)\) at time \(t-\tau \), but also affected by the optimal current difference at \((x+2h,y)\) and \((x+h,y)\) at time \(t-\tau \). Combining the difference form of Eqs.(1), (2), and (3) with Eqs. (4), (5), and (6), the modified lattice hydrodynamic model is obtained as follows:

$$\begin{aligned} \rho _{j,m}(&t+2\tau )-\rho _{j,m}(t+\tau )+\tau \rho ^2_0 c_x[V(\rho _{j+1,m})\nonumber \\&-V(\rho _{j,m})] +\tau \rho ^2_0 c_y [V(\rho _{j,m+1})-V(\rho _{j,m})] \nonumber \\&+\tau \rho ^2_0 c_r[V(\rho _{j+1,m+1}) -V(\rho _{j,m})]\nonumber \\&+\lambda \tau \rho ^2_0 c_x[V(\rho _{j+2,m})\!-\!2V(\rho _{j+1,m})\!+\!V(\rho _{j,m})] \nonumber \\&+\lambda \tau \rho ^2_0 c_y[V(\rho _{j,m+2})\!-\!2V(\rho _{j,m+1})\!+\!V(\rho _{j,m})] \nonumber \\&+\lambda \tau \rho ^2_0 c_r [V(\rho _{j+2,m+2})\nonumber \\&-2V(\rho _{j+1,m+1})+V(\rho _{j,m})]=0, \end{aligned}$$
(7)

where \(\rho _{j,m}(t)=\rho _{x,j,m}(t)+\rho _{y,j,m}(t)+\rho _{r,j,m}(t)\); \(\rho _{x,j,m}(t), \rho _{y,j,m}(t)\), and \(\rho _{r,j,m}(t)\) are the densities, respectively, in \(x, y\), and along diagonal directions at the site \((j,m)\) on the triangular lattice. For \(c_r=0\), the above modified model reduces to two-dimensional model on a square lattice, recently proposed by Gupta and Redhu [19], in which the reaction coefficient of optimal current difference effectively suppresses the traffic jam for all the possible configurations of vehicles. Furthermore, when \(\lambda =0\), the model reduces to two-dimensional triangular lattice as presented by Nagatani [20]. The optimal velocity function is adopted as following [20]:

$$\begin{aligned} V(\rho _{j,m})=1-\tanh \left( \frac{\rho _{j,m}(t)-\rho _c}{\rho ^2_0}\right) , \end{aligned}$$
(8)

where \(\rho _c\) denotes the safety critical density. The optimal velocity function, which is monotonically decreasing, has an upper bound (maximal velocity) and a turning point at \(\rho _{j,m}=\rho _c=\rho _0\).

3 Linear stability analysis

We perform the linear analysis to study the stability of two-dimensional model on a triangular lattice. For this, the state of uniform traffic flow is taken as \(\rho _0\) and optimal velocity \(V(\rho _0)\), where \(\rho _0\) is a constant. Hence, the steady-state solution of the homogeneous traffic flow is given by

$$\begin{aligned} \rho _{j,m}(t)=\rho _0,\hbox { and } V_{j,m}(t)=V(\rho _0). \end{aligned}$$

Let \( y_{j,m}(t)\) be a small deviation from the steady-state flow \(\rho _{j,m}(t)=\rho _0+ y_{j,m}(t).\)

Substituting perturbed density profile into Eq. (7) and linearizing it, we obtain

$$\begin{aligned} y_{j,m}(&t+2\tau )- y_{j,m}(t+\tau )\nonumber \\&+\tau \rho ^2_0 V'(\rho _0)c_x\left[ y_{j+1,m} (t)-y_{j,m} (t)\right] \nonumber \\&+\tau \rho ^2_0 V'(\rho _0)c_y \left[ y_{j,m+1} (t)-y_{j,m} (t)\right] \nonumber \\&+\tau \rho ^2_0 V'(\rho _0)c_r \left[ y_{j+1,m+1} (t)-y_{j,m} (t)\right] \nonumber \\&+\lambda \tau \rho ^2_0 V'(\rho _0) c_x\!\left[ y_{j+2,m} (t)\!-\!2y_{j+1,m} (t)\!+\!y_{j,m}\right] \nonumber \\&+\lambda \tau \rho ^2_0 V'(\rho _0)c_y\!\left[ y_{j,m+2} (t)\!-\!2y_{j,m+1} (t)\!+\!y_{j,m}\right] \nonumber \\&+ \lambda \tau \rho ^2_0 V'(\rho _0)c_r\left[ y_{j+2,m+2} (t)\right. \nonumber \\&\left. -2y_{j+1,m+1} (t)+y_{j,m}\right] =0, \end{aligned}$$
(9)

where \(V'(\rho _0)=\frac{dV(\rho )}{d\rho }|_{\rho =\rho _0}\). Putting \(y_{j,m} (t)=e^{ik(j+m)+zt}\) in Eq. (9), we obtain

$$\begin{aligned} e^{2\tau z}&-e^{\tau z}+\tau \rho ^2_0 V'(c_x+c_y)[e^{ik}-1]\nonumber \\&+\tau \rho ^2_0 V'c_r[e^{2ik}-1] \!+\!\lambda \tau \rho ^2_0 V'(c_x\!+\!c_y)[e^{ik}-1]^2\nonumber \\&+\lambda \tau \rho ^2_0 V'c_r [e^{2ik}-1]^2=0. \end{aligned}$$
(10)

Inserting \(z=z_1(ik)+z_2(ik)^2\ldots \) into Eq. (10), we obtained the first and second-order terms of the coefficient \(ik\) and \((ik)^2\), respectively, as follows:

$$\begin{aligned}&z_1=-\rho ^2_0 V'(\rho _0)(c_x+c_y+2 c_r), \end{aligned}$$
(11)
$$\begin{aligned}&z_2=-\frac{3\tau z^2_1}{2}-\frac{\rho ^2_0 V'(\rho _0)}{2}(c_x+c_y+4 c_r) \nonumber \\&\quad -\lambda \rho ^2_0 V'(\rho _0)(c_x+c_y+4 c_r). \end{aligned}$$
(12)

When \(z_2<0\), the uniform steady-state flow becomes unstable for long-wavelength waves. For \(z_2>0\), the uniform flow will remain stable.

Thus, the neutral stability curve is given by

$$\begin{aligned} \tau =-\frac{(1+2\lambda )(c_x+c_y+4 c_r)}{3 \rho ^2_0 V'(\rho _0)(c_x+c_y+2 c_r)^2}. \end{aligned}$$
(13)

The instability condition for the homogeneous traffic flow can be described as follows:

$$\begin{aligned} \tau >-\frac{(1+2\lambda )(c_x+c_y+4 c_r)}{3\rho ^2_0 V'(\rho _0)(c_x+c_y+2 c_r)^2}. \end{aligned}$$
(14)

It is clear from the Eq. (14) that the stability of traffic flow on a triangular lattice depends on the reaction coefficient as well as on configurations of vehicles on triangular lattice. When \(\lambda =0\), i.e., if there is no optimal current difference effect, the stability criteria are same as that of Ref. [20]. Figure 1 represents the phase space plot corresponding to three different configurations of vehicles, where solid (dotted) curves are the neutral (coexisting) stability curves through linear (nonlinear) analysis in the phase space \((\rho ,a)\) for different values of \(\lambda \). The apex of each curve indicates the critical point \((\rho _c,a_c)\). The phase plane is divided into three regions: stable, metastable, and unstable. It can be easily observed from the Fig. 1 the amplitude of each curve, i.e., the sensitivity of critical point decreases with an increase in reaction coefficient which means that larger value of \(\lambda \) leads to the enlargement of stable region for all three different configurations on a triangular lattice.

Fig. 1
figure 1

Phase diagram in parameter space \((\rho ,a)\) for a \(c_x=c_y=c_r=\frac{1}{3}\), b \(c_x=0.2,c_y=c_r=0.4\) and c \(c_x=c_y=0.4,c_r=0.2\), respectively

Furthermore, on comparing Fig. 1a, b and c, it can be concluded that the increase in the number of vehicles along the diagonal leads to the enlargement of unstable region. Therefore, it is worth to mention that the stability of traffic flow on a triangular lattice depends significantly on the reaction coefficient as well as on the configurations of vehicles moving direction.

4 Nonlinear analysis

In this section, we investigate the evolution characteristics by using the method of long-wavelength expansion to describe the collective motion on coarse-grained scales. Assuming, \(X=\epsilon (j+m+bt)\) and \(T=\epsilon ^3t\) as the slow variables for scaling parameter \(\epsilon \, (0<\epsilon <<1)\) near the critical point, where \(b\) is a constant to be determined, let the density at \((j,m)\) site near the critical point be

$$\begin{aligned} \rho _{j,m}(t)=\rho _c+\epsilon R(X,T) \end{aligned}$$
(15)

By expanding Eq. (7) to fifth order of \(\epsilon \) with the help of Eq. (15), we obtain the following nonlinear equation:

$$\begin{aligned}&\epsilon ^2 \left[ b+\rho ^2_c V'(c_x+c_y+2c_r)\right] \partial _X R\nonumber \\&\quad +\epsilon ^3\left[ \frac{3 b^2\tau }{2}+\frac{\rho ^2_c V'(c_x+c_y+4c_r)(1+2\lambda )}{2}\right] \partial ^2_X R \nonumber \\&+\epsilon ^4\left[ \partial _T R+\left( \frac{7 b^3\tau ^2}{6}+\frac{\rho ^2_c V'(c_x+c_y+8c_r)(1+6\lambda )}{6}\right) \partial ^3_X R \right. \nonumber \\&\quad \left. +\frac{\rho ^2_c V''' (c_x+c_y+2c_r)}{6}\partial _X R^3\right] \nonumber \\&+\epsilon ^5\left[ 3b\tau \partial _T \partial _X R \!+\!\left( \frac{5 b^4\tau ^3}{8}\!+\!\frac{\rho ^2_c V' (c_x\!+\!c_y\!+\!16c_r)(1\!+\!14\lambda )}{24}\right) \partial ^4_X R \right. \nonumber \\&\left. +\frac{\rho ^2_c V'''(c_x+c_y+4c_r)(1+2\lambda )}{12} \partial ^2_X R^3 \right] =0, \end{aligned}$$
(16)

where \(V'=\frac{dV(\rho )}{d\rho }|_{\rho =\rho _c}\) and \(V'''=\frac{d^3V(\rho )}{d\rho ^3}|_{\rho =\rho _c}\). In the neighborhood of critical point \(\tau _c\), we define

$$\begin{aligned} \tau =\tau _c(1+\epsilon ^2), \end{aligned}$$
(17)

and choose \(b=-\rho ^2_c V' (c_x+c_y+2c_r)\). Eliminating second and third order terms of \(\epsilon \) into Eq. (16), we get

$$\begin{aligned}&\epsilon ^4(\partial _T R-g_1\partial ^3_X R+g_2\partial _X R^3)\nonumber \\&\quad +\epsilon ^5(g_3\partial ^2_X R+g_4\partial ^4_X R+g_5 \partial ^2_X R^3)=0, \end{aligned}$$
(18)

where the coefficients \(g_i \,(i=1,2,\cdots ,5)\) are shown in Table 1. In order to derive the standard mKdV equation, we make the following transformations in Eq. (16):

$$\begin{aligned} T'=g_1 T,\qquad R=\sqrt{\frac{g_1}{g_2}}R', \end{aligned}$$
(19)

which gives

$$\begin{aligned} \partial _T R'-\partial ^3_X R'+\partial _X R'^3+\epsilon M[R']=0, \end{aligned}$$
(20)

where \(M[R']=\frac{1}{g_1}\left( g_3\partial ^2_X R'\!+\!\frac{g_1 g_5 }{g_2}\partial ^2_X R'^3\!+\!g_4 \partial ^4_X R'\right) \). After ignoring the \(O(\epsilon )\) terms in Eq. (20), we get the standard mKdV equation whose desired kink soliton solution is given by

$$\begin{aligned} R'_0(X,T')=\sqrt{c} \tanh \sqrt{\frac{c}{2}}(X-cT'). \end{aligned}$$
(21)

In order to determine the value of propagation velocity for the kink–antikink solution, it is necessary to satisfy the solvability condition:

$$\begin{aligned} (R'_0,M[R'_0])\equiv \int \limits _{-\infty }^{\infty } dXR'_0 M[R'_0]=0, \end{aligned}$$
(22)

with \(M[R'_0]=M[R']\). By solving Eq. (22), the selected value of \(c\) is

$$\begin{aligned} c=\frac{5g_2 g_3}{2g_2 g_4-3g_1g_5}. \end{aligned}$$
(23)

Hence, the kink–antikink solution is given by

$$\begin{aligned} \rho _{j,m}(t)=\rho _c+\epsilon \sqrt{\frac{g_1 c}{g_2}} \tanh \left( \sqrt{\frac{c}{2}}(X-cg_1 T)\right) , \end{aligned}$$
(24)

with \(\epsilon ^2=\frac{a_c}{a}-1\) and the amplitude \(A\) of the solution is

$$\begin{aligned} A=\sqrt{\frac{g_1 }{g_2}\epsilon ^2 c}. \end{aligned}$$
(25)

The kink–antikink solution represents the coexisting phase including both freely moving phase and congested phase which can be described by \(\rho _j=\rho _c\pm A\), respectively, in the phase space \((\rho ,a)\).

Table 1 The coefficients \(g_i\) of the model

5 Numerical simulation

To check the applicability of the modified model and validate the theoretical results in describing traffic flow dynamics on a triangular lattice, numerical simulation is carried out under periodic boundary conditions. Initially, the vehicle density is assumed to be disturbed uniformly over the triangular lattice as \(\rho _{j,m}(0)=\rho _{j,m}(1)=\rho _0\). Then, the local densities at site (\(L/2,L/2\)) and \(((L/2)-1,(L/2)-1) \) for first two time steps are set as \(\rho _0-\sigma \) and \(\rho _0+\sigma \), respectively. Here, \(\rho _0=0.2, L\) is the system size taken as \(100\times 100\) and \(\sigma =0.1\) is the initial disturbance. As observed in the previous section, the behavior of traffic flow significantly depends on the two important parameters: configuration of vehicles and reaction coefficient, and we discuss our findings for three different configurations.

Case 1 \(c_x=c_y=c_r\)

In this case, equal number of vehicles is allowed to move in three possible directions. Figure 2 shows the traffic pattern for different values of \(\lambda \) after a sufficiently long time, namely, \(6\times 10^4 s\) for \(a=1.5\). The initial disturbance added at the center of lattice leads to the kink soliton density waves as shown in Fig. 2a–d, and these density waves propagate in the backward direction with a constant speed in evolution of time. This small amplitude disturbance grows into congested flow as the stability condition is not satisfied. In the stable region, kink density waves disappear, and traffic flow becomes uniform for larger value of reaction coefficient in the corresponding pattern 2e. The region of free flow turns wide, and the amplitude of density waves is weakened with the increase in reaction coefficient which means that optimal current difference effect enhances the stability of the traffic flow.

Fig. 2
figure 2

Traffic pattern at \(t=60000\) when \(c_x=c_y=c_r=\frac{1}{3}\) and \(a=1.5\) for a \(\lambda =0\), b \(\lambda =0.1\), c \(\lambda =0.2\), d \(\lambda =0.3\), and e \(\lambda =0.4\), respectively

Figure 3 represents the phase space plot of density difference \(\rho (t)-\rho (t-1)\) against \(\rho (t)\) for \(t=60000s-70000s\), corresponding to the panel of Fig. 2. The patterns in Fig. 3a–d exhibit the characteristic of periodicity in the form of limit cycle, and the nodes on the right as well as on left sides are corresponding to the traffic states within and out of the kink traffic jam. For \(\lambda =0.4\), the limit cycle leads to a single point which represents the uniform flow in the stable region. When \(a=1.5\), the jamming transition occurs among freely moving phase, the coexisting phase with kink–antikink density wave, and the uniformly congested phase with an increase in the value of \(\lambda \). These findings are in agreement with the results found in Refs. [19, 20].

Fig. 3
figure 3

Phase space plot between time \(t=60000-70000\) when \(c_x=c_y=c_r=\frac{1}{3}\) and \(a=1.5\) for a \(\lambda =0\), b \(\lambda = 0.1\), c \(\lambda =0.2\), d \(\lambda =0.3\), and e \(\lambda =0.4\), respectively

Now, we study the traffic behavior for equal configuration of vehicles for smaller value of the sensitivity. Figure 4 shows the traffic pattern at time \(t=60000s\) for different values of \(\lambda \) at \(a=0.75\). It is clear from the Fig. 4a–c that the traffic pattern for smaller value of \(a\) is quite different for those obtained for larger value of \(a\). Here, initial disturbance evolves into irregular density waves and in time, these density waves propagate backward, break up, coalesce with one another, disappear, and created till \(\lambda =0.2\). On further increasing the value of \(\lambda \), these irregular density waves lead to kink–antikink density waves as shown in Fig. 4d–e. The amplitude of irregular density waves decreases with an increase in \(\lambda \), and for \(\lambda \ge 0.3\), the chaotic density wave evolves into kink density wave with further decrease in amplitude.

Fig. 4
figure 4

Traffic pattern at \(t=60000\, t=60000-70000\) when \(c_x=c_y=c_r=1/3\) and \(a=0.75\) for a \(\lambda =0\), b \(\lambda = 0.1\), c \(\lambda =0.2\), d \(\lambda =0.3\), and e \(\lambda =0.4\), respectively

Figure 5 represents the phase space plot of density difference \(\rho (t)-\rho (t-1)\) against \(\rho (t)\) for \(t=60000s-70000s\), corresponding to the traffic flows in Fig. 4. The traffic pattern exhibits the chaotic behavior as shown in Fig. 5a–c for smaller value of \(\lambda \). This chaotic flow is represented by the set of dispersed points in phase–space plot which is the characteristic of chaos. The chaotic pattern becomes periodic in form of limit cycle for larger value of \(\lambda \) as shown in Fig. 5d, e. Here, jamming transitions occur among freely moving phase, kink phase with kink–antikink density wave, chaotic phase with irregular density wave, and uniformly congested phase. It is worth to mention that the chaotic phase was neither observed in the triangular [20] nor in square  [19] lattices for equal configuration of vehicles.

Fig. 5
figure 5

Phase space plot between time \(t=60000-70000\) when \(c_x=c_y=c_r=1/3\) and \(a=0.75\) for a \(\lambda =0\), b \(\lambda = 0.1\), c \(\lambda =0.2\), d \(\lambda =0.3\), and e \(\lambda =0.4\), respectively

Now, we examine the boundaries of different phases in space \((a_c,\lambda )\). Figure 6a represents the plot of critical sensitivity against reaction coefficient, where solid (dotted) curves correspond to theoretical (numerical) results for equal configuration of vehicles. It is clear from the figure that free flow region enlarges with an increase in \(\lambda \). The chaotic region reduces till \(\lambda =0.3\), and for further increase in reaction coefficient, the chaotic region remains constant. Therefore, reaction coefficient plays an important role in stabilizing the traffic flow for all values of sensitivity.

Fig. 6
figure 6

Plot of \(a_c\) against reaction coefficient \(\lambda \) for a \( c_x=c_y=c_r\) and b \(c_x=c_y\ne c_r\), respectively

Case 2 \( c_y=c_r\ne c_x\)

Here, the fractions of vehicles in \(y\) and along diagonal direction are same, but differ from that in \(x\)-direction. In this configuration, we find only one type of jamming transition for all values of sensitivity. Here, the jamming transitions occur from the uniform traffic flow, through the chaotic flow to the uniformly congested phase for all values of \(\lambda \). Below the critical sensitivity, the initial small perturbation evolves into irregular density waves, and the chaotic region shrinks with an increase in the value of \(\lambda \). When we enter into the stable region, the irregular density waves disappear and traffic flow becomes uniform for any value of reaction coefficient. Moreover, there does not exist kink–antikink density wave in the unstable region. The results obtained are in accordance with those found in Ref. [20].

Case 3 \(c_x=c_y\ne c_r\)

Parallel to the case 1, here, we also observed two distinct types of jamming transitions. For larger value of sensitivity, the jamming transition occurs from uniform traffic flow to kink density wave flow. The jamming transition arises from freely moving flow, through kink density wave flow, to chaotic density waves, for smaller value of sensitivity.

Now, we examined our results for two subcases: (a) \(c_x<c_r\) and (b) \(c_x>c_r\). The free flow region enlarges with an increase in \(\lambda \) in both the subcases as shown in Fig. 6b, where solid and dotted curve correspond to theoretical and numerical results for subcase (a) and (b). The theoretical curve for subcase (a) is slightly different from subcase (b) while there is a significant difference between the chaotic boundaries. It is clear from the figure that chaotic region reduces up to a critical value of reaction coefficient. Further, an increase in the reaction coefficient does not affect the chaotic region. This critical value depends upon the fraction of vehicles moving along diagonal direction. On comparing the results of two subcases, it is found that chaotic region in subcase (a) is more than subcase (b), i.e., more number of vehicles move along diagonal more will be the chaotic region. The above type of jamming transition was not observed by Nagatani  [20]. It is reasonable to conclude that chaotic region significantly depends on the number of vehicles moving along diagonal as well as on reaction coefficient.

6 Conclusion

In this letter, the effect of optimal current difference is investigated theoretically as well as numerically on a two-dimensional triangular lattice hydrodynamic traffic flow model. Different types of phase transitions are discussed, and phase diagram is presented for three different configurations of vehicles. We summarize our finding as follows:

  1. 1.

    The optimal current difference effect effectively stabilizes the traffic flow for any possible configuration on a triangular lattice.

  2. 2.

    When \(c_x=c_y=c_r\), depending on the sensitivity for any value of reaction coefficient, two distinct types of jamming transitions occur: (a) For larger value of sensitivity, conventional jamming transition occurs from uniform traffic flow to kink density waves; (b) For smaller value of sensitivity, the jamming transitions occur from the uniform flow, through the kink jam and to the chaotic jam.

  3. 3.

    When \(c_y=c_r\ne c_x\), for any value of reaction coefficient, only one type of jamming transition from uniform flow to chaotic jam occurs below the critical sensitivity.

  4. 4.

    When \(c_x=c_y\ne c_r\), two distinct jamming transitions occur depending on the sensitivity similar to as found in the case of \(c_x=c_y=c_r\). It is also observed that chaotic flow region also depends on the fraction of vehicles moving along diagonal direction.

Finally, we concluded that the jamming transition depends on the configuration of vehicles, lattice type, and sensitivity. Simulation results obtained are also in good agreement with the theoretical findings which verify that our consideration is reasonable.