Back to Search Start Over

Automatic Regression Testing of Simulation Models and Concept for Simulation of Connected FMUs in PySimulator

Authors :
Asghar, Adeel
Pfeiffer, Andreas
Palanisamy, Arunkumar
Mengist, Alachew
Sjölund, Martin
Pop, Adrian
Fritzson, Peter
Asghar, Adeel
Pfeiffer, Andreas
Palanisamy, Arunkumar
Mengist, Alachew
Sjölund, Martin
Pop, Adrian
Fritzson, Peter
Publication Year :
2015

Abstract

The Modelica and FMI tool ecosystem is growing each year with new tools and methods becoming available. The open Modelica standard promises portability but it is important to ensure that a certain model behaves the same in different Modelica tools or in a different version of the same tool. It is also very important (for model evolution) to check that a new version of the same model produces comparable results. Finally, it is desirable to verify that a model exported in FMU form from a Modelica tool gives exactly the same results as the original model. This paper presents a framework for automatic regression testing as part of PySimulator which provides an efficient and concise way of testing if a model or a range of models behaves in the same way in several tools or versions of a tool by checking that the results produced are essentially identical. The FMI standard has been adopted by many tool vendors and is growing in popularity each year. This paper proposes a concept for building and simulating a system made from connected FMUs generated by different tools. The FMUs for Co-Simulation can be connected together using a GUI. The system model built graphically in this way can be saved for later use or simulated directly inside PySimulator. Active development is going on to support simulation of connected FMUs for Model Exchange.

Details

Database :
OAIster
Notes :
English
Publication Type :
Electronic Resource
Accession number :
edsoai.on1234413681
Document Type :
Electronic Resource
Full Text :
https://doi.org/10.3384.ecp15118671