
modelIdealGearBox
Ideal gearbox with multiple gears. Gearshift is implemented as a first order system in gear_ratio to not trigger steps.
Extends from Modelica.Mechanics.Rotational.Interfaces.PartialElementaryTwoFlangesAndSupport2 (Partial model for a component with two rotational 1-dim. shaft flanges and a support used for textual modeling, i.e., for elementary models).
Parameters
| Type | Name | Default | Description |
| Boolean | useSupport (from PartialElementaryTwoFlangesAndSupport2) | false | = true, if support flange enabled, otherwise implicitly grounded |
| Real[:] | ratios | {1} | Transmission ratios (flange_a.phi/flange_b.phi) |
| Real | Tg | 0.1 | Time constant for change of gear ratio. |
Components
| Type | Name | Default | Description |
| Modelica.SIunits.Angle | phi_a | | Angle between left shaft flange and support |
| Modelica.SIunits.Angle | phi_b | | Angle between right shaft flange and support |
| Real | gearRatio | | |