Nothing Special   »   [go: up one dir, main page]

CN112991745B - A method for dynamic cooperative allocation of traffic flow in a distributed framework - Google Patents

A method for dynamic cooperative allocation of traffic flow in a distributed framework Download PDF

Info

Publication number
CN112991745B
CN112991745B CN202110480692.4A CN202110480692A CN112991745B CN 112991745 B CN112991745 B CN 112991745B CN 202110480692 A CN202110480692 A CN 202110480692A CN 112991745 B CN112991745 B CN 112991745B
Authority
CN
China
Prior art keywords
traffic
road
time
road segment
vehicle
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110480692.4A
Other languages
Chinese (zh)
Other versions
CN112991745A (en
Inventor
刘宝举
龙军
邓敏
石岩
杨学习
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Central South University
Original Assignee
Central South University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Central South University filed Critical Central South University
Priority to CN202110480692.4A priority Critical patent/CN112991745B/en
Publication of CN112991745A publication Critical patent/CN112991745A/en
Application granted granted Critical
Publication of CN112991745B publication Critical patent/CN112991745B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/01Detecting movement of traffic to be counted or controlled
    • G08G1/0104Measuring and analyzing of parameters relative to traffic conditions
    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/01Detecting movement of traffic to be counted or controlled
    • G08G1/0104Measuring and analyzing of parameters relative to traffic conditions
    • G08G1/0125Traffic data processing
    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/07Controlling traffic signals
    • G08G1/08Controlling traffic signals according to detected number or speed of vehicles

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Chemical & Material Sciences (AREA)
  • Analytical Chemistry (AREA)
  • Traffic Control Systems (AREA)

Abstract

The invention discloses a traffic flow dynamic cooperative allocation method under a distributed framework, which is characterized in that a plurality of virtual local sub-planning centers are established by taking an intersection as a secondary allocation unit, and each sub-planning center manages a plurality of road sections connected with the intersection. Each sub-planning center replans the traffic route for the vehicle in the local area according to a specific rule and selects the next traffic road section. The flow distribution process of the sub-planning centers can be synchronously carried out, and the flow distribution result is finally fed back to the previous level, so that the traffic flow distribution efficiency is greatly improved; meanwhile, a dynamic cooperative distribution method for the traffic flow facing the urban road network is provided by distributing the traffic flow to the road sections by means of a bidding mechanism in the market behavior. The method comprises the steps of firstly analyzing and screening congested road intersections on the basis of road impedance analysis, taking the congested road as a bidder in each congested intersection intelligent agent, taking the unblocked road as a bidder, and allocating vehicles to the bidding road with the highest bid price by adopting a bidding mechanism.

Description

分布式框架下交通流动态协同分配方法A method for dynamic cooperative allocation of traffic flow in a distributed framework

技术领域technical field

本发明属于交通工程领域,具体涉及一种分布式框架下交通流动态协同分配方法。The invention belongs to the field of traffic engineering, and in particular relates to a method for dynamic collaborative allocation of traffic flow under a distributed framework.

背景技术Background technique

交通流动态分配理论是研究交通网络流的核心,高效的路由选择算法是地理信息、交通乃至整个网络科学领域需要解决的关键问题。动态交通分配具体为将时变的交通出行需求按照既定规则分配到道路网络中。自从第一次提出动态交通分配的概念以来,交通领域的国内外学者发展出了四类动态交通分配的研究方法:数学规划方法、最优控制方法、变分不等式方法以及计算机模拟方法。数学规划方法是通过构建符合动态Wardrop系统最优或用户最优原则的非线性多目标数学规划模型向路段分配交通流量;虽然该方法能够保证最优解,但复杂的数学约束、低效的求解算法和FIFO规则限制了该方法仅能作为较小规模简单网络的验证手段。最优控制方法利用最优化控制理论,将动态流分配转变为一个连续的最优控制问题,通过控制最优值条件确定交通流分配状态;这类模型通常被转化为时间离散的整数规划问题进行求解,但目前仍缺乏成熟高效的求解算法。变分不等式方法将动态交通分配分为网络加载和网络分配两步,并将原问题分解为子线性规划问题求解。计算机模拟方法则能对每一次迭代分配过程中的交通流信号行为进行模拟,但通常无法从自身解的角度分析结果收敛性和精度。这些交通流动态分配方法丰富了交通分配的理论基础,但构建的模型复杂、求解算法低效、假设条件理想,使得他们难以适用于具有复杂结构的大规模城市道路网络环境。The dynamic distribution theory of traffic flow is the core of the study of traffic network flow. Efficient routing algorithm is a key problem that needs to be solved in the field of geographic information, traffic and even the whole network science. Dynamic traffic allocation is to allocate the time-varying traffic travel demand to the road network according to the established rules. Since the concept of dynamic traffic assignment was first proposed, scholars at home and abroad in the field of transportation have developed four types of research methods for dynamic traffic assignment: mathematical programming method, optimal control method, variational inequality method and computer simulation method. The mathematical programming method allocates traffic flow to road sections by constructing a nonlinear multi-objective mathematical programming model that conforms to the dynamic Wardrop system optimality or user optimality principle; although this method can guarantee the optimal solution, complex mathematical constraints and inefficient solutions Algorithms and FIFO rules restrict this method to be used only as a verification method for small-scale simple networks. The optimal control method uses the optimal control theory to transform the dynamic flow distribution into a continuous optimal control problem, and determines the traffic flow distribution state by controlling the optimal value condition; this type of model is usually transformed into a time-discrete integer programming problem. However, there is still a lack of mature and efficient solution algorithms. The variational inequality method divides the dynamic traffic assignment into two steps: network loading and network assignment, and decomposes the original problem into sub-linear programming problems to solve. Computer simulation methods can simulate the behavior of traffic flow signals in each iterative allocation process, but usually cannot analyze the convergence and accuracy of the results from the perspective of their own solutions. These traffic flow dynamic allocation methods enrich the theoretical basis of traffic allocation, but the complex models, inefficient solution algorithms, and ideal assumptions make them difficult to apply to large-scale urban road network environments with complex structures.

同时现有技术也存在如下缺点:(1)集中式的全局交通流分配框架导致的算法效率低下问题。在集中式的全局配流框架中,为了确定车辆从当前位置到目标点的最优路径,需要根据交通流实时位置度量所有路段的阻抗,算法时间复杂度为O(n×m×t),其中n为车辆数量;m为路段数量;t为重规划次数。所有交通流和所有路段的无差别计算不仅导致交通流分配效率的急剧下降,交通流分配方案在很大程度上也可能与前一时间步长存在重合生成完全一致的方案。与此同时,全局协同架构也造成了计算压力负载过大和鲁棒性低下的问题。At the same time, the existing technology also has the following shortcomings: (1) The problem of low algorithm efficiency caused by the centralized global traffic flow distribution framework. In the centralized global flow distribution framework, in order to determine the optimal path of the vehicle from the current position to the target point, it is necessary to measure the impedance of all road segments according to the real-time position of the traffic flow. The time complexity of the algorithm is O(n×m×t), where n is the number of vehicles; m is the number of road sections; t is the number of re-planning. The indiscriminate calculation of all traffic flows and all road segments not only leads to a sharp drop in the efficiency of traffic flow allocation, but also the traffic flow allocation scheme may overlap with the previous time step to a large extent to generate a completely consistent scheme. At the same time, the global cooperative architecture also causes the problems of excessive computational load and low robustness.

(2)交通流分配规则不合理导致的路网整体通行效率低下问题。交通流分配问题中,用户的路径选择可以看作多车辆与多可行路段的复合指派过程,任何道路都允许多个车辆通行,单个车辆也可以将多条路段作为候选解。所以,动态交通配流是一个典型的组合优化问题,众多复杂路段、多步长的车辆以及道路承载率的不断变化导致联合策略空间巨大。在给定m个路段节点、n个车辆任务以及t次动态配流的情形下,动态配流问题的候选解数目最多将达到t×(m/2)×n-1)!个。这种候选解组合爆炸的危险是造成分配方案的路网通行能力低下的主要原因。(2) The overall traffic efficiency of the road network is low due to unreasonable traffic flow distribution rules. In the problem of traffic flow allocation, the user's path selection can be regarded as a compound assignment process of multiple vehicles and multiple feasible road segments. Any road allows multiple vehicles to pass, and a single vehicle can also use multiple road segments as candidate solutions. Therefore, dynamic traffic distribution is a typical combinatorial optimization problem. Many complex road sections, vehicles with multiple steps, and the continuous change of road load rate lead to a huge space for joint strategies. Given m road segment nodes, n vehicle tasks and t times of dynamic distribution, the number of candidate solutions to the dynamic distribution problem will be at most t×(m/2)×n-1)!. The danger of this candidate solution combinatorial explosion is the main reason for the low traffic capacity of the road network of the allocation scheme.

发明内容SUMMARY OF THE INVENTION

本发明的目的在于提供一种分布式框架下交通流动态协同分配方法,该方法能够提升交通配流效率。The purpose of the present invention is to provide a method for dynamic cooperative distribution of traffic flow under a distributed framework, which can improve the efficiency of traffic distribution.

本发明提供的这种分布式框架下交通流动态协同分配方法,包括如下步骤:The method for dynamic cooperative allocation of traffic flow under this distributed framework provided by the present invention includes the following steps:

S1.为所有车辆规划初始路线方案;S1. Planning an initial routing scheme for all vehicles;

S2.统计当前路网车辆,当前路网车辆大于预设数值时,进行下面步骤处理;否则,统计路段流量并输出所有车辆协同分配结果,结束当前交通流动态协同分配过程;S2. Count the current road network vehicles. When the current road network vehicles are greater than the preset value, the following steps are performed; otherwise, the traffic flow of the road section is counted and the results of the cooperative allocation of all vehicles are output, and the dynamic cooperative allocation process of the current traffic flow is ended;

S3.统计当前时刻所有路段的交通密度;S3. Count the traffic density of all road sections at the current moment;

S4.根据拥堵的交通密度阈值判定路段拥堵情况;路段不拥堵时进行步骤S5,否则进行步骤S6;S4. Determine the congestion situation of the road section according to the congestion traffic density threshold; if the road section is not congested, go to step S5; otherwise, go to step S6;

S5.提取上一次迭代的路线方案FL,并进行步骤S8;S5. Extract the route scheme FL of the previous iteration, and go to step S8;

S6.提取拥堵路段上重新规划路径的车辆集合T;S6. Extract the vehicle set T of the re-planned route on the congested road section;

S7.根据招投标机制重新规划路径的车辆集合T内车辆的路线方案FN;S7. The route scheme FN of the vehicles in the vehicle set T that re-plans the route according to the bidding mechanism;

S8.输入新的交通需求,并根据步骤S7的重新规划路径的车辆集合T内车辆的路线方案FN或步骤S5的上一次迭代的路线方案FL更新车辆位置;S8. Input the new traffic demand, and update the vehicle position according to the route scheme FN of the vehicles in the vehicle set T of the re-planned route in step S7 or the route scheme FL of the previous iteration in step S5;

S9.完成上述步骤,统计路段流量并输出所有车辆协同分配结果;S9. Complete the above steps, count the traffic of the road section and output the results of all vehicle collaborative allocation;

其中,在所述招投标机制中,每一个投标路段节点获取k条最优的最短路径作为从当前路段到目标点的候选流量加载策略,根据路径的通行阻抗k条路径都有被选择的概率;OD对u的第j条路径的被选择概率

Figure DEST_PATH_IMAGE001
为Among them, in the bidding mechanism, each bidding road segment node obtains k optimal shortest paths as candidate traffic loading strategies from the current road segment to the target point, and k paths have a probability of being selected according to the traffic impedance of the paths ; OD's probability of being selected for the jth path of u
Figure DEST_PATH_IMAGE001
for

Figure DEST_PATH_IMAGE003
Figure DEST_PATH_IMAGE003

其中,OD为起讫点,θ为度量出行车辆感知误差程度的离散参数;

Figure 727263DEST_PATH_IMAGE004
为OD对u的第j条路径的投标路段的投标价格;Ju为OD对u之间k条候选路径的集合;Among them, OD is the starting and ending point, and θ is a discrete parameter that measures the degree of perception error of the traveling vehicle;
Figure 727263DEST_PATH_IMAGE004
is the bid price of the bidding section of the jth path of OD to u ; Ju is the set of k candidate paths between OD and u;

基于以上路径选择概率投标者Bidder为每一车辆任务分配最优路径,并向招标方Tenderer提交任务方案BTe及其对应的路径阻抗报价VeBased on the above path selection probability, bidder Bidder assigns an optimal path for each vehicle task, and submits a task plan BT e and its corresponding path impedance quotation V e to the tenderer Tenderer.

步骤S3交通密度指某一时刻单位长度的道路上存在的交通量,某时刻路段r的交通密度计算为:Step S3 The traffic density refers to the traffic volume existing on the road of a unit length at a certain time, and the traffic density of the road segment r at a certain time is calculated as:

Figure DEST_PATH_IMAGE005
Figure DEST_PATH_IMAGE005

式中:Lr为路段r的长度,

Figure 473633DEST_PATH_IMAGE006
为路段r上第i个簇的车辆数目;In the formula: L r is the length of the road segment r,
Figure 473633DEST_PATH_IMAGE006
is the number of vehicles in the i-th cluster on road segment r;

当前时刻路段的交通密度不大于0.9倍当前时刻路段拥堵时的交通密度时,路段上车辆不更改路线方案,在此时间步长内继续按照上一时间步长的路径方案行驶;否则,路段上车辆根据招投标机制重新规划路由方案。When the traffic density of the road section at the current moment is not greater than 0.9 times the traffic density when the road section is congested at the current moment, the vehicles on the road section do not change the route plan, and continue to drive according to the route plan of the previous time step within this time step; otherwise, on the road section The vehicle re-plans the routing scheme according to the bidding mechanism.

招投标机制包括如下步骤:The bidding mechanism includes the following steps:

(1)计算路段阻抗;(1) Calculate the impedance of the road section;

(2)获取流量加载策略,计算路径被选择的概率。(2) Obtain the traffic loading strategy and calculate the probability that the path is selected.

步骤(1),计算路段阻抗具体包括如下步骤:Step (1), the calculation of road section impedance specifically includes the following steps:

1)确定路网中每条路段的阻抗;1) Determine the impedance of each road segment in the road network;

2)计算交通拥堵状态下的路段通行时间;2) Calculate the travel time of the road section in the state of traffic congestion;

3)基于路段通行时间构建路段阻抗矩阵,作为计算流量分配方案的报价。3) Build a road segment impedance matrix based on the passage time of the road segment, which is used as the quotation for calculating the traffic distribution scheme.

步骤1),路段阻抗采用车辆运行时间作为出行代价,不发生拥堵的路段通行时间由BPR函数计算:Step 1), the road section impedance uses the vehicle running time as the travel cost, and the travel time of the road section without congestion is calculated by the BPR function:

Time r =Time free [1+α(q i /Q i ) β ] Time r = Time free [1+ α(q i /Q i ) β ]

其中,Time r 为非拥堵情况下路段r i 的正常通行时间;Time free 为路段r i 自由流的通行时间;q i 为路段r i 的交通流量;Q i 为路段r i 的通行能力;αβ为阻滞系数,α的参考值为0.223,β的参考值为2.037。Among them, Time r is the normal travel time of road segment ri under non-congested conditions; Time free is the free flow travel time of road segment ri ; q i is the traffic flow of road segment ri ; Qi is the traffic capacity of road segment ri ; α and β are the retardation coefficients, the reference value of α is 0.223, and the reference value of β is 2.037.

步骤2),交通拥堵状态下的路段通行时间具体为:Step 2), the passage time of the road section in the traffic congestion state is as follows:

Time jam =

Figure 470408DEST_PATH_IMAGE008
Time jam =
Figure 470408DEST_PATH_IMAGE008

其中,Time jam 为在拥堵时路段r i 的通行时间;L i 为路段r i 的长度;

Figure DEST_PATH_IMAGE009
为路段r i 的临界速度;ρ jam 为当前时刻路段拥堵时的交通密度;ρ i为路段r i 的交通密度。Among them, Time jam is the traffic time of the road segment ri when it is congested ; Li is the length of the road segment ri ;
Figure DEST_PATH_IMAGE009
is the critical speed of the road segment ri ; ρ jam is the traffic density when the road segment is congested at the current moment ; ρ i is the traffic density of the road segment ri .

步骤3),投标路段的投标价格包括路段通行时间、交叉口延误时间和时间估计噪声的时间花费:Step 3), the bidding price of the bidding section includes the travel time of the section, the delay time at the intersection and the time cost of the estimated noise:

Figure 463772DEST_PATH_IMAGE010
Figure 463772DEST_PATH_IMAGE010

其中,Nr为该路径经过的不拥堵路段的数目;Njam为该路径经过的拥堵路段的数目;Nis为该路径经过的交叉口的数目;

Figure DEST_PATH_IMAGE011
为每个不拥堵路段的正常通行时间;
Figure 264107DEST_PATH_IMAGE012
为每个拥堵路段的通行时间;Time δ 为时间噪声;
Figure 594594DEST_PATH_IMAGE013
为交叉口的延误时间,包括车辆排队延误和信号灯延误时间;Among them, Nr is the number of uncongested road sections passed by the route; Njam is the number of congested road sections passed by the route; Nis is the number of intersections passed by the route;
Figure DEST_PATH_IMAGE011
is the normal traffic time of each non-congested road section;
Figure 264107DEST_PATH_IMAGE012
is the travel time of each congested road section; Time δ is the time noise;
Figure 594594DEST_PATH_IMAGE013
It is the delay time at the intersection, including the delay time of vehicle queuing and the delay time of signal lights;

Figure 383558DEST_PATH_IMAGE014
Figure 383558DEST_PATH_IMAGE014

其中,N Ve 为交叉口中在排队车辆的数目;

Figure 282244DEST_PATH_IMAGE015
为线性系数;ε为信号灯延误时间控制参数。Among them, N Ve is the number of queued vehicles at the intersection;
Figure 282244DEST_PATH_IMAGE015
is a linear coefficient; ε is the control parameter of signal light delay time.

步骤S8,具体为在时间步长内根据车辆路线方案计算由路段r i-1 流入到路段r i 的交通量,并更新车辆位置信息;Step S8, specifically calculating the traffic volume flowing into the road segment ri from the road segment r i -1 according to the vehicle route scheme within the time step, and updating the vehicle position information;

路段之间的交通传播关系为:The traffic propagation relationship between road segments is:

yi(x)=qi(x)tr=min{ ni-1(x), Qi(x), w[Ni(x)- ni(x)]/v}y i (x)=q i (x)tr=min{ n i-1 (x), Q i (x), w[N i (x)- n i (x)]/v}

其中,qi(x)为在x时刻路段ri的交通流入率;tr为时间步长;ni-1(x)为路段ri在x-1时刻的交通量;Qi(x)为x时刻路段ri的最大流入量,即路段的通行能力;Ni(x)为x时刻路段ri的最大承受能力,即拥堵临界点的交通量;ni(x)为路段ri在x时刻的交通量;v为自由交通流速度;w为交通拥挤时反向传播速度;从而,计算出路段的最大通过的车辆数目为yi(x);通过FIFO原则和上述公式实现交通流在城市道路网中相邻路段的传播,并在车辆分配过程中动态更新车辆位置。Among them, q i (x) is the traffic inflow rate of road segment ri at time x; tr is the time step; n i -1 (x) is the traffic volume of road segment ri at time x-1; Qi ( x) is the maximum inflow of the road segment ri at time x, that is, the traffic capacity of the road segment; Ni (x) is the maximum bearing capacity of the road segment ri at time x, that is, the traffic volume at the critical point of congestion; ni ( x) is the road segment ri i The traffic volume at time x; v is the free traffic flow speed; w is the back propagation speed when the traffic is congested; thus, the maximum number of vehicles passing through the road section is calculated as y i (x); the traffic is realized by the FIFO principle and the above formula Propagation of streams across adjacent road segments in urban road networks and dynamically updating vehicle positions during vehicle allocation.

本发明提供的这种分布式框架下交通流动态协同分配方法,以交叉路口为次级分配单位设立了多个虚拟的局部子规划中心,每个子规划中心管理与此交叉路口连接的多个路段。每个子规划中心根据特定规则在此局域内为车辆重新规划通行路径并选择下一通行路段。多个子规划中心的配流过程可以同步进行,并最终将配流结果反馈到上一层次,大幅提升了交通配流效率;同时借助于市场行为中的招投标机制向路段分配交通流,提出了面向城市路网的交通流动态协同分配方法。该方法首先在对路段阻抗分析的基础上分析并筛选拥堵路段交叉口,在每一个拥堵交叉口智能体中将拥堵路段作为招标人,将畅通路段作为投标人,采用招投标机制将车辆分配给出价最高的投标路段。In the method for dynamic cooperative allocation of traffic flow under the distributed framework provided by the present invention, a plurality of virtual local sub-planning centers are set up with intersections as secondary allocation units, and each sub-planning center manages a plurality of road sections connected to the intersection. . Each sub-planning center re-plans the passing path for vehicles in this local area according to specific rules and selects the next passing road segment. The flow distribution process of multiple sub-planning centers can be carried out synchronously, and finally the flow distribution results are fed back to the upper level, which greatly improves the efficiency of traffic distribution. Traffic flow dynamic co-distribution method for network. The method first analyzes and filters the intersections of the congested sections on the basis of the impedance analysis of the road sections. In each congested intersection agent, the congested sections are regarded as the tenderers, and the unblocked sections are regarded as the bidders. The bidding mechanism is used to allocate vehicles to The bid segment with the highest bid.

附图说明Description of drawings

图1为本发明方法的流程示意图。FIG. 1 is a schematic flow chart of the method of the present invention.

图2为本发明方法的城市交通流量-密度关系示意图。FIG. 2 is a schematic diagram of the relationship between urban traffic flow and density in the method of the present invention.

图3为本发明实施例的基于合同网的协同分配示意图。FIG. 3 is a schematic diagram of collaborative allocation based on a contract network according to an embodiment of the present invention.

图4为本发明实施例的网络结构及初始参数示意图。FIG. 4 is a schematic diagram of a network structure and initial parameters according to an embodiment of the present invention.

图5a为本发明实施例的SSP配流结果示意图,图5b为本发明实施例的DSP方法配流结果示意图,图5c为本发明实施例的STSP方法配流结果示意图,图5d为本发明实施例的DTSP方法配流结果示意图,图5e为本发明实施例的SL方法配流结果示意图,图5f为本发明实施例的DL方法配流结果示意图,图5g为本发明实施例的DCA方法配流结果示意图,图5h为本发明实施例的路段ID说明示意图。FIG. 5a is a schematic diagram of the flow distribution result of the SSP method according to the embodiment of the present invention, FIG. 5b is a schematic diagram of the flow distribution result of the DSP method according to the embodiment of the present invention, FIG. 5c is a schematic diagram of the flow distribution result of the STSP method according to the embodiment of the present invention, and FIG. A schematic diagram of the flow distribution result of the method, FIG. 5e is a schematic diagram of the flow distribution result of the SL method according to an embodiment of the present invention, FIG. 5f is a schematic diagram of the flow distribution result of the DL method according to an embodiment of the present invention, and FIG. 5g is a schematic diagram of the flow distribution result of the DCA method according to an embodiment of the present invention. A schematic diagram for explaining a road segment ID according to an embodiment of the present invention.

图6为本发明实施例的不同配流方法的车流传输过程示意图。FIG. 6 is a schematic diagram of a traffic flow transmission process of different flow distribution methods according to an embodiment of the present invention.

图7为本发明实施例的初始交通流对路网通行效率的影响示意图。FIG. 7 is a schematic diagram illustrating the influence of the initial traffic flow on the traffic efficiency of the road network according to an embodiment of the present invention.

图8a为本发明实施例的DCA方法路段饱和度示意图,图8b为本发明实施例的DTSP方法路段饱和度示意图,图8c为本发明实施例的DSP方法路段饱和度示意图,图8d为本发明实施例的DL方法路段饱和度示意图,图8e为本发明实施例的STSP方法路段饱和度示意图,图8f为本发明实施例的SL方法路段饱和度示意图,图8g为本发明实施例的SSP方法路段饱和度示意图。FIG. 8a is a schematic diagram of road section saturation in the DCA method according to an embodiment of the present invention, FIG. 8b is a schematic diagram of road section saturation in the DTSP method according to an embodiment of the present invention, FIG. 8c is a schematic diagram of road section saturation in the DSP method according to an embodiment of the present invention, and FIG. 8d is the present invention. Figure 8e is a schematic diagram of road section saturation in the DL method according to an embodiment of the present invention, Figure 8e is a schematic diagram of road section saturation in the STSP method according to an embodiment of the present invention, Figure 8f is a schematic diagram of road section saturation in the SL method according to an embodiment of the present invention, and Figure 8g is a schematic diagram of the SSP method in an embodiment of the present invention. Schematic diagram of road segment saturation.

图9为本发明实施例的动态调整前后路径阻抗对比示意图。FIG. 9 is a schematic diagram showing the comparison of path impedances before and after dynamic adjustment according to an embodiment of the present invention.

具体实施方式Detailed ways

如图1为本发明方法的流程示意图:本发明提供的这种分布式框架下交通流动态协同分配方法,包括如下步骤:Figure 1 is a schematic flow chart of the method of the present invention: the method for dynamic collaborative allocation of traffic flow under this distributed framework provided by the present invention comprises the following steps:

S1.通过A*算法为所有车辆规划初始路线方案Fori;A*(A-Star)算法是一种静态路网中求解最短路径最有效的直接搜索方法。S1. The initial route scheme F ori is planned for all vehicles by the A* algorithm; the A* (A-Star) algorithm is the most effective direct search method for solving the shortest path in the static road network.

S2.统计当前路网车辆Nv,Nv>0时,通过下述步骤进行处理;否则,统计路段流量并输出所有车辆分配结果,结束当前交通流动态协同分配过程;S2. Count the current road network vehicles N v , when N v >0, process through the following steps; otherwise, count road traffic and output all vehicle allocation results, and end the current traffic flow dynamic collaborative allocation process;

S3.统计当前时刻所有路段的交通密度ρaS3. Count the traffic density ρ a of all road sections at the current moment;

S4.根据拥堵的交通密度阈值ρjam判定路段拥堵情况;ρjam为路段拥堵时的交通密度;路段不拥堵即ρa <0.9*ρjam时进行步骤S5,否则进行步骤S6;S4. According to the traffic density threshold ρ jam of congestion, determine the congestion situation of the road section; ρ jam is the traffic density when the road section is congested; step S5 is performed when the road segment is not congested, that is, ρ a <0.9*ρ jam , otherwise, step S6 is performed;

S5.提取上一次迭代的路线方案FL,并进行步骤S8;S5. Extract the route scheme FL of the previous iteration, and go to step S8;

S6.提取拥堵路段上重新规划路径的车辆集合T;S6. Extract the vehicle set T of the re-planned route on the congested road section;

S7.根据招投标机制重新规划路径的车辆集合T内车辆的路线方案FN;S7. The route scheme FN of the vehicles in the vehicle set T that re-plans the route according to the bidding mechanism;

S8.输入新的交通需求,并根据步骤S7的重新规划路径的车辆集合T内车辆的路线方案FN或步骤S5的上一次迭代的路线方案FL,更新车辆位置;S8. Input the new traffic demand, and update the vehicle position according to the route scheme FN of the vehicle in the vehicle set T of the re-planned route in step S7 or the route scheme FL of the previous iteration in step S5;

S9.完成上述步骤,统计路段流量并输出所有车辆协同分配结果。S9. After the above steps are completed, the traffic flow of the road section is counted and the results of the coordinated allocation of all vehicles are output.

步骤S3中的交通密度指某一时刻单位长度的道路上存在的交通量,通常以路段上车辆数目与路段长度的比值来表示。某时刻路段r的交通密度可计算为:The traffic density in step S3 refers to the amount of traffic existing on a road with a unit length at a certain time, and is usually represented by the ratio of the number of vehicles on the road segment to the length of the road segment. The traffic density of road segment r at a certain moment can be calculated as:

Figure DEST_PATH_IMAGE016
Figure DEST_PATH_IMAGE016

其中,Lr为路段r的长度,

Figure 805760DEST_PATH_IMAGE017
为路段r上第i个簇的车辆数目;where L r is the length of the road segment r,
Figure 805760DEST_PATH_IMAGE017
is the number of vehicles in the i-th cluster on road segment r;

如图2为本发明方法的城市交通流量-密度关系示意图,城市交通流量和交通密度之间大多采用三角形函数或梯形函数关系。其中,q为交通流量;qmax为路段饱和流量;v为自由交通流速度;w为交通拥挤时反向传播速度。当前路段瞬时密度不大于0.9倍当前路段拥堵交通密度时,ρa≤0.9*ρjam,路段上车辆不更改路线方案,在此时间步长内继续按照上一时间步长的路线方案行驶;否则,当路段发生拥堵时,路段上车辆根据招投标机制重新规划路线方案。FIG. 2 is a schematic diagram of the relationship between urban traffic flow and density according to the method of the present invention, and a triangular function or trapezoidal function relationship is mostly used between urban traffic flow and traffic density. Among them, q is the traffic flow; q max is the saturated flow of the road section; v is the free traffic flow speed; w is the back propagation speed when the traffic is congested. When the instantaneous density of the current road section is not greater than 0.9 times the traffic density of the current road section, ρ a ≤ 0.9*ρ jam , the vehicles on the road section do not change the route plan, and continue to drive according to the route plan of the previous time step within this time step; otherwise , when the road section is congested, the vehicles on the road section re-plan the route plan according to the bidding mechanism.

本发明提出的这种基于招投标机制的协同规划方法,为拥堵路段交通流重新制定路线方案,如图3为本发明实施例的基于合同网的协同分配示意图。一旦路段2发生交通拥堵则在此交叉口内为路段1上的受影响车辆重新规划路径。通过构建路段2所处的交叉口智能体,以路段1作为发标者发布车辆任务,具有执行任务条件的路段3、4、5作为投标者竞争车辆任务。The collaborative planning method based on the bidding mechanism proposed by the present invention re-formulates a route plan for the traffic flow of a congested road section. Once traffic congestion occurs on road segment 2, the affected vehicles on road segment 1 are rerouted within this intersection. By constructing the intersection agent where road segment 2 is located, road segment 1 is used as the tenderer to issue vehicle tasks, and road segments 3, 4, and 5 with task execution conditions are used as bidders to compete for vehicle tasks.

协同规划方法首先确定如图3所示的发标者ri和投标者RSi并由发标者发布任务T的标书(包括任务ID、任务信息和权重等级);每一个投标路段在捕捉任务T的交通需求的基础上计算k条最优路径及其车辆通行阻抗;结合Logit加载模型确定通过每条路径的流量以及车辆任务;每个投标者RSi确定并向发标者ri反馈投标任务集合GT以及对应的报价集合VT;从而,发标者ri选择最终的车辆分配方案

Figure DEST_PATH_IMAGE018
。The collaborative planning method first determines the bidder ri and the bidder RS i as shown in Figure 3, and the bidder issues the bid of task T (including task ID, task information and weight level); Calculate the k optimal paths and their vehicle traffic impedance on the basis of the traffic demand of T; combine the Logit loading model to determine the flow and vehicle tasks of each path; each bidder RS i determines and feeds back the bid to the bidder ri The task set GT and the corresponding offer set VT; thus, the bidder ri selects the final vehicle allocation scheme
Figure DEST_PATH_IMAGE018
.

具体实施方式如下:The specific implementation is as follows:

假设T= {tj | j=1,2,…,n}是需要被分配的车辆任务,其中n是任务的数量;P ={pk | k=1,2,...,m} 为交叉口子规划中心集合,其中m为交叉口数量。Rk = {ri| i= 1,2,…,mk} 为被交叉口子规划中心pk管理的路段节点集合,mk为路段节点的数量。RSi为可执行路段ri上车辆任务的潜在路段节点集合。GT= {BTe| e=1,2,…,bm}为所有投标者反馈的投标任务的集合,BTe为第e个投标者反馈的投标任务集合,bm是投标者的数量,

Figure 205518DEST_PATH_IMAGE019
Figure DEST_PATH_IMAGE020
Figure 181081DEST_PATH_IMAGE021
为投标者反馈的投标价格集合,Ve为第e个投标者对投标任务集BTe反馈的投标价格集合。
Figure DEST_PATH_IMAGE022
表示中标方案
Figure 781827DEST_PATH_IMAGE023
中的投标任务集合,
Figure DEST_PATH_IMAGE024
。Let T = {t j | j=1,2,…,n} be the vehicle tasks to be assigned, where n is the number of tasks; P ={p k | k=1,2,…,m} Set of sub-planning centers for intersections, where m is the number of intersections. R k = {r i | i= 1,2,…,mk} is the set of link nodes managed by the intersection sub-planning center p k , and m k is the number of link nodes. RS i is a set of potential road segment nodes that can perform vehicle tasks on road segment ri . GT= {BT e | e=1,2,…,bm} is the set of bidding tasks fed back by all bidders, BT e is the set of bidding tasks fed back by the e-th bidder, bm is the number of bidders,
Figure 205518DEST_PATH_IMAGE019
and
Figure DEST_PATH_IMAGE020
.
Figure 181081DEST_PATH_IMAGE021
is the set of bid prices fed back by bidders, and V e is the set of bid prices fed back by the e-th bidder to the bidding task set BTe.
Figure DEST_PATH_IMAGE022
Indicates the winning proposal
Figure 781827DEST_PATH_IMAGE023
The set of bid tasks in ,
Figure DEST_PATH_IMAGE024
.

协同配流算法首先确定发标者ri和投标者RSi并由发标者发布任务T的标书。然后子规划中心pk计算路网中所有路段的阻抗并构建路段阻抗矩阵Tnet,从而每一个投标路段在捕捉任务T的交通OD需求的基础上依据路段阻抗矩阵Tnet计算k条最优路径及其阻抗。进而结合Logit加载模型确定通过每条路径的流量以及车辆任务。通过以上步骤每个投标者可以确定并向ri反馈投标任务集合GT以及对应的报价集合VT。ri通过本文提出的中标确定算法来选择最终的车辆分配方案

Figure 120535DEST_PATH_IMAGE025
。如果存在个别任务不能被此方案执行,则此部分车辆仍然采用上一时间步长的最新方案
Figure DEST_PATH_IMAGE026
。The cooperative flow allocation algorithm firstly determines the bidder ri and the bidder RS i , and the bidder issues the bid of the task T. Then the sub-planning center pk calculates the impedance of all road segments in the road network and constructs the road segment impedance matrix T net , so that each bidding road segment calculates k optimal paths according to the road segment impedance matrix T net on the basis of capturing the traffic OD demand of the task T and its impedance. In turn, combined with the Logit loading model, the flow through each path and the vehicle mission are determined. Through the above steps, each bidder can determine and feed back the bidding task set GT and the corresponding quotation set VT to ri . ri selects the final vehicle allocation scheme through the winning bid determination algorithm proposed in this paper
Figure 120535DEST_PATH_IMAGE025
. If there are individual tasks that cannot be executed by this scheme, this part of the vehicle still adopts the latest scheme of the last time step
Figure DEST_PATH_IMAGE026
.

(1)计算路段阻抗:(1) Calculate the road impedance:

为了确定车辆任务由当前位置到目标点的最佳路径,首先需要确定路网中每条路段的阻抗。广义的路段阻抗可以是通过路段所需的时间、驾驶舒适度、行程距离、行驶费用以及转向次数等多种因素的集中表现,可以看做车辆运行的综合代价。根据不同的实际需求与算法目的,路段阻抗可以有不同含义。In order to determine the optimal path of the vehicle task from the current position to the target point, it is first necessary to determine the impedance of each road segment in the road network. The generalized road section impedance can be the concentrated expression of various factors such as the time required to pass the road section, the driving comfort, the travel distance, the driving cost and the number of turns, which can be regarded as the comprehensive cost of vehicle operation. According to different actual needs and algorithm purposes, the road segment impedance can have different meanings.

1)在本实施例中,路段阻抗采用车辆运行时间作为出行代价,自由通行是路段旅行时间和拥堵路段的旅行时间具有很大的差异,不发生拥堵的路段旅行时间由BPR函数计算:1) In this embodiment, the road section impedance adopts the vehicle running time as the travel cost, and the free passage means that the travel time of the road section and the travel time of the congested section have a large difference, and the travel time of the road section without congestion is calculated by the BPR function:

Time r =Time free [1+α(qi/Qi)β] Time r = Time free [1+α(q i /Q i ) β ]

其中,Time r 为非拥堵情况下路段r i 的正常通行时间;Time free 为路段r i 自由流的通行时间;q i 为路段r i 的交通流量;Q i 为路段r i 的通行能力;αβ为阻滞系数,α的参考值为0.223,β的参考值为2.037。Among them, Time r is the normal travel time of road segment ri under non-congested conditions; Time free is the free flow travel time of road segment ri ; q i is the traffic flow of road segment ri ; Qi is the traffic capacity of road segment ri ; α and β are the retardation coefficients, the reference value of α is 0.223, and the reference value of β is 2.037.

2)当路段交通拥堵时路段通行时间则表现出来与自由通行完全不同的规律,本文根据Greenberg对数模型给出交通拥堵状态下的路段通行时间:2) When the road section is congested, the travel time of the road section shows a completely different rule from the free passage. This paper gives the travel time of the road section under the traffic congestion state according to the Greenberg logarithmic model:

Figure 261667DEST_PATH_IMAGE027
Figure 261667DEST_PATH_IMAGE027

其中,Time jam 为在拥堵时路段r i 的通行时间;L i 为路段r i 的长度;

Figure DEST_PATH_IMAGE028
为路段r i 的临界速度;ρ jam 为当前时刻路段拥堵时的交通密度;ρ i 为路段r i 的交通密度。Among them, Time jam is the traffic time of the road segment ri when it is congested ; Li is the length of the road segment ri ;
Figure DEST_PATH_IMAGE028
is the critical speed of the road segment ri ; ρ jam is the traffic density when the road segment is congested at the current moment ; ρ i is the traffic density of the road segment ri .

3)基于上述交通拥堵状态下的路段通行时间构建路段阻抗矩阵,作为计算流量分配方案的报价;投标路段的投标价格包括交通拥堵状态下的路段通行时间、交叉口延误时间和时间估计噪声这三部分的时间花费:3) Construct a road segment impedance matrix based on the passage time of the road section under the above traffic congestion state, as the quotation for calculating the traffic allocation plan; the bidding price of the bid road segment includes the road segment travel time in the traffic congestion state, intersection delay time and time estimation noise. Part of the time spent:

Figure 805649DEST_PATH_IMAGE029
Figure 805649DEST_PATH_IMAGE029

其中,Nr为该路径经过的不拥堵路段的数目;Njam为该路径经过的拥堵路段的数目;Nis为该路径经过的交叉口的数目;

Figure DEST_PATH_IMAGE030
为每个不拥堵路段的正常通行时间;
Figure 46138DEST_PATH_IMAGE031
为每个拥堵路段的通行时间;Timeδ为时间噪声;
Figure DEST_PATH_IMAGE032
为交叉口的延误时间,包括车辆排队延误和信号灯延误时间;为简化计算,在本实施例中:Among them, Nr is the number of uncongested road sections passed by the route; Njam is the number of congested road sections passed by the route; Nis is the number of intersections passed by the route;
Figure DEST_PATH_IMAGE030
is the normal traffic time of each non-congested road section;
Figure 46138DEST_PATH_IMAGE031
is the travel time of each congested road section; Timeδ is the time noise;
Figure DEST_PATH_IMAGE032
is the delay time at the intersection, including vehicle queuing delay and signal light delay time; to simplify the calculation, in this embodiment:

Figure 59093DEST_PATH_IMAGE033
Figure 59093DEST_PATH_IMAGE033

其中,N Ve 为交叉口中在排队车辆的数目;

Figure 207178DEST_PATH_IMAGE015
为线性系数;ε为信号灯延误时间控制参数,本实施例中取30s。Among them, N Ve is the number of queued vehicles at the intersection;
Figure 207178DEST_PATH_IMAGE015
is a linear coefficient; ε is a control parameter of signal light delay time, which is taken as 30s in this embodiment.

(2)获取流量加载策略,计算路径被选择的概率;(2) Obtain the traffic loading strategy and calculate the probability that the path is selected;

具体包括,每一个投标路段节点获取k条最优的最短路径作为从当前路段到目标点的候选流量加载策略,根据路径的通行阻抗k条路径都有被选择的概率,车辆任务倾向于选择阻抗较小的路径;在本实施例中设出行车辆的随机感知误差服从Gumbel分布,则OD(起讫点)对u的第j条路径的被选择概率

Figure DEST_PATH_IMAGE034
为:Specifically, each bidding road segment node obtains k optimal shortest paths as the candidate traffic loading strategy from the current road segment to the target point. According to the traffic impedance of the path, k paths have a probability of being selected, and the vehicle task tends to select the impedance. smaller path; in this embodiment, assuming that the random perception error of the traveling vehicle obeys the Gumbel distribution, then the probability of being selected by OD (start and end point) on the jth path of u
Figure DEST_PATH_IMAGE034
for:

Figure DEST_PATH_IMAGE036
Figure DEST_PATH_IMAGE036

其中,OD为起讫点,θ为度量出行车辆感知误差程度的离散参数;

Figure 107132DEST_PATH_IMAGE037
为OD对u的第j条路径的投标路段的投标价格;Ju为OD对u之间k条候选路径的集合;Among them, OD is the origin and destination point, and θ is a discrete parameter that measures the degree of perception error of the traveling vehicle;
Figure 107132DEST_PATH_IMAGE037
is the bid price of the bidding section of the jth path of OD to u ; Ju is the set of k candidate paths between OD and u;

基于以上路径选择概率投标者(路段节点)Bidder为每一车辆任务分配最优路径,并向招标方Tenderer提交任务方案BTe及其对应的路径阻抗报价VeBased on the above path selection probability, the bidder (road segment node) Bidder assigns the optimal path for each vehicle task, and submits the task plan BT e and its corresponding path impedance quotation V e to the tenderer Tenderer.

在具体实施方式中,具体为基于浮动选标机制的局部搜索算法:In a specific implementation manner, it is a local search algorithm based on the floating mark selection mechanism:

交叉口子规划中心中路段节点的胜者决定问题是一种组合优化问题。在路段合同网的协商分配过程中,所有投标者Bidder将会向招标方Tenderer返回投标集合。不同投标路段反馈的投标方案可能会包含相同的车辆任务,从而引起任务冲突。招标路段Tenderer需要根据反馈方案优选出一个全局最优的避免任务冲突的车辆路线方案。所以本文首先构建一个整数规划模型来描述优选目标和约束,然后设计一个基于浮动选标机制的局部搜索算法以高效求解此模型。The winner determination problem of road segment nodes in the intersection sub-planning center is a combinatorial optimization problem. During the negotiation and allocation process of the road segment contract network, all bidders Bidder will return the bid set to the tenderer Tenderer. The bidding schemes fed back by different bidding sections may contain the same vehicle tasks, thus causing task conflicts. According to the feedback scheme, Tenderer needs to select a globally optimal vehicle routing scheme to avoid task conflict. Therefore, this paper firstly constructs an integer programming model to describe the optimal objectives and constraints, and then designs a local search algorithm based on the floating selection mechanism to efficiently solve this model.

定义:冲突出价:设BTa和BTb分别是第a个和第b个Bidder反馈的投标任务集,

Figure DEST_PATH_IMAGE038
Figure 643155DEST_PATH_IMAGE039
。如果BTa和BTb两个任务集中至少存在一个相同的任务,即
Figure DEST_PATH_IMAGE040
, 同时BTa和BTb就是冲突任务集。否则,两任务集称为相容任务集。根据两两冲突关系可以构建冲突出价矩阵Mcon(对称阵)。Definition: Conflicting bids: Let BT a and BT b be the bidding task sets fed back by the ath and bth bidders, respectively,
Figure DEST_PATH_IMAGE038
and
Figure 643155DEST_PATH_IMAGE039
. If there is at least one identical task in the two task sets BT a and BT b , namely
Figure DEST_PATH_IMAGE040
, and BT a and BT b are conflicting task sets. Otherwise, the two task sets are called compatible task sets. The conflict bid matrix Mcon (symmetric matrix) can be constructed according to the conflict relationship between pairs.

胜者决定问题(WDP)是从候选集中选出一个子集作为可行解使可行解中的投标报价之和最大(小)。本文中一个不存在冲突的投标任务集合GT的子集可以被选择作为一个可行解C,公式(6)的目标是最小化可行解C的投标报价之和。解可以被表达为布尔集合X ={xe| e=1,2,…,bm}, 其中xe=1 表示投标任务集合BTe被选中,bm 为投标路段的数量。从而,目标函数可以被表达为:The Winner Determination Problem (WDP) is to select a subset from the candidate set as a feasible solution so that the sum of bids in the feasible solutions is the largest (smaller). In this paper, a subset of the non-conflicting bidding task set GT can be selected as a feasible solution C, and the goal of Eq. (6) is to minimize the sum of the bids of feasible solutions C. The solution can be expressed as a Boolean set X = {xe| e=1,2,…,bm}, where xe=1 means that the set of bidding tasks BT e is selected, and bm is the number of bidding road segments. Thus, the objective function can be expressed as:

Figure DEST_PATH_IMAGE042
Figure DEST_PATH_IMAGE042

约束条件为:(a)

Figure DEST_PATH_IMAGE044
;(b)
Figure DEST_PATH_IMAGE046
。式中:Ve表示第e个投标路段的报价。操作符
Figure 864446DEST_PATH_IMAGE047
定义为:如果 xi=1, xj=1, 且BTi与BTj冲突,则xi
Figure 550642DEST_PATH_IMAGE047
xj =1; 否则, xi
Figure 351108DEST_PATH_IMAGE047
xj =0。约束 (b) 表示每个任务只可以被选择一次,即被选择的任务之间不能发生冲突。The constraints are: (a)
Figure DEST_PATH_IMAGE044
;(b)
Figure DEST_PATH_IMAGE046
. In the formula: Ve represents the quotation of the e-th tendered road segment. operator
Figure 864446DEST_PATH_IMAGE047
Defined as: if x i =1, x j =1, and BT i conflicts with BT j , then x i
Figure 550642DEST_PATH_IMAGE047
x j =1; otherwise, x i
Figure 351108DEST_PATH_IMAGE047
xj =0. Constraint (b) means that each task can only be selected once, that is, the selected tasks cannot conflict with each other.

针对路段节点合同网最优方案求解的问题,本文提出一种基于浮动选标机制的局部搜索算法(FLS)。该算法利用概率参数和浮动选标机制控制随机游走从而增强解的多样性,大幅提高解的准确度。并且利用优先搜索策略防止对候选解集空间的重复检索,提高最优解收敛速度。Aiming at the problem of solving the optimal solution of the road node contract network, this paper proposes a local search algorithm (FLS) based on the floating mark selection mechanism. The algorithm uses probability parameters and floating label selection mechanism to control random walks to enhance the diversity of solutions and greatly improve the accuracy of solutions. And the priority search strategy is used to prevent the repeated retrieval of the candidate solution set space and improve the convergence speed of the optimal solution.

FLS算法是一个多次迭代并逐步寻优的过程。迭代次数y可以人为确定或找到最优解为止。搜索过程中,如果算法每次迭代都搜索所有候选投标解集合,势必会拖慢收敛速度。实际上,候选解集的优先搜索权重是不同的。所以,为了加快搜索速度,算法设计了优先搜索投标集合QB。QB是与当前最优解集相容的投标集合。为提高求解效率,在每次迭代开始,算法优先搜索投标集合QB并根据冲突出价矩阵Mcon增加QB中最低出价的投标车辆任务到候选解C中。进而,根据候选解C获得临时投标任务集TemB:TemB=GT-C。The FLS algorithm is a process of multiple iterations and step-by-step optimization. The number of iterations y can be determined manually or until the optimal solution is found. During the search process, if the algorithm searches all candidate bidding solution sets in each iteration, it will inevitably slow down the convergence speed. In fact, the priority search weights of the candidate solution sets are different. Therefore, in order to speed up the search, the algorithm designs a preferential search bid set Q B . Q B is the set of bids compatible with the current optimal solution set. In order to improve the solution efficiency, at the beginning of each iteration, the algorithm first searches the bid set QB and adds the bid vehicle task with the lowest bid in Q B to the candidate solution C according to the conflict bid matrix Mcon. Furthermore, a temporary bidding task set TemB is obtained according to the candidate solution C: TemB=GT-C.

此外,为了避免不断的寻优过程使算法陷入局部最优,本算法设计了一个概率参数

Figure DEST_PATH_IMAGE048
和报价浮动区间
Figure 667819DEST_PATH_IMAGE049
。概率参数用于控制在每轮迭代中选择最低出价的概率,报价浮动区间表示当前报价和最小报价的差距以确定候选投标方案的报价范围。FLS算法以概率
Figure DEST_PATH_IMAGE050
执行最小报价Vmin贪婪搜索,进而,以最小报价Vmin的浮动区间
Figure 937258DEST_PATH_IMAGE051
为报价范围从临时投标任务集TemB中选择投标任务集合FB,即任务集合FB的投标报价与最小报价Vmin的差距在浮动区间
Figure 427145DEST_PATH_IMAGE051
以内。然后,该算法从集合FB中随机选择投标任务Bcan加入到候选解C中。其中函数random(x)表示从集合x中随机选择元素。此外,FLS算法以概率
Figure 957483DEST_PATH_IMAGE052
从临时任务集合TemB中随机选择一个投标任务Bcan加入最优解C。In addition, in order to avoid the continuous optimization process to make the algorithm fall into local optimum, this algorithm designs a probability parameter
Figure DEST_PATH_IMAGE048
and quotation floating range
Figure 667819DEST_PATH_IMAGE049
. The probability parameter is used to control the probability of selecting the lowest bid in each round of iterations, and the quotation floating interval represents the gap between the current bid and the minimum bid to determine the bid range of the candidate bidding scheme. The FLS algorithm uses probability
Figure DEST_PATH_IMAGE050
Perform a greedy search for the minimum quote V min , and then, use the floating interval of the minimum quote V min
Figure 937258DEST_PATH_IMAGE051
Select the bidding task set FB from the temporary bidding task set TemB for the quotation range, that is, the gap between the bidding price of the task set FB and the minimum price V min is in the floating range
Figure 427145DEST_PATH_IMAGE051
within. Then, the algorithm randomly selects the bidding task B can from the set FB to add to the candidate solution C. where the function random(x) represents the random selection of elements from the set x. In addition, the FLS algorithm uses probability
Figure 957483DEST_PATH_IMAGE052
A bidding task B can be randomly selected from the temporary task set TemB and added to the optimal solution C.

Figure 507414DEST_PATH_IMAGE053
Figure 507414DEST_PATH_IMAGE053

算法通过判断投标任务的冲突关系更新候选解C。假设VC={Vcg| g=1,2,…,mc}是投标任务集C中对应的投标报价;VB={Vbh| h=1,2,…,mb} 是最优解Cbest中任务对应的投标报价。如果

Figure 247836DEST_PATH_IMAGE054
则更新全局最优解Cbest。最后,FLS算法根据冲突矩阵Mcon更新QB。The algorithm updates the candidate solution C by judging the conflict relationship of bidding tasks. Suppose VC={Vc g | g=1,2,…,mc} is the corresponding bid price in the bidding task set C; VB={Vb h | h=1,2,…,mb} is the optimal solution C best The bid price corresponding to the task in the middle. if
Figure 247836DEST_PATH_IMAGE054
Then update the global optimal solution C best . Finally, the FLS algorithm updates Q B according to the conflict matrix M con .

步骤S8具体为在时间步长内可根据车辆路线方案计算由路段ri-1流入到路段ri的交通量,并更新车辆位置信息;Step S8 is specifically that the traffic volume flowing into the road segment ri from the road segment r i -1 can be calculated according to the vehicle route scheme within the time step, and the vehicle position information is updated;

当交通流量和交通密度服从如图2所示的关系时,路段瞬时流量q为:When the traffic flow and traffic density obey the relationship shown in Figure 2, the instantaneous flow q of the road section is:

Figure DEST_PATH_IMAGE055
Figure DEST_PATH_IMAGE055

其中,

Figure 479098DEST_PATH_IMAGE056
为交通密度,
Figure 926259DEST_PATH_IMAGE057
为路段拥堵时的交通密度;qmax为路段饱和流量;v为自由交通流速度;w为交通拥挤时反向传播速度;in,
Figure 479098DEST_PATH_IMAGE056
is the traffic density,
Figure 926259DEST_PATH_IMAGE057
is the traffic density when the road is congested; qmax is the saturated flow of the road; v is the free traffic flow speed; w is the reverse propagation speed when the traffic is congested;

因此,在时间步长tr内,由路段ri-1流入到路段ri的交通量为:Therefore, in the time step tr, the traffic flow from the road segment ri -1 to the road segment ri is:

Figure DEST_PATH_IMAGE058
Figure DEST_PATH_IMAGE058

其中yi(x)为在x时刻路段ri的交通流入量;qi(x)为在x时刻路段ri的交通流入率;tr为时间步长;

Figure 427517DEST_PATH_IMAGE059
为在x时刻路段ri-1的交通密度;
Figure DEST_PATH_IMAGE060
为在x时刻路段ri的最大交通流入率;
Figure 920815DEST_PATH_IMAGE061
为x时刻路段ri的交通密度。where y i (x) is the traffic inflow of road segment ri at time x; q i ( x) is the traffic inflow rate of road segment ri at time x; tr is the time step;
Figure 427517DEST_PATH_IMAGE059
is the traffic density of road segment r i-1 at time x;
Figure DEST_PATH_IMAGE060
is the maximum traffic inflow rate of road segment ri at time x;
Figure 920815DEST_PATH_IMAGE061
is the traffic density of road segment ri at time x.

如图2所示的交通密度和交通流量的关系可得:As shown in Figure 2, the relationship between traffic density and traffic flow can be obtained:

Figure DEST_PATH_IMAGE062
Figure DEST_PATH_IMAGE062

其中ni(x)为路段ri在x时刻的交通量;

Figure 955767DEST_PATH_IMAGE063
为x时刻路段ri的交通密度;tr为时间步长;v为自由交通流速度;where n i (x) is the traffic volume of road segment ri at time x;
Figure 955767DEST_PATH_IMAGE063
is the traffic density of the road segment ri at time x; tr is the time step; v is the free traffic flow speed;

因此,路段之间的交通传播关系为:Therefore, the traffic propagation relationship between road segments is:

yi(x)=qi(x)tr=min{ ni-1(x), Qi(x), w[Ni(x)- ni(x)]/v}y i (x)=q i (x)tr=min{ n i-1 (x), Q i (x), w[N i (x)- n i (x)]/v}

其中,Qi(x)为x时刻路段ri的最大流入量,即路段的通行能力;Ni(x)为x时刻路段ri的最大承受能力,即拥堵临界点的交通量;v为自由交通流速度;tr为时间步长;w为交通拥挤时反向传播速度;因此,计算出路段的最大通过的车辆数目为yi(x),本实施例通过FIFO原则和上述公式实现交通流在城市道路网中相邻路段的传播,并在车辆分配过程中动态更新车辆位置;在具体实施方式中,结合Nguyen网络具体说明本发明在交通流分配中的具体应用:Among them, Qi (x) is the maximum inflow of the road segment ri at time x, that is, the traffic capacity of the road segment; Ni (x) is the maximum bearing capacity of the road segment ri at time x, that is, the traffic volume at the critical point of congestion; v is the free Traffic flow speed; tr is the time step; w is the back propagation speed when the traffic is congested; therefore, the maximum number of vehicles passing through the road section is calculated as y i (x), this embodiment realizes the traffic flow through the FIFO principle and the above formula Propagation of adjacent road sections in the urban road network, and dynamically update the vehicle position in the process of vehicle allocation; in the specific embodiment, the specific application of the present invention in traffic flow allocation is specifically described in conjunction with the Nguyen network:

设置如表1所示的仿真参数:Set the simulation parameters as shown in Table 1:

表1 模拟Nguyen网络交通配流参数Table 1 Traffic distribution parameters of simulated Nguyen network

Figure 257436DEST_PATH_IMAGE064
Figure 257436DEST_PATH_IMAGE064

仿真场景说明:Nguyen网络最初是作为一个经典交通研究案例提出,并由于其贴近真实路网的拓扑结构在此后多见于交通相关的国内外研究成果中。如图4为本发明实施例的网络结构及初始参数示意图,Nguyen网络结构包含13个节点,双向38条路段,为尽可能模拟真实交通流的分布,本实验在每一条路段都随机设置了初始流量,以网络边缘的四个节点作为出行终点。Simulation scene description: Nguyen network was originally proposed as a classic traffic research case, and since its topology is close to the real road network, it has been widely used in traffic-related research results at home and abroad. Figure 4 is a schematic diagram of the network structure and initial parameters of the embodiment of the present invention. The Nguyen network structure includes 13 nodes and 38 two-way road sections. In order to simulate the distribution of the real traffic flow as much as possible, this experiment randomly sets the initial Traffic, with four nodes at the edge of the network as the travel destination.

为验证本发明动态协同配流方法(DCA)的有效性,本实施例对比了包括3种动态配流策略和3种静态配流方法在内的以下6种经典的非平衡交通配流方法。其中,静态最短路径方法(SSP)按照A*最短路径算法为所有车辆规划路径,一旦路径方案确定车辆走行过程中不更改路由方案。为防止唯一最短路径造成的道路拥堵,静态Top-K最短路径方法(STSP)首先基于最短路径算法确定OD之间的K条最优路径并基于既定概率选择其中之一作为路径方案。实际上,当出行者做路径选择时,对每条路径的感知行驶阻抗与实际路径阻抗会存在一定的偏差,并且这一偏差具有不同的概率分布模式,在离散选择模型中,基于静态Logit加载(SL)的随机效用模型假设出行车辆的随机感知误差服从Gumbel分布,已被广泛用于路径规划、交通配流应用中。此外,动态最短路径方法(DSP)、动态Top-K最短路径方法(DTSP)以及动态Logit加载方法(DL)是根据以上三种经典的静态路线方案发展出的动态配流方案,他们在离散的时间步长内执行分别路径选择过程进而达到动态配流效果。In order to verify the effectiveness of the dynamic cooperative flow allocation method (DCA) of the present invention, the following six classical non-equilibrium traffic flow allocation methods including three dynamic flow allocation strategies and three static flow allocation methods are compared. Among them, the static shortest path method (SSP) plans paths for all vehicles according to the A* shortest path algorithm. Once the path scheme is determined, the routing scheme is not changed during the running process of the vehicle. To prevent road congestion caused by the only shortest path, the static Top-K shortest path method (STSP) firstly determines K optimal paths between ODs based on the shortest path algorithm and selects one of them as the path scheme based on a given probability. In fact, when travelers make route selection, there will be a certain deviation between the perceived driving impedance of each route and the actual route impedance, and this deviation has different probability distribution patterns. In the discrete choice model, based on static Logit loading The stochastic utility model of (SL) assumes that the random perception error of traveling vehicles obeys the Gumbel distribution, and has been widely used in route planning and traffic distribution applications. In addition, the dynamic shortest path method (DSP), the dynamic Top-K shortest path method (DTSP) and the dynamic logit loading method (DL) are dynamic flow distribution schemes developed based on the above three classical static routing schemes. The separate path selection process is performed within the step length to achieve the effect of dynamic flow distribution.

配流方案流量空间分布对比,如图5为本发明实施例的Nguyen网络配流结果示意图,各方法交通流分配结果在路网空间中显示出明显的差异。图5(a)为本发明实施例的SSP配流结果示意图,图5(b)为本发明实施例的DSP方法配流结果示意图,图5(c)为本发明实施例的STSP方法配流结果示意图,图5(d)为本发明实施例的DTSP方法配流结果示意图,图5(e)为本发明实施例的SL方法配流结果示意图,图5(f)为本发明实施例的DL方法配流结果示意图,图5(g)为本发明实施例的DCA方法配流结果示意图,图5(h)为本发明实施例的路段ID说明示意图。由于不需要重新配置车流,车辆沿指定路线出行,所以三种静态配流方法的路段统计流量显著小于动态方法的配流结果。而由于动态变换车流路径导致拥堵车辆绕行实际通行距离增加,所以动态方法配流结果中路段流量偏大。SSP、STSP和SL方法的配流结果具有相似性,位于4个终点附近且指向终点的路段上流量明显大于其他路径,特别是通往终点1的21和25路段流量呈现最高值,而边缘路段基本没有发挥传输作用。动态方法中DSP方法由于每次重规划过程仅取最短路径,相比于静态方法虽然将部分流量转移到其他路段(路段12、20、22)但是仍旧忽略了其他路径的效用。DTSP方法和DL方法则通过路径的概率选择过程将车流进一步转移到路网全局,充分利用尽可能多路段的运送能力,但每个时间步长的全局调整不仅需要花费大量计算成本,而且自由通行车辆的路径调整收益不大且增加了相关路段的传输压力(路段20、22、27、34),并进而挤占拥堵车辆的路径调整空间。相比之下,DCA方法的流量分配结果更加均衡,能够充分协同路网全局的路段运送能力,提升路网通行效率。For the comparison of the flow space distribution of the flow distribution scheme, Figure 5 is a schematic diagram of the Nguyen network flow distribution result according to the embodiment of the present invention. The traffic flow distribution results of each method show obvious differences in the road network space. Fig. 5(a) is a schematic diagram of the flow distribution result of the SSP according to the embodiment of the present invention, Fig. 5(b) is a schematic diagram of the flow distribution result of the DSP method according to the embodiment of the present invention, and Fig. 5(c) is a schematic diagram of the flow distribution result of the STSP method according to the embodiment of the present invention. FIG. 5(d) is a schematic diagram of the flow distribution result of the DTSP method according to an embodiment of the present invention, FIG. 5(e) is a schematic diagram of the flow distribution result of the SL method according to an embodiment of the present invention, and FIG. 5(f) is a schematic diagram of the flow distribution result of the DL method according to an embodiment of the present invention. 5(g) is a schematic diagram of the flow distribution result of the DCA method according to the embodiment of the present invention, and FIG. 5(h) is a schematic diagram illustrating the road segment ID according to the embodiment of the present invention. Because there is no need to reconfigure the traffic flow, and the vehicles travel along the specified route, the statistical flow of the three static flow distribution methods is significantly smaller than that of the dynamic method. However, due to the fact that the actual travel distance of congested vehicles detouring increases due to the dynamic change of the traffic path, the traffic flow of the road section in the flow distribution result of the dynamic method is too large. The flow distribution results of the SSP, STSP and SL methods are similar. The traffic on the road sections located near the 4 end points and pointing to the end points is significantly larger than that of other paths, especially the traffic on the 21 and 25 road sections leading to the end point 1 shows the highest value, while the edge road sections are basically No transmission function. In the dynamic method, the DSP method only takes the shortest path in each replanning process. Compared with the static method, although part of the traffic is transferred to other road segments (road segments 12, 20, and 22), the utility of other paths is still ignored. The DTSP method and the DL method further transfer the traffic flow to the global road network through the probabilistic selection process of the path, making full use of the transportation capacity of as many road segments as possible, but the global adjustment of each time step not only requires a lot of computational costs, but also free traffic. The path adjustment benefits of vehicles are not large and increase the transmission pressure of the relevant road sections (sections 20, 22, 27, 34), and thus crowd out the path adjustment space of congested vehicles. In contrast, the traffic distribution results of the DCA method are more balanced, which can fully coordinate the overall road transport capacity of the road network and improve the traffic efficiency of the road network.

配流方案路网传输效率对比,在配流过程中,不同方法的车流传输过程也有显著差别。如图6为本发明实施例的不同配流方法的车流传输过程示意图,在1560个初始车辆的车流模拟传输场景中,所有方法都能在初期(时间在80*30s内)迅速地将路网中终点附近的车辆运输至终点,但在车流传输中期由于没能有效地调整路径产生了交通拥堵情形,静态方法的运输效率开始下降,而DTSP、DL和DCA三者仍能保持较高的运输效率。在此模拟场景下,DTSP、DL和DCA三种动态方法分别在228*30s、192*30s、123*30s时刻执行完毕全部流量任务,远高于其他几种方法。此外,所有方法均对同一数据重复计算5次得到图中误差区间(阴影区域),结果表明所有方法均具有比较稳定的车流运输结果,且由于两种最短路径方法SSP和DSP没有考虑概率选择问题,所以其结果具有重复不变性。Compared with the transmission efficiency of the road network of the flow distribution scheme, in the flow distribution process, the traffic flow transmission process of different methods is also significantly different. Figure 6 is a schematic diagram of the traffic flow transmission process of different flow distribution methods according to the embodiment of the present invention. In the traffic flow simulation transmission scenario of 1560 initial vehicles, all methods can quickly transfer the traffic to the road network in the early stage (within 80*30s). Vehicles near the end point are transported to the end point, but in the middle of the traffic flow, traffic congestion occurs due to the failure to effectively adjust the route, and the transportation efficiency of the static method begins to decline, while DTSP, DL and DCA can still maintain high transportation efficiency. . In this simulation scenario, the three dynamic methods, DTSP, DL, and DCA, completed all traffic tasks at 228*30s, 192*30s, and 123*30s, respectively, much higher than other methods. In addition, all methods repeat the calculation for the same data 5 times to obtain the error interval (shaded area) in the figure. The results show that all methods have relatively stable traffic flow results, and because the two shortest path methods SSP and DSP do not consider the probability selection problem , so the result is invariant to repetition.

为了验证不同初始流量情况下方法的稳定性和有效性,本实施例对比了10组不同初始交通流的路网通行效率。如图7为本发明实施例的初始交通流对路网通行效率的影响示意图,随着初始车辆的增加所有配流方法的路网通行时间均呈现稳定持续的上升趋势,动态配流方法所得结果的路网通行效率均显著优于静态方法。静态配流方案中,最短路径方法SSP呈现出最稳定的时间增长态势,路网全局通行时间与初始车辆数目线性相关。SL方法配流结果的路网通行时间虽然局部不稳定但总体仍呈现上升规律。而DCA方法的结果在所有情形中均呈现最优的路网运输效率。In order to verify the stability and effectiveness of the method under different initial traffic conditions, this example compares the road network traffic efficiency of 10 groups of different initial traffic flows. Figure 7 is a schematic diagram of the influence of initial traffic flow on the efficiency of road network according to the embodiment of the present invention. With the increase of initial vehicles, the road network travel time of all flow distribution methods shows a stable and continuous upward trend. The network traffic efficiency is significantly better than the static method. In the static flow distribution scheme, the shortest path method SSP shows the most stable time growth trend, and the global traffic time of the road network is linearly related to the initial number of vehicles. Although the transit time of the road network in the distribution result of the SL method is locally unstable, it still shows an upward trend in general. And the results of the DCA method show the optimal road network transportation efficiency in all cases.

为进一步揭示不同方法配流过程通行效率之间的差异,本实施例从局域路网的角度探测在配流过程中路段运输能力利用率的变化过程。路段运输能力定义为路段流量的饱和度

Figure DEST_PATH_IMAGE065
,如下式所示,即当前时刻路段上的车辆数目与路段容量的比值。In order to further reveal the difference between the traffic efficiency in the flow distribution process of different methods, this embodiment detects the change process of the utilization rate of the transportation capacity of the road section in the flow distribution process from the perspective of the local road network. The transport capacity of a road segment is defined as the saturation of the road segment traffic
Figure DEST_PATH_IMAGE065
, as shown in the following formula, that is, the ratio of the number of vehicles on the road segment at the current moment to the road segment capacity.

Figure 227797DEST_PATH_IMAGE066
Figure 227797DEST_PATH_IMAGE066

式中:

Figure DEST_PATH_IMAGE067
表示路段r i 上在第tr次路径重规划时的车辆数目;C i 表示路段r i 的单次运输能力。where:
Figure DEST_PATH_IMAGE067
Represents the number of vehicles on the road segment ri during the t -th re-planning ; C i represents the single transportation capacity of the road segment ri .

Nguyen网络中节点6作为网络的中心,是网络全局重要的车流汇聚点和调控中心。大量车流聚集到6节点并向外发散的过程能够代表相应方法的配流过程,所以本实施例选取与节点6邻接的仅有的向外扩散的4条路段(Road7,Road11,Road22和Road25)作为流量饱和度变化过程的探测对象。结果求得,如图8为本发明实施例路段饱和度变化过程对比示意图,图8a为本发明实施例的DCA方法路段饱和度示意图,图8b为本发明实施例的DTSP方法路段饱和度示意图,图8c为本发明实施例的DSP方法路段饱和度示意图,图8d为本发明实施例的DL方法路段饱和度示意图,图8e为本发明实施例的STSP方法路段饱和度示意图,图8f为本发明实施例的SL方法路段饱和度示意图,图8g为本发明实施例的SSP方法路段饱和度示意图。路段7中大量的初始流量导致路段7在配流初始就处于接近流量饱和状态(ρjam=0.15),4种动态配流方法迅速将流量引导至11、22和25三个路段以均衡路段利用率。其中,DCA方法充分发挥4条路段的运输能力,4条路段具有相对均衡的流量饱和度,所以该节点汇聚的流量任务被快速分解完成。DTSP和DL方法路段11和路段22分散了路段7的流量压力,但路段25的相对闲置造成了较长的处理时间。此外,3种静态方法完全没有发挥路段11、22和25的运输能力,路段7的长时间拥堵也导致了路网全体的效率低下。As the center of the network, node 6 in the Nguyen network is an important global traffic convergence point and control center of the network. The process in which a large number of traffic flows gather to 6 nodes and diverge outwards can represent the flow distribution process of the corresponding method, so this embodiment selects the only 4 outwardly diffused road sections adjacent to node 6 (Road7, Road11, Road22 and Road25) as The detection object of the flow saturation change process. As a result, Fig. 8 is a schematic diagram of the comparison of the road section saturation change process according to the embodiment of the present invention, Fig. 8a is a schematic diagram of the road section saturation degree of the DCA method according to the embodiment of the present invention, and Fig. 8b is a schematic diagram of the road section saturation degree of the DTSP method according to the embodiment of the present invention. FIG. 8c is a schematic diagram of road section saturation using a DSP method according to an embodiment of the present invention, FIG. 8d is a schematic diagram of road section saturation using a DL method according to an embodiment of the present invention, FIG. 8e is a schematic diagram of road section saturation using an STSP method according to an embodiment of the present invention, and FIG. 8f is the present invention. A schematic diagram of road section saturation in the SL method according to the embodiment, and FIG. 8g is a schematic diagram of the road section saturation in the SSP method according to an embodiment of the present invention. A large amount of initial flow in section 7 causes section 7 to be in a near-flow saturation state (ρ jam = 0.15) at the beginning of the flow distribution. The four dynamic flow distribution methods quickly guide the flow to three sections 11, 22 and 25 to balance the section utilization. Among them, the DCA method gives full play to the transportation capacity of the four road sections, and the four road sections have relatively balanced traffic saturation, so the traffic task aggregated by this node is quickly decomposed and completed. DTSP and DL methods Segments 11 and 22 spread the flow pressure of segment 7, but the relative idleness of segment 25 resulted in a longer processing time. In addition, the three static methods do not fully utilize the transportation capacity of road sections 11, 22 and 25, and the long-term congestion of road section 7 also leads to the inefficiency of the overall road network.

配流方案路段阻抗对比,DCA方法通过对受拥堵路段影响的车辆的不断路径调整过程大幅提升路网的整体通行效率。本实施例中DCA方法在配流过程中对相关车辆做了3000余次路径重规划操作,每一次路径调整前后的阻抗对比如图9所示,图9为本发明实施例的动态调整前后路径阻抗对比示意图。调整前后的路径阻抗具有明显的相关性。动态配流的前期、中期路径阻抗相对平稳,配流后期由于车流到达终点附近导致路径调控的路段选择解集变小,进而全局阻抗显著增大。总体来看,路径重规划后阻抗平均减少32.71%,大幅提升了路网传输效率。Compared with the road section impedance of the flow distribution scheme, the DCA method greatly improves the overall traffic efficiency of the road network through the continuous path adjustment process of the vehicles affected by the congested road sections. In this embodiment, the DCA method performs more than 3,000 path re-planning operations on the relevant vehicles during the flow distribution process. The impedance comparison before and after each path adjustment is shown in Figure 9, which shows the path impedance before and after dynamic adjustment according to the embodiment of the present invention. Comparison diagram. There is a clear correlation between the path impedances before and after adjustment. The path impedance in the early and middle stages of dynamic distribution is relatively stable. In the later stage of the distribution, when the traffic flow reaches the vicinity of the end point, the selected solution set of the route regulation becomes smaller, and the global impedance increases significantly. Overall, the impedance is reduced by an average of 32.71% after the path replanning, which greatly improves the transmission efficiency of the road network.

此外,本实施例对比了不同车辆规模情形下的多种算法运行时间。结果如表 2所示:In addition, this embodiment compares the running times of various algorithms under different vehicle sizes. The results are shown in Table 2:

表 2 车流规模与算法运行时间关系(时间:s)Table 2 The relationship between the size of the traffic flow and the running time of the algorithm (time: s)

Figure 83757DEST_PATH_IMAGE068
Figure 83757DEST_PATH_IMAGE068

所有配流方法均与初始车流规模呈正相关关系,但动态方法由于其每个时间步长的动态路径重规划占用了大量的计算资源导致了其与静态配流方法计算效率的巨大差距。静态最短路径方法SSP具有秒级的计算效率,而动态Logit加载方法DL的计算时间则以小时为单位度量。与其他动态配流方法相比,DCA方法由于对拥堵路段的判定表现出了巨大的时间成本优势,比动态方法中表现较好的DSP方法仍然提升了约100%的运行效率。综合其配流过程和结果来看,DCA方法在大幅提升路网通行效率的情形下最大程度地压缩了计算成本。All flow distribution methods are positively correlated with the initial traffic flow size, but the dynamic method occupies a large amount of computing resources due to the dynamic path re-planning at each time step, which leads to a huge gap between its computational efficiency and the static flow distribution method. The static shortest path method SSP has a computational efficiency in seconds, while the computation time of the dynamic logit loading method DL is measured in hours. Compared with other dynamic flow distribution methods, the DCA method shows a huge time cost advantage due to the determination of congested road sections, and still improves the operating efficiency by about 100% compared with the DSP method that performs better in the dynamic method. Based on the flow distribution process and results, the DCA method compresses the computational cost to the greatest extent while greatly improving the traffic efficiency of the road network.

Claims (8)

1.一种分布式框架下交通流动态协同分配方法,其特征在于包括如下步骤:1. a traffic flow dynamic collaborative allocation method under a distributed framework is characterized in that comprising the steps: S1.为所有车辆规划初始路线方案;S1. Planning an initial routing scheme for all vehicles; S2.统计当前路网车辆,当前路网车辆大于预设数值时,进行下面步骤处理;否则,统计路段流量并输出所有车辆协同分配结果,结束当前交通流动态协同分配过程;S2. Count the current road network vehicles. When the current road network vehicles are greater than the preset value, the following steps are performed; otherwise, the traffic flow of the road section is counted and the results of the cooperative allocation of all vehicles are output, and the dynamic cooperative allocation process of the current traffic flow is ended; S3.统计当前时刻所有路段的交通密度;S3. Count the traffic density of all road sections at the current moment; S4.根据拥堵的交通密度阈值判定路段拥堵情况;路段不拥堵时进行步骤S5,否则进行步骤S6;S4. Determine the congestion situation of the road section according to the congestion traffic density threshold; if the road section is not congested, go to step S5; otherwise, go to step S6; S5.提取上一次迭代的路线方案FL,并进行步骤S8;S5. Extract the route scheme FL of the previous iteration, and go to step S8; S6.提取拥堵路段上重新规划路径的车辆集合TS6. extracting a set of vehicles T for re-planning the route on the congested road section; S7.根据招投标机制重新规划路径的车辆集合T内车辆的路线方案FNS7. The route scheme FN of the vehicles in the vehicle set T of the re-planned route according to the bidding mechanism; S8.输入新的交通需求,并根据步骤S7的重新规划路径的车辆集合T内车辆的路线方案FN或步骤S5的上一次迭代的路线方案FL更新车辆位置;S8. Input the new traffic demand, and update the vehicle position according to the route scheme FN of the vehicles in the vehicle set T of the re-planned route in step S7 or the route scheme FL of the previous iteration in step S5; S9.完成上述步骤,统计路段流量并输出所有车辆协同分配结果;S9. Complete the above steps, count the traffic of the road section and output the results of all vehicle collaborative allocation; 其中,在所述招投标机制中,每一个投标路段节点获取k条最优的最短路径作为从当前路段到目标点的候选流量加载策略,根据路径的通行阻抗k条路径都有被选择的概率;OD对u的第j条路径的被选择概率
Figure 574240DEST_PATH_IMAGE001
Among them, in the bidding mechanism, each bidding road segment node obtains k optimal shortest paths as candidate traffic loading strategies from the current road segment to the target point, and k paths have a probability of being selected according to the traffic impedance of the paths ; OD's probability of being selected for the jth path of u
Figure 574240DEST_PATH_IMAGE001
for
Figure 933678DEST_PATH_IMAGE002
Figure 933678DEST_PATH_IMAGE002
其中,OD为起讫点,θ为度量出行车辆感知误差程度的离散参数;
Figure 996312DEST_PATH_IMAGE003
为OD对u的第j条路径的投标路段的投标价格;J u 为OD对u之间k条候选路径的集合;
Among them, OD is the starting and ending point, and θ is a discrete parameter that measures the degree of perception error of the traveling vehicle;
Figure 996312DEST_PATH_IMAGE003
is the bid price of the bidding section of the jth path of OD to u ; Ju is the set of k candidate paths between OD and u ;
基于以上路径选择概率投标者Bidder为每一车辆任务分配最优路径,并向招标方Tenderer提交任务方案BT e 及其对应的路径阻抗报价V e Based on the above path selection probability, bidder Bidder assigns an optimal path for each vehicle task, and submits a task plan BT e and its corresponding path impedance quotation V e to the tenderer Tenderer .
2.根据权利要求1所述的分布式框架下交通流动态协同分配方法,其特征在于步骤S3交通密度指某一时刻单位长度的道路上存在的交通量,某时刻路段r的交通密度计算为:2. The method for dynamic collaborative allocation of traffic flow under a distributed framework according to claim 1, wherein in step S3, the traffic density refers to the traffic volume existing on the road of a unit length at a certain time, and the traffic density of the road section r at a certain time is calculated as: :
Figure 933044DEST_PATH_IMAGE004
Figure 933044DEST_PATH_IMAGE004
其中,L r 为路段r的长度,
Figure 575377DEST_PATH_IMAGE005
为路段r上第i个簇的车辆数目;
where L r is the length of road segment r ,
Figure 575377DEST_PATH_IMAGE005
is the number of vehicles in the i -th cluster on road segment r ;
当前时刻路段的交通密度不大于0.9倍当前时刻路段拥堵时的交通密度时,路段上车辆不更改路线方案,在此时间步长内继续按照上一时间步长的路由方案行驶;否则,路段上车辆根据招投标机制重新规划路线方案。When the traffic density of the road section at the current moment is not more than 0.9 times the traffic density when the road section is congested at the current moment, the vehicles on the road section do not change the route plan, and continue to drive according to the route plan of the previous time step within this time step; otherwise, on the road section The vehicle re-plans the route plan according to the bidding mechanism.
3.根据权利要求2所述的分布式框架下交通流动态协同分配方法,其特征在于招投标机制包括如下步骤:3. the traffic flow dynamic collaborative allocation method under the distributed framework according to claim 2, is characterized in that the bidding mechanism comprises the steps: (1)计算路段阻抗;(1) Calculate the impedance of the road section; (2)获取流量加载策略,计算路径被选择的概率。(2) Obtain the traffic loading strategy and calculate the probability that the path is selected. 4.根据权利要求3所述的分布式框架下交通流动态协同分配方法,其特征在于步骤(1),计算路段阻抗具体包括如下步骤:4 . The method for dynamically coordinating traffic flow allocation under a distributed framework according to claim 3 , wherein in step (1), calculating the impedance of a road section specifically includes the following steps: 5 . 1)确定路网中每条路段的阻抗;1) Determine the impedance of each road segment in the road network; 2)计算交通拥堵状态下的路段通行时间;2) Calculate the travel time of the road section in the state of traffic congestion; 3)基于路段通行时间构建路段阻抗矩阵,作为计算流量分配方案的报价。3) Build a road segment impedance matrix based on the passage time of the road segment, which is used as the quotation for calculating the traffic distribution plan. 5.根据权利要求4所述的分布式框架下交通流动态协同分配方法,其特征在于步骤1),路段阻抗采用车辆运行时间作为出行代价,不发生拥堵的路段通行时间由BPR函数计算:5. The method for dynamic collaborative allocation of traffic flow under a distributed framework according to claim 4, characterized in that in step 1), the road section impedance adopts the vehicle running time as the travel cost, and the travel time of the road section without congestion is calculated by the BPR function: Time r =Time free [1+α(q i /Q i ) β ] Time r = Time free [1+ α ( q i / Q i ) β ] 其中,Time r 为非拥堵情况下路段r i 的正常通行时间;Time free 为路段r i 自由流的通行时间;q i 为路段r i 的交通流量;Q i 为路段r i 的通行能力;αβ为阻滞系数,α的参考值为0.223,β的参考值为2.037。Among them, Time r is the normal travel time of road segment ri under non-congested conditions; Time free is the free flow travel time of road segment ri ; q i is the traffic flow of road segment ri ; Qi is the traffic capacity of road segment ri ; α and β are the retardation coefficients, the reference value of α is 0.223, and the reference value of β is 2.037. 6.根据权利要求5所述的分布式框架下交通流动态协同分配方法,其特征在于步骤2),交通拥堵状态下的路段通行时间具体为:6. The method for dynamic collaborative allocation of traffic flow under a distributed framework according to claim 5, characterized in that in step 2), the travel time of a road section under a traffic congestion state is specifically:
Figure 851638DEST_PATH_IMAGE006
Figure 851638DEST_PATH_IMAGE006
其中,Time jam 为在拥堵时路段r i 的通行时间;L i 为路段r i 的长度;
Figure 898223DEST_PATH_IMAGE007
为路段r i 的临界速度;ρ jam 为当前时刻路段拥堵时的交通密度;ρ i 为路段r i 的交通密度。
Among them, Time jam is the traffic time of the road segment ri when it is congested ; Li is the length of the road segment ri ;
Figure 898223DEST_PATH_IMAGE007
is the critical speed of the road segment ri ; ρ jam is the traffic density when the road segment is congested at the current moment ; ρ i is the traffic density of the road segment ri .
7.根据权利要求6所述的分布式框架下交通流动态协同分配方法,其特征在于步骤3),投标路段的投标价格包括路段通行时间、交叉口延误时间和时间估计噪声的时间花费:7. The method for dynamic collaborative allocation of traffic flow under a distributed framework according to claim 6, characterized in that in step 3), the bid price of the bidding road segment includes the time spent on the road segment travel time, intersection delay time and time estimation noise:
Figure 259934DEST_PATH_IMAGE008
Figure 259934DEST_PATH_IMAGE008
其中,Nr为该路径经过的不拥堵路段的数目;Njam为该路径经过的拥堵路段的数目;Nis为该路径经过的交叉口的数目;
Figure 909221DEST_PATH_IMAGE009
为每个不拥堵路段的正常通行时间;
Figure 305567DEST_PATH_IMAGE010
为每个拥堵路段的通行时间;Time δ 为时间噪声;
Figure 37900DEST_PATH_IMAGE011
为交叉口的延误时间,包括车辆排队延误和信号灯延误时间;
Among them, Nr is the number of uncongested road sections passed by the route; Njam is the number of congested road sections passed by the route; Nis is the number of intersections passed by the route;
Figure 909221DEST_PATH_IMAGE009
is the normal traffic time of each non-congested road section;
Figure 305567DEST_PATH_IMAGE010
is the travel time of each congested road section; Time δ is the time noise;
Figure 37900DEST_PATH_IMAGE011
It is the delay time at the intersection, including the delay time of vehicle queuing and the delay time of signal lights;
Figure 824590DEST_PATH_IMAGE012
Figure 824590DEST_PATH_IMAGE012
其中,N Ve 为交叉口中在排队车辆的数目;
Figure 339885DEST_PATH_IMAGE013
为线性系数;ε为信号灯延误时间控制参数。
Among them, N Ve is the number of queued vehicles at the intersection;
Figure 339885DEST_PATH_IMAGE013
is a linear coefficient; ε is the control parameter of signal light delay time.
8.根据权利要求1~7之一所述的分布式框架下交通流动态协同分配方法,其特征在于步骤S8,具体为在时间步长内根据车辆路线方案计算由路段r i-1流入到路段r i 的交通量,并更新车辆位置信息;8. The traffic flow dynamic collaborative allocation method under the distributed framework according to one of claims 1 to 7, is characterized in that step S8, is specifically calculated to flow into by road segment r i -1 in time step according to vehicle route scheme. Traffic volume of road segment ri and update vehicle location information; 路段之间的交通传播关系为:The traffic propagation relationship between road segments is: y i (x)=q i (x)tr=min{ n i-1(x), Q i (x), w[N i (x)- n i (x)]/v} y i ( x )= q i ( x ) tr =min{ n i -1 ( x ), Q i ( x ), w [ N i ( x )- n i ( x )]/ v } 其中,q i (x)为在x时刻路段r i 的交通流入率;tr为时间步长;n i-1(x)为路段r i x-1时刻的交通量;Q i (x)为x时刻路段r i 的最大流入量,即路段的通行能力;N i (x)为x时刻路段r i 的最大承受能力,拥堵临界点的交通量;n i (x)为路段r i x时刻的交通量;v为自由交通流速度;w为交通拥挤时反向传播速度;从而,计算出路段的最大通过的车辆数目为y i (x);通过FIFO原则和上述公式实现交通流在城市道路网中相邻路段的传播,并在车辆分配过程中动态更新车辆位置。Among them, q i ( x ) is the traffic inflow rate of road segment ri at time x ; tr is the time step; n i -1 ( x ) is the traffic volume of road segment ri at time x -1; Qi ( x ) is the maximum inflow of the road segment ri at time x , that is, the traffic capacity of the road segment; Ni ( x ) is the maximum bearing capacity of the road segment ri at time x, the traffic volume at the critical point of congestion; ni ( x ) is the road segment ri at the time of The traffic volume at time x ; v is the free traffic flow speed; w is the back propagation speed when the traffic is congested; thus, the maximum number of vehicles passing through the road section is calculated as y i ( x ); the traffic flow is realized by the FIFO principle and the above formula Propagation of adjacent road segments in urban road networks and dynamically updating vehicle positions during vehicle allocation.
CN202110480692.4A 2021-04-30 2021-04-30 A method for dynamic cooperative allocation of traffic flow in a distributed framework Active CN112991745B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110480692.4A CN112991745B (en) 2021-04-30 2021-04-30 A method for dynamic cooperative allocation of traffic flow in a distributed framework

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110480692.4A CN112991745B (en) 2021-04-30 2021-04-30 A method for dynamic cooperative allocation of traffic flow in a distributed framework

Publications (2)

Publication Number Publication Date
CN112991745A CN112991745A (en) 2021-06-18
CN112991745B true CN112991745B (en) 2021-08-03

Family

ID=76336882

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110480692.4A Active CN112991745B (en) 2021-04-30 2021-04-30 A method for dynamic cooperative allocation of traffic flow in a distributed framework

Country Status (1)

Country Link
CN (1) CN112991745B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114023093B (en) * 2021-08-29 2024-03-15 北京工业大学 Multi-vehicle dynamic evacuation method driven smoothly in short distance
CN113935525B (en) * 2021-10-11 2024-08-23 上海交通大学 Dynamic traffic flow distribution method based on POI influence
CN116558535A (en) * 2023-04-20 2023-08-08 淮阴工学院 Path planning method based on road traffic flow condition

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63161749A (en) * 1986-12-25 1988-07-05 Nec Corp Flow assigning system for hybrid link system
CN101571404A (en) * 2009-06-11 2009-11-04 东南大学 Shortest path auction algorithm considering intersection turning
WO2015015235A1 (en) * 2013-07-29 2015-02-05 Ren Jinxiang Dynamic travel guidance system for motorists
CN104851309B (en) * 2015-06-01 2017-07-14 南京邮电大学 A Realization Method of Traffic Guidance Strategy
CN108847037B (en) * 2018-06-27 2020-11-17 华中师范大学 Non-global information oriented urban road network path planning method
CN109409773B (en) * 2018-11-14 2022-04-08 中南大学 Dynamic planning method for earth observation resources based on contract network mechanism
CN109686082B (en) * 2018-12-07 2020-08-07 西安电子科技大学 Urban traffic monitoring system based on edge computing nodes and deployment method
CN110379161B (en) * 2019-07-18 2021-02-02 中南大学 Urban road network traffic flow distribution method
CN110930704B (en) * 2019-11-27 2021-11-05 连云港杰瑞电子有限公司 Traffic flow state statistical analysis method based on edge calculation

Also Published As

Publication number Publication date
CN112991745A (en) 2021-06-18

Similar Documents

Publication Publication Date Title
CN112991745B (en) A method for dynamic cooperative allocation of traffic flow in a distributed framework
CN109785619B (en) Coordinated optimal control system for regional traffic signal and its control method
CN108847037B (en) Non-global information oriented urban road network path planning method
Zhang et al. Find multi-objective paths in stochastic networks via chaotic immune PSO
CN103680158B (en) Based on the control work zone method for dynamically partitioning of C-average fuzzy cluster analysis
CN105225503B (en) Traffic control sub-district optimizes and self-adapting regulation method
CN108510764A (en) A kind of adaptive phase difference coordinated control system of Multiple Intersections and method based on Q study
CN107591011B (en) Adaptive control method for intersection traffic signal considering supply-side constraints
CN102568194B (en) Method for predicting congestion duration and spatial diffusion of urban road traffic
CN109269516B (en) A dynamic path induction method based on multi-objective Sarsa learning
CN106251649A (en) Based on alleviating the control strategy of intersection congestion under hypersaturated state
CN112652177B (en) A method and system for bus pre-signal priority control based on spatiotemporal characteristics
CN109919532A (en) Logistics node determination method and device
Pham et al. Learning coordinated traffic light control
CN116976045A (en) Multi-target constraint simulation method for control subarea under non-congestion state
CN108256969A (en) A kind of public bicycles lease point dispatcher-controlled territory division methods
CN111126687A (en) Single-point off-line optimization system and method for traffic signals
Qiao et al. Adaptive collaborative optimization of traffic network signal timing based on immune-fireworks algorithm and hierarchical strategy
CN116524715A (en) Rolling double-layer planning method combining trunk line green wave coordination and emergency path decision
Chen et al. Joint route planning and traffic signal timing for connected vehicles: An edge cloud enabled multi-agent game method
CN114723156B (en) A global traffic signal control method based on improved genetic algorithm
Wang et al. Problem feature-based meta-heuristics with reinforcement learning for solving urban traffic light scheduling problems
CN116682259A (en) Urban area road traffic coordination control method based on road network subarea division
Xuan et al. Novel virtual network function service chain deployment algorithm based on Q-learning
CN113358126A (en) Navigation route obtaining method, device and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant