A Method to Import an FMU to a Hardware Description Language
Abstract
In this paper, a new method of importing FMUs (Functional Mock-up Unit) Supporting FMI (Functional Mock-up Interface) 2.0 for Model Exchange by converting an FMU to an HDL (Hardware Description Language) wrapper model not only takes advantage of the existing simulator capabilities, but also avoids a significant amount of work in the core of the simulator. The selected HDL in this paper is MAST which is used in both Saber and SaberHDL simulators [2][7]. To make the FMU import process easier, a general conversion utility, FMU2MAST, was developed which converts an FMU to a MAST model automatically. Two examples, bouncing ball and motor drive system are presented. With these two examples, three techniques used in this method are discussed: Accurate event detection in a variable time-step integration algorithm; Re-initialization of a state variable in MAST; and solving DAE (Differential Algebraic Equation) of a coupling FMUs system. This new FMU import method has been proved a success with 44 examples exported from five different tools.
BibTeX
@inproceedings{zhang2019method,
author = {Min Zhang},
title = {{A Method to Import an FMU to a Hardware Description Language}},
booktitle = {Linköping},
year = {2019},
doi = {10.3384/ecp18154147},
}Ask Althea to put this paper to the test.
Loading related content...