Skip to content
Rotational.RelAccSensor.md

Rotational.RelAccSensor ​

This component extends from PartialRelativeSensor

Usage ​

TranslatedComponents.Rotational.RelAccSensor()

Connectors ​

  • flange_a - This connector represents a rotational spline with angle and torque as the potential and flow variables, respectively. (Spline)

  • flange_b - This connector represents a rotational spline with angle and torque as the potential and flow variables, respectively. (Spline)

  • a_rel - This connector represents a real signal as an output from a component (RealOutput)

Variables ​

NameDescriptionUnits
phi_relrad
w_relrad/s

Behavior ​

0=flange_a.tau(t)+flange_b.tau(t)phi_rel(t)=flange_b.phi(t)−flange_a.phi(t)w_rel(t)=dphi_rel(t)dta_rel(t)=dw_rel(t)dt0=flange_a.tau(t)

Source ​

dyad
component RelAccSensor
  extends PartialRelativeSensor
  a_rel = RealOutput()
  variable phi_rel::Dyad.Angle
  variable w_rel::Dyad.AngularVelocity
relations
  phi_rel = flange_b.phi - flange_a.phi
  w_rel = der(phi_rel)
  a_rel = der(w_rel)
  0 = flange_a.tau
end
Flattened Source
dyad
component RelAccSensor
  flange_a = Spline()
  flange_b = Spline()
  a_rel = RealOutput()
  variable phi_rel::Dyad.Angle
  variable w_rel::Dyad.AngularVelocity
relations
  0 = flange_a.tau + flange_b.tau
  phi_rel = flange_b.phi - flange_a.phi
  w_rel = der(phi_rel)
  a_rel = der(w_rel)
  0 = flange_a.tau
metadata {}
end


Test Cases ​

No test cases defined.

  • Examples

  • Experiments

  • Analyses