Compare Models Tool: Details
Details about the MapleSim Compare Models tool.
The Compare Models tool compares two models/libraries that you are working on in MapleSim and shows you the differences between them (see the following figure).
The models you want to compare can be selected from the lists at the top of the tool, and they must first be saved to your hard disk.
This topic gives details about the organization of the sections in the Compare Models tool, what the information you can expect in each section, and the filtering features of this tool.
This base changes section is found at the top of the Compare Models window, immediately after any changes related to attachments.
This section contains the following information:
Changes to plot windows and plot configurations
Changes to stored results
Changes to snapshots
Version differences between models or libraries
Library changes (that is, description, type, package name)
You might see the following change under base changes:
Uncategorized difference (does not affect simulation, results, or attachments)
This means that the only change that was found was one that does not fall into a category that significantly affects your model. An example of such a change would be if you edited a text box or illustration in the Model Workspace.
This difference can be ignored because it should not affect your model or your simulation results.
After the base changes section, the components in your model that have changes are listed in alphabetical order.
Components will have .component appended to their names. Each changed component will have its own section that contains the following information:
Component instances that have been added to or deleted from the component definition
Changes to the parameter values
Changes to connections between component instances (additions, deletions, and moves/reroutes)
Changes to the model diagram
Changes made to attachments that belong to the component (for example, a custom component template or an attached FMU file)
Each shared subsystem in your model will have its own .component section, except for the following cases:
A shared subsystem that was created as a nested component using, for example, the custom component template or FMU import
All CAD subsystems from a CAD Toolbox import are grouped under a single .component section that is named after the imported CAD file
Stand alone subsystems are nested inside of a shared subsystem .component section
The changes made to the top level of your model (that is, Main) are listed in the Main.component section. In addition to the changes made to components and connections in the top level of your model, the Main.component section contains the following information:
Changes to simulation settings
Changes to multibody settings
Simulation settings changes are grouped together as one entry. That is, there will be one line that says Simulation settings have changed, instead of a list of all simulation settings that were changed.
Note: Changing the default multibody settings for Gravity and Gravity vector will show up as new parameters being added to the model.
All differences between the files selected are shown by default. Some changes can be filtered by clearing the options associated with type of change. The following describes the types of changes associated with each filter in the Compare Models tool.
Annotation: Changes made to Modelica annotations in the Modelica source code for the model. These changes include:
Simulation settings changes
Model diagram changes (for example, moving a component)
Add/Delete: Instances of components and shared subsystems that have been added or deleted from the model.
Attachment: Differences related to files attached to the model. Attachment differences are found at the root of the Compare Models screen as well as in the tree of any components that have attachments (for example, custom components and FMU imports).
Connection: Any changes made to connections between components in the Model workspace. For each connection, the component names and ports affected by the change are given in the connect statement.
Note that some information cannot be filtered. For example, changes to parameters will always appear even when all of the filter options have been cleared.
For each difference, the value on the left is the setting for the model selected from the first (left) list; the value on the right is the setting for the model selected from the second (right) list.
Comparing the On Disk and In Memory versions of the same model or library shows you the changes you've made since your last save.
Adding Components to a Model Using the Search Bar
Connecting Components in the Model Workspace
Download Help Document
What kind of issue would you like to report? (Optional)