• English
  • Deutsch
  • Log In
    Password Login
    Research Outputs
    Fundings & Projects
    Researchers
    Institutes
    Statistics
Repository logo
Fraunhofer-Gesellschaft
  1. Home
  2. Fraunhofer-Gesellschaft
  3. Konferenzschrift
  4. Static validation of modelica models for language compliance and structural integrity
 
  • Details
  • Full
Options
2013
Conference Paper
Title

Static validation of modelica models for language compliance and structural integrity

Abstract
The increasing importance of the simulation of physical systems models demands enhanced support for developers. Models do not only increase in terms of quantity, but also complexity. Hence, libraries need to be created containing valid models for re-use. It is crucial for library developers to get immediate feedback about errors regarding the language specification. Moreover, users of libraries need to know immediately if existing components are misused. When using Modelica as the modeling language the models are validated at compilation time by recent development environments. This decreases the development speed as developers recognize errors in their models late and therefore need to recapitalize the design decisions made in order to maintain the intent of the code during error fixing. In this paper we present two implementations, i.e. Object Constraint Language (OCL) and Java, for Modelica code validation that can be triggered during model editing. Both variants are compared to each other regarding readability of constraints as well as execution performance. Therefore, rules are extracted from the Modelica language specification asserting that the models are correct. Furthermore, custom rules are defined restricting library models such that they can only be used in the intended way.
Author(s)
Samlaus, R.
Strach, M.
Mainwork
5th International Workshop on Equation-Based Object-Oriented Modeling Languages and Tools, EOOLT 2013. Proceedings  
Conference
International Workshop on Equation-Based Object-Oriented Modeling Languages and Tools (EOOLT) 2013  
Link
Link
Language
English
Fraunhofer-Institut für Windenergiesysteme IWES  
Keyword(s)
  • Modelica model validation

  • static source code analysis

  • constraint languages

  • Cookie settings
  • Imprint
  • Privacy policy
  • Api
  • Contact
© 2024