Rotational.Accelerate ​
This component extends from PartialElementaryOneFlangeAndSupport2
Usage ​
TranslatedComponents.Rotational.Accelerate()
Parameters: ​
| Name | Description | Units | Default value |
|---|---|---|---|
useSupport | – | 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 | rad | |
phi | rad | |
w | rad/s | |
a | rad/s2 |
Behavior ​
Source ​
dyad
component Accelerate
extends PartialElementaryOneFlangeAndSupport2
a_ref = RealInput()
variable phi::Dyad.Angle
variable w::Dyad.AngularVelocity
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
structural parameter useSupport::Boolean = false
variable phi_support::Dyad.Angle
a_ref = RealInput()
variable phi::Dyad.Angle
variable w::Dyad.AngularVelocity
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