节点文献
Modelica仿真模型的可重用技术
Reusability of Modelica Simulation Model
【Author】 Zhou Fan-li~(1,2) Guo Jun-feng~2 Zhao Jian-jun~(1,2) Chen Li-ping~1 (l.CAD Center,Huazhong University ofScience& Technology,Hubei.Wuhan.430074) (2.Tongyuan Software & Control Information Technology Co.,Ltd,Jiangsu,Suzhou,215123)
【机构】 华中科技大学CAD中心; 苏州同元软控信息技术有限公司;
【摘要】 概括了Modelica支持仿真模型重用的方法技术,详细介绍了其中关键的重声明机制。从软件设计的角度剖析了重声明机制的设计思想。分析了实现重声明机制的关键点,给出了基于解析栈的重声明查找算法,指出了实现重声明机制需要考虑的关键因素。结合工程实例阐述了如何应用重声明机制构建高度可重用的仿真模型。
【Abstract】 Reusable approaches for simulation model in Modelica are summarized,and the critical redeclaration mechanism is explained.From the view point of software design,the design idea of redeclaration mechanism is analyzed.After giving the key points of redeclaration mechanism implementation,a look-up algorithm of redeclaration based on resolve-stack is presented. Additionally,some restrictions about the implementation are pointed out.Finally,a complicated engineering example is given to show how to use redeclaration mechanism to build high reusable simulation models.
【Key words】 Reusable Modeling Mechanism; Redeclaration; Polymorphism and Generic; Modelica;
- 【会议录名称】 2009系统仿真技术及其应用学术会议论文集
- 【会议名称】2009系统仿真技术及其应用学术会议
- 【会议时间】2009-08-01
- 【会议地点】中国安徽合肥
- 【分类号】TP391.9
- 【主办单位】中国自动化学会系统仿真专业委员会、中国系统仿真学会仿真技术应用专业委员会