VelocitySensor
IconVelocitySensor
Ideal sensor to measure the absolute angular velocity of flange
This component extends from PartialAbsoluteSensor
Usage
VelocitySensor()
Connectors
spline
- (Spline
)w
- This connector represents a real signal as an output from a component (RealOutput
)
Behavior
\[ \begin{align} 0 &= \mathtt{spline.tau}\left( t \right) \\ w\left( t \right) &= \frac{\mathrm{d} \mathtt{spline.phi}\left( t \right)}{\mathrm{d}t} \end{align} \]
Source
# Ideal sensor to measure the absolute angular velocity of flange
component VelocitySensor
extends PartialAbsoluteSensor
# Absolute angular velocity of flange as output signal
w = RealOutput() [{"Dyad": {"placement": {"icon": {"x1": 950, "y1": 450, "x2": 1050, "y2": 550}}}}]
relations
w = der(spline.phi)
metadata {
"Dyad": {"icons": {"default": "dyad://RotationalComponents/SingleSplineSensor.svg"}}
}
end
Flattened Source
# Ideal sensor to measure the absolute angular velocity of flange component VelocitySensor # Spline of the shaft from which sensor information shall be measured spline = Spline() [{"Dyad": {"placement": {"icon": {"x1": -50, "y1": 450, "x2": 50, "y2": 550}}}}] # Absolute angular velocity of flange as output signal w = RealOutput() [{"Dyad": {"placement": {"icon": {"x1": 950, "y1": 450, "x2": 1050, "y2": 550}}}}] relations 0 = spline.tau w = der(spline.phi) metadata { "Dyad": {"icons": {"default": "dyad://RotationalComponents/SingleSplineSensor.svg"}} } end
Test Cases
Related
- Examples
- Experiments
- Analyses