---
url: /dyad/dev/stdlib/TranslationalComponents/types/Interfaces.PartialElementaryOneFlangeAndSupport.md
description: >-
  Dyad Interfaces.PartialElementaryOneFlangeAndSupport docs.  Base model for a
  one-flange translational component with support.
---

# `Interfaces.PartialElementaryOneFlangeAndSupport` {#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:

$$\text{support}.s = s\_{support}$$

$$\text{support}.f = -\text{flange}.f$$

## Usage {#Usage}

`TranslationalComponents.Interfaces.PartialElementaryOneFlangeAndSupport()`

## Connectors {#Connectors}

* `flange` - This connector represents a mechanical flange with position and force as the potential and flow variables, respectively. ([`Flange`](/stdlib/Dyad/connectors/Flange#Flange))

* `support` - This connector represents a mechanical flange with position and force as the potential and flow variables, respectively. ([`Flange`](/stdlib/Dyad/connectors/Flange#Flange))

## Variables {#Variables}

|        Name |                             Description | Units |
| -----------:| ---------------------------------------:| -----:|
| `s_support` | Absolute position of the support flange |     m |

## Source {#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
````

````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 {#Test-Cases}

No test cases defined.

## Related {#Related}

* Examples

* Experiments

* Analyses
