Simulation Study of Autonomous Vehicles’ Effect on Traffic Flow Characteristics including Autonomous Buses

Autonomous vehicles are expected to revolutionize the transportation industry. *e goal of this research is to study the heterogeneity in traffic flow dynamics by comparing different penetration rates of four different types of vehicles: autonomous cars (AC), autonomous buses (AB), manual cars (MC), and manual buses (MB). For the purpose of this research, a modified cellular automata (CA) model is developed in order to analyze the effect of heterogeneous vehicles (manual and autonomous). Previously, studies have focused onmanual and autonomous cars, but we believe a gap in perception and analysis of mixed traffic still exists, as inclusion of other modes of autonomous vehicle research is very limited. *erefore, we have explicitly examined the effect of the AB on overall traffic flow.Moreover, two types of lane changing behavior (aggressive lane changing and polite lane changing) were also integrated into the model. Multiple scenarios through different compositions of vehicles were simulated. As per the results, if AB is employed concurrently with AC, there will be a significant improvement in traffic flow and road capacity, as equally more passengers can be accommodated in AB as AC is also anticipated to be used in carpooling. Secondly, when the vehicles change the lanes aggressively, there is a substantial growth in the flow rate and capacity of the network. Polite lane change does not significantly affect the flow rate.


Introduction
e increasing level of urbanization throughout major cities across the globe is leading to numerous problems, one of which is traffic congestion. e main cause of congestion is the unbalanced ratio of supply and demand. e lengthening will change the driving environment and will come into the market by 2020. erefore, in the next two decades, we will need to figure out the effect of mixed traffic flow on the urban road. ese different types of vehicles have a different driving framework. Autonomous vehicles have short headway and reduce reaction time as compared to humandriven vehicles [3].
As autonomous vehicles will affect the traffic flow characteristics at both macro and micro levels, we need to study the effects of autonomous vehicles on traffic flow. Previous simulation studies have indicated that the capacity prominently increases by reducing the headway and reaction time [4]. Traffic systems have the potential to be fully autonomous in the future. Although multiple studies have been conducted on mixed traffic, including autonomous cars and manual cars in the past, in this paper, we attempt to analyze the traffic flow characteristics with mixed autonomous vehicles (including cars and buses) and conventional vehicles (including bus and car) with a different penetration rate of autonomous vehicles. An autonomous bus is involved in this research to investigate its impact on traffic flow characteristics as it has the potential to change the existing transportation systems. We will explore the results in the form of traffic flow fundamentals, that is, flow rate, speed, and density. Lane changing is one of the essential parameters for traffic flow. We will also consider the lane change behavior under the circumstances of mixed autonomous vehicles and conventional vehicles. e rest of the paper is designed as follows. Section 2 focuses on the literature review of mixed traffic flow (including automated vehicle and conventional vehicles) characteristics and lane change behavior under mixed traffic conditions; describes the introduction of the cellular automata (CA) model structure, Nagel-Schreckenberg model, and improvement in the CA model structure according to an ideal situation in mixed transportation systems; and describes the series of simulations of the different penetration rates of autonomous vehicles and manual vehicles. Section 3 provides a discussion based on simulation results. Section 4 presents the conclusion and gives further suggestions for future research.

Literature Review
e impact of autonomous vehicles (AVs) on the current transport system, such as traffic safety, congestion, travel behavior, parking, and ownership of vehicles, has been much discussed in the past half decade. Fagnant and Kockelman summarized that the AVs represent a potentially groundbreaking but a positive change to our transport system in terms of vehicle safety, travel behavior, and congestion [5]. In particular, AVs have a much quicker reaction time and short headway; therefore, the traffic capacity of roads with AVs is therefore expected to increase [6][7][8][9]. AVs can also help reduce fuel and emissions. At the beginning of deployment, since the penetration rate of AVs will be low, the overall traffic characteristics of AVs in accordance with manual vehicles will be complicated and difficult to comprehend [10,11].
Appropriate modeling approaches are required at all levels (micro and macro), which could allow the evolving dynamics and capacities of mixed traffic flow to be properly reflected.
What we are mainly concerned with in this research is the impact of an autonomous vehicle (including the autonomous car (AC) and autonomous bus (AB)) on the road capacity. We will simulate the heterogeneous traffic flow of autonomous vehicles and manual vehicles and subsequently analyze the influence of AC and AB on road capacity and traffic flow. e influence of AVs on road capacity represents a huge area for debates. Tientrakool et al. (2011) have analyzed the capacity under mixed traffic flow conditions and an increase in highway capacity through the introduction of autonomous vehicles [12]. Van Arem et al. in their study have shown that the introduction of AVs can reduce capacity even when the share of them is low [13]. Previous studies on autonomous vehicles have generally assumed the autonomous vehicle to be of single mode, namely, car. In real-time scenarios, there will be different modes of autonomous vehicles running in parallel with manual vehicles. e focus of the study is the analysis of mixed traffic flow of vehicles (autonomous car, autonomous bus, manual car, and manual bus) running on multiple lanes. Moreover, our additional goal is to examine the impact of autonomous vehicles on the overall network when fused with different lane change (LC) behavior.
Lane changing behavior is one of the primary characteristics of the traffic. Lane changes have a negative influence on road safety and traffic flow [14] and frequent lane changing behavior is one of the reasons for congestion and/ or accidents [15,16]. Gipps was the first person to introduce the lane changing model for traffic [17]. While several other models were developed based on Gipps's model, Hidas developed a better-quality modeling framework for urban roads and highways to capture LC's vehicle interaction, which was explicitly classified into three categories: free, cooperative, and forced lane change based on the video recording observations [14]. Ahmed [19]. is MOBIL model is similar to the Gipps model; the only difference is that rules in MOBIL are accelerationbased. Other scientists have further studied intelligent lane changing models based on MOBIL [20]. Tawari et al. [21] and Hou et al. [22] investigated the concept of safety: whether it is safe for a vehicle to implement a lane changing maneuver depending upon the traffic situation. Scheduling of connected autonomous vehicles in terms of lane changing was considered by Hu et al. [23] and Awal et al. [24]. Awal et al. [25] proposed an optimal merging strategy for communication and sensor-enabled vehicles. Desiraju et al. [26] developed an algorithm to reduce the disruption of the traffic flow of autonomous vehicles during lane changing maneuvers. It is expected that the development of autonomous vehicles offers great opportunities for the future.
Since the AVs are not available in the open market, we can analyze their influence only through simulation studies. For this purpose, we can choose either cellular automata or VISSIM and AIMSUN. e major concern in our study is to investigate the impact of different modes of autonomous vehicles in mixed traffic flow and assess them through traffic fundamental diagrams. For this particular reason, a mesoscopic traffic model such as CA or a microscopic traffic model such as VISSIM or AIMSUN should be adopted. CA model can easily simulate nonlinear complex traffic flow dynamics and provide elasticity by simulating multifaceted and sophisticated real-time traffic scenarios as suggested in previous studies. Furthermore, the dynamics of traffic flow can be simulated by incorporating different elements in one time. Another major goal of this study is to assess the impact of different lane changing behaviors in different simulations, which are easy to simulate in CA model due to its inherent simplicity. In view of the ability of CA to model complex nonlinear traffic flow dynamics, CA has been designated as the most appropriate tool for the simulation of real traffic flows due to their efficient and speedy performance in computer simulations. e CA model can reproduce accurate traffic events such as the transition from free flow to congestion, lane inversion, and platoon formation. e CA model is discrete in time and space. Depending on different requirements, we can define unit time and unit length of the cell. e CA model is selected for simulation in this study, based on the aforementioned advantages.
Nagel and Schreckenberg introduced the cellular automata model for traffic simulation known as the NaSch model [27]. Later, several model extensions of NaSch model were developed, such as Fukui-Ishibashi (FI) model, VE model, VDR model, and TT model [28][29][30][31][32][33]. Two-lane models were proposed for simulating the real traffic. Rickert et al. explored a simple two-lane cellular automata (CA) model based on Nagel and Schreckenberg's proposed single-lane CA [34].
Different CA models were developed over time to investigate the impact of different lane change behaviors [35][36][37][38][39]. Gao [42]. Das proposed a CA model, allowing vehicles to move at low speed during congestion [43]. Previous studies have also developed CA models that simulate multiclass traffic flows [44][45][46]. Recently, Liu et al. explored the impact of autonomous vehicles and their penetration rate on heterogeneous traffic flow characteristics in an improved CA model [47,48].
eir study mostly focused on autonomous cars and manual cars. In this study, we have improved their CA model by incorporating new modes of manual and autonomous vehicles such as manual car, manual bus, autonomous car, and a new type of autonomous bus. Furthermore, we have also developed different lane changing policies for different modes of vehicles. is kind of model is essential to study the impact of different types of autonomous vehicles on overall traffic flow dynamics.
us, the CA model is helpful in simulating real-time traffic scenarios with different vehicular characteristics, which are the basis of this study as both manual and autonomous vehicles will have distinct attributes.

Model.
In this new developed CA model, we simulate the behavior of different types of vehicles. All the parameters of the model are described in Table 1. We have four types of vehicles such as the autonomous car (AC), manual car (MC), autonomous bus (AB), and manual bus (MB). Regarding AC, the lengths of these cars do not exceed 5 meters and their size is equal to the size of each cell in the model. e main differences between AC and MC are a delay for reaction and policy for a lane change. AC can follow both aggressive lane change (ALC) and polite lane change (PLC).

MC.
Manual cars (MC) are similar to AC but they usually have more reaction delay than AC and they follow ALC policies for lane changing. Another feature of this kind of car is a random brake. Since people are not able to keep the speed constant, this kind of cars usually does take some brake randomly. e time step is one second; therefore, in each time step, some of MC cars brake and decrease their speed randomly. All the updating rules for cars are explained in Table 2. e minimum distance for the manual car (D n,mc ) from the preceding vehicle is 2 cells.

AB.
Autonomous buses (AB) are the third type of vehicle in our model. ey have more length than AC/MC cars and, usually, the length is 2 times longer than AC/MC and they occupy 2 cells of a line. is kind of vehicle also has different reaction delays and lane changing options. e minimum distance for an autonomous bus (D n,ab ) from the preceding vehicle is 1 cell.

MB.
Manual bus (MB) is the fourth type of vehicle. e manual bus has slightly different features such as delay time and random brake system. In each step, we update our simulation by following the Nagel-Schreckenberg Model.
ere is a significant difference in the previous model as we are simulating different kinds of vehicles so we have assigned the different headway for each vehicle. e minimum distance for manual car (D n,mb ) from the preceding vehicle is 3 cells. All the updating rules for the bus are explained in Table 3 and in Table 4 all the fundamental parameters of the model are explained. Figure 1 represents the schematic diagram, illustrating the various parameters involved in the model.

Lane Changing.
We have considered lane policies, that is, aggressive and polite policies. Autonomous vehicles follow both policies, but manual cars follow only aggressive policies. Any vehicle, either autonomous or manual, is assumed to comply with a basic rule that lane change can only be carried out at the least cost of reducing the speed of neighboring vehicles; that is, a vehicle would only change its  Table 1: Parameters in the model.

Parameters
Description D n,ac (m) e distance of the n autonomous car from the preceding vehicle D n,mc (m) e distance of the n manual car from the preceding vehicle D n,ab (m) e distance of n autonomous bus from the preceding vehicle D n,mb (m) e distance of the n manual bus from the preceding vehicle D n,ac,l (m) Left side front distance of the n autonomous car in the target line   Table 3: Rules for updating the position of different buses in the model. Additionally, for lane change, in order to shift to target lane, the minimum distance for front (preceding vehicle) and back (following vehicle) for the AB and AC is 2 cells, where, for MC, the minimum front and back distance is 3 cells and, for MB, the minimum front and back distance is 4 cells.

Polite Policy.
e fundamental hypothesis with regard to PLC is that drivers are careful when trying to change lanes; that is, their lane change maneuvers should not interfere with the movement of neighboring vehicles on the adjacent lanes. is is in line with the MOBIL model with a polity parameter of 1. e PLC rules support a more altruistic behavior rather than assuming self-centered behavior in most of lane changing models.
In general, two aspects should be taken into account during the study of lane change: incentive and safety. Only if certain criteria related to both aspects are fulfilled, vehicles will change routes. In order to set incentive and safety criteria for PLC, we refer to the STCA model. e PLC rules are shown in Table 5.

Aggressive Policy.
ALC characterizes a set of lane changing rules that are more practical than PLC, particularly for manual vehicles. Report on the lane changing behavior of manual vehicles shows that slower preceding vehicles would lead the following drivers to consider overtaking in many situations [49,50].
Furthermore, 95% of drivers would only change lanes if the rear distance on the target lane exceeds the 3-cell length (15 meters) and their speed exceeds those on the destination lane [51]. As inspired by if vehicle n is a manual vehicle, D 0 is set to a length of 3 cells; otherwise, D 0 is set to a length of 2 cells to represent the different accuracy of the autonomous and manual driving behavior of the vehicles. e ALC rules are shown in Table 6.
e deceleration rule means that the current speed of a vehicle is maintained unless it has to slow down to adapt to its current front spacing. e randomization policy will Journal of Advanced Transportation 5 apply to manual vehicles with a 0 < p < 1 probability. is implies that a percentage of drivers cannot keep the current speed constantly and can randomly slow their vehicles down. e position-updating rule states that vehicles update their locations at current speeds. is rule is derived from the NaSch single-lane model.

Simulation Implementation.
For implementation, we used Matlab programming language. Our implementation is fully object-oriented. We have a main class that is "car class." e class has several attributes, including ID, position, speed, Max_speed, Line_max_speed, delay, type, length, line, back_space, and front_space. Each vehicle is an object of the class car and, for each vehicle, we store all of their respective parameters. In the CA model, the road segment is divided into cells. At each time step, each cell has two states occupied by either vehicle or blank. e maximum speed of the road is defined as 80 km/h. e number of lanes is 3 and road length is 10 km. At the start of the simulation, the vehicles are randomly distributed at different cells with each vehicle size equivalent to designated number of cells as mentioned before. Furthermore, the initial speed of vehicles is set randomly. After each fixed time step, number of vehicles increases by adding vehicles again randomly in empty cells. is whole process is done again and again until the decided time period for simulation is completed.
Based on the parameters that the user set, we generate the vehicles and their features in the simulation. We have run the simulation at a different value of PLC, ALC, and probability of random brake. e simulation was run 1000 time steps for each scenario. e average speed, density, and flow rate are determined by the following formula: (1)

Results and Discussions
e results in this paper have been discussed by comparing different scenarios, that is, different compositions of traffic. All of the results are based on the simulation model that is explained quite comprehensively in the previous section. By dividing the flow rate into the free flow phase and congested flow phase, it is easy to comprehend the significance of autonomous vehicles (cars and buses) in the model.
All the following results mentioned from Figures 2-10 delineate the differences in fundamental relations of traffic flow characteristics (speed, density, and flow rate) by comparing different penetration rates of autonomous cars (AC), autonomous buses (AB), manual cars (MC), and manual buses (MB). Difference scenarios from 1 to 5 have been formulated based upon different compositions. In these scenarios, the values of ALC and PLC have been fixed to 0.5 to deeply understand the concept of heterogeneity in traffic and its impact through various arrangements.
In scenarios 6 to 8, different values of ALC and PLC have been incorporated in the simulation model by fixing the composition of vehicles to understand the effects of lane changing behaviors in similar configurations. e details of these scenarios are mentioned in Table 7.
3.1. Scenario 1. Figure 2 shows the results of autonomous cars (100% penetration) and manual cars (100% composition) on the same road network. e major trends off all the graphs are as expected and they perfectly align with the preestablished conventions of the discussed parameters, that is, speed, density, and flow rate. AC outperforms MC in every parameter. All of these results are generally consistent with the previous understandings primarily due to less reaction time delays from AC. e For the manual bus For left side (i) D n,l ≥ 4 * D 0 (ii) D n,l,back ≥ 4 * D 0 (iii) v nmb (t) ≥ v n,l,back (t) For right side (iv) D n,r ≥ 4 * D 0 (v) D n,r,back ≥ 4 * D 0 (vi) v nmb (t) ≥ v n,r,back (t) maximum speed for MC at 100% penetration is 60.61 km/hr, whereas, for AC at 100% penetration, the maximum average speed is about 69.46 km/hr, almost 15% higher. Similarly, the maximum flow rate for MC is 2256.51 vehicles/hr, where the maximum flow rate for AC is 3251.26 vehicles/hr, which is almost 44% higher. e introduction of AC into the model has resulted in higher and smooth traffic flows, indicating stability and constancy as indicated by the speed versus flow rate graph. Due to their timely maneuverability, the flow is kept constant in comparison to MC speed versus flow rate trend. All of these results indicate a glaring finding that AV can increase road capacity as suggested by previous studies and manufacturers.

Scenario 2.
In this scenario, heterogeneous traffic is introduced by showing different penetration percentage of AC with MC. e simulation results shown in Figure 3 are expected to show that the combination of AC + MC in which AC composition is 80% has more stable traffic flows with the highest average speeds under the same density. is proves the concept that if the percentage of AC increases like in the case from 20% to 80% on the road networks, road capacity increases until it reaches the critical capacity. For example, in this case, the maximum flow rate for AC + MC in which AC composition is around 20% is 2433 vehicles/hr, whereas the maximum flow rate for AC + MC in which AC composition is around 80% is 3013 vehicles/hr, almost 24% increase in flow rate. Similarly, the maximum average speed for rate for AC + MC in which AC composition is around 20% is 62.04 km/hr, whereas the maximum average speed for AC + MC in which AC composition is around 80% is 69.51 km/hr, almost 12% increase in average speed.
is proves that, in the congested phase, the higher percentage of AC composition will be more beneficial than MC. e interesting thing to note here is that, in compositions of AC 40% and MC 60% (case 1), the flow rate in free flow phase is less than the composition of AC 20% and MC 80% (case 2). is is due to the fact that, in simulation, the values of ALC and PLC are set to 0.5. is means that, in case 1, half of AC will follow PLC and the other half will follow ALC. Similarly, half of MC will only be able to change lane by following ALC behavior. Similar rules are applied in case 2. In this simulation, more MC (40%) are following ALC behavior and less AC (10%) are observing PLC behavior compared to the previous simulation in which MC (30%) are following ALC behavior and AC (20%) are observing PLC behavior. e unexpected change in results in free flow phase of both simulations lies in the rules of lane  Journal of Advanced Transportation changing for both PLC and ALC. Since for ALC the conditions to change the lane are less stringent than PLC, the simulation with more MC vehicles can change lane more efficiently until the optimum flow rate is reached. After the transition to the congestion phase, the inclusion of a high penetration rate of AC has a significant impact on abating traffic congestion as they will be able to change lanes more efficiently due to their less reaction delay and headway. us, merely including the AC (until a certain threshold as shown in this scenario) will not have a significant impact on the traffic flow rate in free flow phase. eir efficiency is more highlighted in the congestion phase. When the percentage of AC becomes high, more AC can follow ALC behavior alongside their less headway and reaction time.
is is why the flow rate is increasing quite high when AC is 60% and 80%. e impact of ALC behavior is also a deciding factor in changing lanes which are further highlighted in scenarios 6 to 9.

Scenario 3.
In scenario 3, 3 types of vehicles (AC, MC, and MB) are introduced with different percentage composition. As Figure 4 shows, the percentage of MB is kept constant at 10% to highlight the weightage of AC and MC in this comparison. As expected, when the percentages of AC, MC, and MB are kept at 80%, 10%, and 10%, respectively, the results display high road capacity when compared with their counterparts. is further reinforces the fact that a high percentage of AC will result in high speed and enhanced flow rate. When the percentages of AC, MC, and MB are kept at 20%, 70%, and 10%, respectively, the maximum flow rate and maximum average speeds are 2101 vehicles/hr and 61.83 km/hr, respectively. Now, when the percentages of AC, MC, and MB are kept at 80%, 10%, and 10%, respectively, the maximum flow rate and maximum average speeds are 2549 vehicles/hr and 65.63 km/hr, respectively. ere is an increase in the flow rate of about 21% and an increase in the maximum average speed of about 6% when the AC is at 80%.

Scenario 4.
A new kind of vehicle, that is, AB is introduced in the heterogeneous traffic to show its effect on the traffic parameters. is scenario is similar to scenario 3  Journal of Advanced Transportation with one significant difference: MB is replaced with AB and the percentage of AB is kept constant at 10%. e percentage of AB is kept constant at 10% to indicate the proportion of AC and MC in this comparison. It is clear from Figure 5 that when the percentages of AC, MC, and AB are at 20%, 70%, and 10%, the maximum flow rate and maximum average speeds are 2113 vehicles/hr and 59.15 km/hr, respectively. On the same hand, when the percentages of AC, MC, and AB are at 80%, 10%, and 10%, the maximum flow rate and maximum average speeds are 2882 vehicles/hr and 71.08 km/hr, respectively. ere is an increase in the flow rate of about 36% and there is an increase in the maximum average speed of about 20% when the AC is at 80%. Furthermore, this also presents an interesting observation similar to the results of scenario 2. In simulation of AC 40%, MC 50%, and AB 10% (case 1), the flow rate in free flow phase is close to AC 80%, MC 10%, and AB 10% (case 2). e reasons as mentioned in scenario 2 again lie in the rules of ALC and PLC. In case 1, more vehicles of MC will follow ALC behavior, which means that both AC and MC will be able to change lanes efficiently in free flow phase. However, in congestion phase, less penetration rate of AC will not be able to abate the traffic congestion as shown in case 2. is point is again highlighted in the simulation results of AC 60%, MC 30%, and AB 10% (case 3). Since there are less MC in case 3 in free flow phase, less MC will follow ALC behavior in comparison to case 1. As a result, the flow rate in free flow phase of case 3 will be less than case 1. In the congestion phase, the high penetration rate of AC in case 2 and case 3 will allow them to change lanes more efficiently than case 1 due to the fact that the flow rate in case 2 and case 3 is higher than case 1. is further reinforces the finding of scenario 2 that ALC is also a deciding factor in increasing   Journal of Advanced Transportation the flow rate. Moreover, the high penetration rate of AC increases the flow rate in congestion phase as they will be able to change lanes more efficiently due to their less reaction time and less headway. Merely including the AC (until a certain threshold) will not significantly increase the flow rate in free flow phase. As stated before, the importance of ALC is tested through scenarios 6 to 9.
3.5. Scenario 5. In scenario 5, AB and MB are introduced as a part of heterogeneous traffic. Different compositions are simulated to infer the most feasible situation. As shown in Figure 6, the results clearly delineate that the compositions of AC and AB (90% AC and 10%AB) outdo other arrangements. us, if AB on road networks are introduced instead of MB, the flow rate will increase significantly as shown by the peak flow rate in Figure 3. e maximum flow rate for MC + MB in which MB composition is around 10% is 1735 vehicles/hr. e maximum flow rate for AC + AB in which AB composition is around 10% is 2947 vehicles/hr, almost 70% noteworthy increase in flow rate, thus indicating the increase in road capacity if AB is introduced with AC. It is expected that more passengers will be inclined to use AB due to its safety and flexibility features. Similarly, the maximum average speed for for MC + MB in which MB composition is around 10% is 56.36 km/hr, whereas the maximum average speed for AC + AB in which AB composition is around 10% is 67.94 km/hr, almost 20% increase in average speed as the reaction delays of AB will be the same as those of AC. If we compare the MC + AB model with MC + MB model, it is evidently clear that, with only 10% introduction of AB into the model, the flow rate increases. e free flow phase is similar in the start but as the density increases, the flow rate in MC + AB composition is more stable even in the congested phase.   us, with an only penetration rate of 10%, AB can have a significant positive impact on overall road capacity. e main findings of scenarios 1 to 5 can be summarized as follows: (a) With the increase of penetration percentage of AC and AB in cars, the overall flow rate of the network increases, thus indicating a significant increase in capacity. (b) As shown in the above figures, for the same values of density, the involvement of AC and AB in the model increases the free flow phase of the network, which leads to stable traffic flows for a larger duration of time. (c) e use of AB in the traffic streams alongside AC will be accommodating in abating the traffic congestions as it is generally expected that the AC will be used in carpooling. If AB is employed concurrently with AC, not only will the capacity of network increase but also more passengers can be accommodated and can be incentivized to use the features of AB. us, AB has the potential to reduce traffic congestion considerably if implemented duly.
3.6. Scenario 6. In this scenario, 4 different types of vehicles, that is, AC, MC, AB, and MB, are introduced in the model at 45%, 45%, 5%, and 5%, respectively. is arrangement is simulated in the model by changing the values of ALC and PLC. e PLC in this scenario is kept constant at 0, whereas ALC is changed four times in each composition, that is, 0.2, 0.4, 0.6, and 0.8. As shown in Figure 7, the trend when values of ALC fall in the range from 0.4 to 0.8 is generally the same for all graphs with the exception when ALC is 0.2. is is due to the fact that only 20% of all the vehicles are changing their lanes aggressively, whereas the rest are not modeled to change their lane. erefore, the flow rate is less compared to other values. If the vehicles do not decide to change their lanes, then, under the same density, it is expected that the flow rate will fall considerably as the number of vehicles will increase substantially.
e key point to notice here is that even when the value of ALC is 0.8, that is, 80%, vehicles, both manual and autonomous, are changing their lanes aggressively; the overall trend with other simulations when ALC is 0.4 and 0.6 is more or less the same.
us, increasing the aggressiveness of drivers does not increase the flow rate after a certain threshold is reached.

Scenario 7.
As mentioned before, this scenario is similar to scenario 6 in terms of vehicular layout with 4 different types of vehicles. In this scenario, the value of ALC is kept constant at 0 while changing the values of PLC four different times in each simulation from 0.2 to 0.8. e trend of all the simulations is the same in free flow and congested phase as illustrated in Figure 8. Since ALC is 0 here, no manual vehicle will change its lane. As a result, the flow rate is less compared to other simulations. us, increasing the polite behavior of autonomous vehicles will not dramatically increase the flow rate after a critical value is reached. e free flow phase and congested flow phase are the same in this range.

Scenario 8.
In this scenario, again the vehicular arrangement is kept as same as that of scenarios 6 and 7. However, no value of ALC and PLC is kept constant. Instead, in every simulation, different values of PLC and ALC are used in the range from 0.2 to 0.8. For example, when ALC is 0.2, PLC is 0.8 and vice versa. e results of all simulations show similar trends as shown in Figure 9 with no drastic changes between them. At the start of simulation when the value of PLC is 0.4 and ALC is 0.6, the average speed of vehicles is slightly less than other simulations but it reaches the flow rate and speed of other simulations when density crosses the threshold of 40 vehicles/ km. After this threshold, the speed and flow rate of all the values exhibit similar patterns and trends. us, it can be said in the congested phase that all simulations produce more or less

Scenario 9.
is is the last comparative scenario in this study. In this scenario, the vehicular compositions are the same as those of previous scenarios from 6 to 8. ree different types of simulations are run with three unique values of ALC and PLC in each simulation and the results are shown in Figure 10. In the first simulation, ALC is 0 and PLC is 1. In the second simulation, PLC is 1 and ALC is 0, and, in the third simulation, both values are 0. e results of all of the simulations are somewhat expected. Traffic is more stable with high flow rates in free flow and congested flow phase when ALC is 1 and PLC is 0. is is due to the fact that both autonomous and manual vehicles will follow an aggressive lane changing maneuver, which will subsequently increase the capacity of the road. When PLC is 1 and ALC is 0, only autonomous vehicles will be allowed to change their lanes by following the polite lane changing maneuver as manual vehicles in this study will only follow the aggressive lane changing behavior. As a result, the flow rate is less because almost half of the vehicles (manual) will not be able to change their lanes and will travel on the same lane irrespective of the gaps provided. When ALC and PLC are both 0, the results are on par with the simulation when PLC was 1 and ALC was 0. No vehicle will change lane and will remain on the same path regardless of the acceptable gaps. us, the road capacity of any link can be increased if the vehicles are allowed to follow the aggressive routine. e main findings of scenarios 6 to 9 can be summarized as follows:  more or less equivalent to the setting when none of the vehicles are allowed to change as polite lane change requires certain and specific requirements to be met before it is implemented.

Conclusion
In this paper, we have studied the heterogeneity in traffic by comparing different penetration rates of four different types of vehicles, that is, autonomous cars, autonomous buses, manual cars, and manual buses. For this purpose, a revised CA model was developed as explained in previous model description phase of this paper. e characteristics and parameters of all four vehicles were defined. Furthermore, two sets of lane changing behavior (aggressive lane changing and polite lane changing) were also incorporated in the model with the assumption that manual vehicles will only follow ALC and autonomous vehicles will follow both PLC and ALC. In order to deeply understand the notion of mixed traffic flows, different scenarios through different compositions of vehicles were devised and simulated. e results indicated that, with an increase in the penetration rate of autonomous vehicles, the overall flow rate and average speed increase. e introduction of the autonomous bus is a critical factor in increasing the effectiveness of road capacity as not only will the flow rate of traffic increase but also more passengers can be accommodated. It is expected that, with the introduction of AC into the market, AB will also follow up and will be immensely obliging in the overall stability of traffic flows. Moreover, it was also noted that if the vehicular configurations are assumed to be continual and only values of ALC and PLC are changed, there are no extensive variabilities on the overall road capacity. e traffic flow rate surges considerably only when all the vehicles follow ALC. Conversely, if only PLC is allowed, the difference in flow rate is trifling.
Future work on modeling of signalized and unsignalized junctions under different compositions of heterogeneous traffic needs to be addressed.

Data Availability
Since there are no any real data related to autonomous, we use only simulation data in this paper. e simulation data are available from the corresponding author upon request.

Conflicts of Interest
e authors declare that they have no conflicts of interest.

Scenarios
Details/composition in model