initial a=$(a0)PrescribeInitialAcceleration Icon

PrescribeInitialAcceleration

Defines an initial angular acceleration for a rotational mechanical spline.

This component sets a specific initial angular acceleration via its internal Spline subcomponent. The user provides the desired initial angular acceleration as the parameter a0. At the commencement of the simulation, an internal variable a is equated to a0. This acceleration a is then imposed as the second time derivative of the Spline's angular displacement (phi), as described by the equation:

\[\frac{d^2\\phi_{spline}}{dt^2} = a\]

Simultaneously, the torque (tau) associated with the spline is maintained at zero, ensuring that this component only dictates kinematic motion (specifically initial acceleration) without applying any torque.

Usage

PrescribeInitialAcceleration(a0)

Parameters:

NameDescriptionUnitsDefault value
a0User-defined initial angular acceleration to be prescribed.m/s2

Connectors

  • spline - This connector represents a rotational spline with angle and torque as the potential and flow variables, respectively. (Spline)

Variables

NameDescriptionUnits
aAngular acceleration.m/s2

Behavior

\[ \begin{align} \frac{\mathrm{d}}{\mathrm{d}t} \frac{\mathrm{d} \mathtt{spline.phi}\left( t \right)}{\mathrm{d}t} &= a\left( t \right) \\ \mathtt{spline.tau}\left( t \right) &= 0 \end{align} \]

Source

# Defines an initial angular acceleration for a rotational mechanical spline.
#
# This component sets a specific initial angular acceleration via its internal `Spline` subcomponent.
# The user provides the desired initial angular acceleration as the parameter `a0`.
# At the commencement of the simulation, an internal variable `a` is equated to `a0`.
# This acceleration `a` is then imposed as the second time derivative of the `Spline`'s
# angular displacement (`phi`), as described by the equation:
# ```math
# \frac{d^2\\phi_{spline}}{dt^2} = a
# ```
# Simultaneously, the torque (`tau`) associated with the `spline` is maintained at zero,
# ensuring that this component only dictates kinematic motion (specifically initial acceleration)
# without applying any torque.
component PrescribeInitialAcceleration
  spline = Spline() [{"Dyad": {"placement": {"icon": {"x1": -50, "y1": 450, "x2": 50, "y2": 550}}}}]
  # User-defined initial angular acceleration to be prescribed.
  parameter a0::Acceleration
  # Angular acceleration.
  variable a::Acceleration
relations
  initial a = a0
  der(der(spline.phi)) = a
  spline.tau = 0
metadata {
  "Dyad": {
    "labels": [{"label": "initial a=$(a0)", "x": 500, "y": 800, "rot": 0}],
    "icons": {"default": "dyad://RotationalComponents/Pos-Speed-Acc-Move.svg"}
  }
}
end
Flattened Source
# Defines an initial angular acceleration for a rotational mechanical spline.
#
# This component sets a specific initial angular acceleration via its internal `Spline` subcomponent.
# The user provides the desired initial angular acceleration as the parameter `a0`.
# At the commencement of the simulation, an internal variable `a` is equated to `a0`.
# This acceleration `a` is then imposed as the second time derivative of the `Spline`'s
# angular displacement (`phi`), as described by the equation:
# ```math
# \frac{d^2\\phi_{spline}}{dt^2} = a
# ```
# Simultaneously, the torque (`tau`) associated with the `spline` is maintained at zero,
# ensuring that this component only dictates kinematic motion (specifically initial acceleration)
# without applying any torque.
component PrescribeInitialAcceleration
  spline = Spline() [{"Dyad": {"placement": {"icon": {"x1": -50, "y1": 450, "x2": 50, "y2": 550}}}}]
  # User-defined initial angular acceleration to be prescribed.
  parameter a0::Acceleration
  # Angular acceleration.
  variable a::Acceleration
relations
  initial a = a0
  der(der(spline.phi)) = a
  spline.tau = 0
metadata {
  "Dyad": {
    "labels": [{"label": "initial a=$(a0)", "x": 500, "y": 800, "rot": 0}],
    "icons": {"default": "dyad://RotationalComponents/Pos-Speed-Acc-Move.svg"}
  }
}
end


Test Cases

No test cases defined.

  • Examples
  • Experiments
  • Analyses