Logo

The 14th International Modelica Conference
Linköping, September 20-24, 2021

[Practical Information] [Tutorials and Vendor Sessions] [Proceedings] [Modelica Libraries] [FMI User Meeting] [Archives] [Journal Special Issue (open for submissions until 2022-07-31)]

Papers by Adrian Pop

Title: OpenModelica.jl: A modular and extensible Modelica compiler framework in Julia targeting ModelingToolkit.jl
Authors: John Tinnerholm, Adrian Pop, Andreas Heuermann and Martin Sjölund
Abstract: This paper presents current work on our Modelica Compiler framework in Julia: OpenModelica.jl. We provide a brief overview of this novel framework and its features, and we also present the latest addition to the possible backend options. We target ModelingToolkit.jl (MTK), a framework for symbolic-numerical computation and scientific machine learning. We evaluated the performance of our new backend using the ScalableTestsuite, a benchmark suite for Modelica Compilers. In our experiment, we demonstrate that MTK can be used as a backend with competitive simulation performance. In addition, using the scientific machine learning features of the Modeling toolkit, we were able to approximate models in the ScalableTestsuite using surrogate techniques and how such techniques can be used to accelerate the solving of nonlinear algebraic loops during tearing.
Based on our experiments, we propose using this new framework to automatically generate surrogate components of a Modelica model during the simulation to increase performance. The experimental work presented here provides one of the first investigations concerning the integration of the symbolic-numerical abilities of Julia within a Modelica tool.
Keywords: Modelica, OpenModelica, Julia, Equation-based modeling, Compiler-construction
Paper: full paper Creative Commons License
Bibtex:
@InProceedings{modelica.org:Tinnerholm:2021,
  title = "{OpenModelica.jl: A modular and extensible Modelica compiler framework in Julia targeting ModelingToolkit.jl}",
  author = {John Tinnerholm and Adrian Pop and Andreas Heuermann and Martin Sj\"olund},
  pages = {109--117},
  doi = {10.3384/ecp21181109},
  booktitle = {Proceedings of the 14th International Modelica Conference},
  location = {Link\"oping, Sweden},
  editor = {Martin Sj\"olund and Lena Buffoni and Adrian Pop and Lennart Ochel},
  isbn = {978-91-7929-027-6},
  issn = {1650-3740},
  month = sep,
  series = {Link\"oping Electronic Conference Proceedings},
  number = {181},
  publisher = {Modelica Association and Link\"oping University Electronic Press},
  year = {2021}
}


Title: New Method to Perform Data Reconciliation with OpenModelica and ThermoSysPro
Authors: Daniel Bouskela, Audrey Jardin, Arunkumar Palanisamy, Lennart Ochel and Adrian Pop
Abstract: Data reconciliation aims at improving the accuracy of measurements by reducing the effect of random errors in the data. This is achieved by introducing redundancies on the measured quantities in the form of constraints based on fundamental physical laws such as mass, momentum and energy balance equations. These constraints are called the auxiliary conditions. Modelica is an equational language that was conceived to express models based on first principle physics for the purpose of behavioral simulation. This paper shows how to reuse such models for the purpose of data reconciliation. The novelty is to automatically extract the auxiliary conditions from the Modelica model. Then the reconciled values are computed using a least square method constrained by the auxiliary conditions, as specified by the VDI 2048 standard. The new method has been implemented in OpenModelica. A simple example built with ThermoSysPro illustrates the method in detail.
Keywords: data reconciliation, Modelica, model reuse, cyber-physical systems, structural analysis
Paper: full paper Creative Commons License
Bibtex:
@InProceedings{modelica.org:Bouskela:2021,
  title = "{New Method to Perform Data Reconciliation with OpenModelica and ThermoSysPro}",
  author = {Daniel Bouskela and Audrey Jardin and Arunkumar Palanisamy and Lennart Ochel and Adrian Pop},
  pages = {453--462},
  doi = {10.3384/ecp21181453},
  booktitle = {Proceedings of the 14th International Modelica Conference},
  location = {Link\"oping, Sweden},
  editor = {Martin Sj\"olund and Lena Buffoni and Adrian Pop and Lennart Ochel},
  isbn = {978-91-7929-027-6},
  issn = {1650-3740},
  month = sep,
  series = {Link\"oping Electronic Conference Proceedings},
  number = {181},
  publisher = {Modelica Association and Link\"oping University Electronic Press},
  year = {2021}
}