首页 | 本学科首页   官方微博 | 高级检索  
     

基于表达式树的Modelica单位检查和推导
引用本文:赵建军,陈闻豪.基于表达式树的Modelica单位检查和推导[J].计算机辅助工程,2013,22(4):76-81.
作者姓名:赵建军  陈闻豪
作者单位:华中科技大学机械科学与工程学院,华中科技大学机械科学与工程学院
摘    要:针对多领域物理系统统一建模中,提高复杂模型的质量与可靠性的迫切需求,阐述了Modelica语言对单位的支持方式以及单位之间换算和运算的规则,并基于对表达式树的遍历操作,给出了单位检查与推导机制的实现方案。通过分析该方案的时间复杂度,针对其影响效率的主要因素进行了优化。最终将该方案在多领域统一建模仿真平台MWorks上得以实践,以Modelica标准库中的模型为实例,证明了方案的可行性。

关 键 词:模型质量    模型可靠性    Modelica    单位检查    单位推导    表达式树
收稿时间:2012/11/2 0:00:00
修稿时间:2012/12/4 0:00:00

Unit check and derivation in Modelica based on expression tree
ZHAO Jianjun and CHEN Wenhao.Unit check and derivation in Modelica based on expression tree[J].Computer Aided Engineering,2013,22(4):76-81.
Authors:ZHAO Jianjun and CHEN Wenhao
Affiliation:Huazhong University of Science and Technology, School of Mechanical Science and Engineering,Huazhong University of Science and Technology, School of Mechanical Science and Engineering
Abstract:For the requirements to improve the quality and reliability of the complex models in multi-domain physical system modeling, the rules of conversion between the Modelica units are expounded clearly. Based on the expression tree traversal, the implementation scheme that aim at the mechanism for checking and deducing units is given. By analysing the time complexity of the scheme, the main factors affecting the efficiency are optimized. And this scheme is implemented on MWorks, which is a multi-domain physical system modeling platform. It is proved that the scheme is effective by an example from the Modelica standard library.
Keywords:model quality  model reliability  Modelica  check unit  deduce unit  expression tree
点击此处可从《计算机辅助工程》浏览原始摘要信息
点击此处可从《计算机辅助工程》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号