R2019x_NewFunction [Systems]: Compare Simulated Models


This highlight is aimed at providing comparison of several simulated alternatives of same model.



Requirement origin

The request is to have a similar functionality as in Dymola by comparing the parameters from results, without having to refer to the models but from their results. The compare can be done between 2 or more results. By comparing simulated models, the user will more easily distinguish which models have been simulated and which model generates a given results set. This will help user to analyze effect of model alternatives on system performance.

What is offered & how it serves

Comparison focuses on model architecture changes (components added, removed, replaced) and parameter changes. Comparison is done based on computed results, not the actual model. So comparison can be done even after the model definition has been modified.

A new dedicated dialog shows the structure of the simulated models. The dialog is triggered by a dedicated command “Add to Results Manager” in contextual menu of Variable Browser.

Once a marker is added to a cell, all the parent cells in the structure are also containing the marker, in order to easily identify deep difference directly from any level in the model structure. The differences of structure are also indicated, with color highlight of the cells. If a component exists in a simulated model, but does not exist in other simulated models, then the cell is highlighted in red where the component does not exist and the cell is highlight in green where the component exists. In addition, if an intermediate component exists in all simulated model but the deep structure of the component is not the same, then the cells are highlighted in yellow, to indicate that internal difference of structure can be studied.

Data for self-trial

Modelica Standard Library

Modelca.Mechanics.Rotational.Examples.CoupledClutches

References

3D Modeling | Systems Modeling and Execution | Dymola Behavior Modeling | Performing a Virtual Execution | Comparing Simulated Models

​​​​​​​

Demo ​​​​​​​2019x ​​​​​​​Systems Engineering ​​​​​​​

​​​​​​​