1. Introduction
The considerations of this work relate to traffic modeling at intersections or places where vehicle interaction can change the behavior of a vehicle stream. The area of the problem formulated in this way is relatively wide due to the possibility of examining both complex situations and individual events on the road. Although objects occurring in traffic are of considerable size, similarity to mesoscopic systems is observed, i.e., those that fit between the micro world (in systems of single atoms or molecules described by quantum mechanics) and the macro world (in objects consisting of a very large number of particles, subject to the laws of classical mechanics). A comprehensive review of the literature on various issues of modeling circular motion can be found in the paper by Albi et al. [
1]. We are interested in linking statistical behavior of drivers with the dynamics of vehicle streams. To this end, we must select the appropriate model describing the behavior of the driver-vehicle system and link it to the description of the stream of vehicles on the roads in the analyzed area. Although probabilistic modeling of driver behavior and vehicle traffic is a natural research method (v. [
2,
3]), the combination of these two elements constantly leaves many questions and is the subject of research. Calibration methods are difficult; we only have access to many factors describing the vehicle–driver system through symptoms. That is why we are looking for a link between observable driver characteristics and vehicle stream parameters. In these considerations, mathematical modeling of behavior using game theory methods should become a facilitation.
The literature related to traffic modeling at intersections is very extensive, and vehicle traffic on the road is considered in many aspects. Research on theory and modeling of traffic at intersections began in the 1930s. The paper [
4] by Greenshields was a pioneering work in this field. He used photographic measurement methods to calculate traffic volumes, and predict and explain possible observation trends in reality. The interest in this field has increased significantly since the 1990s, mainly due to the high development of road traffic. To study the dynamics of motion, many models have been proposed, e.g., Zhang’s hydrodynamic models proposed in [
5] and a list of scientific journals during 1994–2002, or models based on gas kinetics developing in a similar period, e.g., proposed in 2001 by Helbing et al. [
6]. A different approach was presented by models related to car models, and the breakthrough was the use of cellular automata in 1992, which proved to be an easy and efficient method of modeling movement. Several models have been developed to depict various aspects of road traffic. At the same time, an area was developed dealing with issues related to the interaction of drivers at intersections. One approach in modeling driver behavior at an intersection refers to concepts related to game theory (cf. [
7,
8]). There were also many publications focused on the proper selection of traffic lights so as to minimize the number of cars waiting before the intersection, and research was conducted on the psychology of human behavior itself, which was also reflected in modeling of traffic.
We focus on the impact of the behavior of individual drivers in moments of interaction with another driver on the ownership of the stream of vehicles (cf. [
9]). Cellular automata are mathematical objects for modeling various phenomena (cf. [
10]). The creator of cellular automata is Janos von Neumann [
11], a Hungarian scientist working at Princeton. In addition, Lviv mathematician Stanisław Ulam [
12], who was responsible for the discretization of time and space of automata, and considered the creator of the term cellular automata as “imaginary physics”, had a significant impact on the development of this area. They are used in many areas of science, in modeling physical phenomena and interactions between objects. They are also applied in modeling of movement. The basic knowledge of the traffic simulation method used in the paper can be found in the paper by Małecki and Szmajdziński [
13] (cf. [
14] (Section 2), [
15]). According to Ilachinski [
10], cellular automata can reliably reflect many complex phenomena using simple rules and local interactions. They are a network of identical cells, each of which can assume one specific state, with the number of states being arbitrarily large and finite. The processes of changing the state of cells are carried out in parallel and in accordance with applicable rules, usually depending on the current state of the cell or the state of neighboring cells. Basically, three ways of modeling traffic at intersections described by driver interactions were selected in the research presented in this paper. Assumptions, resulting rules, and evaluation of consequences for participants were introduced into the functioning of the sample intersection network. Each of the models was simulated using cellular automata.
Because, in reality, drivers do not always follow the rules of traffic, their behavior is linked to traffic parameters in the constructed and analyzed models. It has been assumed that drivers generally comply with the provisions of the highway code, but in some situations they tend to depart from them and break the rules, causing disruptions resulting in a slowdown of traffic (cf. [
16]). Details of driver behavior modeling are included throughout the work, and a more comprehensive introduction is provided in
Section 1.1. Although there are more possible models in this area, which we mention below, we focus on three of them. Their precise descriptions are given in
Section 1.4. The considered drivers’ interactions are modeled using the game theory apparatus and methods of the mass service theory.
In traffic modeling or the use of transport, game theory methods appear naturally. In the models analyzed in this work, the strategic behavior of drivers is of an auxiliary nature, which is signaled in the right places when introducing and analyzing models. For a more complete picture, in the next section, we signal some other traffic problems analyzed by creating mathematical models.
1.1. Driver Decision Models
Fisk [
17] in 1984 described correspondences between two game theory models (Nash noncooperative and Stackelberg games) and some problems in transportation systems modeling. An example of each is described in detail, namely the problem of carriers competing for intercity passenger travel and the signal optimization problem. The discussion serves to underline differences between two categories of transportation problems and introduces the game theory literature as a potential source of solution algorithms. In addition, it is shown that inner–outer iterative techniques for Stackelberg type problems cannot be expected to converge to the solution, and an approximate formulation of these problems is introduced, which appears to be more readily solvable. However, this discussion is far away from determining driver modeling. Here, the two equilibrium concepts, Nash and Stackelberg, respectively, can be used to discover which action set or strategy is optimal for every participant in the game. The participants are drivers. Optimality in this context is evaluated on the basis of payoffs resulting from the decisions by (and interaction among) the participants (v. the monographs by Ferguson [
18], Owen [
19], Platkowski [
20], and Mazalov [
21]). Payments in traffic modeling games come down to passing times—their shortening or lengthening.
In issues that have the common trait that decision-makers know that their result cannot be achieved at the expense of their community, one cannot rely solely on pure antagonist game models. Instead of talking about modeling the game, it is better to think about modeling the behavior of project participants. The existing objective dependencies mean that decision-makers are motivated to take into account these dependencies and generally do not act independently, although they are not able to agree their actions and form formal coalitions. One can only assume that they are motivated to coordinate their proceedings. This, in turn, forces us in modeling to adopt appropriate sets of strategies or otherwise model information available to players. Achieving a common optimal result in an orthodox model of game theory does not introduce a general reason or justification for choosing the right strategies. It is known that, in the simplest cases, participants in a joint project generally easily coordinate their decisions without difficulty. The recognition of this in the mathematical model is not known today, because the actual mechanisms of such coordination, the way to achieve it is poorly understood. There are theories explaining strategic coordination, but their implementation in the mathematical model has limited application. The reason for this is the need to change the specifications of the game and make incredible assumptions. By adopting Stackelberg’s extreme rationality, according to which players only choose strategies that maximize their own profits, in conditions where co-decision makers can always foresee opponents’ strategies and respond to them as best as possible, We avoid these problems. This makes it possible to clarify strategic coordination in the common interest of all project participants. Previous experimental encouraged this approach. They showed that Stackelberg’s approach in asymmetrical games is rational.
Only vehicles are regarded as the game participants. Kita et al. [
8] adopted a game theoretic analysis to consider a merging–give way interaction between a through car and a merging car, which is modeled as a two-person non-zero sum non-cooperative game. Kita’s approach can be regarded as a game theoretic interpretation of Hidas’ driver courtesy considered in [
22] from the viewpoint that the vehicles share the payoffs or heuristics on the lane changes, which is a reasonable traffic model but fails to assign uncertainties resulting from the action of the other human drivers. Moreover, one cannot guarantee that the counterpart would act as determined in the game since the counterpart may be able to consider other factors that the subject driver cannot take into account. Accordingly, it is necessary to design an individual driver model that does not share their payoffs in the decision making processes to reflect such an uncertainty. This approach, as we show below, facilitates a more realistic model of driver behavior in traffic situations. It can be found, e.g., in [
7].
The behavior of drivers crossing the intersection or joining traffic from another road is a potential source of conflict with another road user. An additional element intensifying the conflict are various assessments of the situation resulting from different levels of skills and the ability to use them. The controllers (drivers) can be divided into two types in a simplified way (cf. Paissan and Abramson [
23], Fan et al. [
24], and Yao et al. [
9]):
Although we see a natural possibility of distinguishing between a lack of knowledge of traffic rules and their non-application (conscious or unconscious), we leave such detailed analyses for further research. In the subsequent analysis, it is assumed that each of them will react according to the category.
Traffic models and driver behaviors are generally generic and require calibration to suit their place and time of use. Performing such a procedure requires obtaining relevant data and the use of adequate statistical methods. The specificity of the problem leads to the formulation of basic research problems in both modeling and statistics. This is signaled by numerous publications on road engineering, road safety and related problems, such as driver behavior (cf. Ding and Huang [
25] and Bifulco et al. [
26]). Some questions may be solved by choosing and adapting models known as decision theory. Some of the elements discussed in this article are the skills and behavior of drivers. We suggest using Bayesian and minimax estimation methods to assess the parameters associated with modeling the distribution of drivers’ characteristics (cf. [
27], p. 17, [
28]).
1.2. Intersections, Drivers and Traffic
Intersections are an inseparable element of road traffic (cf. [
29], Section 1A.13, def. 94). In this consideration, it is assumed that they are equal without junctions regulatory (for further information concerning classification of crossroads can be found, e.g., at the OSK Duet driving school website,
Virtual driving school,
http://oskduet.pl). At such intersections, priority is given to road signs defining one of the roads as the main road and the other as the subordinate one. In the absence of signs, the so-called right-hand rule that gives priority to all vehicles on the road on the right. Not all road users obey the rules cited above (cf. the dichotomous classification of the drivers above at page 3). It often happens that drivers enforce the right of way at intersections, thus forcing other traffic participants to slow down, or sometimes causing collisions or traffic accidents. The effects of such behavior are further explored in the work presented. When developing the research that is the subject of this work, it is worth remembering that the intersections are different and you need to consider the topology of the intersection in mathematical models. english
To create a model of vehicle movement, we will distinguish a description of the behavior of individual participants (vehicle–driver) and a description of the dynamics of the location of all vehicles in the analyzed region. We describe the changes in the position of the vehicle in the intersection using the cellular automata method and Nagel and Schreckenberg’s model (
NaSch, v. [
30]) described in the
Section 1.3. This is a proven method that allows testing the impact of changes in driver behavior on vehicle flow parameters. However, in the description of the dynamics of traffic at the intersection, three elements can be distinguished, the specification of which is important for aspects of interest to us. Those are:
- (i)
Identifying road elements boils down to the rules of right-hand traffic. This means that priority is given to the one on the main road when meeting at the intersection of two vehicles, i.e., the one who sees the second vehicle on its left (priority of the road on the right-hand side). This objective determination is transformed by decision makers. It is known that the main reasons for perturbation in the stream of vehicles are driving behaviors that do not comply with traffic rules (v. [
16,
31]). Earlier studies by Mesterson-Gibbons [
32] have found various quantifications of driver behavior; however, two categories of drivers have been adopted for the purposes of this study. By convention, they are those who follow the rules of the road (
CO drivers) and those who do not comply with them (
DE drivers). With the approach used to analyze the phenomenon, the proportions of the types of drivers present in the population in the analyzed area are significant.
- (ii)
Determining the behavior of drivers is based on the fact that at each meeting, before the settlement of traffic in the next step (nearest second), the type of driver is identified, and, on this basis, his decision is determined, which translates into vehicle behavior. There are several ways to identify the types of individual drivers in the considerations. In the models selected for detailed analysis, the method of determining the driver’s behavior is different and depends on the assumptions made earlier in relation to the rules functioning in everyday life.
- (iii)
Priority assignment at the intersection results from setting their priorities based on the types described above and assigned to drivers. Costs (in units of increasing or decreasing speed) related to strategies adopted by drivers are determined. Depending on the adopted model, the payout values are different.
For our research, we accept the street topography previously used by Paissan and Abramson [
23] or Mesterton-Gibbons [
32]. The traffic system consists of a network of equivalent streets, four of which run north–south and four east–west, forming a regular grid. Each road is single-lane and one-way, but the directions of vehicle traffic are different. Cars on two of the horizontal streets move from right to left, and on the other two in the opposite direction. The same situation occurs in the case of streets arranged vertically; the direction of two is facing downwards, and the other twos are facing upwards. There are no right-of-way streets, thus the right-hand rule applies in the presented system. Sixteen road junctions and four directions of travel are possible: from top to bottom, from bottom to top, from right to left, and from left to right. Therefore, four types of possible meetings of drivers on the road are received and each other driver gets the right of way. In
Figure 1, vehicles and their direction are shown by arrows. The arrows indicate vehicles and their return indicates the direction of travel. Green symbolizes the right of way, and red means that the car, according to the right-hand rule, gives way. This topography is a simplification. Thanks to symmetries and uniformity, traffic analysis at such an intersection is easier and allows for proper interpretation of the results.
1.3. Nagel–Schreckenberg Model
An efficient method of traffic simulation was proposed by Nagel and Schreckenberg in 1992 by German physicists, published in [
30]. It presents the movement of cars on a straight one-lane and one-way road. The road was divided into 7.5-m sections corresponding to the average length of an average car along with the distance in front of and behind the car. Each of these sections is represented by a single cell of the automaton. The cell can be empty or occupied by one vehicle. Each vehicle
i has a specific speed
, which informs about the number of cells it will travel in one time step, with the speed not exceeding the set maximum speed
. The transition function (v. [
14] Section 2, [
15]) responsible for the movement of vehicles consists of three stages, occurring simultaneously for all objects:
- (i)
Acceleration/Braking. The car increases its speed by one, if it is not higher than the maximum speed and the number of free cells in front of it. When the distance to the car ahead is less than the current speed, the vehicle slows down to a value equal to the empty space in front of it. In the mathematical notation it looks like this:
- (ii)
Random event. A car with a certain probability decreases its speed by 1, provided it is not less than zero. The equation for the described situation is as follows:
- (iii)
Update position. The car moves as many cells as its current speed, according to the formula:
The NaSch model reliably reflects the movement of vehicles on the road and the mutual interactions of drivers. One example that is noticed when analyzing the results of simulations is the occurrence of start–stop waves, showing how sudden braking of one driver affects other road users.
Figure 2 presents a cellular automaton built in accordance with the assumptions of the Nagel–Schreckenberg model. Black cells symbolize the presence of a car, and white symbolizes its absence. The simulation was performed for a periodic boundary condition. The vehicle leaving the space of the machine goes to the queue of cars waiting to enter the network, where the appearance of a new object occurs with a certain probability, which is
in the experiment presented in
Figure 2a. Cars move to the right; each subsequent row in the presented figure illustrates the next iteration of the program—traffic situations in the next time step. In some places, there are temporary densities of cars, caused by a sudden stop of one of the drivers, as a result of which others are also forced to slow down. The occurrence of higher densities is called backward plug. This phenomenon is observed as the effect of traffic lights. The presented situation corresponds to a small density of congestion, because one car releases one car behind it, and then returns to traffic. It can be seen that one vehicle stopping causes a chain of stops for subsequent cars. For comparison,
Figure 2b presents the situation for lower traffic density and lower probability of random events, where a smoother process of vehicle movement is noticeable.
1.4. Manuscript Organization
The purpose of the research presented here is to analyze the impact of behavior, in particular interactions, of predefined types of drivers on traffic performance. Three ways of drivers’ type influence are modeled and their behavior consequence on traffic at intersections are investigated. In each of the analyzed problems, we examine different aspects of traffic at the intersection. The first presented model researches the case of the constant probability of individual types of drivers. It shows how the presence of non-compliant drivers negatively affects the quality of road traffic. When costs received by drivers in conflict situations are quite high, no collisions occur frequently, there are not so many non-compliant drivers on the roads, and most road users are aware of the consequences of reckless driving. This is disused in
Section 2. In the next section, we focus on modeling the psychological aspects of road participation. This is an extension of the research in
Section 2 in the sense that we pay more attention to the behavior of participants due to their tendency to violate traffic law and to cooperate with other road users. Consequently, the research in
Section 3 shows that, given a certain group of drivers resistant to imitation strategy and always deciding to comply with the law, we are able to influence the final distribution of types of behavior. The model analyzed in
Section 4 is a special case of that in
Section 3. However, we examine here the reasons drivers violate traffic rules as a link to increased traffic congestion. As a consequence, we believe that traffic disorder increase improper behavior. It has been detected that above a certain degree of congestion the traffic situation reaches certain limits of good performance. Each of the models was simulated using cellular automata. A summary of the considerations in
Section 2,
Section 3 and
Section 4 is contained in
Section 5. The proposed modeling of street traffic allows the study of real traffic and, as a consequence, the determination of parameters not known a priori, such as the participation in the traffic of non-compliant drivers, delay time, or percentage speed delay, which significantly increases the tendency of behavior causing further problems in road traffic. This aspect is the subject of
Section 6.
4. Model III with Impatient Drivers
4.1. Problem Formulation
The last model considered was proposed by Fan et al. [
24]. As in other models, the authors introduced two types of drivers (complying and not complying with the regulations). An important difference is how to generate individual types. It was assumed that at first everyone obeyed the rules of traffic, but after a certain time waiting before the intersection may cease to comply with the rules. This assumption is to reflect the actual behavior of drivers. Movement of vehicles, as in previous models, is simulated by cellular automata. The players’ payouts in this case are not explicitly stated; only the strategies that drivers use in each situation are known.
4.2. Generating Driver Behavior
As previously mentioned, the type of a driver depends on his/her waiting time before the intersection. Drivers, waiting before the intersection, initially comply with the rules, but, if the waiting time exceeds a certain individual value, the driver’s behavior may change. This critical value is not constant and can be presented as the length of time the object was waiting to enter the intersection. It was assumed to be compatible with the Weibull distribution with the following cumulative distribution (cf. [
24]):
where
a is the scale parameter,
b is the shape parameter, and
a and
b are positive. The hazard rate function (on
) is
According to the proposed model, we set the scale parameter and the shape parameter . These values represent the likelihood of changing driver behavior. When the driver begins to wait before the intersection, his/her behavior will change with the probability depending on the value of the function for a given waiting time. After passing an intersection, the driver’s behavior returns to its initial state.
4.3. Driver Strategies for Prioritization
As in the previous models, four types of interaction between drivers are possible: two drivers complying with the rules, two drivers not complying with the rules, and two different drivers, with the driver complying with the rules on a subordinate road and the driver not complying with the rules on a subordinate road. The following scenarios were highlighted:
- (i)
The driver who should step down complies with the rules. By following them, it gives way regardless of the type of a driver at the cross-roads.
- (ii)
The driver who should give way is a driver who does not comply with the rules. He will try to impose priority, thus forcing the compliant driver to give way to him/her to ensure his/her safety.
- (iii)
Both drivers are non-compliant drivers, so both can try to cross the intersection at the same time. Because of their abnormal behavior, both should stop and then the driver on the road can pass first.
4.4. Simulation
The assumptions of the above model were implemented in the intersection network proposed in
Figure 1. As in previous simulations, the maximum speed of cars was set at 1 to explain the costs incurred by drivers when passing the intersection. To increase the likelihood of changing the type of behavior of a driver waiting before an intersection, a driver could enter the intersection when another left it.
Table 2 presents the time losses incurred by drivers while waiting before entering the intersection.
The left-hand side driver, when he is CO-type, always gives way. He waits two time steps, which is as much as his opponent needs to enter and leave the intersection. Then, if he is not moving, he can start the maneuver, and, if another opponent arrives, the situation repeats. Waiting times before the intersection of each driver are counted. Additionally, drivers whose stopping does not result directly from waiting before the intersection, but is caused by its earlier blocking, are also included. We consider cars standing in a traffic jam to those whose average of the previous five speeds is less than or equal to 0.2. Based on the received waiting times, the probability of change for each driver is determined.
Let us analyze of the effect. Simulations were carried out for different probabilities of generating a new car, which is closely related to the density of cars on the road. A simulation was carried out for each case and was repeated 75,000 times. The following statistics were determined for each case:
- (i)
Average system speed
- (ii)
The number of a driver type changes that have occurred at each time step
- (iii)
The number of conflicts between drivers that occurred at each time step
- (iv)
The attitude of DE drivers, i.e., those who changed their type to non-compliant
- (v)
Average waiting times for drivers before intersections
The statistics listed are summarized in
Table 3. It lists the number of conflicts and the number of all driver type changes that occurred in 75,000 repetitions for each generated case. The frequency of changes and the frequency of conflicts are considered in the analyzed samples. The average ratio of DE-type drivers to other drivers shows the population of drivers who stopped complying with traffic rules, and average waiting time of drivers before the intersection.
The number of changes and the number of conflicts increase as the likelihood of a new driver increases. This is the result of high traffic density and traffic jams.
Figure 9 presents box charts of average speeds of the entire system from the entire motion simulation. A decrease in the efficiency of the traffic system is noticeable; the sharpest decrease occurs for the probability of a new driver equal to 0.4. This may represent a point where traffic density is too high, which causes traffic jams at intersections and waiting times before intersections are too long.
Based on the above results, it can be concluded that, from the probability of drivers equal to
, we are dealing with a high density of traffic with the efficiency of the system decreasing. Thus, the situation of too long waiting is highly likely, and drivers stop complying with traffic rules. The average waiting times in such situations are around
. Comparing this result with the values of the driver probability change function feature presented in
Section 4.2, it can be seen that these values are low. However, these are average values; at the same time, one of the drivers could wait much longer, and another was just starting the waiting process. In addition, the driver, already standing in a traffic jam quite far from the intersection, can change his/her type, and return to the previous state only after leaving the intersection.
5. Model Comparison
The above work presents three ways of modeling traffic at intersections, focusing on the difference in driver behavior. Each of them draws attention to a different problem regarding the functioning of traffic at intersections and each of them has been formulated in such a way that the obtained effects illustrate these problems and their consequences. The first presented model, which is dependent on the constant probability of receiving individual types of drivers, shows how the presence of non-compliant drivers negatively affects the quality of road traffic. It should be noted that the costs received by drivers in conflict situations are quite high; the purpose of this procedure is to draw attention to the negative effects of non-compliance with traffic rules. In fact, no collisions occur frequently. There are not so many non-compliant drivers on the roads and most road users are aware of the consequences of reckless driving.
However, the presented model makes it possible to illustrate the scale of the problem and possible effects if there were more reckless drivers. Another model, which is an extension of the previous one, draws attention to the psychological aspect of movement participants. It is assumed that drivers keep the imitation strategy, and learn from each other regardless of the costs incurred. The effects of the received simulations show that, regardless of the initial ratio of individual types of drivers, due to mutual learning, the distribution of individual categories of behavior converge to similar values. In addition, it is visible that, considering a certain group of drivers resistant to imitation strategy and always deciding to follow the law, we are able to influence the final distribution of types of behavior. This illustrates the potential of the correct education of future drivers. The last model can be considered a model of almost perfect traffic, because the drivers are mostly those who comply with the rules. In real life, traffic participants try to comply with traffic rules; however, there are situations when the patience of drivers reaches certain limits. During a long stand at an intersection, most drivers decide to violate the rules and force priority to be able to continue driving. It is natural that with more dense traffic this happens more often. It has been detected that, above a certain degree of congestion, the traffic situation reaches certain limits of good performance. To sum up, each of the models in a different way reflects the processes occurring in the functioning of road traffic and draws attention to its different areas and problems. Therefore, conducting computer simulations allows predicting their effects.