LIBRARY
IdealGear
This element characterizes any type of gear box which is fixed in the ground and which has one driving shaft and one driven shaft.
This component extends from PartialElementaryTwoSplinesAndSupport
Usage
IdealGear(ratio)
Parameters:
| Name | Description | Units | Default value |
|---|---|---|---|
ratio | Transmission ratio | – |
Connectors
Variables
| Name | Description | Units |
|---|---|---|
phi_support | Absolute angle of support spline | rad |
phi_a | Relative angle between shaft a and the support | rad |
phi_b | Relative angle between shaft b and the support | rad |
Behavior
Source
dyad
# This element characterizes any type of gear box which is fixed in the ground and
# which has one driving shaft and one driven shaft.
component IdealGear
extends PartialElementaryTwoSplinesAndSupport
# Transmission ratio
parameter ratio::Real
# Relative angle between shaft a and the support
variable phi_a::Angle
# Relative angle between shaft b and the support
variable phi_b::Angle
relations
phi_a = spline_a.phi-phi_support
phi_b = spline_b.phi-phi_support
phi_a = ratio*phi_b
0 = ratio*spline_a.tau+spline_b.tau
metadata {
"JuliaSim": {"icons": {"default": "jsml://RotationalComponents/IdealGear.svg"}}
}
endFlattened Source
# This element characterizes any type of gear box which is fixed in the ground and
# which has one driving shaft and one driven shaft.
component IdealGear
spline_a = Spline() [{
"JuliaSim": {"placement": {"icon": {"x1": -50, "y1": 450, "x2": 50, "y2": 550}}}
}]
spline_b = Spline() [{
"JuliaSim": {"placement": {"icon": {"x1": 950, "y1": 450, "x2": 1050, "y2": 550}}}
}]
support = Spline() [{
"JuliaSim": {
"placement": {"icon": {"iconName": "support", "x1": 450, "y1": 950, "x2": 550, "y2": 1050}}
}
}]
# Absolute angle of support spline
variable phi_support::Angle
# Transmission ratio
parameter ratio::Real
# Relative angle between shaft a and the support
variable phi_a::Angle
# Relative angle between shaft b and the support
variable phi_b::Angle
relations
support.phi = phi_support
support.tau = -spline_a.tau-spline_b.tau
phi_a = spline_a.phi-phi_support
phi_b = spline_b.phi-phi_support
phi_a = ratio*phi_b
0 = ratio*spline_a.tau+spline_b.tau
metadata {
"JuliaSim": {"icons": {"default": "jsml://RotationalComponents/IdealGear.svg"}}
}
end
Test Cases
Related
Examples
Experiments
Analyses