Simscape

Component Libraries

Simscape lets you create models of custom components by using the basic elements contained in its foundation libraries.

Modeling Mechanical Components

Simscape provides mechanical building blocks for representing one-dimensional translational and rotational motion. In addition to basic elements like mass, spring, and damper, nonlinear effects such as backlash and friction are also included. Interface blocks provided with SimMechanics™ and SimDriveline™ enable you to connect Simscape models to models built using those tools.

Modeling Electrical Components

Simscape provides electrical building blocks for representing electrical components and circuits. In addition to basic elements like resistors, capacitors, and inductors, more complex elements such as op-amps and transformers are also included. More elaborate electronic and electromechanical components are available in SimElectronics.

Modeling a DC Motor 5:02
Model a DC motor using electrical and mechanical physical modeling components.

Modeling Hydraulic Components

Simscape provides hydraulic building blocks that model fundamental hydraulic effects and can be combined to create more complex hydraulic components. These blocks define the pressure/flow relationship for basic physical effects, such as fluid compressibility, fluid inertia, mechanical friction, energy transduction, and flow through basic fixed and variable orifices. You can define a fluid by entering its fluid properties. More elaborate hydraulic components are available in SimHydraulics®.

Modeling a Custom Hydraulic Valve 3:41
Model a custom hydraulic servovalve with flapper and spool dynamics. Configure model to include or neglect hydraulic forces on the spool.

Modeling Thermal Effects

Simscape provides thermal building blocks for modeling and simulating thermal effects in your system. You can model conductive, convective, and radiative heat transfer as well as the thermal mass of elements. Using thermal source blocks, you can specify the temperature or heat transfer; using thermal sensor blocks, you can measure the amount of heat transfer or temperature change.

Modeling Heat Transfer of a Projector 8:00
Model heat transfer in a projector using thermal physical modeling components.

Working with Physical Signals

With Simscape your models can include physical signals that have units associated with them. You specify the units and parameter values in the block dialog boxes, and Simscape performs the necessary unit-conversion operations when solving a physical network. The Physical Signals block library lets you perform math operations on physical signals and graphically enter equations inside the physical network. Physical signal ports are used in Simscape block diagrams to better integrate physical signals into your physical system, which increases computational speed.

Using the elements contained in these foundation libraries, you can create more complex components that span different physical domains. As with Simulink, you can then group this assembly of blocks into a subsystem and parameterize it to reuse and share these components.

You can use the sensor blocks in Simscape to measure values for different physical quantities such as mechanical (force/torque, velocity), hydraulic (pressure, flow rate), or electrical (voltage, current) variables, and then pass these signals into standard Simulink blocks. Source blocks enable Simulink signals to assign values to any of these variables. Sensor and source blocks let you connect a control algorithm developed in Simulink to a Simscape network.

Simscape - libraries
Simscape libraries of electrical, mechanical, hydraulic, and thermal building blocks for creating customized component models.
Next: Simscape Language

Try Simscape

Get trial software

Modellare sistemi multidominio con Simscape

View webinar