首页> 中文期刊>计算机与数字工程 >基于 Modelica 的半物理仿真代码生成方法研究*

基于 Modelica 的半物理仿真代码生成方法研究*

     

摘要

To solve the problems that the multi‐domain models of complex electromechanical system can not be used for Hardware‐In‐the‐Loop simulation(HILS) ,and the current application software of HILS is unable to establish the multi‐do‐main model ,based on the essential technology of code generation ,two methods of modelica model generating to the target code are presented .Firstly ,in‐depth research is done to probe the technique that modelica model immediately generates to the target code .Secordly the method of modelica model generating to the target code by Simulink is introduced .At last ,a simulation of a car 3‐DOF is used as the object of study to test and verify the two methods .%针对当前复杂机电系统的多领域模型不支持半物理仿真或者已有半物理仿真工具无法建立复杂机电系统多领域模型的问题,围绕目标代码生成这一关键技术,提出了两种由M o delica模型生成半物理仿真代码的方法。首先深入研究了Modelica模型直接代码生成技术,并详细描述了其实现过程。其次介绍了基于Simulink的联合建模方法及间接代码生成过程。最后通过示例对两种代码生成方法分别进行了应用验证。

著录项

相似文献

  • 中文文献
  • 外文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号