Translational.RelAccSensor ​
This component extends from PartialRelativeSensor
Usage ​
TranslatedComponents.Translational.RelAccSensor()
Connectors ​
flange_a- This connector represents a mechanical flange with position and force as the potential and flow variables, respectively. (Flange)flange_b- This connector represents a mechanical flange with position and force as the potential and flow variables, respectively. (Flange)a_rel- This connector represents a real signal as an output from a component (RealOutput)
Variables ​
| Name | Description | Units |
|---|---|---|
s_rel | m | |
v_rel | m/s |
Behavior ​
Source ​
dyad
component RelAccSensor
extends PartialRelativeSensor
a_rel = RealOutput()
variable s_rel::Dyad.Position
variable v_rel::Dyad.Velocity
relations
s_rel = flange_b.s - flange_a.s
v_rel = der(s_rel)
a_rel = der(v_rel)
0 = flange_a.f
endFlattened Source
dyad
component RelAccSensor
flange_a = Flange()
flange_b = Flange()
a_rel = RealOutput()
variable s_rel::Dyad.Position
variable v_rel::Dyad.Velocity
relations
0 = flange_a.f + flange_b.f
s_rel = flange_b.s - flange_a.s
v_rel = der(s_rel)
a_rel = der(v_rel)
0 = flange_a.f
metadata {}
endTest Cases ​
No test cases defined.
Related ​
Examples
Experiments
Analyses