modelShiftOutput
Convert a position in the manual shift connector to an integer value
Information
Converts positions on the intoGear and crossGate sub-connectors of the ShiftConnector into an integer gear signal.
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.IntegerOutput | gear | Gear number |