$(instance)Fixed Icon

Fixed

Constrains a translational flange to a fixed position.

This component represents a mechanical anchor or a fixed reference point within a 1D translational system. It rigidly sets the position of its single translational flange (flange) to a constant value specified by the parameter s0. The key behavior is defined by the simple algebraic constraint:

\[flange.s = s0\]

math

Usage

Fixed(s0=0.0)

Parameters:

NameDescriptionUnitsDefault value
s0Fixed offset positionm0

Connectors

  • flange - This connector represents a mechanical flange with position and force as the potential and flow variables, respectively. (Flange)

Behavior

\[ \begin{align} \mathtt{flange.s}\left( t \right) &= \mathtt{s0} \end{align} \]

Source

# Constrains a translational flange to a fixed position.
#
# This component represents a mechanical anchor or a fixed reference point within a 1D translational system.
# It rigidly sets the position of its single translational flange (`flange`) to a constant value specified by the parameter `s0`.
# The key behavior is defined by the simple algebraic constraint:
# ```math
# flange.s = s0
# ```math
component Fixed
  # Translational flange connector
  flange = Flange() [{"Dyad": {"placement": {"icon": {"x1": 400, "y1": -100, "x2": 600, "y2": 100}}}}]
  # Fixed offset position
  parameter s0::Dyad.Position = 0.0
relations
  flange.s = s0
metadata {"Dyad": {"icons": {"default": "dyad://TranslationalComponents/Fixed.svg"}}}
end
Flattened Source
# Constrains a translational flange to a fixed position.
#
# This component represents a mechanical anchor or a fixed reference point within a 1D translational system.
# It rigidly sets the position of its single translational flange (`flange`) to a constant value specified by the parameter `s0`.
# The key behavior is defined by the simple algebraic constraint:
# ```math
# flange.s = s0
# ```math
component Fixed
  # Translational flange connector
  flange = Flange() [{"Dyad": {"placement": {"icon": {"x1": 400, "y1": -100, "x2": 600, "y2": 100}}}}]
  # Fixed offset position
  parameter s0::Dyad.Position = 0.0
relations
  flange.s = s0
metadata {"Dyad": {"icons": {"default": "dyad://TranslationalComponents/Fixed.svg"}}}
end


Test Cases

No test cases defined.