Skip to content
Rotational.Accelerate.md

Rotational.Accelerate

This component extends from PartialElementaryOneFlangeAndSupport2

Usage

TranslatedComponents.Rotational.Accelerate()

Parameters:

NameDescriptionUnitsDefault value
useSupport= true, if support flange enabled, otherwise implicitly groundedfalse

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)

  • a_ref - This connector represents a real signal as an input to a component (RealInput)

Variables

NameDescriptionUnits
phi_supportAbsolute angle of support flangerad
phiRotation angle of flange with respect to supportrad
wAngular velocity of flange with respect to supportrad/s
aAngular acceleration of flange with respect to supportrad/s2

Behavior

phi(t)=flange.phi(t)phi_support(t)w(t)=dphi(t)dta(t)=dw(t)dta(t)=a_ref(t)phi_support(t)=0

Source

dyad
component Accelerate
  extends PartialElementaryOneFlangeAndSupport2
  a_ref = RealInput()
  # Rotation angle of flange with respect to support
  variable phi::Dyad.Angle
  # Angular velocity of flange with respect to support
  variable w::Dyad.AngularVelocity
  # Angular acceleration of flange with respect to support
  variable a::Dyad.AngularAcceleration
relations
  phi = flange.phi - phi_support
  w = der(phi)
  a = der(w)
  a = a_ref
end
Flattened Source
dyad
component Accelerate
  flange = Spline()
  support = Spline() if useSupport
  # = true, if support flange enabled, otherwise implicitly grounded
  structural parameter useSupport::Boolean = false
  # Absolute angle of support flange
  variable phi_support::Dyad.Angle
  a_ref = RealInput()
  # Rotation angle of flange with respect to support
  variable phi::Dyad.Angle
  # Angular velocity of flange with respect to support
  variable w::Dyad.AngularVelocity
  # Angular acceleration of flange with respect to support
  variable a::Dyad.AngularAcceleration
relations
  if useSupport
    initial support.phi = phi_support
    initial support.tau = -flange.tau
  else
    phi_support = 0
  end
  phi = flange.phi - phi_support
  w = der(phi)
  a = der(w)
  a = a_ref
metadata {}
end


Test Cases

No test cases defined.

  • Examples

  • Experiments

  • Analyses