Code Generation Technology of HILS for Modelica Model
ZHANG Hongchang
DING Jianwan
Abstract: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 .
Keywords:complex electromechanical systemmulti-domain modelinghardware-in-the-loop simulationcode genera-t io n
Publication Date:2015-01-01
Online Publishing Date:2025-08-15(First online date of this platform, not the publication date of the document)
Pages:5( 356-359,386 )
Computer and Digital Engineering

Computer and Digital Engineering

ISTIC
ISSN:1672-9722
Year, Vol.(Issue):2015,(3)