Skip to content
LIBRARY
Sources.ConstantSpeed.md

Sources.ConstantSpeed

Deprecated alias for ConstantVelocity.

This name is retained for backward compatibility. Use RotationalComponents.Sources.ConstantVelocity instead.

This component extends from RotationalComponents.Sources.ConstantVelocity

Usage

RotationalComponents.Sources.ConstantSpeed(w_fixed)

Parameters:

NameDescriptionUnitsDefault value
w_fixedFixed speedrad/s

Connectors

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

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

Variables

NameDescriptionUnits
phi_supportAbsolute angle of the support splinerad
phiAngle of spline with respect to support
wAngular velocity of spline with respect to support (= der(phi))rad/s

Behavior

Source

dyad
"""
Deprecated alias for `ConstantVelocity`.

This name is retained for backward compatibility. Use
`RotationalComponents.Sources.ConstantVelocity` instead.
"""
component ConstantSpeed
  extends RotationalComponents.Sources.ConstantVelocity
relations
metadata {
  "Dyad": {
    "deprecated": {
      "message": "ConstantSpeed is deprecated; use ConstantVelocity instead.",
      "hotfix": {"action": "replace", "value": "RotationalComponents.Sources.ConstantVelocity"}
    }
  }
}
end
Flattened Source
dyad
"""
Deprecated alias for `ConstantVelocity`.

This name is retained for backward compatibility. Use
`RotationalComponents.Sources.ConstantVelocity` instead.
"""
component ConstantSpeed
  "Primary rotational shaft spline connector"
  spline = Spline() {"Dyad": {"placement": {"icon": {"x1": 950, "y1": 450, "x2": 1050, "y2": 550}}}}
  "Support spline connector"
  support = Spline() {
    "Dyad": {
      "placement": {"icon": {"iconName": "support", "x1": 450, "y1": 950, "x2": 550, "y2": 1050}}
    }
  }
  "Absolute angle of the support spline"
  variable phi_support::Angle
  "Angle of spline with respect to support"
  variable phi::Real
  "Fixed speed"
  parameter w_fixed::AngularVelocity
  "Angular velocity of spline with respect to support (= der(phi))"
  variable w::AngularVelocity
relations
  support.phi = phi_support
  support.tau = -spline.tau
  phi = spline.phi - phi_support
  w = der(phi)
  w = w_fixed
metadata {
  "Dyad": {
    "icons": {"default": "dyad://RotationalComponents/ConstantSpeed.svg"},
    "deprecated": {
      "message": "ConstantSpeed is deprecated; use ConstantVelocity instead.",
      "hotfix": {"action": "replace", "value": "RotationalComponents.Sources.ConstantVelocity"}
    }
  }
}
end


Test Cases

No test cases defined.

  • Examples

  • Experiments

  • Analyses