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 ​
julia
using TranslatedComponents #hide
using ModelingToolkit #hide
@named sys = TranslatedComponents.Rotational.PowerSensor() #hide
full_equations(sys) #hide<< @example-block not executed in draft mode >>Source ​
dyad
component PowerSensor
extends PartialRelativeSensor
power = RealOutput()
relations
flange_a.phi = flange_b.phi
power = flange_a.tau * der(flange_a.phi)
endFlattened 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 {}
endTest Cases ​
No test cases defined.
Related ​
Examples
Experiments
Analyses