Skip to content
Translational.MultiSensor.md

Translational.MultiSensor

Ideal sensor to measure the absolute velocity, force and power between two flanges This component is translated by DyadAI

This component extends from PartialRelativeSensor

Usage

TranslatedComponents.Translational.MultiSensor()

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)

  • f - This connector represents a real signal as an output from a component (RealOutput)

  • v - This connector represents a real signal as an output from a component (RealOutput)

Behavior

0=flange_b.f(t)+flange_a.f(t)flange_a.s(t)=flange_b.s(t)f(t)=flange_a.f(t)v(t)=dflange_a.s(t)dtpower(t)=v(t)f(t)

Source

dyad
# Ideal sensor to measure the absolute velocity, force and power between two flanges
# This component is translated by DyadAI
component MultiSensor
  extends PartialRelativeSensor
  power = RealOutput()
  f = RealOutput()
  v = RealOutput()
relations
  flange_a.s = flange_b.s
  f = flange_a.f
  v = der(flange_a.s)
  power = f * v
end
Flattened Source
dyad
# Ideal sensor to measure the absolute velocity, force and power between two flanges
# This component is translated by DyadAI
component MultiSensor
  flange_a = Flange()
  flange_b = Flange()
  power = RealOutput()
  f = RealOutput()
  v = RealOutput()
relations
  0 = flange_a.f + flange_b.f
  flange_a.s = flange_b.s
  f = flange_a.f
  v = der(flange_a.s)
  power = f * v
metadata {}
end


Test Cases

No test cases defined.

  • Examples

  • Experiments

  • Analyses