SimDriveline™ contains two technologies: first- and second-generation. First-generation technology includes the legacy blocks of SimDriveline version 1, which are based on the Simulink® language. Second-generation technology introduces a new block library that is based on the Simscape™ physical modeling language.
The following list outlines the tasks you can perform with SimDriveline first-generation technology:
Add first-generation blocks to a model.
Modify and simulate first-generation models.
Manually convert first-generation models to second-generation format.
Automatically convert first-generation models to second-generation format with a conversion utility.
Create and simulate hybrid models that contain first- and second-generation blocks.
First-generation user-defined libraries remain functional in SimDriveline software. The following list outlines the tasks you can perform with the user-defined libraries:
Build, modify, and employ user-defined libraries that contain first-generation blocks.
Manually convert first-generation user-defined libraries to second-generation format.
Automatically convert first-generation models and libraries to second-generation format with a conversion utility.
Create and change hybrid user-defined libraries that contain first- and second-generation blocks.
If a model contains first-generation user-defined blocks, you can convert the user-defined blocks to second-generation format. Once you have converted the blocks, you can convert the model that employs the blocks. After conversion, the converted model automatically uses the converted blocks.
Most first-generation blocks and block parameters have a second-generation equivalent, but exceptions exist. See Correspondence of First and Second Generation Blocks
First- and second-generation blocks connect only indirectly. The blocks use Simulink and Simscape signals, respectively, and you must use a converter block to convert between the two signal types. Two converter blocks exist in the Simscape Utilities library: PS-Simulink Converter and Simulink-PS Converter.
Most first-generation blocks have a matching second-generation block. You can manually reconstruct a first-generation model by switching first-generation blocks with their second-generation equivalents. Manual conversion of first-generation models is more time-consuming and requires greater attention to detail. See Manual Reconstruction of First Generation Models.
SimDriveline provides a conversion utility that you can use to automatically convert a first-generation model or library to second-generation format. The utility carries out the conversion task with minimal input on your side. When conversion is complete, you can manually modify the model or library with additional second-generation blocks. See Modification and Troubleshooting of Automatically Converted Models.