节点文献
并行交通仿真模型及关键算法研究
Research on Parallel Traffic Simulation Model and Key Algorithms
【作者】 倪安宁;
【导师】 隽志才;
【作者基本信息】 吉林大学 , 交通运输规划与管理, 2007, 博士
【摘要】 基于并行计算理论中以空间换取时间的思想,采用多个处理器来实现并行仿真,为有效提高微观交通仿真的速度及效率提供了可行途径。本文首先在分析将并行计算技术应用于交通仿真的必要性及可行性基础上,将多台价格相对便宜的PC机通过局域网连接搭建了并行计算集群平台,建立了基于空间域分解的并行微观交通仿真模型,将大规模路网交通仿真计算任务分散到各节点机,以并行的方式协作完成整个仿真过程。接着,深入研究了分布式并行交通仿真实现中的各种关键算法:实现了正交递归对分法及多级分割法的路网分割算法;将离散事件仿真中的基于保守时间窗的同步策略应用到并行微观交通仿真中;设计了基于局部算法的动态负载平衡机制。采用PVM及CPPVM消息传递库及主-从式并行计算模型开发了基于LINUX集群平台的交通并行仿真系统TPSS(Traffic Parallel Simulation System)。然后,通过长春市实际道路交通调查与仿真结果的对比分析,验证了TPSS系统的有效性。此外,通过大规模格状交通网络上的实验测试结果可以看出,TPSS可以获得较好的并行仿真加速比,从而提高大规模路网中的微观交通仿真速度。最后,将TPSS系统应用到长春市大经路-五马路交叉口的交通改造中,并给出了合理的改造建议。
【Abstract】 Nowadays, Simulation technique is a very popular and effective tool in analyzing many traffic problems, and it can’t be displaced by other research methods currently. In all kinds of traffic simulation, microscopic simulation takes individual vehicle as object of study. So it can reflect accurately traffic state and drivers’decision behaviors while they are facing various traffic control measures and incidents. Consequently, it is regarded as the most accurate and valid method in analyzing many traffic problems. Although the traditional sequential simulation can complete simulating traffic on the road network containing several dozen of junctions in a reasonable time, the simulation will become slow dramatically when the scale of road network increase to hundreds of or even thousands of junctions. As a result, the time need for simulation will exceed the real time in most cases, microscopic simulation then become disabled to predict real-time traffic network state online. The theory of parallel computing based on the idea of trading space for time adopts multiple processors to realize parallel simulation, which can provide a feasible approach to speedup traffic simulation within large-scale road network effectively.Although parallel simulation can be performed with dedicated high performance computer to save time, it is too expensive to afford for the common traffic study institutions and traffic management departments, which makes it impossible to be applied widely. So multiple relatively cheaper PCs have been used to establish a distributed cluster through LAN (Local Area Network) in this dissertation, the task of traffic simulation in the whole large-scale road network is then divided and assigned to all the node PCs who collaborate and computer in parallel to accomplish the whole simulation process. By this way the speed and efficiency of simulation can be improved greatly. Furthermore, this is a feasible method of widespread application easily for many traffic study institutions and traffic management departments. Firstly, the necessity of application of parallel computing technique to traffic simulation was analyzed and the relating basic conceptions of parallel computing theory and the popular parallel computing circumstances are introduced in this paper. Moreover, the way and key technique of constructing parallel computing workstation cluster was investigated. The applicability of the two massage passing library, PVM and MPI, was concluded respectively by comparing their merit and weakness. A distributed parallel computing cluster was then established with many PCs, server and exchanger through LAN.Secondly, with combining the current development status of traffic flow theory, the common methods of traffic flows modeling and analyses including macroscopic, mecroscopic and microscopic modeling were summarized. In order to make sure that traffic simulation can reoccur exactly the process of traffic performance, the core models in microscopic traffic simulation model, such as vehicle generating model, car following model and lane changing model, were studied with emphasis. On this basis, the work flow and implementation frame of microscopic traffic simulation were designed. With the analysis deeply of necessity and feasibility of parallel microscopic traffic simulation, parallel microscopic traffic simulation model based on the way of spatial domain decomposition and collaborating subnets strategy were suggested by making advantage of the characteristics of distributed parallel computing technique.Thirdly,key algorithms necessary for implementing distributed parallel microscopic traffic simulation were focused on. The method of orthogonal recursive bisection and multilevel k-way partition were used to divide the whole simulation road networks into multiple independent relatively subnet areas. The synchronization strategy of Conservative Time Windows (CTW) was applied to guarantee the correct performance of parallel traffic simulation among all the road subnets. At the same time, dynamics load balancing mechanism was implemented based on local algorithm in order to reduce the idle time of processors during parallel simulation.Once more, the presentation method of traffic network data was designed, including road network facilities model, the object-oriented abstract of all kinds of network components, and data structures used in parallel microscopic traffic simulation. The way to save and manage traffic simulation projects using database technology was also studied. The hardware and software environment under which the parallel traffic simulation system is developed was established. On the basis of detail analysis of traffic simulation system demand, TPSS (Traffic Parallel System) was designed and implemented successfully using the PVM message passing library and the programming language C++.At last, the validity of TPSS system to simulate network traffic accurately was confirmed through testing a traffic simulation project within a small road network in Changchun city. Grid traffic networks of various scales were built and some key traffic flow parameters were set reasonably. Under the testing environment the changing trend of the benefit of parallel simulation with the increasing of the network scale and the number of the vehicles as well as that of the parallel simulation speedup ratio with the increasing number of node computers in the cluster were analyzed. TPSS was finally applied to the traffic improvement project of Dajing road and Wuma road intersection in Changchun city, and a reasonable traffic control alternation was provided.The application of parallel computing technique to traffic simulation is one of the research hotspots in the field of simulation in recent years. The parallel traffic simulation model based on the method of spatial domain decomposition not only can speed up the traffic simulation in large-scale road network greatly, but also has theoretical reference and practical application value for the development and implementation of traffic status online prediction and inducement system in ITS.
【Key words】 Parallel traffic simulation; Domain Decomposition; Network Partition; Load balancing;