并行仿真是提高分析仿真运行效率的有效途径.当前国内外并行仿真由于缺乏高效统一的可视化组件建模范式的指导,往往需要采用从上到下的集中式开发模式,开发门槛高、效率低、二次建模困难,且模型间的耦合度大、协调难,模型与仿真平台紧密绑定,难以实现模型的分步开发、封装、快速组装及平台问模型的重用.作者结合组件建模及MDA技术的优势,针对当前广受关注的PDEVS规范所存在的不支持原子模型可视化建模及事件处理逻辑过于集中、无法挖掘处理逻辑内部并行性的缺点,提出了基于MDA的并行仿真可视化组件建模范式——EDEVS,并证明了该范式的描述能力不弱于PDEVS;在此基础上,设计实现了基于EDEVS的可视化建模框架及EDEVS模型到YHSUPE并行仿真平台模型的代码转换插件,将组件化引入YHSUPE,使其能够适应大规模并行仿真模型分步开发及快速组装的应用需求,验证了EDEVS范式的可行性.
Parallel simulation is an effective way to enhance the running performance of analytic simulations. There are many parallel simulation platforms designed for analytic simulation, which have achieved great running performance. But the modeling paradigms of most of these platforms are difficult to program with and usually require a top-to-bottom developing mode. They are ob- stacles to develop large scale parallel simulations, because they fail to provide an easy way to fa- cilitate model development, encapsulation and reuse, which is fundamental in developing large scale analytic simulations. To deal with this issue, this paper presents a MDA based Visual Component formalism, which can support hierarchical decomposition of large models and facilitate model reuse. It extends the DEVS (Discrete Event simulation specification) and proposes a com- ponent-based formalism, called EDEVS (Event-Scheduling Discrete Event simulation Specification) for the existing parallel simulation platforms. This paper also presents a visual editor to facilitate the development of EDEVS models, and provides a tool to map EDEVS model to YHSUPE model, validating EDEVS's feasibility.