SMP2是在欧航局内成功应用的仿真模型重用标准,DEVS是最具代表性的设计层仿真模型表示规范。研究DEVS到SMP2的映射与变换对于模型重用的实现具有重大意义。提出了基于MDA的变换方法论,给出了SMP2元模型的MOF兼容性改造方案,设计了基于MOF的DEVS元模型,搭建了DEVS元模型与SMP2元模型之间的映射关系,基于关系层QVT规范描述了该映射关系从而形成了DEVS与SMP2之间的变换模型,讨论了该变换模型的应用方案与下一步的工作。
Simulation Model Portability standard 2 (SMP2) is a successful simulation model reuse standard in European Space Agency. DEVS is one of most common and powerful simulation model formalisms. Transforming a simulation model from DEVS representation to SMP2 representation is of great significance for model reuse. A Model Driven Architecture (MDA) based transformation methodology was proposed. According to this methodology, the SMP2 metamodel was made compatible with Meta Object Facility (MOF) and a MOF based DEVS metamodel was created. Then the mappings from DEVS metamodel to SMP2 metamodel were established. A transformation model from DEVS to SMP2 was described based on Query/View/Transformation (QVT) specification. The model’s use and next work were discussed in the final part.