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.
Near zero speed, braking has to be done by the mechanical brakes, otherwise the vehicle could accelerate in the opposite direction.

Parameters

TypeNameDefaultDescription
BooleanuseRecuperationBraking with recuperation, otherwise mechanical?
RealSoCLo0.980Recuperate below SoCLo, above use mechanical brake

Connectors

TypeNameDefaultDescription
Interfaces.DriverInterfacedriverInterface
Modelica.Blocks.Interfaces.RealOutputfn_brake
Modelica.Blocks.Interfaces.RealOutputthrottle