modelDriverEnvironment

Interface to driver

Extends from VehicleInterfaces.DriverEnvironments.Interfaces.Base (Basic interface definition for the driver-vehicle interface), VehicleInterfaces.Icons.DriverEnvironment (Icon for a driver environment subsystem).

Information

The driver environment communicates measured values from the sub-busses of the control bus to the driver interface, and the driver commands back from the driver interface to the sub-busses of the control bus.

Take care:
If used with a throttle and brake model, you have to set useDriverModel = false. The throttle and brake model defines the direction of movement (forward/backward).
If used with a driver model, you have to set useDriverModel = true. The direction of movement (forward/backward) is automatically detected from the bus signal vPreview.

The throttle and brake signals are sent to the brake system and the electric drive, depending on the the replaceable recuperation controller.

Parameters

TypeNameDefaultDescription
BooleanuseDriverModelUse driver model (otherwise throttle and brake)?
BooleanuseRecuperationtrueBraking with recuperation, otherwise mechanical?
RealSoCLo0.980Recuperate below SoCLo, above use mechanical brake

Connectors

TypeNameDefaultDescription
VehicleInterfaces.Interfaces.ControlBuscontrolBus (from Base)Control signal bus
Modelica.Mechanics.MultiBody.Interfaces.Frame_achassisFrame (from Base)Chassis reference frame (optional)
Modelica.Mechanics.Rotational.Interfaces.Flange_asteeringWheel (from Base)Steering wheel connection (optional)
Modelica.Mechanics.Translational.Interfaces.Flange_aacceleratorPedal (from Base)Accelerator pedal connection (optional)
Modelica.Mechanics.Translational.Interfaces.Flange_abrakePedal (from Base)Brake pedal connection (optional)
Interfaces.DriverInterfacedriverInterface

Components

TypeNameDefaultDescription
Components.RecuperationControllerrecuperationController
Modelica.Blocks.Logical.HysteresisforwardDetection
Components.EnergyConsumptionenergyConsumption