Skip to content
PowerSensor.md

PowerSensor ​

Ideal sensor measuring the translational power flowing through a point.

This component measures the instantaneous mechanical translational power. It is intended to measure power calculated at flange_a. The sensor is ideal: it does not dissipate energy or introduce any mechanical impedance beyond its defining equations. A key characteristic is the constraint flangea.s=flangeb.s, which means both flanges share the same position and, consequently, the same velocity. The sensor thus measures the power flowing through the connection point flange_a, while flange_b serves to complete the mechanical path with identical motion. The measured power P is defined as:

P=Fâ‹…v

math

where F corresponds to the force flange_a.f at flange_a and v corresponds to the velocity der(flange_a.s) of flange_a.

This component extends from PartialRelativeSensor

Usage ​

TranslationalComponents.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 ​

0=flange_b.f(t)+flange_a.f(t)flange_a.s(t)=flange_b.s(t)power(t)=dflange_a.s(t)dtflange_a.f(t)

Source ​

dyad
"""
Ideal sensor measuring the translational power flowing through a point.

This component measures the instantaneous mechanical translational power.
It is intended to measure power calculated at `flange_a`.
The sensor is ideal: it does not dissipate energy or introduce any mechanical impedance beyond its defining equations.
A key characteristic is the constraint $flange_a.s = flange_b.s$, which means
both flanges share the same position and, consequently, the same velocity.
The sensor thus measures the power flowing through the connection point `flange_a`,
while `flange_b` serves to complete the mechanical path with identical motion.
The measured power $P$ is defined as:

math P = F \cdot v

where$F$correspondstotheforce‘flangea.f‘at‘flangea‘and$v$correspondstothevelocity‘der(flangea.s)‘of‘flangea‘."""componentPowerSensorextendsPartialRelativeSensor"Outputsignalrepresentingthemeasuredpower,calculatedaspowerinflange‘flangea‘."power=RealOutput()"Dyad":"placement":"icon":"x1":450,"y1":950,"x2":550,"y2":1050,"rot":90relationsflangea.s=flangeb.spower=flangea.f∗der(flangea.s)metadata"Dyad":"icons":"default":"dyad://TranslationalComponents/RelativeSensor.svg"end
Flattened Source
dyad
"""
Ideal sensor measuring the translational power flowing through a point.

This component measures the instantaneous mechanical translational power.
It is intended to measure power calculated at `flange_a`.
The sensor is ideal: it does not dissipate energy or introduce any mechanical impedance beyond its defining equations.
A key characteristic is the constraint $flange_a.s = flange_b.s$, which means
both flanges share the same position and, consequently, the same velocity.
The sensor thus measures the power flowing through the connection point `flange_a`,
while `flange_b` serves to complete the mechanical path with identical motion.
The measured power $P$ is defined as:

math P = F \cdot v

where$F$correspondstotheforce‘flangea.f‘at‘flangea‘and$v$correspondstothevelocity‘der(flangea.s)‘of‘flangea‘."""componentPowerSensor"Negativeconnectionflangeofthesensor,oftenconsideredthereferencepoint."flangea=Flange()"Dyad":"placement":"icon":"x1":−50,"y1":450,"x2":50,"y2":550"Positiveconnectionflangeofthesensor,wherethemeasurementistakenrelativetoflangea."flangeb=Flange()"Dyad":"placement":"icon":"x1":950,"y1":450,"x2":1050,"y2":550"Outputsignalrepresentingthemeasuredpower,calculatedaspowerinflange‘flangea‘."power=RealOutput()"Dyad":"placement":"icon":"x1":450,"y1":950,"x2":550,"y2":1050,"rot":90relations0=flangea.f+flangeb.fflangea.s=flangeb.spower=flangea.f∗der(flangea.s)metadata"Dyad":"icons":"default":"dyad://TranslationalComponents/RelativeSensor.svg"end


Test Cases ​

No test cases defined.

  • Examples

  • Experiments

  • Analyses