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–false
TorqueDirection–true
tau_nominalN.m
w_nominalrad/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
tauN.m

Behavior ​

phi(t)=flange.phi(t)−phi_support(t)w(t)=d phi(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