Journal of Systems Engineering and Electronics ›› 2010, Vol. 32 ›› Issue (9): 2015-2020.doi: 10.3969/j.issn.1001-506X.2010.09.48

• 软件、算法与仿真 • 上一篇    

组件化仿真模型交互模式的并行化改造

苏年乐,李群,王维平   

  1. 国防科学技术大学信息系统与管理学院, 湖南 长沙 410073
  • 出版日期:2010-09-06 发布日期:2010-01-03

Parallelized modification of interaction modes among  component-based simulation models

SU Nian-le, LI Qun, WANG Wei-ping   

  1. School of Information System and Management, National Univ. of Defence Technology, Changsha 410073, China
  • Online:2010-09-06 Published:2010-01-03

摘要:

微处理器的多核化及众核化发展趋势为推广并行仿真提供了机遇。依照仿真模型可移植性标准开发的组件化仿真模型之间通过接口、事件和数据流三种模式进行交互,但其立即响应的特点无法满足并行仿真的需求。研究了三种交互模式的并行化改造方法,在组件交互的对外表现层作适当调整,但基本保持原有风格;在组件交互的实现层,三种交互模式都被转化为并行离散事件仿真的经典事件交互范式,通过时间同步协议保证仿真逻辑的正确性及并行仿真的运行效率。组件化并行仿真模型的三种交互模式各有适用场合,丰富了并行仿真的模型交互方法。

Abstract:

The multi-core & many-core trends of microprocessors provide an opportunity for popularizing the parallel simulation. Simulation model components that are developed according to the simulation model portability standard interact with each other via interfaces, events and dataflow. The common characteristic of these three interaction modes is immediate response, which is unsuitable for the parallel simulation. The modification method of these interaction modes for parallelization is studied. The API level of model  interactions for a modeler is adjusted partly, while the interaction style remains. In the implementation level of model interactions, these three interaction modes are transformed into the classical event interaction formalism of the parallel discrete event simulation. The logical correctness and the running efficiency can be promised by synchronization protocols. These three interaction modes of component-based parallel simulation models have their own applicable situations and enrich the interaction method of parallel simulation models.