Skip to content
PartialCompliantWithRelativeStates.md

PartialCompliantWithRelativeStates

Defines relative angular states for compliant rotational connections.

This partial component extends a base compliant model by explicitly defining the relative angular velocity (wrel) and relative angular acceleration (arel) between two connected rotational elements. These variables are intended to be used as preferred state variables. The core dynamics are described by the differential equations:

dϕreldt=wreldwreldt=arel

where ϕrel (relative angle) is assumed to be defined in the extended or extending components. This formulation is common in mechanical systems where relative motion is of primary interest.

PartialCompliant

Usage

PartialCompliantWithRelativeStates()

Connectors

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

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

Variables

NameDescriptionUnits
phi_relRelative rotation angle between spline_b and spline_arad
tauTorque transmitted between the splinesN.m
w_relRelative angular velocity between splinesrad/s
a_relRelative angular acceleration between splinesrad/s2

Source

dyad
# Defines relative angular states for compliant rotational connections.
#
# This partial component extends a base compliant model by explicitly defining the relative angular velocity ($w_{rel}$) and relative angular acceleration ($a_{rel}$) between two connected rotational elements. These variables are intended to be used as preferred state variables. The core dynamics are described by the differential equations:
# ```math
# \begin{align*}
# \frac{d\phi_{rel}}{dt} = w_{rel}\\
# \frac{dw_{rel}}{dt} = a_{rel}
# \end{align*}
# ```
# where $\phi_{rel}$ (relative angle) is assumed to be defined in the extended or extending components. This formulation is common in mechanical systems where relative motion is of primary interest.
partial component PartialCompliantWithRelativeStates
  extends PartialCompliant
  # Relative angular velocity between splines
  variable w_rel::AngularVelocity
  # Relative angular acceleration between splines
  variable a_rel::AngularAcceleration
relations
  der(phi_rel) = w_rel
  der(w_rel) = a_rel
end
Flattened Source
dyad
# Defines relative angular states for compliant rotational connections.
#
# This partial component extends a base compliant model by explicitly defining the relative angular velocity ($w_{rel}$) and relative angular acceleration ($a_{rel}$) between two connected rotational elements. These variables are intended to be used as preferred state variables. The core dynamics are described by the differential equations:
# ```math
# \begin{align*}
# \frac{d\phi_{rel}}{dt} = w_{rel}\\
# \frac{dw_{rel}}{dt} = a_{rel}
# \end{align*}
# ```
# where $\phi_{rel}$ (relative angle) is assumed to be defined in the extended or extending components. This formulation is common in mechanical systems where relative motion is of primary interest.
partial component PartialCompliantWithRelativeStates
  # First rotational spline interface
  spline_a = Spline() [{"Dyad": {"placement": {"icon": {"x1": -50, "y1": 450, "x2": 50, "y2": 550}}}}]
  # Second rotational spline interface
  spline_b = Spline() [{"Dyad": {"placement": {"icon": {"x1": 950, "y1": 450, "x2": 1050, "y2": 550}}}}]
  # Relative rotation angle between spline_b and spline_a
  variable phi_rel::Angle
  # Torque transmitted between the splines
  variable tau::Torque
  # Relative angular velocity between splines
  variable w_rel::AngularVelocity
  # Relative angular acceleration between splines
  variable a_rel::AngularAcceleration
relations
  phi_rel = spline_b.phi-spline_a.phi
  spline_b.tau = tau
  spline_a.tau = -tau
  der(phi_rel) = w_rel
  der(w_rel) = a_rel
metadata {}
end


Test Cases

No test cases defined.

  • Examples

  • Experiments

  • Analyses

Layout Switch

Adjust the layout style of VitePress to adapt to different reading needs and screens.

Expand all
The sidebar and content area occupy the entire width of the screen.
Expand sidebar with adjustable values
Expand sidebar width and add a new slider for user to choose and customize their desired width of the maximum width of sidebar can go, but the content area width will remain the same.
Expand all with adjustable values
Expand sidebar width and add a new slider for user to choose and customize their desired width of the maximum width of sidebar can go, but the content area width will remain the same.
Original width
The original layout width of VitePress

Page Layout Max Width

Adjust the exact value of the page width of VitePress layout to adapt to different reading needs and screens.

Adjust the maximum width of the page layout
A ranged slider for user to choose and customize their desired width of the maximum width of the page layout can go.

Content Layout Max Width

Adjust the exact value of the document content width of VitePress layout to adapt to different reading needs and screens.

Adjust the maximum width of the content layout
A ranged slider for user to choose and customize their desired width of the maximum width of the content layout can go.

Spotlight

Highlight the line where the mouse is currently hovering in the content to optimize for users who may have reading and focusing difficulties.

ONOn
Turn on Spotlight.
OFFOff
Turn off Spotlight.