Skip to content
LIBRARY
Interfaces.PartialElementaryOneFlangeAndSupport.md

Interfaces.PartialElementaryOneFlangeAndSupport

Base model for a one-flange translational component with support.

Provides a primary translational flange and a support flange. The support flange's position is defined by the variable s_support. The force on the support is equal and opposite to the force on the primary flange (Newton's third law).

Matches MSL Modelica.Mechanics.Translational.Interfaces.PartialElementaryOneFlangeAndSupport2. Since Dyad does not support conditional connectors, the support flange is always visible. Connect it to a Fixed component for grounded behaviour.

The defining equations are:

support.s=ssupportsupport.f=flange.f

Usage

TranslationalComponents.Interfaces.PartialElementaryOneFlangeAndSupport()

Connectors

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

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

Variables

NameDescriptionUnits
s_supportAbsolute position of the support flangem

Source

dyad
"""
Base model for a one-flange translational component with support.

Provides a primary translational flange and a support flange.
The support flange's position is defined by the variable `s_support`.
The force on the support is equal and opposite to the force on the
primary flange (Newton's third law).

Matches MSL `Modelica.Mechanics.Translational.Interfaces.PartialElementaryOneFlangeAndSupport2`.
Since Dyad does not support conditional connectors, the support flange is
always visible. Connect it to a `Fixed` component for grounded behaviour.

The defining equations are:
```math
\text{support}.s = s_{support}
```
```math
\text{support}.f = -\text{flange}.f
```
"""
partial component PartialElementaryOneFlangeAndSupport
  "Primary translational flange"
  flange = Flange() {"Dyad": {"placement": {"icon": {"x1": 950, "y1": 450, "x2": 1050, "y2": 550}}}}
  "Support flange (connect to Fixed for grounded behaviour)"
  support = Flange() {
    "Dyad": {
      "placement": {"icon": {"iconName": "support", "x1": 450, "y1": 950, "x2": 550, "y2": 1050}}
    }
  }
  "Absolute position of the support flange"
  variable s_support::Position
relations
  support.s = s_support
  support.f = -flange.f
end
Flattened Source
dyad
"""
Base model for a one-flange translational component with support.

Provides a primary translational flange and a support flange.
The support flange's position is defined by the variable `s_support`.
The force on the support is equal and opposite to the force on the
primary flange (Newton's third law).

Matches MSL `Modelica.Mechanics.Translational.Interfaces.PartialElementaryOneFlangeAndSupport2`.
Since Dyad does not support conditional connectors, the support flange is
always visible. Connect it to a `Fixed` component for grounded behaviour.

The defining equations are:
```math
\text{support}.s = s_{support}
```
```math
\text{support}.f = -\text{flange}.f
```
"""
partial component PartialElementaryOneFlangeAndSupport
  "Primary translational flange"
  flange = Flange() {"Dyad": {"placement": {"icon": {"x1": 950, "y1": 450, "x2": 1050, "y2": 550}}}}
  "Support flange (connect to Fixed for grounded behaviour)"
  support = Flange() {
    "Dyad": {
      "placement": {"icon": {"iconName": "support", "x1": 450, "y1": 950, "x2": 550, "y2": 1050}}
    }
  }
  "Absolute position of the support flange"
  variable s_support::Position
relations
  support.s = s_support
  support.f = -flange.f
metadata {}
end


Test Cases

No test cases defined.

  • Examples

  • Experiments

  • Analyses