The use of Modelica as a modelling and simulation language is progressively replacing hand-tuned simulation code written in traditional imperative programming languages. This adoption is fuelled by the availability of libraries to target different application domains, as well as optimizations in Modelica implementations that allow to address larger problems. However, the effort required to extend existing Modelica implementations to support large scale models may not be economically sustainable by the Modelica community. To overcome this barrier, we believe a perspective change is required. Instead of developing, maintaining and optimizing a dedicated codebase, we propose to develop a Modelica implementation by relying on the LLVM state-of-the-art compiler framework. Although this approach will require a higher initial development effort, we believe that it will lead to significantly improved performance as well as lower overall cost. The paper discusses a possible roadmap for such a development, and presents a very early prototype implementation that exploits array structures by avoiding scalar expansion during the code generation process.
scite is a Brooklyn-based organization that helps researchers better discover and understand research articles through Smart Citations–citations that display the context of the citation and describe whether the article provides supporting or contrasting evidence. scite is used by students and researchers from around the world and is funded in part by the National Science Foundation and the National Institute on Drug Abuse of the National Institutes of Health.
hi@scite.ai
10624 S. Eastern Ave., Ste. A-614
Henderson, NV 89052, USA
Copyright © 2024 scite LLC. All rights reserved.
Made with 💙 for researchers
Part of the Research Solutions Family.