摘要
介绍了微观交通仿真软件 Paramics的插件技术及其 API、基于 Windows的进程间通讯及消息传递技术。在此基础上 ,建立了 Paramics与外部程序间数据通讯机制 ,详细描述了该通讯机制的逻辑结构和实现算法流程。应用此通讯机制 ,编写了一个外部应用程序 ,对一个由信号灯控制的十字路口的 4个方向、8个出入口的车流数量进行仿真时间间隔的采集 ,并进行动态 OD矩阵的估算。程序演示表明 :运行效果良好 ,该通讯机制达到了设计目的。
Microscopic traffic simulation software Paramics is introduced in this paper. Pa ramics plug-in and its API as well as the technologies of Windows inter-proces s communication and message delivery are specified. Based on them, a communicati on mechanism is established. Its logical structure and algorithm steps are also described in detail. A demo program using the communication mechanism is develop ed, which collects the traffic count of 8 passageways of a signalized intersecti on in 4 directions and estimates the dynamic OD matrices in fixed simulation tim e intervals. The results show that the communication mechanism has quite good pe rformance.
出处
《交通与计算机》
2005年第1期43-46,共4页
Computer and Communications