Skip to content
Rotational.ConstantTorque.md

Rotational.ConstantTorque

This component extends from PartialTorque

Usage

TranslatedComponents.Rotational.ConstantTorque(tau_constant)

Parameters:

NameDescriptionUnitsDefault value
useSupport= true, if support flange enabled, otherwise implicitly groundedfalse
tau_constantConstant torque (if negative, torque is acting as load in positive direction of rotation)N.m

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_supportAbsolute angle of support flangerad
phiAngle of flange with respect to support (= flange.phi - support.phi)rad
wAngular velocity of flange with respect to support (= der(phi))rad/s
tauAccelerating torque acting at flange (= -flange.tau)N.m

Behavior

phi(t)=flange.phi(t)phi_support(t)w(t)=dphi(t)dttau(t)=flange.tau(t)tau(t)=tau_constantphi_support(t)=0

Source

dyad
component ConstantTorque
  extends PartialTorque
  # Constant torque (if negative, torque is acting as load in positive direction of rotation)
  parameter tau_constant::Dyad.Torque
  # Angular velocity of flange with respect to support (= der(phi))
  variable w::Dyad.AngularVelocity
  # Accelerating torque acting at flange (= -flange.tau)
  variable tau::Dyad.Torque
relations
  w = der(phi)
  tau = -flange.tau
  tau = tau_constant
end
Flattened Source
dyad
component ConstantTorque
  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
  # Angle of flange with respect to support (= flange.phi - support.phi)
  variable phi::Dyad.Angle
  # Constant torque (if negative, torque is acting as load in positive direction of rotation)
  parameter tau_constant::Dyad.Torque
  # Angular velocity of flange with respect to support (= der(phi))
  variable w::Dyad.AngularVelocity
  # Accelerating torque acting at flange (= -flange.tau)
  variable tau::Dyad.Torque
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)
  tau = -flange.tau
  tau = tau_constant
metadata {}
end


Test Cases

No test cases defined.

  • Examples

  • Experiments

  • Analyses