Automatic Fixed-point Code Generation for Modelica using Dymola
نویسندگان
چکیده
This paper describes a Modelica package for fixedpoint arithmetics and automatic fixed point code generation for embedded systems and FPGA applications. Using Dymola [1] to investigate the dynamic behavior of the original model a fixed point representation is automatically generated. The model can then be simulated, using fixed point arithmetics to verify the fixed-point representation. Finally, code is generated for the desired target. Either integer C code for embedded systems or Mitrion-C code [2] for automatic VHDL code generation for FPGA targets.
منابع مشابه
Modelica Hybrid Modeling and Efficient Simulation
Modelica is an object-oriented language for modeling of large and heterogeneous physical systems. Typical applications include mechatronic models in automotive and aerospace applications involving mechanical, electrical and hydraulic subsystems as well as control systems. Modeling of an ideal diode and Coulomb friction is discussed to illustrate the unique hybrid features of Modelica. The langu...
متن کاملMultiprocessor Scheduling of Simulation Code From Modelica Models
Modern object oriented modeling techniques, such as the Modelica modeling language, are increasing the capability to model and simulate systems of large size and complexity. Simulation of such large and complex systems is computationally very expensive. The use of parallel computers for simulation of Modelica models is one approach of handling simulation of such large and complex systems within...
متن کاملObject Oriented Simulation using Modelica
In this report we present the new standard tool of object oriented simulation, the object oriented programming language Modelica. Modelica is a modern language built on non-casual modeling with mathematical equations and object oriented constructs to facilitate reuse of modeling knowledge. The design of Modelica started in the continuous time domain since there is a common mathematical framewor...
متن کاملSimulating driveability using Dymola and Modelica
As the complexity of automotive powertrains increases it is becoming increasingly difficult for engineers to determine the optimum specification for the system. The proliferation of control systems also adds to the complexity of the task and increasingly simulation is being used to assist in the development of new products. A model has been developed to enable component parameter studies and de...
متن کاملModel Based Systems Engineering for Aircraft Systems – How does Modelica Based Tools Fit?
Saab Aeronautics has chosen Modelica and Dymola as part of the means for model based system engineering (MBSE). This paper will point out why a considerable effort has been made to migrate models from other simulation tools to Dymola. The paper also shows how the models and tools are used, experiences gained from usage in an industrial context as well as some remaining trouble spots.
متن کامل