modelRecuperationController
Partial control of throttle and brake signal
Extends from VehicleInterfaces.Icons.Controller (Icon for a controller subsystem).
Information
Simple logic to distribute a signal from the driver to the throttle and braking signals.
Throttle signal is always sent to the drive. The brake signal depends on useRecuperation, SoC and speed:
- If useRecuperation is false or SoC is above SoCmax or speed is below vMin, braking signal is sent to the mechanical brakes.
- Otherwise braking energy is recuperated.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Boolean | useRecuperation | Braking with recuperation, otherwise mechanical? | |
| Real | SoCLo | 0.980 | Recuperate below SoCLo, above use mechanical brake |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Interfaces.DriverInterface | driverInterface | ||
| Modelica.Blocks.Interfaces.RealOutput | fn_brake | ||
| Modelica.Blocks.Interfaces.RealOutput | throttle |