---
url: /dyad/stable/stdlib/RotationalComponents.md
description: >-
  Dyad index docs.  This is the documentation for the RotationalComponents
  library.  Here you will find the documentation for the various definitions
  contained ...
---

# RotationalComponents {#RotationalComponents}

This is the documentation for the `RotationalComponents` library.  Here you will find the documentation for the various definitions contained in `RotationalComponents`.

Note that this documentation is automatically generated primarily from the doc strings and metadata associated with those definitions.

## Types {#Types}

* [`Interfaces.PartialAbsoluteSensor`](types/Interfaces.PartialAbsoluteSensor.md) - Base ideal sensor for measuring absolute spline variables with no torque interaction.

* [`Interfaces.PartialCompliant`](types/Interfaces.PartialCompliant.md) - Defines a generic compliant rotational connection between two shaft splines.

* [`Interfaces.PartialCompliantWithRelativeStates`](types/Interfaces.PartialCompliantWithRelativeStates.md) - Defines relative angular states for compliant rotational connections.

* [`Interfaces.PartialElementaryOneSplineAndSupport`](types/Interfaces.PartialElementaryOneSplineAndSupport.md) - A base model for a mechanical component with a primary rotational spline and an interconnected support spline.

* [`Interfaces.PartialElementaryRotationalToTranslational`](types/Interfaces.PartialElementaryRotationalToTranslational.md) - Base model defining the mechanical interfaces for transforming rotational motion into translational motion.

* [`Interfaces.PartialElementaryTwoSplinesAndSupport`](types/Interfaces.PartialElementaryTwoSplinesAndSupport.md) - A foundational model for a mechanical component with two rotational shaft interfaces and a supporting housing, establishing torque balance.

* [`Interfaces.PartialRelativeSensor`](types/Interfaces.PartialRelativeSensor.md) - A foundational partial model for measuring relative kinematic variables between two ideal mechanical splines.

* [`Interfaces.PartialTorque`](types/Interfaces.PartialTorque.md) - Partial model of torque that accelerates the flange.

* [`Interfaces.PartialTwoSplines`](types/Interfaces.PartialTwoSplines.md) - Base component providing two independent spline instances.

* [`Sources.ReferenceType`](types/Sources.ReferenceType.md) - Type of reference signal handling for position and speed source components.

* [`Sources.Regularization`](types/Sources.Regularization.md) - Type of regularization near zero speed for sign-dependent torque models.

## Components {#Components}

* [`Components.Damper`](components/Components.Damper.md) - Models a linear rotational mechanical damping element where torque is proportional to relative angular velocity.

* [`Components.Disc`](components/Components.Disc.md) - 1-dim. rotational rigid component without inertia, where right spline is rotated

* [`Components.Fixed`](components/Components.Fixed.md) - Represents a mechanical rotational element fixed at a specified angle.

* [`Components.IdealGear`](components/Components.IdealGear.md) - An ideal mechanical gear unit with a fixed housing, connecting two rotational shafts.

* [`Components.IdealGearR2T`](components/Components.IdealGearR2T.md) - Gearbox transforming rotational into translational motion.

* [`Components.IdealPlanetaryGear`](components/Components.IdealPlanetaryGear.md) - Ideal planetary gear set with three rotational flanges (sun, ring, carrier).

* [`Components.IdealRollingWheel`](components/Components.IdealRollingWheel.md) - Ideal rolling wheel converting rotational motion to translational motion and vice-versa, without inertia.

* [`Components.Inertia`](components/Components.Inertia.md) - A 1D-rotational component with inertia, subject to torques from two splines.

* [`Components.PrescribeInitialAcceleration`](components/Components.PrescribeInitialAcceleration.md) - Defines an initial angular acceleration for a rotational mechanical spline.

* [`Components.PrescribeInitialEquilibrium`](components/Components.PrescribeInitialEquilibrium.md) - Sets initial zero angular velocity and zero angular acceleration for a rotational connector.

* [`Components.PrescribeInitialPosition`](components/Components.PrescribeInitialPosition.md) - Sets a specific initial angular position for a rotational spline connector.

* [`Components.PrescribeInitialVelocity`](components/Components.PrescribeInitialVelocity.md) - Sets a defined initial angular velocity to a rotational mechanical connector.

* [`Components.RackAndPinion`](components/Components.RackAndPinion.md) - Models an ideal rack and pinion system, converting rotational motion to translational motion.

* [`Components.RelativeStates`](components/Components.RelativeStates.md) - Definition of relative state variables.

* [`Components.Spring`](components/Components.Spring.md) - Ideal linear rotational spring.

* [`Components.SpringDamper`](components/Components.SpringDamper.md) - Models a linear 1D rotational spring and damper acting in parallel.

* [`Sensors.AccelerationSensor`](components/Sensors.AccelerationSensor.md) - Measures the absolute angular acceleration of a rotational spline.

* [`Sensors.AngleSensor`](components/Sensors.AngleSensor.md) - Measures the absolute rotational angle of a connected spline.

* [`Sensors.MultiSensor`](components/Sensors.MultiSensor.md) - Ideal sensor to measure the absolute angular velocity, torque, and power between two splines.

* [`Sensors.PowerSensor`](components/Sensors.PowerSensor.md) - Measures the instantaneous rotational power transmitted between two mechanical rotational splines.

* [`Sensors.RelativeAccelerationSensor`](components/Sensors.RelativeAccelerationSensor.md) - Ideal sensor that measures the relative angular acceleration between two rotational mechanical splines.

* [`Sensors.RelativeAngleSensor`](components/Sensors.RelativeAngleSensor.md) - Ideal sensor to measure the relative angle between two splines.

* [`Sensors.RelativeVelocitySensor`](components/Sensors.RelativeVelocitySensor.md) - Ideal sensor for measuring the relative angular velocity between two rotational splines.

* [`Sensors.TorqueSensor`](components/Sensors.TorqueSensor.md) - Ideal sensor measuring the torque transmitted between two rotational splines.

* [`Sensors.VelocitySensor`](components/Sensors.VelocitySensor.md) - Measures the ideal absolute angular velocity of a rotational mechanical flange.

* [`Sources.AccelerationSource`](components/Sources.AccelerationSource.md) - Defines the forced angular movement of a spline based on an input acceleration signal.

* [`Sources.ConstantSpeed`](components/Sources.ConstantSpeed.md) - Deprecated alias for `ConstantVelocity`.

* [`Sources.ConstantTorque`](components/Sources.ConstantTorque.md) - Constant torque, not dependent on speed.

* [`Sources.ConstantVelocity`](components/Sources.ConstantVelocity.md) - Constant speed, not dependent on torque.

* [`Sources.InverseSpeedDependentTorque`](components/Sources.InverseSpeedDependentTorque.md) - Torque reciprocal dependent on speed.

* [`Sources.LinearSpeedDependentTorque`](components/Sources.LinearSpeedDependentTorque.md) - Linear dependency of torque versus speed.

* [`Sources.Position`](components/Sources.Position.md) - Forced movement of a spline according to a reference angle signal.

* [`Sources.QuadraticSpeedDependentTorque`](components/Sources.QuadraticSpeedDependentTorque.md) - Quadratic dependency of torque versus speed.

* [`Sources.SignTorque`](components/Sources.SignTorque.md) - Constant torque changing sign with speed.

* [`Sources.SpeedSource`](components/Sources.SpeedSource.md) - Deprecated alias for `VelocitySource`.

* [`Sources.Torque2`](components/Sources.Torque2.md) - Input signal acting as torque on two splines.

* [`Sources.TorqueSource`](components/Sources.TorqueSource.md) - Ideal source applying an externally specified torque to a rotational spline.

* [`Sources.TorqueStep`](components/Sources.TorqueStep.md) - Constant torque, not dependent on speed.

* [`Sources.VelocitySource`](components/Sources.VelocitySource.md) - Forced movement of a spline according to a reference angular velocity signal.

## Examples {#Examples}

* [`Examples.CompareBrakingTorque`](examples/Examples.CompareBrakingTorque.md) - Compare different braking torques.

* [`Examples.ElasticBearing`](examples/Examples.ElasticBearing.md) - Example to show possible usage of support flange.

* [`Examples.First`](examples/Examples.First.md) - First example: simple drive train.

* [`Examples.FirstGrounded`](examples/Examples.FirstGrounded.md) - First example: simple drive train with grounded elements.

* [`Examples.TwoInertiasWithDrivingTorque`](examples/Examples.TwoInertiasWithDrivingTorque.md) - A mechanical system of two rotational inertias coupled by a spring and damper, driven by a sinusoidal torque.

## Tests {#Tests}

* [`Sources.Tests.AllComponents`](tests/Sources.Tests.AllComponents.md) - Tests Position, VelocitySource, AccelerationSource, and Torque2 components,

* [`Sources.Tests.ConstantVelocity`](tests/Sources.Tests.ConstantVelocity.md) - Test for ConstantVelocity source, matching MSL ModelicaTest.Rotational.AllComponents topology.

* [`Sources.Tests.Position`](tests/Sources.Tests.Position.md) - Test of the Position source component with all ReferenceType enum variants,

* [`Sources.Tests.TestBraking`](tests/Sources.Tests.TestBraking.md) - Test for braking torque sources, matching MSL ModelicaTest.Rotational.TestBraking.

* [`Sources.Tests.Torque2`](tests/Sources.Tests.Torque2.md) - Test for Torque2: two inertias driven by a torque acting between them, matching the MSL test topology.

* [`Sources.Tests.TorqueStep`](tests/Sources.Tests.TorqueStep.md) - Test for TorqueStep source, matching MSL ModelicaTest.Rotational.AllComponents topology.

* [`Sources.Tests.VelocitySource`](tests/Sources.Tests.VelocitySource.md) - Test for VelocitySource with Filtered and Exact modes, matching MSL ModelicaTest.Rotational.TestSpeed.
