The Double Lanes Cell Transmission Model of Mixed Trafﬁc Flow in Urban Intelligent Network

: The connected and autonomous vehicle (CAV) is promised to ease congestion in the future with the rapid development of related technologies in recent years. To explore the characteristics of mixed-trafﬁc ﬂow and the dynamic transmission mechanism, this paper ﬁrstly detailed the car-following model of different vehicle types, establishing the fundamental diagram of the mixed-trafﬁc ﬂow through considering the different penetration rates and ﬂeet size of CAV. Secondly, this paper constructed the lane-changing judgment mechanism based on the random utility theory. Finally, the paper proposed a lane-level dynamic cell transmission process, combined with a lane-changing strategy and cell transmission model. The effectiveness and feasibility of the model are veriﬁed using simulation analysis. This model makes a systematic, theoretical analysis from the perspective of the internal operation mechanism of trafﬁc ﬂow, and the lane-level trafﬁc strategy provides a theoretical basis for balancing urban lane distribution and


Introduction
Urban traffic congestion will not only reduce the traffic efficiency and bring serious environmental pollution, but it will also threaten traffic safety.With the improvement of infrastructure construction, as well as the development of intelligent transportation technology and automatic driving technology, the dynamic characteristics between vehicles are greatly changed, altering the traditional traffic flow within inherent attributes.Therefore, the application of intelligent vehicles is generally accepted as a solution to the traffic congestion problem.However, universal access to intelligent vehicles will not happen overnight, in which case the mixed-traffic flow, composed of traditional human driving vehicles (HVs) and intelligent vehicles, will be normalized, which has made the mixedtraffic flow and dynamic transfer process become a hot spot of research at home and abroad.
Because of the quite different characteristics of traditional HVs and intelligent vehicles, Shladover [1] first took time headway into account in conducting a traffic simulation based on real driving data, studying the impact of adaptive cruise control (ACC) vehicles and cooperative adaptive cruise control (CACC) vehicles under different penetration rates on highway capacity, but there are no details for control strategy and contact between vehicles.Milanes [2] established a car-following model according to the corresponding characteristics of the vehicle longitudinal control system, verifying that CACC vehicles provide a stable chasing response through a small-scale, actual vehicle experiment.Hao Liu [3] constructed a model that accurately describes the behavior of CACC vehicles, reflecting the lane-changing rules based on the lane management and the traffic flow change of the complex road bottleneck area, under the control-mode-switching algorithm.
These studies are more inclined to start with the micro-behavior of individual vehicles, and explore the influence of individual traffic characteristic parameters of intelligent vehicles on traffic flow, without considering the interaction between vehicles.As intelligent vehicles can perceive the surrounding environment and interaction between vehicles through onboard units and roadside units, they have better environmental perception ability [4,5].Therefore, vehicle formation control has become one of the key technologies of intelligent vehicles.Thus, the influence of intelligent fleets on traffic flow has attracted wide attention recently, including the influence of fleet organization, vehicle market penetration rate, fleet size, and intelligent assisted driving degree [6][7][8][9].Different driving characteristics of intelligent vehicles and HVs reflect the obvious diversity of free traffic flow, so the mixed-traffic flow composing both of them will be evidently different from the traffic flow composed of the same kind of vehicles in the process of transmission.By analyzing the stability conditions of mixed-traffic flow under the different penetration rates of intelligent vehicles, the mixed-traffic flow fundamental diagram is used to reflect the influence of driving characteristics, such as minimum safe distance, expected headway interval, vehicle delay, and response time, on traffic capacity [10][11][12].
The mixed-traffic flow dynamic transfer mechanism still needs to be clarified.The car-following model is an important microscopic model of traffic flow, which scholars have conducted a lot of research work on that can be described by the optimal velocity (OV) model [13], generalized force (GF) model [14], full velocity difference (FVD) model [15], multiple velocity difference (MVD) model [16], and cellular automata (CA) model [17], etc.The lane-changing model is another kind of important microscopic traffic flow model.Scholars have widely used Gipps, Microscopic traffic simulator (MITSIM), and other models to describe it [18,19].Recently, the fuzzy logic model, neural network model, and game theory model have been widely used with the rise of sensing technology and artificial intelligence technology [20][21][22][23].However, the microscopic model has a small modeling scope, which makes it difficult to grasp the overall traffic impact and has low modeling efficiency, limiting the practical implement in urban areas.Compared with the micro-car-following modeling, there is relatively less research on the macro-modeling and meso-modeling of the traffic flow [24].
Using the gas dynamics theory, Ngoduy [25] proposed a macro model for describing the intelligent traffic flow dynamic, proving that CAV fleet can enhance traffic-flow stability in the on-ramp bottleneck area under small perturbations.Delis [26] introduced the relaxation factor, satisfying the space and time interval principle of ACC and CACC systems.Traffic flow will be considered a compressible continuous fluid medium composed of a large number of vehicles, studying the average behavior of the collective.In contrast, the macroscopic traffic-flow model characteristic for individuals is not explicit and is not fine enough to obtain and analyze the quantitative indicators of intersections.
Levin [27] proposed the mesoscopic traffic-flow model to predict the shock wave and road capacity while considering reaction time based on the cell transmission model (CTM).Tiaprasert [28] put forward the multiple-lane CTM to enhance the first-in, first-out (FIFO) character and transmission capacity of CTM, taking the priority of different level vehicles under congestion into account, but not refining the lane-changing strategy at lane level, weakening the possible conflict problem.Thus, the lane-level traffic management strategy based on the incentive of downstream condition is detailed [29], and the first-order lane level CTM was constructed while considering motivation function.While the results of this method are sensitive to the parameters of the traffic-flow fundamental diagram, it ignores the changes caused by the expected behavior of drivers.Namely, it did not show the characteristics of mixed-traffic flow.
To summarize, the existing research focuses more on improving the cell transmission model itself, and independently studies the microscopic driving behavior and macroscopic traffic flow characteristics under the intelligent network environment, which are treated as two separate systems.This paper expects to study them in combination, and build a meso-traffic flow transfer process that can reflect both microscopic car-following and lanechanging behaviors and macroscopic traffic flow analytical characteristics.As a connecting bridge, it can not only capture the discontinuous change of traffic flow, but also better The overall structure of this paper is shown in Figure 1.
behavior of drivers.Namely, it did not show the characteristics of mixed-traffic flow.
To summarize, the existing research focuses more on improving the cell transmission model itself, and independently studies the microscopic driving behavior and macroscopic traffic flow characteristics under the intelligent network environment, which are treated as two separate systems.This paper expects to study them in combination, and build a meso-traffic flow transfer process that can reflect both microscopic car-following and lane-changing behaviors and macroscopic traffic flow analytical characteristics.As a connecting bridge, it can not only capture the discontinuous change of traffic flow, but also better connect with the road network model, which provides a new research idea for traffic dynamic assignment problems and shortens the research distance between road traffic flow and network traffic flow.
The overall structure of this paper is shown in Figure 1.The structure of this paper is as follows.The second part describes the characteristic analysis of vehicles and considers the impact of penetrance rate and fleet distribution of CAVs on the fundamental diagram of mixed-traffic flow.The third part conducts the lane-changing judgment mechanism, which compares the profits between lanes.The fourth part builds a double-lane CTM, deducing the flow conservation equation count for profits and realizing the lane-level dynamic transmission between cells in intelligent networks.The fifth part is the simulation and the conclusion.

Research Methodology
In this paper, we detail the car-following model of different types of vehicles, which build the fundamental diagram of the mixed-traffic flow while considering the different penetration rates and fleet size of CAV.Random utility theory, applied to the lane-changing judgment mechanism combined with CTM, proposes a lane-level dynamic cell transmission process.Thus, the research methodology consists of driving characteristic analysis, along with lane-changing judgment mechanism and simulation analysis, of double-lane CTM.The structure of this paper is as follows.The second part describes the characteristic analysis of vehicles and considers the impact of penetrance rate and fleet distribution of CAVs on the fundamental diagram of mixed-traffic flow.The third part conducts the lane-changing judgment mechanism, which compares the profits between lanes.The fourth part builds a double-lane CTM, deducing the flow conservation equation count for profits and realizing the lane-level dynamic transmission between cells in intelligent networks.The fifth part is the simulation and the conclusion.

Research Methodology
In this paper, we detail the car-following model of different types of vehicles, which build the fundamental diagram of the mixed-traffic flow while considering the different penetration rates and fleet size of CAV.Random utility theory, applied to the lane-changing judgment mechanism combined with CTM, proposes a lane-level dynamic cell transmission process.Thus, the research methodology consists of driving characteristic analysis, along with lane-changing judgment mechanism and simulation analysis, of double-lane CTM.

The Analysis of Driving Characteristics
Traditional HV generally has no cooperation function.With the integration of intelligent connected technology and automatic driving technology, CAV arises at a historic moment [30].Additionally, due to communication technology from vehicle to vehicle (V2V), speed, acceleration, distance, and other information can be updated in real time, running under the CACC pattern.When communication equipment is not loaded, the vehicles will run under the ACC pattern, named AV.

Car-Following Model
The Intelligent Driver Model (IDM) is regarded as the car-following behavior model of HV, and the PATH Laboratory of the University of California, Berkeley verified the ACC and CACC model-respecting car-following behavior model of AV and CAV.

•
HV car-following model based on IDM The IDM model is a widely recognized expectation measurement model not based on accident theory, assuming that the expected speed and headway remain constant in the driving process [31].Due to the ignorance of reaction time at the same section of road on the same lanes in the mesoscopic model of the HV car-following model, as well as the IDM model with the real physical meaning of parameters, the calibrated parameter will be more accessible if it directly reflects the variation of HV driving behavior at the mesoscopic level.The specific expression is as follows: .
v IDM (t) is the acceleration at moment t, v(t) is the speed at moment t, ∆v(t) is the difference between the vehicle and the front at moment t, h(t) is the distance headway between the vehicle and the front at moment t, v is the speed of free traffic flow, s is the minimum safety distance, a is the expected maximum acceleration, b is the expected deceleration, T h is the expected safe time headway, σ is the acceleration index, and l is the length of the vehicle.

•
AV car-following model based on ACC AV monitors the distance from the vehicle in front in real time through radar, infrared sensor and other equipment, calculate the speed, acceleration and additional information of the vehicle in front, to adjust the driving characteristics of the vehicle itself and achieve the purpose of autonomous driving.The PATH Laboratory of the University of California, Berkeley has verified the ACC car-following model under the constant time headway strategy, which conforms to the real dynamic car-following character [7].The specific expression is as follows: .
v ACC (t) is acceleration at moment t, T a is expected safe time headway,

•
CAV car-following model based on CACC Through V2V communication technology, CAVs continuously adjust the error term of actual and expected distance to control the change of the rear vehicle speed in real time, in which case has a shorter response time and a shorter time headway.The PATH laboratory also used real vehicle data to verify the CACC model under the proposed constant time headway strategy.The specific expression is as follows: where ∆t is the control step, v CACC (t + ∆t) is the speed at moment t + ∆t, v p (t) is the speed at moment t, e(t) is the error between actual and expected spacing at moment t, .e(t) is the differential term of e(t) with respect to t, k p is the control coefficient of vehicle spacing error; k d is the control coefficient of differential term of vehicle spacing error, T c is the expected safe time headway.

Vehicle Proportion Allocation
The CAVs realize the cooperative operation between vehicles.Still, when the front vehicle of CAV is not equipped with communication equipment, not satisfying the V2V communication conditions, the CAV at the rear vehicle position will degenerate into AV [32].Therefore, the fundamental diagram of mixed-traffic flow constructed in this paper is based on the following assumptions: AV is only degenerated by CAV following HV.

2.
When CAV forms a fleet, only the first vehicle of the fleet degenerates to AV.

3.
The mesoscopic model IDM does not consider the response time of vehicles in the same lane of the same road section.
Suppose that in a fleet with n vehicles, when penetration rate of intelligent vehicles is p, the penetration rate of CAV is p c , the penetration rate of AV is p a (p a + p c = p), and the penetration rate of HV is p h = 1 − p.If the size of the spontaneous CAV fleet is n c , there will be np/n c CAV fleets on the road.Thus, the probability of a CAV fleet and HV on the road, P CAV and P HV , are, respectively: Then, the probability P AV of AV is:

Analytical Expression of Traffic Flow
As CAV has the ability to spontaneously form a flexible fleet, there are mainly four forms in car-following situations including fleets: HV follows HV, HV follows CAV fleet, CAV fleet follows HV, and CAV fleet follows CAV fleet, and their proportion is respectively P HV P HV , P HV P CAV , P CAV P HV , P CAV P CAV .
Assuming the research scope is large enough, the total length of a single-lane road with n vehicles can be expressed as the sum of the equilibrium distance headways of all motorcades.In the mixed-traffic flow, the speed in the equilibrium state is identical.Still, due to different driving characters of CAV, AV, and HV, balanced-distance headways have various performances, and h c , h a , h h respectively represent the headways in CAV, AV, and HV equilibrium states.Therefore, the analytical formula of the density-flow fundamental diagram can be derived from the distance-headway-speed relationship of the equilibrium traffic flow.Distance headway h of the mixed-traffic flow can be expressed as: Then, distance headways of the balanced flow in Equations ( 1)-( 3) are brought into Equation (6).The analytical expression of the mixed-traffic flow density-flow fundamental diagram, including fleet, is: Energies 2023, 16, 3108 6 of 17

Lane-Changing Judgment Mechanism
Free lane changing occurs when guaranteed under the premise of safety and necessity, and predicting lane-changing behavior can earn expected benefits.

Random Utility Theory
For a set of alternative items that are independent of each other, it is believed that items with the most excellent utility will be selected, which is the basis of random-utility theory, called the utility maximization behavior hypothesis [33].According to random utility theory, the conditions for travelers to select a candidate are: where, U i , U j is the utility of candidate i, j, and A is the set of all candidate options for travelers.Each choice made by the candidate is random, so the candidate's utility consists of fixed and random utility.For simplicity, suppose they are independent and linear, and expressed by the following equation: where, utility is composed of observable fixed utility V i and unobservable random term α i .Fixed utility V i that affects the selection is determined by a characteristic variable X in , and β n is the coefficient of X in , which is a constant.According to utility maximization theory, the probability of selecting a candidate i is: where 0 ≤ P i ≤ 1, ∑ i∈A P i = 1.When a random term α i satisfies the same parameter and independent double exponential distribution, the multinomial logit model can be further expressed as:

Lane-Changing Revenue Model
In the mesoscopic traffic flow model, as shown in Figure 2a, the road is divided into sections of fixed length, and vehicles in each section have a certain probability of changing lanes, resulting in changes in the number of vehicles in different lanes.Thus, the profitability of the free lane-changing behavior is reflected in the difference between the driving benefits of the current road section and the adjacent road section.Because the target lane has more excellent driving conditions, drivers tend to change lanes in pursuit of a better driving environment.For the mesoscopic traffic flow model, the benefits of free lane-changing include time benefits and space benefits.The time benefit is reflected in obtaining more incredible average speed in the road section, and the time to pass the fixed-length section is correspondingly shorter.The space benefit is reflected in smaller average density in the road section, and a better field of vision to further quantify the revenue value of free lane changing.The following revenue model, which is based on random utility theory, is established.Some vehicles may change lanes between different lanes in the adjacent road section.Using double lanes as an example, it can be abstracted as the situation shown in Figure 2b.Before entering the next section, vehicles can determine whether to change direction or keep going straight according to their current driving status.
average density in the road section, and a better field of vision to further quantify the revenue value of free lane changing.The following revenue model, which is based on random utility theory, is established.
Some vehicles may change lanes between different lanes in the adjacent road section.Using double lanes as an example, it can be abstracted as the situation shown in Figure 2b.Before entering the next section, vehicles can determine whether to change direction or keep going straight according to their current driving status.where, when entering the next section + 1 i from the current section i , 11 P is the probability of going straight from the current lane 1 L , 12 P is the probability of changing lanes from the current lane 1 L to lane 2 L , 21 P is the probability of changing lanes from the current lane 2 L to lane 1 L , and 22 P is the probability of going straight from the existing lane 2 L .There are two choices for the vehicles in section i of lane 1 L : continue straight or change lanes.The probability is respectively: exp( ) exp( ) exp( ) exp( ) exp( ) exp( ) 11 V is the fixed utility of going straight in lane 1 L , 12 V is the fixed utility of changing lanes from 1 L to 2 L .Similarly, there are two choices for vehicles in section i of lane 2 L -continue straight or change lanes-with probability as follows: where, when entering the next section i + 1 from the current section i, P 11 is the probability of going straight from the current lane L 1 , P 12 is the probability of changing lanes from the current lane L 1 to lane L 2 , P 21 is the probability of changing lanes from the current lane L 2 to lane L 1 , and P 22 is the probability of going straight from the existing lane L 2 .
There are two choices for the vehicles in section i of lane L 1 : continue straight or change lanes.The probability is respectively: V 11 is the fixed utility of going straight in lane L 1 , V 12 is the fixed utility of changing lanes from L 1 to L 2 .Similarly, there are two choices for vehicles in section i of lane L 2continue straight or change lanes-with probability as follows: V 22 is the fixed utility of going straight in lane L 2 , and V 21 is the fixed utility of changing lanes from L 2 to L 1 .
When making decisions on lane-changing, drivers need to not only consider the current road driving conditions, but also predict the next.Therefore, for the mesoscopic traffic flow model, fixed utility should include the time benefit of the average speed impact of the current section and downstream section, and the space benefit of the average density impact of the current section and downstream section, which can be expressed as follows: where V mni is the fixed utility of section i changing from lane m to lane n, m, n within {L 1 , L 2 }, v mi is the average speed of lane m in section i, k mi is the average density of lane m in section i, ∆v mni is the difference in average speed of downstream section i + 1 changing lanes from m to n, ∆v mni = v ni+1 − v mi+1 , ∆k mni is the difference in average density of downstream section i + 1 changing lanes from m to n, ∆k mni = k ni+1 − k mi+1 .When the expected utility is reached and the total inbound flow of straight driving and lane-changing is within the capacity range of the downstream section, it is considered that the vehicle can perform lane-changing behavior.

Double Lanes CTM
Daganzo established the CTM [34] with the concept of cellular automata to discretize time and space, which can describe the formation and dissipation of shock waves and queues and expand the scope of traffic flow mechanic properties from micro-to meso-level.Firstly, divide the time domain, making the research scope large enough to enable all vehicles to pass.Secondly, divide the road into sections according to fixed length, called cells.The cell length should be a distance that a vehicle normally travels in a free-flow state for a time step.

Cell Connection
There are three primary forms of cell connection; namely, direct connection, convergent connection, and divergent connection.

• Normal cell
As shown in Figure 3, for a simple connection between cells, the inbound traffic flow is equal to the outbound traffic flow at a node, and there is no convergence or divergence between cells.Cell b is the downstream cell of cell a, n a (t) is the number of vehicles in cell a on current step t, n b (t) is the number of vehicles in cell b on the current step t, S a (t) is the supply of cell a on the current step t, and R b (t) is the demand of cell b on the current step t.

Double Lanes CTM
Daganzo established the CTM [34] with the concept of cellular automata to discretize time and space, which can describe the formation and dissipation of shock waves and queues and expand the scope of traffic flow mechanic properties from micro-to meso-level.Firstly, divide the time domain, making the research scope large enough to enable all vehicles to pass.Secondly, divide the road into sections according to fixed length, called cells.The cell length should be a distance that a vehicle normally travels in a free-flow state for a time step.

Cell Connection
There are three primary forms of cell connection; namely, direct connection, convergent connection, and divergent connection.

• Normal cell
As shown in Figure 3, for a simple connection between cells, the inbound traffic flow is equal to the outbound traffic flow at a node, and there is no convergence or divergence between cells.Cell b is the downstream cell of cell a ,  From the perspective of supply and demand, the actual traffic flow f ab (t) from cell a to downstream cell b on time step t is expressed as follows: From the perspective of supply and demand, the actual traffic flow ( ) ab f t from cell a to downstream cell b on time step t is expressed as follows:

S t S t S t R t f t S t R t S t R t else
(16) where α is the import rate, α ≤ ≤ 0 1.

• Divergent cell
As shown in Figure 5, the flow of cell a diverges into cell b and cell c .At this time, the actual traffic flow f ab (t) from cell a to downstream cell b on step t and the existing traffic flow f cb (t) from cell c to downstream cell b on step t are expressed as follows: where α is the import rate, 0 ≤ α ≤ 1.

• Divergent cell
As shown in Figure 5, the flow of cell a diverges into cell b and cell c.

• Divergent cell
As shown in Figure 5, the flow of cell a diverges into cell b and cell c .Similarly, from the perspective of supply and demand, the actual traffic flow ( ) from cell a to downstream cell b on step t , and the actual traffic flow ( ) ac f t from cell a to downstream cell c on step t are expressed as follows: where, β is divergence rate, Similarly, from the perspective of supply and demand, the actual traffic flow f ab (t) from cell a to downstream cell b on step t, and the actual traffic flow f ac (t) from cell a to downstream cell c on step t are expressed as follows: where, β is divergence rate, 0 ≤ β ≤ 1.

Dynamic Cell
The mesoscopic cell transfer process of double lanes is designed as Figure 6 shows.The flow transferring between cells on current step t on the first lane f 1 i (t), and on the second lane f 2 i (t) are shown as follows, where Combining Equations ( 12), ( 13) and (20), double lanes CTM is obtained.

Simulation Experiment Results
The vehicle trajectory data of California I-80 highway in the Next Generation Simulation (NGSIM) data set of the United States is used for analysis, which is 1650 feet in length.
To study the dynamic transfer process of traffic flow dominated by free lane-changing in double lanes, we selected lane 1 and lane 2 of I-80 highway, which were least impacted by forced lane-changing.We divided the searching area into a cell by 50 m, and record the number of vehicles, the number of vehicles with free lane-changing, average speed, and average density counted every 2 s in each cell of each lane.In addition, it is necessary to calculate the average speed difference and average density difference of cells between adjacent upstream and downstream cells in different lanes.Finally, normalize the data obtained, unifying variables of different dimensions.

Mixed-Traffic Flow Fundamental Diagram Considering Fleet
According to Equation ( 7), the fundamental diagram of mixed-traffic flow with mixed motorcades can be obtained, which is primarily affected by the fleet size and CAV penetration rate.In Figure 7, the length of vehicle is l = 5 m, minimum safe distance is s = 2 m, free flow speed is v = 33.3m/s, HV expected safe time headway is T h = 1.5 s, AV expected safe time headway is T a = 1.2 s, and CAV expected safe time headway is T c = 0.6 s. .With the rise of CAV penetrance rate, critical density and congestion density grows, and road capacity is effectively improved.It is obtained from each diagram that CAV penetrance rate increases with the increase of fleet size; additionally, the maximum traffic capacity increases gradually as well as the critical density, while the congestion density remains the same.According to the fundamental diagram of mixed-traffic flow in Figure 7, the road capacity is analyzed with changes of CAV penetrance rate and fleet size, and intuitively exhibit the growth rate of maximum flow (based on fleet size It can be seen in Figure 8a that when the CAV penetration rate = 0.4 p , the maxi- The maximum capacity of mixed-traffic flow gradually increases with the CAV penetrance rate.When fleet size n c = 1 and CAV penetrance rate p = 0.8, the maximum flow increases by 710 veh/h when p = 0.2.When fleet size n c = 8 and CAV penetrance rate p = 0.8, the maximum flow increases by 706 veh/h when p = 0.2.With the rise of CAV penetrance rate, critical density and congestion density grows, and road capacity is effectively improved.It is obtained from each diagram that CAV penetrance rate increases with the increase of fleet size; additionally, the maximum traffic capacity increases gradually as well as the critical density, while the congestion density remains the same.According to the fundamental diagram of mixed-traffic flow in Figure 7, the road capacity is analyzed with changes of CAV penetrance rate and fleet size, and intuitively exhibit the growth rate of maximum flow (based on fleet size n c = 1).
It can be seen in Figure 8a that when the CAV penetration rate p = 0.4, the maximum flow growth rate always maintains a relatively high level; that is, the traffic capacity increases fastest.When p = 0.8, the maximum flow growth rate tends to increase steadily.Therefore, it is believed that the capacity can only improve when the CAV penetration rate is within a certain range.In Figure 8b, when the fleet size n c ≥ 6, the maximum flow growth rate is more than 2.5%.Therefore, the capacity increases significantly when the fleet size is within 6 − 8.In addition, the impact on traffic capacity caused by the continuous increase of fleet size is worth further exploring.1.

Utility Function Calibration
After processing, the sample size is balanced, and the data includes whether lane-changing is happening, the average speed and average density of current cells in different lanes, average speed difference, and average density difference between adjacent downstream cells.
We used SPSS to perform binomial logit regression on the processed data to obtain the final fitting result, which is shown in Tables 2 and 3.According to the analysis above, characteristic parameters of mixed-traffic flow with CAV penetration rate p = 0.4 and p = 0.8 of the fundamental diagram will be taken for comparison and analysis where there are only HVs.
Take traffic flow characteristic parameters when the CAV fleet n c = 8, penetrance rate p = 0.4 and p = 0.8 of the mixed-traffic flow fundamental diagram, and compare them with where there are only HVs running.The parameters are shown in Table 1.

Utility Function Calibration
After processing, the sample size is balanced, and the data includes whether lanechanging is happening, the average speed and average density of current cells in different lanes, average speed difference, and average density difference between adjacent downstream cells.
We used SPSS to perform binomial logit regression on the processed data to obtain the final fitting result, which is shown in Tables 2 and 3.It can be found that the occurrence of free lane-changing between cells mainly depends on current traffic conditions of cells and benefits of adjacent downstream cells.The p values of all parameters in each table are less than 0.05, indicating that these parameters have a significant impact on the utility function.Where lane-changing occurred is represented by 1, which is calculated in the output result, while where lane-changing did not occur is represented by 0. Therefore, the variable coefficients of utility function V 11 are the opposite of utility function V 12 , the coefficients of utility function V 22 and utility function V 21 are the same.
The average density of the current cell has a positive relationship with the utility function, which means that the higher current cell density is, the easier it is to change lanes.The average speed of the current cell has a negative relationship with the utility function, means the lower current cell speed is, the easier it is to change lanes.The correlation of average density difference and average speed difference is also consistent with the actual situation.It can be seen from the classification table that prediction results are about 70% and 60%, as shown in Tables 4 and 5, considering the fitting results are acceptable.This section may be divided using subheadings.It should provide a concise and precise description of the experimental results and their interpretation, as well as the experimental conclusions that can be drawn.With the increase in the CAV penetrance rate and fleet size, the average density of balanced-traffic flow raises for shorter average headway, as well as free-flow speed, transferring to downstream cells becomes faster.In the congestion state, when 2 L is closed, congestion occurs in 2 L immediately, in which case the lane changes to 1 L , causing congestion.Upstream of the congested section, as the number of outbound vehicles has not decreased, the number of inbound vehicles is still increasing, congestion With the increase in the CAV penetrance rate and fleet size, the average density of balanced-traffic flow raises for shorter average headway, as well as free-flow speed, Energies 2023, 16, 3108 14 of 17 transferring to downstream cells becomes faster.In the congestion state, when L 2 is closed, congestion occurs in L 2 immediately, in which case the lane changes to L 1 , causing congestion.Upstream of the congested section, as the number of outbound vehicles has not decreased, the number of inbound vehicles is still increasing, congestion spreads forward.The congestion degree upstream of L 1 is less than that of L 2 .Similarly, for the downstream section, leaving vehicles to run normally while the number of entering vehicles decreases, which improves downstream traffic conditions, and the downstream flow of L 1 is more stable than L 2 .The increase of CAV penetration rate and fleet size improves free flow speed and congestion wave speed, leading to faster congestion occurrence and dissipation, which conforms to reality.

Conclusions and Discussion
This paper starts by analyzing the driving characteristics of HV, AV, and CAV, considering the distribution of vehicles and the fleet.The analytic expression considering CAV fleet in the equilibrium state is derived, constructing the fundamental diagram of mixed-traffic flow.A lane-changing judgment mechanism based on random utility theory was then developed.Double-lane CTM based on random utility theory was established, realizing dynamic transmission between lane-level cells.Compared with the research of Yu [35] on macro traffic flow, this paper retains the micro-characteristics of vehicles, refines the distribution of vehicles and the arrangement of fleets, and fully considers the influence of the fundamental diagram of mixed-traffic flow combined with vehicle driving characteristics on road capacity at the meso-level.Research of Pan [36] proposed the CTM taking the lane-changing motivation into account, which depends on the setting of multiple combined demand parameters with a specific priority.The lane-changing Judgment Mechanism established in this paper uses actual data to calibrate, and the calculation of lane-changing motivation considering driving revenue is less.The main conclusions are as follows: (1) With the increase of CAV penetrance rate p and fleet size n c , the capacity of mixedtraffic flow can be effectively improved, as well as the critical density and maximum flow.(2) When CAV penetration rate and fleet size are within a certain range, the capacity can be improved more clearly.When p = 0.4, the maximum flow growth rate stays at a high level, and when fleet size n c is 6-8, the maximum flow growth rate is more than 2.5%.(3) Through analysis of simulation, it is verified that double lanes CTM established is in line with actual traffic flow change trend, proving effectiveness and feasibility of the model.
The model established in this paper reflects the influence of micro-car-following and lane-changing behavior at the meso-level and details the car-following characteristics of different types of vehicles and lane-changing rules.The random utility theory is applied to the judgment mechanism of free lane-changing, and dynamic double-lane flow transfer is realized by combining the traffic flow fundamental diagram model with CTM.Compared with previous studies, it thoroughly considered the influence of the fundamental diagram with vehicle-driving characteristics on the capacity at the mesoscopic level and developed the rules of lane-changing based on random utility theory in a mesoscopic view, which conforms to the inherent dynamic principle and operation mechanism of traffic flow.Since the mesoscopic traffic flow model only explores the mixed-traffic flow characteristics of double lanes, the characteristics of three lanes and above deserve further exploration and the application of multiple logit models.At the same time, the impact of intelligent vehicles on the road network can be deeply analyzed through the modeling of the urban traffic network and the study of traffic-flow transport mechanisms.Probability of going straight from existing lane L 2 n(t) The number of vehicles in cell on current step t S(t) Supply of cell on current step t R(t) Demand of cell on current step t f (t) Actual traffic flow from one cell to another on time step t road network model, which provides a new research idea for traffic dynamic assignment problems and shortens the research distance between road traffic flow and network traffic flow.

Figure 1 .
Figure 1.Structure of the paper.

Figure 1 .
Figure 1.Structure of the paper.

Figure 2 .
Figure 2. The lane-changing scene of (a) mesoscopic traffic flow model, and (b) abstraction of double-lane traffic flow transfer.

Figure 2 .
Figure 2. The lane-changing scene of (a) mesoscopic traffic flow model, and (b) abstraction of double-lane traffic flow transfer.
the number of vehicles in cell a on current step t , ( ) b n t is the number of vehicles in cell b on the current step t , ( ) a S t is the supply of cell a on the current step t , and ( ) b R t is the demand of cell b on the current step t .
shown in Figure 4, the flow of cell a and cell c converges into cell b . of vehicles in cell c on the current step t , and ( ) c S t is the supply of cell c on the current step t .

Figure 4 .
Figure 4. Convergent connection among cells.At this time, the actual traffic flow

Figure 6 .
Figure 6.Double lanes traffic flow dynamic transfer process.

Figure 7 .
Figure 7. Fundamental diagram of different CAV fleet size and penetrance rate with (a) = 0.2 p

Figure 8 .p
Figure 8. Change of maximum flow growth rate with (a) fleet size and (b) CAV penetrance rate.According to the analysis above, characteristic parameters of mixed-traffic flow with CAV penetration rate = 0.4 p

Figure 8 .
Figure 8. Change of maximum flow growth rate with (a) fleet size and (b) CAV penetrance rate.

3. 3 . 18 3. 3 .Figure 9 .
Figure 9.There are all HVs on the road under (a) the free flow state; (b) the state of 1 L ; (c) the state of 2 L respectively showing the congestion expresses on different lands.When CAV penetration rate is 0.4 under (d) the free flow state; (e) the congestion state of 1 L ; (f) the congestion state of 2 L .Similarly, when CAV penetration rate is 0.8 under (g) the free flow state; (h) the congestion state of 1 L ; (i) the congestion state of 2 L .

Figure 9 .
Figure 9.There are all HVs on the road under (a) the free flow state; (b) the state of L 1 ; (c) the state of L 2 respectively showing the congestion expresses on different lands.When CAV penetration rate is 0.4 under (d) the free flow state; (e) the congestion state of L 1 ; (f) the congestion state of L 2 .Similarly, when CAV penetration rate is 0.8 under (g) the free flow state; (h) the congestion state of L 1 ; (i) the congestion state of L 2 .

Table 2 .
Variables in utility equation changing from lane 1 to lane 2.

Table 2 .
Variables in utility equation changing from lane 1 to lane 2.

Table 3 .
Variables in utility equation changing from lane 2 to lane 1.

Table 4 .
Classification table in utility equation changing from lane 1 to lane 2.