Tools and Methods for Analysis, Debugging, and Performance Improvement of Equation-Based Models

Tools and Methods for Analysis, Debugging, and Performance Improvement of Equation-Based Models
Author :
Publisher : Linköping University Electronic Press
Total Pages : 243
Release :
ISBN-10 : 9789175190716
ISBN-13 : 9175190710
Rating : 4/5 (710 Downloads)

Book Synopsis Tools and Methods for Analysis, Debugging, and Performance Improvement of Equation-Based Models by : Martin Sjölund

Download or read book Tools and Methods for Analysis, Debugging, and Performance Improvement of Equation-Based Models written by Martin Sjölund and published by Linköping University Electronic Press. This book was released on 2015-05-11 with total page 243 pages. Available in PDF, EPUB and Kindle. Book excerpt: Equation-based object-oriented (EOO) modeling languages such as Modelica provide a convenient, declarative method for describing models of cyber-physical systems. Because of the ease of use of EOO languages, large and complex models can be built with limited effort. However, current state-of-the-art tools do not provide the user with enough information when errors appear or simulation results are wrong. It is of paramount importance that such tools should give the user enough information to correct errors or understand where the problems that lead to wrong simulation results are located. However, understanding the model translation process of an EOO compiler is a daunting task that not only requires knowledge of the numerical algorithms that the tool executes during simulation, but also the complex symbolic transformations being performed. As part of this work, methods have been developed and explored where the EOO tool, an enhanced Modelica compiler, records the transformations during the translation process in order to provide better diagnostics, explanations, and analysis. This information is used to generate better error-messages during translation. It is also used to provide better debugging for a simulation that produces unexpected results or where numerical methods fail. Meeting deadlines is particularly important for real-time applications. It is usually essential to identify possible bottlenecks and either simplify the model or give hints to the compiler that enable it to generate faster code. When profiling and measuring execution times of parts of the model the recorded information can also be used to find out why a particular system model executes slowly. Combined with debugging information, it is possible to find out why this system of equations is slow to solve, which helps understanding what can be done to simplify the model. A tool with a graphical user interface has been developed to make debugging and performance profiling easier. Both debugging and profiling have been combined into a single view so that performance metrics are mapped to equations, which are mapped to debugging information. The algorithmic part of Modelica was extended with meta-modeling constructs (MetaModelica) for language modeling. In this context a quite general approach to debugging and compilation from (extended) Modelica to C code was developed. That makes it possible to use the same executable format for simulation executables as for compiler bootstrapping when the compiler written in MetaModelica compiles itself. Finally, a method and tool prototype suitable for speeding up simulations has been developed. It works by partitioning the model at appropriate places and compiling a simulation executable for a suitable parallel platform.


Tools and Methods for Analysis, Debugging, and Performance Improvement of Equation-Based Models Related Books

Tools and Methods for Analysis, Debugging, and Performance Improvement of Equation-Based Models
Language: en
Pages: 243
Authors: Martin Sjölund
Categories: Debugging in computer science
Type: BOOK - Published: 2015-05-11 - Publisher: Linköping University Electronic Press

DOWNLOAD EBOOK

Equation-based object-oriented (EOO) modeling languages such as Modelica provide a convenient, declarative method for describing models of cyber-physical system
Thermal Issues in Testing of Advanced Systems on Chip
Language: en
Pages: 219
Authors: Nima Aghaee Ghaleshahi
Categories:
Type: BOOK - Published: 2015-09-23 - Publisher: Linköping University Electronic Press

DOWNLOAD EBOOK

Many cutting-edge computer and electronic products are powered by advanced Systems-on-Chip (SoC). Advanced SoCs encompass superb performance together with large
Content Ontology Design Patterns: Qualities, Methods, and Tools
Language: en
Pages: 261
Authors: Karl Hammar
Categories:
Type: BOOK - Published: 2017-09-06 - Publisher: Linköping University Electronic Press

DOWNLOAD EBOOK

Ontologies are formal knowledge models that describe concepts and relationships and enable data integration, information search, and reasoning. Ontology Design
Distributed Moving Base Driving Simulators
Language: en
Pages: 60
Authors: Anders Andersson
Categories:
Type: BOOK - Published: 2019-04-30 - Publisher: Linköping University Electronic Press

DOWNLOAD EBOOK

Development of new functionality and smart systems for different types of vehicles is accelerating with the advent of new emerging technologies such as connecte
Scalable and Efficient Probabilistic Topic Model Inference for Textual Data
Language: en
Pages: 75
Authors: Måns Magnusson
Categories:
Type: BOOK - Published: 2018-04-27 - Publisher: Linköping University Electronic Press

DOWNLOAD EBOOK

Probabilistic topic models have proven to be an extremely versatile class of mixed-membership models for discovering the thematic structure of text collections.