Skip to content
LIBRARY
Components.Fixed.md

Components.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

TranslationalComponents.Components.Fixed(s0=0.0)

Parameters:

NameDescriptionUnitsDefault value
s0Fixed offset positionm0.0

Connectors

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

Behavior

julia
using TranslationalComponents #hide
using ModelingToolkit #hide
@variables s0 #hide
@named sys = TranslationalComponents.Components.Fixed(s0=s0) #hide
full_equations(sys) #hide
<< @example-block not executed in draft mode >>

Source

dyad
"""
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": 450, "y1": -50, "x2": 550, "y2": 50}}}}
  "Fixed offset position"
  parameter s0::Dyad.Position = 0.0
relations
  flange.s = s0
metadata {"Dyad": {"icons": {"default": "dyad://TranslationalComponents/Fixed.svg"}}}
end
Flattened Source
dyad
"""
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": 450, "y1": -50, "x2": 550, "y2": 50}}}}
  "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.