集成Vissim-Python和Qt的信控交叉口DRL配时仿真系统设计

DESIGN OF DRL TIMING SIMULATION SYSTEM FOR SIGNAL INTERSECTION INTEGRATING VISSIM-PYTHON AND QT

  • 摘要: 针对目前Vissim-Python联合仿真系统在信控交叉口DRL配时研究中算法移植性不高且难以实际应用的问题,设计一款交叉口配时仿真系统。在该系统中,为满足实际应用的需要,提出同时考虑检测器数据和倒计时的DRL配时模型,根据此模型需求,通过Python设计必要的Vissim组件接口,并封装为Gym强化学习仿真环境。为解决算法移植性不高的问题,基于深度学习框架PyTorch对配时算法的接口规范化,并使用PyQt5设计可视化操作界面,可灵活调整算法参数。为提高系统运行效率,使用四种技巧加速仿真进程。最后以珠海市柠溪路与兴业路交叉口为例进行仿真测试,结果表明,该系统运行良好,既可对实际交叉口的配时效果进行评估,也可作为相关算法研究者的测试平台。

     

    Abstract: In view of the problem that the algorithm portability of vissim-Python co-simulation system is not high in the research of DRL timing of signal-control intersection and it is difficult to be applied in practice, this paper designs an intersection timing simulation system. In this system,in order to meet the needs of practical application, a DRL timing model considering both detector data and countdown was proposed. According to the requirements of this model, the necessary Vissim interface was designed by Python and encapsulated as a simulation environment for Gym reinforcement learning. In order to solve the problem of low portability of the algorithm, the deep learning framework PyTorch was used to standardize the interface of the timing algorithm, and PyQt5 was used to design a visual operation interface to flexibly adjust the algorithm parameters. In order to improve the efficiency of the system, four techniques were used to accelerate the simulation process. Taking the intersection of Linxi Road and Xingye Road in Zhuhai city as an example, the simulation test results show that the system works well, which can not only evaluate the actual intersection timing effect, but also serve as a test platform for related algorithm researchers.

     

/

返回文章
返回