Treffer: Resizable Arrays in Object-Oriented Modeling.
Weitere Informationen
The Modelica language (Modelica.org) makes it easy to build large, complex models by allowing the instantiation of reusable component models. Modelica tools typically expand arrays of variables, equations and components and perform symbolic transformations on the scalar elements. This reduces the efficiency of the translation process and makes it difficult to change array dimensions after translation. This paper describes modest enhancements of standard algorithms to avoid scalarization. As a result, arrays can be resized both after translation and during simulation. The new technique does, however, impose certain restrictions on the way models are written. It is also sketched how to provide more meaningful diagnostics for erroneous models. Several examples demonstrate the new algorithms using the Web App Modiator. [ABSTRACT FROM AUTHOR]
Copyright of Linköping Electronic Conference Proceedings is the property of Linkoping University Electronic Press and its content may not be copied or emailed to multiple sites without the copyright holder's express written permission. Additionally, content may not be used with any artificial intelligence tools or machine learning technologies. However, users may print, download, or email articles for individual use. This abstract may be abridged. No warranty is given about the accuracy of the copy. Users should refer to the original published version of the material for the full abstract. (Copyright applies to all Abstracts.)