Rotational.Accelerate
This component extends from PartialElementaryOneFlangeAndSupport2
Usage
TranslatedComponents.Rotational.Accelerate()
Parameters:
| Name | Description | Units | Default value |
|---|---|---|---|
useSupport | = true, if support flange enabled, otherwise implicitly grounded | – | false |
Connectors
flange- This connector represents a rotational spline with angle and torque as the potential and flow variables, respectively. (Spline)support- This connector represents a rotational spline with angle and torque as the potential and flow variables, respectively. (Spline)a_ref- This connector represents a real signal as an input to a component (RealInput)
Variables
| Name | Description | Units |
|---|---|---|
phi_support | Absolute angle of support flange | rad |
phi | Rotation angle of flange with respect to support | rad |
w | Angular velocity of flange with respect to support | rad/s |
a | Angular acceleration of flange with respect to support | rad/s2 |
Behavior
Source
dyad
component Accelerate
extends PartialElementaryOneFlangeAndSupport2
a_ref = RealInput()
# Rotation angle of flange with respect to support
variable phi::Dyad.Angle
# Angular velocity of flange with respect to support
variable w::Dyad.AngularVelocity
# Angular acceleration of flange with respect to support
variable a::Dyad.AngularAcceleration
relations
phi = flange.phi - phi_support
w = der(phi)
a = der(w)
a = a_ref
endFlattened Source
dyad
component Accelerate
flange = Spline()
support = Spline() if useSupport
# = true, if support flange enabled, otherwise implicitly grounded
structural parameter useSupport::Boolean = false
# Absolute angle of support flange
variable phi_support::Dyad.Angle
a_ref = RealInput()
# Rotation angle of flange with respect to support
variable phi::Dyad.Angle
# Angular velocity of flange with respect to support
variable w::Dyad.AngularVelocity
# Angular acceleration of flange with respect to support
variable a::Dyad.AngularAcceleration
relations
if useSupport
initial support.phi = phi_support
initial support.tau = -flange.tau
else
phi_support = 0
end
phi = flange.phi - phi_support
w = der(phi)
a = der(w)
a = a_ref
metadata {}
endTest Cases
No test cases defined.
Related
Examples
Experiments
Analyses