$(instance)IdealGear Icon

IdealGear

This element characterizes any type of gear box which is fixed in the ground and which has one driving shaft and one driven shaft.

This component extends from PartialElementaryTwoSplinesAndSupport

Usage

IdealGear(ratio)

Parameters:

NameDescriptionUnitsDefault value
ratioTransmission ratio

Connectors

Variables

NameDescriptionUnits
phi_supportAbsolute angle of support splinerad
phi_aRelative angle between shaft a and the supportrad
phi_bRelative angle between shaft b and the supportrad

Behavior

\[ \begin{align} \mathtt{support.phi}\left( t \right) &= \mathtt{phi\_support}\left( t \right) \\ \mathtt{support.tau}\left( t \right) &= - \mathtt{spline\_b.tau}\left( t \right) - \mathtt{spline\_a.tau}\left( t \right) \\ \mathtt{phi\_a}\left( t \right) &= - \mathtt{phi\_support}\left( t \right) + \mathtt{spline\_a.phi}\left( t \right) \\ \mathtt{phi\_b}\left( t \right) &= \mathtt{spline\_b.phi}\left( t \right) - \mathtt{phi\_support}\left( t \right) \\ \mathtt{phi\_a}\left( t \right) &= \mathtt{ratio} \mathtt{phi\_b}\left( t \right) \\ 0 &= \mathtt{spline\_b.tau}\left( t \right) + \mathtt{ratio} \mathtt{spline\_a.tau}\left( t \right) \end{align} \]

Source

# This element characterizes any type of gear box which is fixed in the ground and
# which has one driving shaft and one driven shaft.
component IdealGear
  extends PartialElementaryTwoSplinesAndSupport
  # Transmission ratio
  parameter ratio::Real
  # Relative angle between shaft a and the support
  variable phi_a::Angle
  # Relative angle between shaft b and the support
  variable phi_b::Angle
relations
  phi_a = spline_a.phi-phi_support
  phi_b = spline_b.phi-phi_support
  phi_a = ratio*phi_b
  0 = ratio*spline_a.tau+spline_b.tau
metadata {
  "JuliaSim": {"icons": {"default": "jsml://RotationalComponents/IdealGear.svg"}}
}
end
Flattened Source
# This element characterizes any type of gear box which is fixed in the ground and
# which has one driving shaft and one driven shaft.
component IdealGear
  spline_a = Spline() [{
    "JuliaSim": {"placement": {"icon": {"x1": -50, "y1": 450, "x2": 50, "y2": 550}}}
  }]
  spline_b = Spline() [{
    "JuliaSim": {"placement": {"icon": {"x1": 950, "y1": 450, "x2": 1050, "y2": 550}}}
  }]
  support = Spline() [{
    "JuliaSim": {
      "placement": {"icon": {"iconName": "support", "x1": 450, "y1": 950, "x2": 550, "y2": 1050}}
    }
  }]
  # Absolute angle of support spline
  variable phi_support::Angle
  # Transmission ratio
  parameter ratio::Real
  # Relative angle between shaft a and the support
  variable phi_a::Angle
  # Relative angle between shaft b and the support
  variable phi_b::Angle
relations
  support.phi = phi_support
  support.tau = -spline_a.tau-spline_b.tau
  phi_a = spline_a.phi-phi_support
  phi_b = spline_b.phi-phi_support
  phi_a = ratio*phi_b
  0 = ratio*spline_a.tau+spline_b.tau
metadata {
  "JuliaSim": {"icons": {"default": "jsml://RotationalComponents/IdealGear.svg"}}
}
end

Test Cases

  • Examples
  • Experiments
  • Analyses