modelShiftInput
Convert an integer signal to a position in the manual shift connector
Information
Converts an integer signal in to positions on the intoGear and crossGate sub-connectors of the ShiftConnector.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | numberOfGears | 5 | Number of forward gears |
| SI.Distance | crossGateDisplacement | 0.1 | Total distance across the gate |
| SI.Distance | intoGearDisplacement | 0.1 | Distance to move in to gear |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| ShiftConnector | shiftConnector | Gear shift connection | |
| Modelica.Blocks.Interfaces.IntegerInput | gear | Gear number |