Skip to content
Fixed.md

Fixed ​

Represents a mechanical rotational element fixed at a specified angle.

This component models a shaft that is rigidly clamped or fixed in its housing, preventing any rotation. The angle of this fixed shaft, phi0, is a configurable parameter. It effectively acts as an angular boundary condition in a 1D rotational mechanical system. The core behavior is defined by the equation that sets the angle of its connection spline (spline.phi) to this fixed parameter phi0:

spline.phi=phi0

Usage ​

RotationalComponents.Fixed(phi0=0.0)

Parameters: ​

NameDescriptionUnitsDefault value
phi0The prescribed fixed angle of the shaft with respect to the housing.rad0

Connectors ​

  • spline - This connector represents a rotational spline with angle and torque as the potential and flow variables, respectively. (Spline)

Behavior ​

spline.phi(t)=phi0

Source ​

dyad
"""
Represents a mechanical rotational element fixed at a specified angle.

This component models a shaft that is rigidly clamped or fixed in its housing,
preventing any rotation. The angle of this fixed shaft, `phi0`, is a
configurable parameter. It effectively acts as an angular boundary
condition in a 1D rotational mechanical system. The core behavior is
defined by the equation that sets the angle of its connection spline
(`spline.phi`) to this fixed parameter `phi0`:

math spline.phi = phi0

"""
component Fixed
  "Rotational connector representing the mechanical interface of the fixed shaft."
  spline = Spline() {"Dyad": {"placement": {"icon": {"x1": 450, "y1": -50, "x2": 550, "y2": 50}}}}
  "The prescribed fixed angle of the shaft with respect to the housing."
  parameter phi0::Angle = 0.0
relations
  spline.phi = phi0
metadata {"Dyad": {"icons": {"default": "dyad://RotationalComponents/Fixed.svg"}}}
end
Flattened Source
dyad
"""
Represents a mechanical rotational element fixed at a specified angle.

This component models a shaft that is rigidly clamped or fixed in its housing,
preventing any rotation. The angle of this fixed shaft, `phi0`, is a
configurable parameter. It effectively acts as an angular boundary
condition in a 1D rotational mechanical system. The core behavior is
defined by the equation that sets the angle of its connection spline
(`spline.phi`) to this fixed parameter `phi0`:

math spline.phi = phi0

"""
component Fixed
  "Rotational connector representing the mechanical interface of the fixed shaft."
  spline = Spline() {"Dyad": {"placement": {"icon": {"x1": 450, "y1": -50, "x2": 550, "y2": 50}}}}
  "The prescribed fixed angle of the shaft with respect to the housing."
  parameter phi0::Angle = 0.0
relations
  spline.phi = phi0
metadata {"Dyad": {"icons": {"default": "dyad://RotationalComponents/Fixed.svg"}}}
end


Test Cases ​

No test cases defined.