LIBRARY
Sources.ConstantSpeed
Constant speed, not dependent on torque.
Model of fixed angular velocity of flange, not dependent on torque. The angular velocity of the spline with respect to the support is fixed to the parameter w_fixed.
The equations are:
This component extends from RotationalComponents.Interfaces.PartialTorque
Usage
RotationalComponents.Sources.ConstantSpeed(w_fixed)
Parameters:
| Name | Description | Units | Default value |
|---|---|---|---|
w_fixed | Fixed speed | rad/s |
Connectors
spline- 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 | Absolute angle of the support spline | rad |
phi | Angle of spline with respect to support | – |
w | Angular velocity of spline with respect to support (= der(phi)) | rad/s |
Behavior
julia
using RotationalComponents #hide
using ModelingToolkit #hide
@variables w_fixed #hide
@named sys = RotationalComponents.Sources.ConstantSpeed(w_fixed=w_fixed) #hide
full_equations(sys) #hide<< @example-block not executed in draft mode >>Source
dyad
"""
Constant speed, not dependent on torque.
Model of fixed angular velocity of flange, not dependent on torque.
The angular velocity of the spline with respect to the support is fixed to
the parameter `w_fixed`.
The equations are:
```math
w = \frac{d\phi}{dt}
```
```math
w = w_{fixed}
```
"""
component ConstantSpeed
extends RotationalComponents.Interfaces.PartialTorque
"Fixed speed"
parameter w_fixed::AngularVelocity
"Angular velocity of spline with respect to support (= der(phi))"
variable w::AngularVelocity
relations
w = der(phi)
w = w_fixed
metadata {
"Dyad": {"icons": {"default": "dyad://RotationalComponents/ConstantSpeed.svg"}}
}
endFlattened Source
dyad
"""
Constant speed, not dependent on torque.
Model of fixed angular velocity of flange, not dependent on torque.
The angular velocity of the spline with respect to the support is fixed to
the parameter `w_fixed`.
The equations are:
```math
w = \frac{d\phi}{dt}
```
```math
w = w_{fixed}
```
"""
component ConstantSpeed
"Primary rotational shaft spline connector"
spline = Spline() {"Dyad": {"placement": {"icon": {"x1": 950, "y1": 450, "x2": 1050, "y2": 550}}}}
"Support spline connector"
support = Spline() {
"Dyad": {
"placement": {"icon": {"iconName": "support", "x1": 450, "y1": 950, "x2": 550, "y2": 1050}}
}
}
"Absolute angle of the support spline"
variable phi_support::Angle
"Angle of spline with respect to support"
variable phi::Real
"Fixed speed"
parameter w_fixed::AngularVelocity
"Angular velocity of spline with respect to support (= der(phi))"
variable w::AngularVelocity
relations
support.phi = phi_support
support.tau = -spline.tau
phi = spline.phi - phi_support
w = der(phi)
w = w_fixed
metadata {
"Dyad": {"icons": {"default": "dyad://RotationalComponents/ConstantSpeed.svg"}}
}
endTest Cases
No test cases defined.
Related
Examples
Experiments
Analyses
Tests