Translational.RelPositionSensor
Ideal sensor to measure the relative position between two flanges This component is translated by DyadAI
This component extends from PartialRelativeSensor
Usage
TranslatedComponents.Translational.RelPositionSensor()
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)s_rel- This connector represents a real signal as an output from a component (RealOutput)
Behavior
Source
dyad
# Ideal sensor to measure the relative position between two flanges
# This component is translated by DyadAI
component RelPositionSensor
extends PartialRelativeSensor
s_rel = RealOutput()
relations
s_rel = flange_b.s - flange_a.s
0 = flange_a.f
endFlattened Source
dyad
# Ideal sensor to measure the relative position between two flanges
# This component is translated by DyadAI
component RelPositionSensor
flange_a = Flange()
flange_b = Flange()
s_rel = RealOutput()
relations
0 = flange_a.f + flange_b.f
s_rel = flange_b.s - flange_a.s
0 = flange_a.f
metadata {}
endTest Cases
No test cases defined.
Related
Examples
Experiments
Analyses