Skip to content
LIBRARY
Components.IdealGearR2T.md

Components.IdealGearR2T

Gearbox transforming rotational into translational motion.

Couples rotational and translational motion, like a toothed wheel with a toothed rack, specifying the ratio of rotational / translational motion.

Matches MSL Modelica.Mechanics.Translational.Components.IdealGearR2T. This is a re-export of RotationalComponents.Components.IdealGearR2T.

This component extends from RotationalComponents.Components.IdealGearR2T

Usage

TranslationalComponents.Components.IdealGearR2T(ratio)

Parameters:

NameDescriptionUnitsDefault value
ratioGear ratio defining the conversion from relative angular displacement (spline.phi - support_r.phi) to relative translational displacement (flange.s - support_t.s). Units: rad/m.rad/m

Connectors

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

  • flange - This connector represents a mechanical flange with position and force as the potential and flow variables, respectively. (Flange)

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

  • support_t - This connector represents a mechanical flange with position and force as the potential and flow variables, respectively. (Flange)

Behavior

julia
using TranslationalComponents #hide
using ModelingToolkit #hide
@variables ratio #hide
@named sys = TranslationalComponents.Components.IdealGearR2T(ratio=ratio) #hide
full_equations(sys) #hide
<< @example-block not executed in draft mode >>

Source

dyad
"""
Gearbox transforming rotational into translational motion.

Couples rotational and translational motion, like a toothed wheel with
a toothed rack, specifying the ratio of rotational / translational motion.

Matches MSL `Modelica.Mechanics.Translational.Components.IdealGearR2T`.
This is a re-export of `RotationalComponents.Components.IdealGearR2T`.
"""
component IdealGearR2T
  extends RotationalComponents.Components.IdealGearR2T
relations
metadata {"Dyad": {"icons": {"default": "dyad://RotationalComponents/IdealGearR2T.svg"}}}
end
Flattened Source
dyad
"""
Gearbox transforming rotational into translational motion.

Couples rotational and translational motion, like a toothed wheel with
a toothed rack, specifying the ratio of rotational / translational motion.

Matches MSL `Modelica.Mechanics.Translational.Components.IdealGearR2T`.
This is a re-export of `RotationalComponents.Components.IdealGearR2T`.
"""
component IdealGearR2T
  "Flange of rotational shaft"
  spline = Spline() {"Dyad": {"placement": {"icon": {"x1": -50, "y1": 450, "x2": 50, "y2": 550}}}}
  "Flange of translational rod"
  flange = Flange() {"Dyad": {"placement": {"icon": {"x1": 950, "y1": 450, "x2": 1050, "y2": 550}}}}
  "Rotational support/housing of component"
  support_r = Spline() {"Dyad": {"placement": {"icon": {"x1": 100, "y1": 950, "x2": 200, "y2": 1050}}}}
  "Translational support/housing of component"
  support_t = Flange() {"Dyad": {"placement": {"icon": {"x1": 800, "y1": 950, "x2": 900, "y2": 1050}}}}
  "Gear ratio defining the conversion from relative angular displacement (spline.phi - support_r.phi) to relative translational displacement (flange.s - support_t.s). Units: rad/m."
  parameter ratio::Real(units = "rad/m")
relations
  support_r.tau = -spline.tau
  support_t.f = -flange.f
  spline.phi - support_r.phi = ratio * (flange.s - support_t.s)
  0 = ratio * spline.tau + flange.f
metadata {"Dyad": {"icons": {"default": "dyad://RotationalComponents/IdealGearR2T.svg"}}}
end


Test Cases

No test cases defined.

  • Examples

  • Experiments

  • Analyses