Documentation

Prepare Simscape Driveline Models for Real-Time Simulation Using Simscape Checks

  • Products Used
  • Simulink® Real-Time™

If you have a Simulink Real-Time license, you can optimize your model for real-time execution using the Execute real-time application activity mode in the Simulink Performance Advisor. This mode includes several checks specific to physical models. For example, the Simulink Performance Advisor identifies Simscape™ Solver Configuration blocks with settings that are suboptimal for real-time simulation. For optimal results, Solver Configuration blocks should have the Use local solver and Use fixed-cost runtime consistency iterations options selected.

The checks are organized into folders. You can use the checks in the Simscape checks folder for all physical models. Subfolders contain checks that target blocks from Simscape Driveline™ and other add-on products such as Simscape Power Systems™ and Simscape Electronics™.

Before you run the checks, use the processes described in Real-Time Model Preparation Workflow (Simscape), Real-Time Simulation Workflow (Simscape), and Hardware-In-The-Loop Simulation Workflow (Simscape).

To run the Simulink Real-Time Performance Advisor Checks:

  1. In the Simulink Editor menu bar, select Analysis > Performance Tools > Performance Advisor.

  2. In the Performance Advisor window, under Activity, select Execute real-time application.

  3. In the left pane, expand the Real-Time folder, and then the Simscape checks folder.

  4. Run the top-level Simscape checks and the Simscape Driveline checks. If your model contains blocks from other add-on products, also run the checks in the subfolder corresponding to that product.

Related Topics

Was this topic helpful?