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