Rotational.ConstantSpeed ​
This component extends from PartialTorque
Usage ​
TranslatedComponents.Rotational.ConstantSpeed(w_fixed)
Parameters: ​
| Name | Description | Units | Default value |
|---|---|---|---|
useSupport | – | false | |
w_fixed | rad/s |
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)
Variables ​
| Name | Description | Units |
|---|---|---|
phi_support | rad | |
phi | rad | |
w | rad/s |
Behavior ​
Source ​
dyad
component ConstantSpeed
extends PartialTorque
# Fixed speed
parameter w_fixed::Dyad.AngularVelocity
# Angular velocity of flange with respect to support (= der(phi))
variable w::Dyad.AngularVelocity
relations
der(phi) = w
w = w_fixed
endFlattened Source
dyad
component ConstantSpeed
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
# Angle of flange with respect to support (= flange.phi - support.phi)
variable phi::Dyad.Angle
# Fixed speed
parameter w_fixed::Dyad.AngularVelocity
# Angular velocity of flange with respect to support (= der(phi))
variable w::Dyad.AngularVelocity
relations
if useSupport
initial support.phi = phi_support
initial support.tau = -flange.tau
else
phi_support = 0
end
phi = flange.phi - phi_support
der(phi) = w
w = w_fixed
metadata {}
endTest Cases ​
No test cases defined.
Related ​
Examples
Experiments
Analyses