Skip to content
Rotational.LinearSpeedDependentTorque.md

Rotational.LinearSpeedDependentTorque

This component extends from PartialTorque

Usage

TranslatedComponents.Rotational.LinearSpeedDependentTorque(tau_nominal, w_nominal)

Parameters:

NameDescriptionUnitsDefault value
useSupport= true, if support flange enabled, otherwise implicitly groundedfalse
TorqueDirectionSame direction of torque in both directions of rotationtrue
tau_nominalNominal torque (if negative, torque is acting as load in positive direction of rotation)N.m
w_nominalNominal speedrad/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_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)phi_support(t)=0tau(t)=tau_nominal|w(t)w_nominal|

Source

dyad
component LinearSpeedDependentTorque
  extends PartialTorque
  # Nominal torque (if negative, torque is acting as load in positive direction of rotation)
  parameter tau_nominal::Dyad.Torque
  # Same direction of torque in both directions of rotation
  structural parameter TorqueDirection::Boolean = true
  # Nominal speed
  parameter w_nominal::Dyad.AngularVelocity(min = 1e-10)
  # 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
  if TorqueDirection
    tau = tau_nominal * abs(w / w_nominal)
  else
    tau = tau_nominal * (w / w_nominal)
  end
end
Flattened Source
dyad
component LinearSpeedDependentTorque
  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
  # Nominal torque (if negative, torque is acting as load in positive direction of rotation)
  parameter tau_nominal::Dyad.Torque
  # Same direction of torque in both directions of rotation
  structural parameter TorqueDirection::Boolean = true
  # Nominal speed
  parameter w_nominal::Dyad.AngularVelocity(min = 1e-10)
  # 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
  if TorqueDirection
    tau = tau_nominal * abs(w / w_nominal)
  else
    tau = tau_nominal * (w / w_nominal)
  end
metadata {}
end


Test Cases

No test cases defined.

  • Examples

  • Experiments

  • Analyses