Contents

Compare Signal Data from Multiple Simulations

In the Simulation Data Inspector, you can use the Compare tab to compare all signal data from two different simulation runs. To compare two runs:

  1. Open the Simulation Data Inspector. See Open the Simulation Data Inspector.

  2. Stream simulation data or import data from multiple simulation runs. For more information, see Stream Data to the Simulation Data Inspector or Import Signal Data.

  3. Click the Compare tab.

  4. From the Baseline and Compare To lists, select two different runs. These runs correspond to runs located in the Runs pane.

  5. Click Compare Runs. 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.

  6. To plot a comparison, in the Plot column select the option button for a signal, in the example it is q, rad/sec. The Signals plot shows the q, rad/sec signals from the Baseline and Compare To runs. The Difference and Tolerance 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.

  7. 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 of q, rad/sec passes using an absolute tolerance of 1.5.

  8. To create a report of the comparison results, see Create Simulation Data Inspector Report.

Related Examples

Was this topic helpful?