Simscape lets you create models of custom components by using the basic elements contained in its foundation libraries.
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.
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
Model a DC motor using electrical and mechanical physical modeling 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
Model a custom hydraulic servovalve with flapper and spool dynamics. Configure model to include or neglect hydraulic forces on the spool.
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
Model heat transfer in a projector using thermal physical modeling components.
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.