系统仿真学报 ›› 2020, Vol. 32 ›› Issue (3): 446-454.doi: 10.16182/j.issn1004731x.joss.18-0231

• 仿真模型/系统置信度评估技术 • 上一篇    下一篇

多Agent系统在空间直观仿真建模中的并行化

屈洪春1, 姚献慧2, 尹力2   

  1. 1. 重庆邮电大学自动化学院,重庆 400065;
    2. 重庆邮电大学计算机科学与技术学院,重庆 400065
  • 收稿日期:2018-04-23 修回日期:2018-11-09 出版日期:2020-03-18 发布日期:2020-03-25
  • 作者简介:屈洪春(1979-),男,四川南充,博士,教授,博导,研究方向为面向大数据的仿真与预测模型;姚献慧(1991-),女,山东临沂,硕士生,研究方向为并行仿真模型。
  • 基金资助:
    国家自然科学基金(61871061)

Parallel Computing of Multi-Agent System in Spatially-Explicit Modeling and Simulation

Qu Hongchun1, Yao Xianhui2, Yin Li2   

  1. 1. College of Automation, Chongqing University of Posts and Telecommunications, Chongqing 400065, China;
    2. College of Computer Science and Technology, Chongqing University of Posts and Telecommunications, Chongqing 400065, China
  • Received:2018-04-23 Revised:2018-11-09 Online:2020-03-18 Published:2020-03-25

摘要: 针对空间并行仿真技术中的同步问题,设计基于Agent感知区域的有限乐观同步算法。该算法继承乐观同步算法的积极性、保守同步算法的安全性,并将仿真中的Agent划分为安全Agent区域和非安全Agent区域,同时利用调度服务器和执行服务器分工协作的方式完成仿真计算。调度服务器根据不同Agent的安全半径筛选确定其是否属于安全区域,执行服务器负责执行Agent的行为。该算法实现仿真技术中积极且有限的乐观同步,降低并行仿真中网络的通信量,确保仿真程序执行过程中的因果约束关系,有效地缩短了仿真时间,在GAMA仿真平台实现并验证方法的有效性。

关键词: 并行仿真, 空间直观模型, 大规模, 有限乐观, 感知半径

Abstract: Aiming at the synchronization in the spatially-explicit parallel simulations, a limited optimistic synchronization algorithm based on Agent sensing region is proposed. The algorithm inherits the advantages of the optimistic synchronization algorithm and the security-guaranteed conservative synchronization algorithm. The algorithm categories all simulated agents into the security agent region and non-security agent region. The simulation is performed through the collaboration between the dispatch server and the execution servers where simulation tasks are scheduled and executed. The dispatch server determines whether an agent is in a security zone according to the security radius. The execution servers are responsible for performing the behavior of the agents. The algorithm achieves the better performance claimed in the limited optimistic synchronization, reduces the network traffic in the parallel simulation, ensures the causality constraint relationship in the process of simulations and decreases the simulation time cost. Experiments in GAMA platform demonstrate the effectiveness of the algorithm.

Key words: parallel simulation, spatially-explicit model, large scale, limited optimism, perceive radius

中图分类号: