Font Size: a A A

Research On Conversion Technology From Simulink Model To Modelica Model Based On FMI

Posted on:2017-04-13Degree:MasterType:Thesis
Country:ChinaCandidate:Z DongFull Text:PDF
GTID:2348330509959850Subject:Mechanical Manufacturing and Automation
Abstract/Summary:PDF Full Text Request
With the rapid development of the numerical solution and computer science, computer modeling and simulation has became an important aspect in the process of modern product design. As a representative of procedural modeling methods, Simlink has been widely used in control systems modeling, whose procedural model expression is suitable for the information system modeling, and with its expanding toolboxes, it gradually used in physical systems modeling and achieves a certain applications. However, because of its procedural causal modeling, there are some problems existing in physical systems modeling,including complex and cumbersome modeling process, poor reusability and poor readability. As a representative of statement modeling methods, Modelica uses non-causal modeling approach based on equations, which is well suited for the physical systems modeling, and has became the mainstream method of functional prototype modeling of industrial products.For the problem that Simulink model and Modelica model can not be integrated, which is caused by different modeling method between them, this paper aimed at researching on the conversion technology from Simulink model to Modelica model, to achieve automatic conversion from Simulink model to Modelica model, then to support model reuse. The main research includes:Analysis of the Mathematics description of Simulink model and Modelica model,describes the theoretical basis of model transformation based on the consistency of the two in Mathematics nature. Describe a way to achieve automatic conversion through the analysis of the model calculation. First, transform Simulink model into S-Function target C code. Then, the S-Function code is packaged as FMU model based on FMI. At last, the functions in the FMU model are packaged as Modelica function, by the external function mechanism of Modelica to achieve the conversion from Simulink model to Modelica model. Presents a detailed conversion process based on the proposed conversion method, mainly includes twoaspects: the generation of FMU from Simulink model, model Conversion from FMU to Modelica model. Verify the validity of the conversion method by model conversion and simulation.The automatic conversion from Simlink model to Modelica model, effectively solve the problem that Simulink model and Modelica model can not been integrated and reused.It is important for industrial enterprises to reuse existing Simlink model in unified modeling and simulation environment. The conversion and packaging from Simulink model to standardize FMU model, lays a foundation for solving the problem of model integration between Simlink model and other model which are supported in FMI environment.
Keywords/Search Tags:Model Conversion, Simulink, Modelica, FMI, Computer Simulation
PDF Full Text Request
Related items