Dynamic Traffic Congestion Simulation and Dissipation Control Based on Traffic Flow Theory Model and Neural Network Data Calibration Algorithm

1School of Computer Software, Tianjin University, Tianjin 300072, China 2Department of Computer Science and Engineering, Faculty of Engineering, The Chinese University of Hong Kong, Shatin 999077, Hong Kong 3Open Laboratory of Geo-Spatial Information Technology andApplication of Guangdong Province, Guangzhou Institute of Geography, Guangzhou 510070, China 4Guangzhou Yuntu Information Technology Co., Ltd., Guangzhou 510665, China 5Guangzhou Entry-Exit Inspection and Quarantine Bureau, Guangzhou 510623, China 6School of Mechanical and Electrical Engineering, Guangzhou University, Guangzhou 510006, China


Introduction
Traffic congestion is a common problem in many countries, especially in big cities. As far as our country is concerned, it is gradually spread to the medium cities and even small cities. This has brought a huge negative impact on the economic and social development of the region. For travelers, traffic congestion will lead to increased travel time, travel costs, and the quality of travel. From the point of view of traffic management, traffic congestion will result in higher operating costs and low efficiency of traffic network. At the social level, traffic congestion will cause traffic accidents, air pollution, noise pollution, and other environmental issues. Research on the formation and propagation of traffic congestion is a new technology to control the traffic jam. The sources of traffic congestion can be summarized into three categories: (1) the temporary barrier; (2) the bottleneck of the network's capacity which is the bottleneck; (3) the random fluctuation of a particular region in the network. In this paper, traffic congestion under accident conditions is the first kind of traffic congestion caused by traffic congestion. All known and unknown events affecting the road traffic flow are collectively referred to as traffic accidents [1]. At present, China's urban road traffic accidents occur frequently, the 2 Complexity occurrence frequency is high, the accident causes traffic congestion, and accidents cause traffic congestion and vice versa. The occurrence of traffic accidents usually leads to the reduction of road traffic capacity and the formation of traffic bottlenecks, causing the traffic congestion. If the accident cannot be cleared in time, the vehicle will be up to the upper section of the line after the queue. If there is no timely evacuation, traffic congestion will quickly spread on the network, so as to increase the delay time of the traveler. Studies have shown that exiting road canalization is unreasonable, it is easy to form closed-loop congestion phenomenon in the dissipation of congestion. Congestion closed loop is the formation of the queue of the tail back to the congestion of the starting point. Once a closed loop is formed, traffic congestion itself is difficult to dissipate in the absence of artificial intervention [2].
In this paper, the formation and propagation of traffic congestion are simulated by using the improved medium traffic model, and the control strategy of congestion dissipation is studied. As the traffic congestion is mainly caused by accidents, temporary traffic control measures are the prohibition of the left, the prohibition of the right, and the right to ban. Vehicle ban measures can make originally lined up waiting vehicle restarted and select the way leaving the congested area. More important, timely application of vehicle turn prohibition measures can effectively avoid the formation of closed-loop congestion; even under conditions of closedloop congestion vehicles are prohibited from turning to relieve the closed-loop congestion, so as to avoid congestion of malignant spread [3].
From the point of view of quantitative traffic congestion, the paper provides the fact that the simulation platform of urban traffic integration is constructed and a feasible data analysis method is proposed, which is used to determine the corresponding decision support system. The model is based on the international application of extensive and sophisticated series of software, which is based on learning and parameter calibration [4][5][6][7][8][9][10][11], optimization of macro simulation model, maintenance, macro (network), and medium (node and intersection). Through the platform and model, it forms the traffic state analysis of data support and auxiliary analysis platform, improving the urban road traffic forecasting ability, to provide the necessary technical support for the establishment of the urban project construction traffic impact assessment system.

Traffic Flow Theory Model and Data
Calibration Algorithm 2.1. Traffic Flow Theory Introduction. Different traffic models can play a role in different aspects. From space, the macro traffic model can be used to analyze the main road network in the whole area, and the medium traffic model can be used to analyze a certain local project area, which can be used to support traffic planning and traffic engineering. In time, the macro traffic model takes a day or a peak hour as the scale; the medium traffic model is built on a smaller scale (e.g., every hour, every 15 minutes, and every minute); and the microscopic traffic simulation model can be fine to the second unit (e.g., every second, every 0.1 seconds). The medium traffic model is based on the four steps of traffic planning in the macroscopic traffic model. By using the information of the basic road network, the traffic demand information is updated and the traffic assignment method is used to achieve the traffic model to express the actual state of the road network. Medium traffic model is more detailed, in addition to primary and secondary roads and main roads, and it also includes a small road. In the medium traffic model, it is necessary to take account of its drainage and traffic control methods and to consider the signal timing scheme for signal control intersection. Medium traffic model is the second level of traffic research as a supplementary tool, direct simulation of the macro background, the development and adjustment of the land, the layout of the land, and the improvement of the regional transportation system. The micro model reflects and simulates the operation process of a single vehicle in the road network, directly simulating the operation of traffic guidance and signal control. The microscopic traffic simulation model is further refined to a number of intersections, and the parameters of each lane are set up, which can be analyzed in detail. In time, the microscopic traffic simulation model can be refined to a second as a unit (e.g., every 0.1 seconds). As the auxiliary tool of the third levels of traffic research, the model of the onlookers is analyzed and compared with the indexes of the vehicle running process, and the detailed design scheme of the local traffic improvement measures and signal optimization measures are evaluated and analyzed [7]. From the perspective of traffic demand and traffic supply, the medium traffic model is to analyze the causes of traffic congestion and to analyze the congestion control scheme.

Meso Traffic Dynamics Model.
In this study, the Zhuzilin area is used to establish an example of a mesoscopic traffic model for congestion cause analysis and to make recommendations for improvement, comparison, and analysis of schemes. As this project is mainly integrated model of the technical analysis method research, the results may be different from the actual traffic conditions.
The traffic flow theory model can be divided into macro and micro methods. In view of the dynamic model, the dynamic model can meet the requirements of accuracy and has good real-time performance, so it is a hot spot in the field of intelligent transportation.

Queuing Theory.
According to the queuing theory, the queuing delay of the queue in the car is , which represents lane group output capacity (such as vehicle queue dissipation rate; traffic control signal influence on traffic flow can reflect on the change of ); is number of vehicles for departure time ; if a mobile vehicle at time reached the tail of the queue, its position is where (0) is the location; the end of the time = 0 = 0, and from 1 jam is the average length of the vehicle. = 1/ jam Jam is crowded density; is the number of vehicles in time = 0 between the inspection of vehicles and the end of the queue of vehicles running. In fact, the number of vehicles entering the queue before the vehicle is considered.
It is worth noting that the applicable conditions of the model are 0 < ( ) < . (3)

Speed Model.
In the medium traffic simulator, the traffic network is divided into the connecting line, the node, and the loading point. Each connecting line is divided into a plurality of segments, each segment containing a moving element and a queue element [12,13]. The speed of the vehicle in the moving element is determined by the velocity density model. The model is based on the assumption that the upstream part of the section is kept constant, the downstream part contains a deceleration area, and the speed of the vehicle in the region varies linearly with the position (as shown in Figure 1), where V is the speed of the end of the section of the section, V is the speed of the end of the section of the section, and is the length of the deceleration area. is related to the terrain features and traffic conditions of the section. The upstream end of the road is set at 0 points, and the length of the section is , then the downstream end of the road is located at the position of , which establishes the relationship between the speed and position If there is no queuing phenomenon, the speed at the downstream end of the section is affected by the traffic conditions of the lower section of the section. If there is a vehicle queue phenomenon in the section, the speed of the lower end of the section is determined by the line dissipation rate (i.e., the output capacity). The velocity V of the upstream end of the segment is a function of the average density of the segment moving unit:

Vehicle Moving Model.
In this paper, we use the classical model of medium traffic. In the section of the moving part, the speed of the vehicle moving is determined by the speed-density model, which is based on the fixed speed. The deceleration area, if there is no queuing, assumes that beginning from 0, the vehicle is located in 0 ; the vehicle at the time of ( ) is defined as Assume that the time is = 0, the vehicle is located in 0 , and then the position is If there is a queue at the location ( ), then the location of the vehicle at any time is given by the following formula:

Data Calibration Algorithm Based on RBF Neural
Network. RBF neural network is the radial basis function (RBF) as a hidden unit "base," constituting a hidden layer, hidden layer to the input vector transform, which can realize the nonlinear mapping from input to output. From the geometric sense, it is equivalent to the given sparse samples point to restore a continuous hypersurface to the point; in the surface to meet the sample value, the network application is equivalent to the estimation of the unknown point value. The learning methods are as follows [14,15].
Defining the network training sample input as , the actual output of the output neurons is Among them, the Green function ( , ) = ( , ) is commonly chosen as the basic function; the objective function can be defined as = (1/2) ∑ =1 2 , is the number of training samples, and is the signal error, which is defined as = − ( ) = − ∑ =1 (‖ − ( )‖ ).

Basic Hypotheses.
In the two-way traffic network, the segments are subdivided into segments (Figure 4), and the segments have the same physical characteristics. Each section of the lower reaches its capacity constraints, known as the output capacity. The size of the output power depends on the physical characteristics of the road (such as the width and the slope) or unexpected events, control facilities, and so forth. The section upstream is a mixed traffic area, the area is mixed with the vehicles in each direction of traffic flow, the lower reaches of the area, and the vehicle runs in parallel and independent of each other. The drainage area is subdivided into three separate subregions, which are used for turning, left, straight, and right. In view of the path selection, traffic demand, road characteristics, and so on, this paper makes the following assumptions: (1) The traffic between any OD pairs is constant. All paths are obtained by the literature, and they will not change their travel path because of the congestion, unless the traffic control is implemented. If obstacles cannot be cleared in time, the line will eventually extend and cross over to the other lanes, causing traffic jams on the road.

Spatial
Structure of Traffic Jam. If a traffic accident occurs in the traffic network, it might as well assume that a road from east to west in the network will cause a sharp drop in the traffic capacity of the road. When the vehicle line up to the intersection of the road, the plan is to turn left (from south to north) or turn right (north to south) into the road to form a new line of vehicles. Vehicle queue continues to spread until the upstream intersection and causes more road congestion. The distribution of traffic congestion on the network is given after a period of traffic accident. It can be seen that the traffic jam on the space structure is generally a diamond structure. But according to the latest research results show that there is no accident of two-way lattice network congestion space structure which is generally a central symmetrical graphics. After the accident, the traffic jam is extended from the accident to the tree structure, which is shown in the paper. If the accident lasts long enough, the range of Congestion Propagation in four directions to the four corners of the world will be roughly the same. This feature is crucial to ease traffic congestion, because these sections for jam provide a buffer zone.
In order to show the growth process of congestion, Figure 1 depicts the conditions where there is no artificial intervention in the Congestion Propagation tree. Figure 1 (left) shows the process of the accident which removes the previous congestion growth process. It can clearly see the scale of the congestion and the network in which each section of the road is in a congested state of the total time. Figure 1 (right) shows the formation of a closed loop. When the accident lasts long enough, the stop line width is divided into an unreasonable (turning direction allocation), and the closed loop is formed in the process of the traffic accident relief. Once the incident is cleared, the vehicle starts and generates the start wave. At the same time, the upper reaches of the vehicle continue to enter the congested area. At first, a straight line of vehicles can effectively leave the congestion area, while the queue also looks to start to dissipate and then turn the vehicle quickly to get to the end of the initial line and line up [16]. Due to the distribution of the direction of the traffic flow direction of the car park, the traffic flow direction is insufficient, which causes that the turning vehicles cannot leave the congestion area in time. Sometime later, straight line direction of the traffic flow is affected by the turning of the vehicle and fewer vehicles are pulled out of the jam area, while the arrival of regional congestion of vehicles is increasing. This has led to a growing traffic congestion. Without manual intervention, congestion will continue to grow until the entire network is covered.

New Congestion Control Strategy.
In a one-way street grid, the exit of a section of the road is divided into two directions: straight and turning (left or right). In this form of traffic, the vehicle can be used to restrict the area of the vehicle entering the area by using the measures to prohibit the use of a straight line or a turn. In the two-way traffic network, the export of road segments needs to be divided into three directions: turn left, go straight, and turn right. For the same section, not only can the straight line of the vehicle enter the congested area, but also left or right turn vehicle can also enter the congested area. In this form of transportation, the simple    use of a ban on the use of direct line of measures cannot effectively limit the congestion area of the vehicle to enter the congested area. Thus, the existing congestion control strategy for a one-way street network can not be completely copied to the two-way traffic network [17].
In this paper, the congestion control strategy is to turn prohibition and the vehicles intelligent behavior, and in the periphery of the congested area a vehicle prohibition area is established, while the vehicle changes its route in congested area to take a temporary path. According to the shape of the congestion, the control strategy is presented as follows: (1) single track control strategy, (2) multiline control strategy, (3) control strategy, and (4) tree control strategy.
The fourth kind of control strategy is proposed in this paper that the formation of congestion is not only concerned with the site of the incident and traffic network structure and other factors are inseparable, but two-way lattice network, Congestion Propagation, should be in the path that the accident site is in the OD of the shortest path, whose shape is similar to the tree branches. So it is necessary to execute a variety of intelligent or artificial control measures in the periphery of the structure of congestion; hence the name is the tree control strategy [12,[18][19][20]. Of course, this is no longer a single restriction; there is also induction of realtime path selection behavior. In the medium traffic model, the measures are forbidden to turn and real-time route choice in order to ease the traffic congestion. In the paper, the vehicle is used to cancel the condition that if the traffic congestion at the lower reaches the accident site which is completely dissipated, all the measures will be cancelled immediately.

Case Study
In this paper, we observe the average density flow rate and other indicators in the above conditions, so as to judge the congestion of the network. Secondly, the OD is set up, the OD points are defined, and the fourth kind of congestion dissipation strategies are adopted. Average density flow rate and other indicators are then analyzed. The accident occurred at the beginning of the accident upstream, if the entire simulation time is not to take any measures, then the queue continues to spread. According to the concept of traffic model, the traffic flow and saturation Zhuzilin area distribution are as shown below. From the perspective of traffic demand and traffic supply, the medium traffic model is to analyze the causes of traffic congestion and to analyze the congestion control scheme. In this study, the Zhuzilin area is used to establish an example of a mesoscopic traffic model for congestion causes analysis and to make recommendations for improvement. Because this project is mainly integrated model of the technical analysis method research, the results may be different from the actual traffic conditions. As can be seen from Figure 3, the Zhuzilin area is the main point of congestion on Zhuzilin Road, specifically, the six roads leading to the Shennan Boulevard Voeux Road (circled in red) sections. Using the Visum flow bundle function, the view of the road traffic situation is shown in Figure 4.  The spider web analysis diagram shows that this section of the traffic is mainly to the Shennan Road East of the Uturn car flow, which has a part of the traffic flow or through the northwest corner of the intersection of Shennan Avenue-Mangrove Road (pictured in red circle location) leading to the Shennan Road East. This part of the car flow is from four Zhuzilin Road left turn lanes into Shennan Avenue. We use flow bundle function and check the traffic situation of the four Zhuzilin Road left turn lanes into Shennan Avenue.
It is found that the traffic from the four Zhuzilin left turn lanes into Shennan Road traffic is large. Therefore, the Shennan Avenue-Mangrove Road intersection signal control and channelization schemes were studied. It is found that the north entrance of the left turn traffic green signal ratio is only 0.14. According to the investigation of the saturation current of the intersection, the distance of the head is 2.53 seconds; that is, the saturation capacity of single lane is 1400 pcu/h. From this calculation, the actual turning capacity is 2.5 * 1400 * 0.14 = 490 pcu/h. At the same time, Shennan Road East imports the leftmost lane for left U-turn lane (due to the presence of two dedicated left turn lanes, the survey found that the lane is 80% of the traffic to U-turn car flow), and the green signal ratio is 0.28, which is calculated to get the actual turnover capacity for 0.8 * 1400 * 0.28 = 310 pcu/h. When the volume from the four Zhuzilin left turn lanes into Shennan Road traffic is excessive, part of the traffic flow opts to reach Zhuzilin Road via the six lanes of Shennan Avenue after making a U-turn after traveling east, which is shown in Figure 5.  Thus, the main cause being the four Zhuzilin left lanes overloading Shennan Road's traffic capacity is insufficient. According to the above reasons, to improve the design of Zhuzilin four Shennan Road, it is necessary to increase the capacity of left turn including the increase of the steering drive and improving the green letter. Considering that there are already 2.5 left turn lanes, the proposed method is proposed to improve the green letter ratio. Also, the fourth control strategy is used.
Thus, the calculated regional traffic flow and saturation distribution are shown as Figures 6 and 7.
It can be seen from Figure 6 and 7 that the improved scheme can be significantly decreased by routing six lanes of traffic from Zhuzilin Road into Shennan Boulevard des Voeux Road traffic; the traffic will choose four Zhuzilin Road left turn lanes into Shennan Avenue. At the same time, however, we also found that the congestion of the four Zhuzilin Road turn lanes increased, which requires further analysis, which we have deferred.

Microscopic Traffic Model.
Microscopic traffic model is based on the driving of vehicles in the road network and analyzes the bottleneck of the traffic congestion, and the improvement of the bottleneck points is analyzed [14]. In this section, for project established using the Zhuzilin area microscopic traffic model, for example, the congestion bottleneck analysis and process improvement measures are presented. Because this project is mainly integrated model of the technical analysis method research, the results may be different from the actual traffic conditions. As shown in the Figure 8, the location of the congestion bottleneck through the vehicle queue is determined.
Analysis of the queuing situation is due to the formation of the main road, and the middle section is the bottleneck of the whole road traffic. Microscopic traffic model can be used to analyze the causes of sudden traffic congestion and traffic congestion, to analyze the feasibility of the scheme, and to evaluate the effect of different traffic congestion on the traffic flow. The simulation of the emergency traffic congestion is analyzed. The microscopic traffic model analysis method used in the traffic congestion is similar to that used in the analysis of the traffic congestion. Therefore, in this section, for the project established using the Zhuzilin area microscopic traffic model, for example, the congestion response speed and evacuation analysis process are discussed.
Because this project is mainly integrated model of the technical analysis method research, the results may be different from the actual traffic conditions. In the microscopic model, an accident caused by a road bypass signal lamp is simulated. For example, we have to take 10 minutes to complete the accident, and the accident occurred in the tenth minutes. The signal light can be then synchronized with the red light for about 600 s, until about 1200 s, when it is synchronized with the green light, as shown in Figures 9-13.

Conclusion
Traffic incident is one of the main reasons leading to the traffic jam. In this paper, the traffic congestion caused by accidents is simulated by using the improved medium traffic model, and the propagation law of traffic congestion is found. The control strategy is put forward for the first time. The simulation results also prove that the control strategy proposed in this paper is effective and feasible. According to the temporal and spatial evolution of the paper, we can see that the network has been improved on the whole. But the paper is still showing many irregularities, such as not considering the use of advanced intelligent transportation methods for congestion control, cross-signaling intersection control, and information guidance. Also not considered was the use of more advanced traffic prediction methods, informed in advance by dynamic network information, and antiblocking, as well as the effective combination of the above-mentioned methods. This is also the direction of future efforts of the author.