---
url: /dyad/stable/stdlib/TranslationalComponents/types/Interfaces.PartialCompliant.md
description: >-
  Dyad Interfaces.PartialCompliant docs.  Base model for a 1D translational
  compliant connection.
---

# `Interfaces.PartialCompliant` {#Interfaces.PartialCompliant}

Base model for a 1D translational compliant connection.

This partial component establishes the fundamental kinematic and force relationships for a generic compliant connection between two 1D translational mechanical flanges, `flange_a` and `flange_b`. It defines the relative displacement, $s\_{rel}$, between the flanges and the internal force, $f$, transmitted through the compliant element. The defining equations are: Relative displacement: $s\_{rel} = flange_b.s - flange_a.s$ Force on `flange_b`: $flange_b.f = f$ Force on `flange_a`: $flange_a.f = -f$ This model is `partial` and intended to be extended by concrete components that will specify the constitutive law for $f$ based on $s\_{rel}$ and/or its time derivatives (e.g., a spring or damper).

This component extends from [`TranslationalComponents.Interfaces.PartialTwoFlanges`](Interfaces.PartialTwoFlanges.md)

## Usage {#Usage}

`TranslationalComponents.Interfaces.PartialCompliant()`

## Connectors {#Connectors}

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

* `flange_b` - 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_rel` |                                  Relative distance between `flange_b` and `flange_a` |     m |
|     `f` | Internal force exerted by the compliant connection on flange_b (and -f on flange_a). |     N |

## Source {#Source}

```dyad
"""
Base model for a 1D translational compliant connection.

This partial component establishes the fundamental kinematic and force relationships for a generic compliant
connection between two 1D translational mechanical flanges, `flange_a` and `flange_b`. It defines the
relative displacement, $s_{rel}$, between the flanges and the internal force, $f$,
transmitted through the compliant element.
The defining equations are:
Relative displacement: $s_{rel} = flange_b.s - flange_a.s$
Force on `flange_b`: $flange_b.f = f$
Force on `flange_a`: $flange_a.f = -f$
This model is `partial` and intended to be extended by concrete components that will specify the
constitutive law for $f$ based on $s_{rel}$ and/or its time derivatives (e.g., a spring or damper).
"""
partial component PartialCompliant
  extends TranslationalComponents.Interfaces.PartialTwoFlanges
  "Relative distance between `flange_b` and `flange_a`"
  variable s_rel::Distance
  "Internal force exerted by the compliant connection on flange_b (and -f on flange_a)."
  variable f::Dyad.Force
relations
  s_rel = flange_b.s - flange_a.s
  flange_b.f = f
  flange_a.f = -f
end
```

```dyad
"""
Base model for a 1D translational compliant connection.

This partial component establishes the fundamental kinematic and force relationships for a generic compliant
connection between two 1D translational mechanical flanges, `flange_a` and `flange_b`. It defines the
relative displacement, $s_{rel}$, between the flanges and the internal force, $f$,
transmitted through the compliant element.
The defining equations are:
Relative displacement: $s_{rel} = flange_b.s - flange_a.s$
Force on `flange_b`: $flange_b.f = f$
Force on `flange_a`: $flange_a.f = -f$
This model is `partial` and intended to be extended by concrete components that will specify the
constitutive law for $f$ based on $s_{rel}$ and/or its time derivatives (e.g., a spring or damper).
"""
partial component PartialCompliant
  "Left mechanical translational flange (connector)"
  flange_a = Flange() {"Dyad": {"placement": {"icon": {"x1": -50, "y1": 450, "x2": 50, "y2": 550}}}}
  "Right mechanical translational flange (connector)"
  flange_b = Flange() {"Dyad": {"placement": {"icon": {"x1": 950, "y1": 450, "x2": 1050, "y2": 550}}}}
  "Relative distance between `flange_b` and `flange_a`"
  variable s_rel::Distance
  "Internal force exerted by the compliant connection on flange_b (and -f on flange_a)."
  variable f::Dyad.Force
relations
  s_rel = flange_b.s - flange_a.s
  flange_b.f = f
  flange_a.f = -f
metadata {}
end
```

## Test Cases {#Test-Cases}

No test cases defined.

## Related {#Related}

* Examples

* Experiments

* Analyses
