---
url: /dyad/stable/stdlib/TranslationalComponents/components/Sources.Accelerate.md
description: Dyad Sources.Accelerate docs.  Deprecated alias for AccelerationSource.
---

# `Sources.Accelerate` {#Sources.Accelerate}

Deprecated alias for `AccelerationSource`.

`Accelerate` has been renamed to `AccelerationSource` to align the Translational library naming with the Dyad mechanical libraries. This alias is retained so existing models keep working; use `TranslationalComponents.Sources.AccelerationSource` in new models.

This component extends from [`TranslationalComponents.Sources.AccelerationSource`](Sources.AccelerationSource.md)

## Usage {#Usage}

`TranslationalComponents.Sources.Accelerate()`

## 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))

* `a_ref` - This connector represents a real signal as an input to a component ([`RealInput`](/stdlib/Dyad/connectors/RealInput#RealInput))

## Variables {#Variables}

| Name |                                                  Description | Units |
| ----:| ------------------------------------------------------------:| -----:|
|  `s` | Distance between flange and support (= flange.s - support.s) |     m |
|  `v` |                   Velocity of flange with respect to support |   m/s |
|  `a` |               Acceleration of flange with respect to support |  m/s2 |

## Behavior {#Behavior}

$$ \begin{align}
s\left( t \right) &= \mathtt{flange.s}\left( t \right) - \mathtt{support.s}\left( t \right) \\
\mathtt{support.f}\left( t \right) &=  - \mathtt{flange.f}\left( t \right) \\
v\left( t \right) &= \frac{\mathrm{d}s\left( t \right)}{\mathrm{d}t} \\
a\left( t \right) &= \frac{\mathrm{d}v\left( t \right)}{\mathrm{d}t} \\
a\left( t \right) &= \mathtt{a_ref}\left( t \right)
\end{align}
$$

## Source {#Source}

```dyad
"""
Deprecated alias for `AccelerationSource`.

`Accelerate` has been renamed to `AccelerationSource` to align the Translational library
naming with the Dyad mechanical libraries. This alias is retained so existing models keep
working; use `TranslationalComponents.Sources.AccelerationSource` in new models.
"""
component Accelerate
  extends TranslationalComponents.Sources.AccelerationSource
relations
metadata {
  "Dyad": {
    "icons": {"default": "dyad://TranslationalComponents/AccelerationSource.svg"},
    "deprecated": {
      "message": "`Accelerate` has been renamed to `AccelerationSource`. Use `TranslationalComponents.Sources.AccelerationSource` instead.",
      "hotfix": {
        "action": "replace",
        "value": "TranslationalComponents.Sources.AccelerationSource"
      }
    }
  }
}
end
```

```dyad
"""
Deprecated alias for `AccelerationSource`.

`Accelerate` has been renamed to `AccelerationSource` to align the Translational library
naming with the Dyad mechanical libraries. This alias is retained so existing models keep
working; use `TranslationalComponents.Sources.AccelerationSource` in new models.
"""
component Accelerate
  "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
  "Absolute acceleration of flange as input signal"
  a_ref = RealInput(units = "m/s2") {"Dyad": {"placement": {"icon": {"x1": -50, "y1": 450, "x2": 50, "y2": 550}}}}
  "Velocity of flange with respect to support"
  variable v::Velocity(statePriority = 50, initial = 0.0)
  "Acceleration of flange with respect to support"
  variable a::Acceleration
relations
  s = flange.s - support.s
  support.f = -flange.f
  v = der(s)
  a = der(v)
  a = a_ref
metadata {
  "Dyad": {
    "icons": {"default": "dyad://TranslationalComponents/AccelerationSource.svg"},
    "labels": [{"label": "$(instance)", "layer": "icon", "x": 500, "y": 1204, "rot": 0}],
    "deprecated": {
      "message": "`Accelerate` has been renamed to `AccelerationSource`. Use `TranslationalComponents.Sources.AccelerationSource` instead.",
      "hotfix": {
        "action": "replace",
        "value": "TranslationalComponents.Sources.AccelerationSource"
      }
    }
  }
}
end
```

## Test Cases {#Test-Cases}

No test cases defined.

## Related {#Related}

* Examples

* Experiments

* Analyses
