摘要
为了便于混合系统的建模与仿真,提出了一个可以用通用开发平台实现的框架:敏捷仿真应用框架(AAFS)。AAFS基于方程建模,消除了模型的因果性,提高了模型的复用性;提取了构成仿真的模型、问题和数值求解器三个抽象,降低了AAFS内部各组成部分的耦合性;使用模型间的关联和连接器组合模型、搭建系统,使构成系统的概念和方程可以被层次化的管理;用UML符号给出了AAFS的设计,说明了AAFS易于被当前面向对象的编程语言实现;定义了模型与求解器的接口,增加了对数值解法的选择性;给出了一个用AAFS实现的弹簧、质子系统的建模仿真例子,说明了AAFS的使用方法及其带给使用者的便利性。
Agile Application Framework for Simulation (AAFS) implemented by general developing platform is proposed to facilitate hybrid modeling and simulation. Equation - based modeling in AAFS eliminates the causality of models and improves the reusability of models. Simulation is decomposed into three abstractions : model, context and numerical solver, which reduce the coupling between internal parts of AAFS. Association and connector are employed to compose a system, which organizes the concepts and equations of a system hierarchically. The design of AAFS is presented with UML notation, which can be easily implemented by modern object - oriented programming language. The interface between model and numerical solver is defined to increase the choice of numerical methods. AAFS is applied to a spring - mass system, which illustrates its usage and demonstrates the convenience it brings to the users.
出处
《计算机仿真》
CSCD
北大核心
2009年第7期306-310,共5页
Computer Simulation
关键词
仿真框架
面向对象
基于方程建模
Simulation framework
Object - oriented
Equations - based modeling