PartialCompliantPartialCompliant Icon

PartialCompliant

Defines a generic compliant rotational connection between two shaft splines.

This partial component models the interaction between two rotational splines, spline_a and spline_b. The relative angle, phi_rel, between them is defined by the equation:

\[\phi_{rel} = \text{spline\_b}.\phi - \text{spline\_a}.\phi\]

The component also establishes the torque interactions. The torque on spline_b (accessed via spline_b.tau in its connector) is set to the internal model torque tau. Conversely, the torque on spline_a (accessed via spline_a.tau) is set to -tau, ensuring action-reaction principles are met. These are described by the equations:

\[\text{spline\_b}.\tau = \tau\]

\[\text{spline\_a}.\tau = -\tau\]

As a partial model, it is intended to be extended by other components. These extending components would typically define the specific constitutive relationship for the compliance, for example, by expressing tau as a function of phi_rel (e.g., for a torsional spring or damper).

Usage

RotationalComponents.PartialCompliant()

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 splineb and splinearad
tauTorque transmitted between the splinesN.m

Source

"""
Defines a generic compliant rotational connection between two shaft splines.

This partial component models the interaction between two rotational splines, `spline_a` and `spline_b`.
The relative angle, `phi_rel`, between them is defined by the equation:

math \phi{rel} = \text{spline\b}.\phi - \text{spline_a}.\phi

The component also establishes the torque interactions. The torque on `spline_b` (accessed via `spline_b.tau` in its connector)
is set to the internal model torque `tau`. Conversely, the torque on `spline_a` (accessed via `spline_a.tau`) is set to `-tau`,
ensuring action-reaction principles are met. These are described by the equations:

math \text{spline_b}.\tau = \tau

math \text{spline_a}.\tau = -\tau

As a `partial` model, it is intended to be extended by other components. These extending components
would typically define the specific constitutive relationship for the compliance, for example, by expressing
`tau` as a function of `phi_rel` (e.g., for a torsional spring or damper).
"""</span>
<span class="hljs-keyword">partial</span> <span class="hljs-keyword">component</span> PartialCompliant
&nbsp;&nbsp;<span class="hljs-comment">"First rotational spline interface"</span>
&nbsp;&nbsp;<span class="hljs-symbol">spline_a</span> = <span class="hljs-link"><a href="https://help.juliahub.com/dyad/dev/stdlib/Dyad/connectors/Spline.html">Spline</a></span>() {"Dyad": {"placement": {"icon": {"x1": -50, "y1": 450, "x2": 50, "y2": 550}}}}
&nbsp;&nbsp;<span class="hljs-comment">"Second rotational spline interface"</span>
&nbsp;&nbsp;<span class="hljs-symbol">spline_b</span> = <span class="hljs-link"><a href="https://help.juliahub.com/dyad/dev/stdlib/Dyad/connectors/Spline.html">Spline</a></span>() {"Dyad": {"placement": {"icon": {"x1": 950, "y1": 450, "x2": 1050, "y2": 550}}}}
&nbsp;&nbsp;<span class="hljs-comment">"Relative rotation angle between spline_b and spline_a"</span>
&nbsp;&nbsp;<span class="hljs-keyword">variable</span> <span class="hljs-symbol">phi_rel</span>::<span class="hljs-link"><a href="https://help.juliahub.com/dyad/dev/stdlib/Dyad/types/Angle.html">Angle</a></span>
&nbsp;&nbsp;<span class="hljs-comment">"Torque transmitted between the splines"</span>
&nbsp;&nbsp;<span class="hljs-keyword">variable</span> <span class="hljs-symbol">tau</span>::<span class="hljs-link"><a href="https://help.juliahub.com/dyad/dev/stdlib/Dyad/types/Torque.html">Torque</a></span>
<span class="hljs-keyword">relations</span>
&nbsp;&nbsp;phi_rel = spline_b.phi - spline_a.phi
&nbsp;&nbsp;spline_b.tau = tau
&nbsp;&nbsp;spline_a.tau = -tau
<span class="hljs-keyword">end</span></code></pre>
Flattened Source
"""
Defines a generic compliant rotational connection between two shaft splines.

This partial component models the interaction between two rotational splines, `spline_a` and `spline_b`.
The relative angle, `phi_rel`, between them is defined by the equation:

math \phi{rel} = \text{spline\b}.\phi - \text{spline_a}.\phi

The component also establishes the torque interactions. The torque on `spline_b` (accessed via `spline_b.tau` in its connector)
is set to the internal model torque `tau`. Conversely, the torque on `spline_a` (accessed via `spline_a.tau`) is set to `-tau`,
ensuring action-reaction principles are met. These are described by the equations:

math \text{spline_b}.\tau = \tau

math \text{spline_a}.\tau = -\tau

As a `partial` model, it is intended to be extended by other components. These extending components
would typically define the specific constitutive relationship for the compliance, for example, by expressing
`tau` as a function of `phi_rel` (e.g., for a torsional spring or damper).
"""</span>
<span class="hljs-keyword">partial</span> <span class="hljs-keyword">component</span> PartialCompliant
&nbsp;&nbsp;<span class="hljs-comment">"First rotational spline interface"</span>
&nbsp;&nbsp;<span class="hljs-symbol">spline_a</span> = <span>Spline</span>() {"Dyad": {"placement": {"icon": {"x1": -50, "y1": 450, "x2": 50, "y2": 550}}}}
&nbsp;&nbsp;<span class="hljs-comment">"Second rotational spline interface"</span>
&nbsp;&nbsp;<span class="hljs-symbol">spline_b</span> = <span>Spline</span>() {"Dyad": {"placement": {"icon": {"x1": 950, "y1": 450, "x2": 1050, "y2": 550}}}}
&nbsp;&nbsp;<span class="hljs-comment">"Relative rotation angle between spline_b and spline_a"</span>
&nbsp;&nbsp;<span class="hljs-keyword">variable</span> <span class="hljs-symbol">phi_rel</span>::<span>Angle</span>
&nbsp;&nbsp;<span class="hljs-comment">"Torque transmitted between the splines"</span>
&nbsp;&nbsp;<span class="hljs-keyword">variable</span> <span class="hljs-symbol">tau</span>::<span>Torque</span>
<span class="hljs-keyword">relations</span>
&nbsp;&nbsp;phi_rel = spline_b.phi - spline_a.phi
&nbsp;&nbsp;spline_b.tau = tau
&nbsp;&nbsp;spline_a.tau = -tau
<span class="hljs-keyword">metadata</span> {}
<span class="hljs-keyword">end</span></code></pre>


Test Cases

No test cases defined.

  • Examples
  • Experiments
  • Analyses