You can add components from other physical modeling products to your SimDriveline model. The foundation library in Simscape™ contains blocks in other physical domains, such as electrical, hydraulic, and thermal. Integrating these domains into your SimDriveline model using physical connections helps expand your model's range of effects.
Simscape Language: Mechanical Example
Model custom mechanical components using the Simscape™ language. A nonlinear translational spring is defined using implicit equations.
The Simscape language, an object-oriented language that is based on MATLAB®, enables you to create your own physical modeling components and libraries. You can define custom components, complete with parameterization, physical connections, and equations represented as acausal implicit differential algebraic equations (DAEs). Within your component’s Simscape language file you can use MATLAB to analyze parameter values, perform preliminary computations, and initialize system variables. The Simulink block and dialog box for your custom component are automatically created from the file.