Function Inlining in Modelica Models

Alessandro Papadopoulos, Martina Maggio, Francesco Casella, Johan Åkesson

Research output: Chapter in Book/Report/Conference proceedingPaper in conference proceeding

Abstract

The equation-based Modelica language allows the modeller to specify custom functions. The body of a function is an algorithm that contains procedural code to be executed when the function is called. This language feature is useful for many applications; however, the insertion of a function often prevent model optimizations that require the model to be formulated in purely declarative form by equations only. This paper discusses several non-trivial cases in which the function call and the corresponding algorithmic code can be transformed into an equivalent purely equation-based model, thus allowing further optimization. The inlining algorithms presented in the paper go well beyond the state of the art in commercial and open-source Modelica tools.
Original languageEnglish
Title of host publication7th Vienna International Conference on Mathematical Modelling 2012
PublisherElsevier
Pages1091-1094
ISBN (Print)9781627483285
Publication statusPublished - 2012
EventVienna International Conference on Mathematical Modelling 2012 - Vienna, Austria
Duration: 2012 Feb 15 → …

Conference

ConferenceVienna International Conference on Mathematical Modelling 2012
Country/TerritoryAustria
CityVienna
Period2012/02/15 → …

Bibliographical note

key=papa_etal2012mathmod
project=langopt,LCCC-modeling

Subject classification (UKÄ)

  • Control Engineering

Fingerprint

Dive into the research topics of 'Function Inlining in Modelica Models'. Together they form a unique fingerprint.

Cite this