Skip to content
Rotational.ConstantSpeed.md

Rotational.ConstantSpeed ​

This component extends from PartialTorque

Usage ​

TranslatedComponents.Rotational.ConstantSpeed(w_fixed)

Parameters: ​

NameDescriptionUnitsDefault value
useSupport–false
w_fixedrad/s

Connectors ​

  • flange - 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_supportrad
phirad
wrad/s

Behavior ​

phi(t)=flange.phi(t)−phi_support(t)dphi(t)dt=w(t)w(t)=w_fixedphi_support(t)=0

Source ​

dyad
component ConstantSpeed
  extends PartialTorque
  parameter w_fixed::Dyad.AngularVelocity
  variable w::Dyad.AngularVelocity
relations
  der(phi) = w
  w = w_fixed
end
Flattened Source
dyad
component ConstantSpeed
  flange = Spline()
  support = Spline() if useSupport
  structural parameter useSupport::Boolean = false
  variable phi_support::Dyad.Angle
  variable phi::Dyad.Angle
  parameter w_fixed::Dyad.AngularVelocity
  variable w::Dyad.AngularVelocity
relations
  if useSupport
    initial support.phi = phi_support
    initial support.tau = -flange.tau
  else
    phi_support = 0
  end
  phi = flange.phi - phi_support
  der(phi) = w
  w = w_fixed
metadata {}
end


Test Cases ​

No test cases defined.

  • Examples

  • Experiments

  • Analyses