Artículo

Efficient connection processing in equation–based object–oriented models

Marzorati, Denise Rut Icon; Fernandez, Joaquin Icon; Kofman, Ernesto Javier Icon

Otros responsables

Fecha

04/2022

Editorial

Elsevier Science Inc.

Revista

Applied Mathematics and Computation

Título del libro

Nombre del evento

Fecha del evento

Institución organizadora

ISSN

0096-3003

eISSN

ISBN

Idioma

Inglés

Tipo del evento

Resumen

This work introduces a novel methodology for transforming a large set of connections into the corresponding set of equations as required by the flattening stage of the compilation process of object oriented models. The proposed methodology uses a compact representation of the connections in the form of a Set–Based Graph, in which different sets of vertices and different sets of edges are formed exploiting the presence of regular structures. Using this compact representation, a novel algorithm is proposed to find the connected components of the Set–Based Graph. This algorithm, under certain restrictions, has the remarkable property of achieving constant computational costs with respect to the number of vertices and edges contained in each set. That way, under the mentioned restrictions, the proposed methodology can transform a large set of connections into the corresponding set of equations within a time that is independent on the size of the arrays contained in the model. Besides describing the new algorithm and studying its computational cost, the work describes its implementation in a Modelica compiler and shows its application in different examples.

Aprobación

Revisión

Complementado por

Referenciado por

Licencia Creative Commons

Excepto donde se indique lo contrario, la licencia de este ítem se describe como by-nc-sa