Konferensartikel

Tool Support for Modelica Real-time Models

Michaela Huhn
Clausthal University of Technology, Department of Informatics, Germany

Martin Sjölund
Linköpings Universitet, Dept. Of Computer and Information Science, Sweden

Wuzhu Chen
Clausthal University of Technology, Department of Informatics, Germany

Christian Shulze
Clausthal University of Technology, Department of Informatics, Germany

Peter Fritzson
Linköpings Universitet, Dept. of Computer and Information Science, Sweden

Ladda ner artikelhttp://dx.doi.org/10.3384/ecp11063537

Ingår i: Proceedings of the 8th International Modelica Conference; March 20th-22nd; Technical Univeristy; Dresden; Germany

Linköping Electronic Conference Proceedings 63:61, s. 537-548

Visa mer +

Publicerad: 2011-06-30

ISBN: 978-91-7393-096-3

ISSN: 1650-3686 (tryckt), 1650-3740 (online)

Abstract

The challenges in the area real-time simulation of physical systems have grown rapidly. To prepare a simulation model for execution on a real-time target; an experienced developer usually performs several adaptations on the model and the solver in order to reduce runtime and communication needs.

Two-folded tool support for evaluating the effect of such adaptations is presented here: (1) A ModelComparator for the systematic comparison of simulation results from different versions of the model and (2) an RT-Profiler for measurements and analyses of function calls during RT simulations. The ModelComparator facilitates verification of a model adapted for real-time execution to ensure that it will produce sufficiently accurate results at selected operation points. The RTProfiler takes the specific code structure of simulation models into account when measuring execution times. It directs the developer to those parts that are most promising for model adaptations.

We consider OpenModelica and SimulationX as modeling and code generation frameworks for realtime simulation. The procedure of model adaptations and the use of the analysis tools therein are exemplified in small case studies.

Nyckelord

Simulation; Modelica; RT-profiling; optimization; hardware-in-the-loop

Referenser

Inga referenser tillgängliga

Citeringar i Crossref