Skip to content
Rotational.IdealPlanetary.md

Rotational.IdealPlanetary ​

Usage ​

TranslatedComponents.Rotational.IdealPlanetary(ratio=100 / 50)

Parameters: ​

NameDescriptionUnitsDefault value
ratio–100 / 50

Connectors ​

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

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

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

Behavior ​

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

Source ​

dyad
component IdealPlanetary
  sun = Spline()
  carrier = Spline()
  ring = Spline()
  parameter ratio::Real = 100 / 50
relations
  (1 + ratio) * carrier.phi = sun.phi + ratio * ring.phi
  ring.tau = ratio * sun.tau
  carrier.tau = -(1 + ratio) * sun.tau
end
Flattened Source
dyad
component IdealPlanetary
  sun = Spline()
  carrier = Spline()
  ring = Spline()
  parameter ratio::Real = 100 / 50
relations
  (1 + ratio) * carrier.phi = sun.phi + ratio * ring.phi
  ring.tau = ratio * sun.tau
  carrier.tau = -(1 + ratio) * sun.tau
metadata {}
end


Test Cases ​

No test cases defined.

  • Examples

  • Experiments

  • Analyses