Article | Proceedings of The American Modelica Conference 2018, October 9-10, Somberg Conference Center, Cambridge MA, USA | A Method to Import an FMU to a Hardware Description Language Linköping University Electronic Press Conference Proceedings
Göm menyn

Title:
A Method to Import an FMU to a Hardware Description Language
Author:
Min Zhang: Synopsys Inc., USA
DOI:
10.3384/ecp18154147
Download:
Full text (pdf)
Year:
2018
Conference:
Proceedings of The American Modelica Conference 2018, October 9-10, Somberg Conference Center, Cambridge MA, USA
Issue:
154
Article no.:
016
Pages:
147-156
No. of pages:
10
Publication type:
Abstract and Fulltext
Published:
2019-02-26
ISBN:
978-91-7685-148-7
Series:
Linköping Electronic Conference Proceedings
ISSN (print):
1650-3686
ISSN (online):
1650-3740
Publisher:
Linköping University Electronic Press, Linköpings universitet


Export in BibTex, RIS or text

In this paper, a new method of importing FMUs (Functional Mock-up Unit) [1] to a multi-domain, mixed-mode simulator is presented. 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.

Keywords: FMI, FMU, HDL, MAST, Modeling, Simulation, Saber, SaberHDL, DAE

Proceedings of The American Modelica Conference 2018, October 9-10, Somberg Conference Center, Cambridge MA, USA

Author:
Min Zhang
Title:
A Method to Import an FMU to a Hardware Description Language
DOI:
http://dx.doi.org/10.3384/ecp18154147
References:

1. Functional Mock-up Interface for Model Exchange and Co-Simulation, 2.0 July 25, 2014. https://www.fmistandard.org/downloads

2. OpenMAST Language Reference Manual, 1.0, June 2004.

3. Christian Bertsch, Award Mukbil, Andreas Junghanns, Improve Interoperability of FMI-supporting Tools with Reference FMUs, pp. 533-540, Proceedings of the 12th International Modelica Conference, May 15-17, 2017, Prague, Czech Republic

4. R. Scott Coopper, The Designer’s Guide to Analog & Mixed-Signal Modeling, March 1, 2001

5. Modelica – A Unified Object-Oriented Language for Physical System Modeling Language Specification, Version 3.0, September 5, 2007

6. Peter J. Ashenden, Gregory D. Peterson, Darrel A. Teegarden, The System Designer’s Guide to VHDL-AMS: Analog, Mixed-Signal, and Mixed-Technology Modeling, September 10, 2002 7. Saber Simulator Guide: Reference Manual, Synopsys, June 2006

8. Yutaka Hirano, Satoshi Shimada, “Initiatives for acausal model connection using FMI in JSAE”, Proceedings of the 11th International Modelica Conference September 21-23, 2015, Versailles, France

9. T. Blochwitz, M. Otter et al., “Functional Mockup Interface 2.0: The Standard for Tool independent Exchange of Simulation Models”, Proceedings of the 9th International Modelica Conference, September 3-5, 2012, Munich, Germany

Proceedings of The American Modelica Conference 2018, October 9-10, Somberg Conference Center, Cambridge MA, USA

Author:
Min Zhang
Title:
A Method to Import an FMU to a Hardware Description Language
DOI:
https://doi.org10.3384/ecp18154147
Note: the following are taken directly from CrossRef
Citations:
No citations available at the moment


Responsible for this page: Peter Berkesand
Last updated: 2019-06-04