Towards the separate compilation of Modelica: modularity and interfaces for the index reduction of incomplete DAE systems - Inria - Institut national de recherche en sciences et technologies du numérique Access content directly
Conference Papers Year : 2023

Towards the separate compilation of Modelica: modularity and interfaces for the index reduction of incomplete DAE systems

Abstract

A key feature of the Modelica language is its objectoriented nature: components are instances of classes and they can aggregate other components, so that extremely large models can be efficiently designed as "trees of components". However, the structural analysis of Modelica models, a necessary step for generating simulation code, often relies on the flattening of this hierarchical structure, which undermines the scalability of the language and results in widely-used Modelica tools not being able to compile and simulate such large models. In this paper, we propose a novel method for the modular structural analysis of Modelica models. An adaptation of Pryce's Sigma-method for non-square DAE systems, along with a carefully crafted notion of component interface, make it possible to fully exploit the object tree structure of a model. The structural analysis of a component class can be performed once and for all, only requiring the information provided by the interface of its child components. The resulting method alleviates the exponential computation costs that can be yielded by model flattening; hence, its scalability makes it ideally suited for the modeling and simulation of large cyber-physical systems.
Fichier principal
Vignette du fichier
ModelicaModularSA.pdf (315.14 Ko) Télécharger le fichier
Origin Files produced by the author(s)

Dates and versions

hal-04295096 , version 1 (20-11-2023)

Licence

Identifiers

Cite

Albert Benveniste, Benoît Caillaud, Mathias Malandain, Joan Thibault. Towards the separate compilation of Modelica: modularity and interfaces for the index reduction of incomplete DAE systems. Modelica 2023 - 15th International Modelica Conference, Oct 2023, Aachen, Germany. pp.10, ⟨10.3384/ecp204⟩. ⟨hal-04295096⟩
39 View
32 Download

Altmetric

Share

Gmail Mastodon Facebook X LinkedIn More