主要内容

Rotational Spacer (AB)

Fixed angle between blocks during simulation

Since R2026a

  • Rotational Spacer (AB) block

Libraries:
Simscape / Foundation Library / Rotational / Elements

Description

The Rotational Spacer (AB) block maintains a fixed relative angle between ports B and F during simulation:

θRel=θFθB

ωF=ωB

where:

  • ωB and ωF are the absolute angular velocities of ports B and F, respectively.

  • θRel is the relative angle between ports.

  • θB and θF are the absolute angles of ports B and F, respectively.

B and F are angle-based rotational conserving ports. For positive relative angle, port F has a more positive angle than port B. The spacer torque acts from port B on port F. Positive torque drives port F in the positive direction.

The block has no parameters. You specify relative angle as an initial variable target.

Variables

To set the priority and initial target values for the block variables prior to simulation, use the Initial Targets section in the block dialog box or Property Inspector. For more information, see Set Priority and Initial Target for Block Variables.

Nominal values provide a way to specify the expected magnitude of a variable in a model. Using system scaling based on nominal values increases the simulation robustness. Nominal values can come from different sources, one of which is the Nominal Values section in the block dialog box or Property Inspector. For more information, see Modify Nominal Values for a Block Variable.

To correctly initialize the Relative angle variable:

  • For a known relative angle, specify it as a high-priority target.

  • For an unknown fixed relative angle, specify any value and set the priority to low or none. Then the solver computes a value for the length during model initialization.

Examples

Ports

Conserving

expand all

Angle-based rotational conserving port that represents the base connection.

Angle-based rotational conserving port that represents the follower connection.

Extended Capabilities

expand all

C/C++ Code Generation
Generate C and C++ code using Simulink® Coder™.

Version History

Introduced in R2026a