Skip to main content

Lund University Publications

LUND UNIVERSITY LIBRARIES

Function Inlining in Modelica Models

Papadopoulos, Alessandro ; Maggio, Martina LU ; Casella, Francesco and Åkesson, Johan LU (2012) Vienna International Conference on Mathematical Modelling 2012 p.1091-1094
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... (More)
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. (Less)
Please use this url to cite or link to this publication:
author
; ; and
organization
publishing date
type
Chapter in Book/Report/Conference proceeding
publication status
published
subject
host publication
7th Vienna International Conference on Mathematical Modelling 2012
pages
1091 - 1094
publisher
Elsevier
conference name
Vienna International Conference on Mathematical Modelling 2012
conference location
Vienna, Austria
conference dates
2012-02-15
ISBN
9781627483285
language
English
LU publication?
yes
additional info
key=papa_etal2012mathmod project=langopt,LCCC-modeling
id
142a2c9a-c3c2-484c-960b-1fbcc3e95b6e (old id 2300835)
date added to LUP
2016-04-04 11:15:54
date last changed
2019-12-11 09:36:40
@inproceedings{142a2c9a-c3c2-484c-960b-1fbcc3e95b6e,
  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.}},
  author       = {{Papadopoulos, Alessandro and Maggio, Martina and Casella, Francesco and Åkesson, Johan}},
  booktitle    = {{7th Vienna International Conference on Mathematical Modelling 2012}},
  isbn         = {{9781627483285}},
  language     = {{eng}},
  pages        = {{1091--1094}},
  publisher    = {{Elsevier}},
  title        = {{Function Inlining in Modelica Models}},
  year         = {{2012}},
}