Rotational.RelSpeedSensor
This component extends from PartialRelativeSensor
Usage
TranslatedComponents.Rotational.RelSpeedSensor()
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)w_rel- This connector represents a real signal as an output from a component (RealOutput)
Variables
| Name | Description | Units |
|---|---|---|
phi_rel | Relative angle between two flanges (flange_b.phi - flange_a.phi) | rad |
Behavior
Source
dyad
component RelSpeedSensor
extends PartialRelativeSensor
w_rel = RealOutput()
# Relative angle between two flanges (flange_b.phi - flange_a.phi)
variable phi_rel::Dyad.Angle
relations
phi_rel = flange_b.phi - flange_a.phi
w_rel = der(phi_rel)
0 = flange_a.tau
endFlattened Source
dyad
component RelSpeedSensor
flange_a = Spline()
flange_b = Spline()
w_rel = RealOutput()
# Relative angle between two flanges (flange_b.phi - flange_a.phi)
variable phi_rel::Dyad.Angle
relations
0 = flange_a.tau + flange_b.tau
phi_rel = flange_b.phi - flange_a.phi
w_rel = der(phi_rel)
0 = flange_a.tau
metadata {}
endTest Cases
No test cases defined.
Related
Examples
Experiments
Analyses