{"title":"Using multi-objective optimization to balance system-level model complexity","authors":"Alexander Pollok, Daniel Bender","doi":"10.1145/2666202.2666213","DOIUrl":"https://doi.org/10.1145/2666202.2666213","url":null,"abstract":"Deciding what to include in a model is the essence of physical modeling. If this kind of decisions is done incorrectly, it results in a model that is both less accurate and offers less performance than others. This paper presents a method to deal with these decision problems and quantify the results. A workflow is proposed, where the modeler first builds a model and includes several sets of replaceable subsystems. A multi-objective optimization algorithm then identifies selections of subsystems that are pareto optimal regarding accuracy and computation time. Finally, the modeler can pick one of these selections based on the modeling intent. An implementation of the proposed method using Modelica and Python is presented and potential pitfalls are explained. Special consideration is given to the quantification of the error or distance between models of different structures. The method is then illustrated by the use of two examples, one of them a complex model of an avionics cooling system cold plate. Suggestions are given regarding the embedding of the method into typical modeling workflows by the use of custom annotations.","PeriodicalId":205616,"journal":{"name":"International Workshop on Equation-Based Object-Oriented Modeling Languages and Tools","volume":"2 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2014-10-10","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"125469368","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"Towards utilizing repeating structures for constant time compilation of large Modelica models","authors":"M. Arzt, V. Waurich, J. Wensch","doi":"10.1145/2666202.2666207","DOIUrl":"https://doi.org/10.1145/2666202.2666207","url":null,"abstract":"Modelica is a language for modeling and simulating complex physical systems. A Modelica compiler generates a differential-algebraic equation (DAE) system from Modelica source code. The physical system is simulated by solving the DAE numerically. Before this can be done, the Pantelides algorithm is often applied to reduce the index of the DAE.\u0000 Modelica's ability of structured programming makes it easy to describe physical systems with a repeating structure, like a roller chain, a battery pack or a solar panel. Such Modelica models generate DAE systems with many repeated sections. The Pantelides algorithm is not capable of using and preserving these repeating structures. As a consequence Modelica compilers need to unroll such structures. Huge memory consumption and the generation of bulky source code for the numerical solver is often a consequence.\u0000 This article discusses techniques, which make it possible to preserve and use repeating structures during Pantelides index reduction. It is shown how the search for augmenting paths and the calculation of minimal structural singular subsets can be shortened. The method is restricted to repetitions, which are described by non-nested for-loops.","PeriodicalId":205616,"journal":{"name":"International Workshop on Equation-Based Object-Oriented Modeling Languages and Tools","volume":"1 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2014-10-10","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"117109530","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"Multi-rate integration algorithms: a path towards efficient simulation of object-oriented models of very large systems","authors":"Akshay Ranade, F. Casella","doi":"10.1145/2666202.2666214","DOIUrl":"https://doi.org/10.1145/2666202.2666214","url":null,"abstract":"Object-oriented modelling languages allow to build models of large, loosely coupled systems, as well as of multi-domain systems with fast and slow sub-systems easily. State-of-the-art simulation tools employ sophisticated techniques to efficiently turn the system DAEs into ODEs, but then rely on standard single-rate algorithms for the simulation of ODEs. These algorithms perform very poorly in the two above-mentioned classes of systems as their size grows, up to the point of making their simulation practically unfeasible. The goal of this paper is to introduce multi-rate algorithms with error control to the EOOLT community, showing through an exemplary case study the potential they have for the simulation of such large-scale systems.","PeriodicalId":205616,"journal":{"name":"International Workshop on Equation-Based Object-Oriented Modeling Languages and Tools","volume":"37 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2014-10-10","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"130391523","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"Simulation of holonomic mechanical systems by means of automatic differentiation","authors":"K. Röbenack, J. Winkler, M. Franke","doi":"10.1145/2666202.2666209","DOIUrl":"https://doi.org/10.1145/2666202.2666209","url":null,"abstract":"We discuss both the theoretical framework and implementation issues for the simulation of holonomic mechanical systems using automatic differentiation. Our approach allows the direct simulation of such systems based on its Lagrangian. The Lagrangian may be given as explicit equations or as an algorithm containing control structures such as loops. The method is illustrated by the well-known ball and beam system.","PeriodicalId":205616,"journal":{"name":"International Workshop on Equation-Based Object-Oriented Modeling Languages and Tools","volume":"1 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2014-10-10","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"130319192","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
M. Walther, M. Flehmig, Ulf Markwardt, Niklas Worschech, V. Waurich, C. Schubert
{"title":"Performance analysis of equation based simulations","authors":"M. Walther, M. Flehmig, Ulf Markwardt, Niklas Worschech, V. Waurich, C. Schubert","doi":"10.1145/2666202.2666211","DOIUrl":"https://doi.org/10.1145/2666202.2666211","url":null,"abstract":"Over the last years, a lot of effort has been spent on the development and implementation of parallel computing techniques for Modelica models. Especially the field of automatic parallel computation of the state derivatives has been studied intensively.\u0000 First results of the project HPC-OM have shown, that a significant speedup for simulation models of the fluid domain can be achieved by parallel computation of the BLT structure blocks. But it was noticed, that the theoretical speedups are much higher than the measured ones.\u0000 In this work, a performance analysis approach for the C++ based OpenModelica simulation runtime is presented. It is shown that the programmer can get a detailed insight into the behaviour of simulation runs with the help of the performance analysis tool Score-P. The gained knowledge from the visualization of workflow issues and performance bottlenecks can be used to reduce the computation time significantly. More precisely, it is shown that the influence of false sharing and I/O operations can be improved with an optimized implementation in order to improve the performance.","PeriodicalId":205616,"journal":{"name":"International Workshop on Equation-Based Object-Oriented Modeling Languages and Tools","volume":"15 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2014-10-10","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"123624526","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"An explicit method for decoupled distributed solvers in an equation-based modelling language","authors":"R. Braun, P. Krus","doi":"10.1145/2666202.2666212","DOIUrl":"https://doi.org/10.1145/2666202.2666212","url":null,"abstract":"The Modelica language offers an intuitive way to create object-oriented models. This makes it natural also to use an object-oriented solver, where each sub-model solves its own equations. Doing so is possible only if sub-models can be made independent from the rest of the model. One way to achieve this is to use distributed solvers by separating sub-models with transmission line elements. This offers robust and predictable simulations, simplified model debugging and natural parallelism. It also makes it possible to use different time steps and solver algorithms in different parts of the model to achieve an optimal trade-off between performance and accuracy. The suggested method has been implemented in the Hopsan simulation environment. Different modelling techniques for taking advantage of the distributed solver approach are explained. Finally, three example models are used to demonstrate the method.","PeriodicalId":205616,"journal":{"name":"International Workshop on Equation-Based Object-Oriented Modeling Languages and Tools","volume":"140 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2014-10-10","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"121286405","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"Handling infinitely fast processes in continuous system modeling","authors":"D. Zimmer","doi":"10.1145/2666202.2666206","DOIUrl":"https://doi.org/10.1145/2666202.2666206","url":null,"abstract":"This paper presents an idea on how to express equilibrium processes that shall be regarded as infinitely fast within equation-based languages for continuous systems. The expression of such processes can help to solve the corresponding non-linear systems of equations at initialization and during simulation since it enables the use of continuation methods.","PeriodicalId":205616,"journal":{"name":"International Workshop on Equation-Based Object-Oriented Modeling Languages and Tools","volume":"47 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2014-10-10","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"123084376","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"Declarative modelling for Bayesian inference by shallow embedding","authors":"H. Nilsson, Thomas A. Nielsen","doi":"10.1145/2666202.2666208","DOIUrl":"https://doi.org/10.1145/2666202.2666208","url":null,"abstract":"A common problem across science and engineering is that aspects of models have to be estimated from observed data. An instance of this familiar to control engineers is system identification. Bayesian inference is a principled way to estimate parameters: exploiting Bayes' theorem, an equational probabilistic model is \"inverted\", yielding a probability distribution for the unknown parameters given the observations. This paper presents Ebba, a declarative language for probabilistic modelling where models can be used both \"forwards\" for probabilistic computation and \"backwards\" for parameter estimation. The novel aspect of Ebba is its implementation: a shallow, arrows-based, embedding. This provides a clear semantical account and ensures that only models that support estimation can be expressed. As arrow-like notions have proved useful in modelling dynamical systems, this might also suggest an approach to an integrated language for modelling dynamical systems and parameter estimation.","PeriodicalId":205616,"journal":{"name":"International Workshop on Equation-Based Object-Oriented Modeling Languages and Tools","volume":"31 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2014-10-10","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"125740597","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"Extraction of system functions from 1-D simulation component libraries","authors":"A. Canedo, J. Richter","doi":"10.1145/2666202.2666215","DOIUrl":"https://doi.org/10.1145/2666202.2666215","url":null,"abstract":"This paper presents a bottom-up approach for the extraction of system functions from simulation component libraries; this step is desirable and necessary for the integration of system-level 1D simulation tools with product lifecycle management systems (PLM). The presented approach performs a port, structural (e.g., equational/algorithmic), parameter, and internal variable analysis to extract functionality from simulation components. The implementation of our algorithm in a research prototype has been validated on more than 4,000 components of the Amesim library with the successful extraction of more than 60,000 system functions. Our results show that the extraction of functions is a practical and viable foundation for associating requirements to system-level simulation models, and for harmonizing concept designs to detailed designs.","PeriodicalId":205616,"journal":{"name":"International Workshop on Equation-Based Object-Oriented Modeling Languages and Tools","volume":"41 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2014-10-10","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"123362842","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"Automatic task based analysis and parallelization in the context of equation based languages","authors":"Mahder Gebremedhin, P. Fritzson","doi":"10.1145/2666202.2666210","DOIUrl":"https://doi.org/10.1145/2666202.2666210","url":null,"abstract":"This paper presents an automatic parallelization approach for handling complex task systems with heavy dependencies, including methods of analyzing dependencies, representing them in a convenient way, and processing the resulting task graph representation. We present a library-based task system representation, clustering, profiling, and scheduling approach to simplify the otherwise tedious process of parallelizing complex task systems. We have implemented a flexible and robust task system handling library to manipulate and parallelize these complex task systems on shared memory multi-core and multi-processor systems. The implementation has been developed as part of the OpenModelica simulation environment. We demonstrate methods of extracting and utilizing parallelism in the context of mathematical modeling languages.","PeriodicalId":205616,"journal":{"name":"International Workshop on Equation-Based Object-Oriented Modeling Languages and Tools","volume":"16 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2014-10-10","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"127524082","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}