In the Simulation Data Inspector, you can use the Compare tab to compare two signals or all signal data from two different simulation runs. This example is a continuation of Inspect Signal Data.
In the Runs pane, right-click a baseline signal and select Compare Signals > Set as Baseline.
Right-click another signal that you want to compare to that baseline and select Compare Signals > Set as Compare To.
In the Compare tab, click Compare.
alpha, rad and
are compared from Run 1. In this example, the comparison fails because
the signals do not match within the default relative and absolute
Click the Compare tab.
Select the Runs option button.
From the Baseline and Compare To lists, select two different runs. These runs correspond to runs located in the Runs pane.
Click Compare. The Comparisons pane lists all signals from each run with a result. In this example, the comparison results of the aligned signals do not match because the signal differences are not within the absolute tolerance or relative tolerance.
Note: The Simulation Data Inspector only compares signals from Baseline that are aligned with a signal from Compare To. If a signal from Baseline does not align with a signal from Compare To, then the signal is listed with a warning . For more information on signal alignment, see How the Simulation Data Inspector Aligns Signals.
To plot a comparison, in the Plot column
select the option button for a signal, in the example it is
rad/sec. The top plot shows the
q, rad/sec signals
from the Baseline and Compare To runs.
The bottom plot shows the difference between the signals and the tolerance.
For information on manipulating the plot, see Customize the Simulation Data Inspector Interface.
Note: Even though relative and absolute tolerances can be specified, the only tolerance that shows in the Difference and Tolerance plot is the more lenient tolerance. For more information on tolerances, see How the Simulation Data Inspector Applies Tolerances.
To modify the relative tolerance or absolute tolerance,
double-click the Abs Tol or Rel Tol field
for a signal and type in a value. In this example, the signal comparison
q, rad/sec passes using an absolute tolerance
To create a report of the comparison results, see Create Simulation Data Inspector Report.