SpeedSensor IconSpeedSensor
Ideal sensor that measures the absolute translational velocity of a mechanical flange.
This sensor provides the absolute velocity of its connected flange. The velocity v is determined by taking the time derivative of the flange's absolute position s. The governing equation is:
\[v = \frac{d flange.s}{dt}\]
This component extends from PartialAbsoluteSensor
Usage
TranslationalComponents.SpeedSensor()
Connectors
- flange- This connector represents a mechanical flange with position and force as the potential and flow variables, respectively. (- Flange)
- v- This connector represents a real signal as an output from a component (- RealOutput)
Behavior
\[ \begin{align} 0 &= \mathtt{flange.f}\left( t \right) \\ v\left( t \right) &= \frac{\mathrm{d} \mathtt{flange.s}\left( t \right)}{\mathrm{d}t} \end{align} \]
Source
# Ideal sensor that measures the absolute translational velocity of a mechanical flange.
#
# This sensor provides the absolute velocity of its connected `flange`.
# The velocity `v` is determined by taking the time derivative of the `flange`'s
# absolute position `s`. The governing equation is:
# ```math
# v = \frac{d flange.s}{dt}
# ```
component SpeedSensor
  extends PartialAbsoluteSensor
  # Absolute velocity of flange as output signal
  v = RealOutput() [{"Dyad": {"placement": {"icon": {"x1": 950, "y1": 450, "x2": 1050, "y2": 550}}}}]
relations
  v = der(flange.s)
metadata {
  "Dyad": {"icons": {"default": "dyad://TranslationalComponents/AbsoluteSensor.svg"}}
}
endFlattened Source
# Ideal sensor that measures the absolute translational velocity of a mechanical flange.
#
# This sensor provides the absolute velocity of its connected `flange`.
# The velocity `v` is determined by taking the time derivative of the `flange`'s
# absolute position `s`. The governing equation is:
# ```math
# v = \frac{d flange.s}{dt}
# ```
component SpeedSensor
  # Mechanical flange connector through which the variable is sensed.
  flange = Flange() [{"Dyad": {"placement": {"icon": {"x1": -50, "y1": 450, "x2": 50, "y2": 550}}}}]
  # Absolute velocity of flange as output signal
  v = RealOutput() [{"Dyad": {"placement": {"icon": {"x1": 950, "y1": 450, "x2": 1050, "y2": 550}}}}]
relations
  0 = flange.f
  v = der(flange.s)
metadata {
  "Dyad": {"icons": {"default": "dyad://TranslationalComponents/AbsoluteSensor.svg"}}
}
endTest Cases
No test cases defined.
Related
- Examples
- Experiments
- Analyses
- Tests