---
url: /dyad/stable/stdlib/TranslationalComponents/types/Interfaces.PartialForce.md
description: >-
  Dyad Interfaces.PartialForce docs.  Partial model of a force acting at the
  flange (accelerates the flange).
---

# `Interfaces.PartialForce` {#Interfaces.PartialForce}

Partial model of a force acting at the flange (accelerates the flange).

This partial component extends `PartialElementaryOneFlangeAndSupport2` to provide a convenient base for force source components. It introduces a force variable `f` that equals the flange force:

$$f = flange.f$$

Concrete force source components should extend this model and provide an equation that defines `f` (e.g., as a constant, a function of velocity, or from an input signal).

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

## Usage {#Usage}

`TranslationalComponents.Interfaces.PartialForce()`

## 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` | Distance between flange and support (= flange.s - support.s) |     m |
|  `f` |             Accelerating force acting at flange (= flange.f) |     N |

## Source {#Source}

````dyad
"""
Partial model of a force acting at the flange (accelerates the flange).

This partial component extends `PartialElementaryOneFlangeAndSupport2` to provide
a convenient base for force source components. It introduces a force variable `f`
that equals the flange force:
```math
f = flange.f
```
Concrete force source components should extend this model and provide an equation
that defines `f` (e.g., as a constant, a function of velocity, or from an input signal).
"""
partial component PartialForce
  extends TranslationalComponents.Interfaces.PartialElementaryOneFlangeAndSupport2
  "Accelerating force acting at flange (= flange.f)"
  variable f::Dyad.Force
relations
  f = flange.f
end
````

````dyad
"""
Partial model of a force acting at the flange (accelerates the flange).

This partial component extends `PartialElementaryOneFlangeAndSupport2` to provide
a convenient base for force source components. It introduces a force variable `f`
that equals the flange force:
```math
f = flange.f
```
Concrete force source components should extend this model and provide an equation
that defines `f` (e.g., as a constant, a function of velocity, or from an input signal).
"""
partial component PartialForce
  "Flange of component"
  flange = Flange() {"Dyad": {"placement": {"icon": {"x1": 950, "y1": 450, "x2": 1050, "y2": 550}}}}
  "Support/housing of component"
  support = Flange() {"Dyad": {"placement": {"icon": {"x1": 450, "y1": 950, "x2": 550, "y2": 1050}}}}
  "Distance between flange and support (= flange.s - support.s)"
  variable s::Length
  "Accelerating force acting at flange (= flange.f)"
  variable f::Dyad.Force
relations
  s = flange.s - support.s
  support.f = -flange.f
  f = flange.f
metadata {}
end
````

## Test Cases {#Test-Cases}

No test cases defined.

## Related {#Related}

* Examples

* Experiments

* Analyses
