摘要
JMASE(联合建模与仿真环境)作为一个仿真节点加入到分布实时仿真系统中,必须解决三个关键问题,即JMASE节点的实时性保证、JMASE节点与其它节点实时数据交换的同步,以及JMASE节点的管理控制。通过设计支持多线程及事件调度优先级的JMASE离散事件调度器、引入同步事件、固定模型事件的发生时间,以及将仿真步长分为读、写、计算三拍,有效地解决了前两个问题;通过JMASE侦听、执行仿真管理命令解决了第三个问题。最后给出了一个基于分布实时系统(其中一个仿真节点为JMASE)的仿真实例,仿真试验结果说明了上述方法的有效性。
To integrate the JMASE(Joint Modeling And Simulation Environment) with a distribution real-time system , there are three key problems: how to ensure the JMASE node to run in real -time, how to keep the synchronization of data exchanging between JMASE node and the others, and how to manage or control the JMASE node. The first two problems are solved by designing a JMASE discrete event scheduler which supports multi - thread and scheduling priority, introducing synchronization event, fixing the scheduling time of the model events, and dividing each simulation step into three beats(reading, writing and calculating). By JMASE's listening and executing the simulation management commands, the last one is resolved. Finally, a simulation example based on a distribution real - time system, where a node is JMASE, is presented. The result shows that the methods mentioned above are effective.
出处
《计算机仿真》
CSCD
2006年第10期132-136,共5页
Computer Simulation
基金
武器装备预研项目(413040402)