Advanced

Function Inlining in Modelica Models

Papadopoulos, Alessandro; Maggio, Martina LU ; Casella, Francesco and Åkesson, Johan LU (2012) Vienna International Conference on Mathematical Modelling 2012 In 7th 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
organization
publishing date
type
Chapter in Book/Report/Conference proceeding
publication status
published
subject
in
7th Vienna International Conference on Mathematical Modelling 2012
pages
1091 - 1094
publisher
Elsevier
conference name
Vienna International Conference on Mathematical Modelling 2012
ISBN
9781627483285
language
English
LU publication?
yes
id
142a2c9a-c3c2-484c-960b-1fbcc3e95b6e (old id 2300835)
date added to LUP
2012-01-24 15:48:18
date last changed
2016-09-23 15:15: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},
}