Skip to content
Rotational.PowerSensor.md

Rotational.PowerSensor

This component extends from PartialRelativeSensor

Usage

TranslatedComponents.Rotational.PowerSensor()

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)

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

Behavior

0=flange_a.tau(t)+flange_b.tau(t)flange_a.phi(t)=flange_b.phi(t)power(t)=flange_a.tau(t)dflange_a.phi(t)dt

Source

dyad
component PowerSensor
  extends PartialRelativeSensor
  power = RealOutput()
relations
  flange_a.phi = flange_b.phi
  power = flange_a.tau * der(flange_a.phi)
end
Flattened Source
dyad
component PowerSensor
  flange_a = Spline()
  flange_b = Spline()
  power = RealOutput()
relations
  0 = flange_a.tau + flange_b.tau
  flange_a.phi = flange_b.phi
  power = flange_a.tau * der(flange_a.phi)
metadata {}
end


Test Cases

No test cases defined.

  • Examples

  • Experiments

  • Analyses