modelThrottleAndBrake

Throttle and brake command

Extends from Icons.Throttle (Basic graphical layout of throttle with brake).

Information

Feeds external signal or constant for throttle, brake signal and choice of direction (foward/backward) to the driver interface.

Parameters

TypeNameDefaultDescription
BooleanConstantBraketruecConstant mechanical brake, otherwise input
Realfn_Brake0Constant brake
BooleanConstantThrottlefalseConstant throttle, otherwise input
RealThrottle0.5Constant throttle
BooleanConstantForwardtrueConstant direction forward, otherwise input
BooleanForwardtrueConstant direction = forward (false = backward)

Connectors

TypeNameDefaultDescription
Interfaces.DriverInterfacedriverInterface
Modelica.Blocks.Interfaces.RealInputbrake
Modelica.Blocks.Interfaces.RealInputthrottle
Modelica.Blocks.Interfaces.BooleanInputforward

Components

TypeNameDefaultDescription
Modelica.Blocks.Sources.ConstantconstantBrake
Modelica.Blocks.Sources.ConstantconstantThrottle
Modelica.Blocks.Sources.BooleanConstantconstantForward
Modelica.Blocks.Nonlinear.LimiterlimiterBrake
Modelica.Blocks.Nonlinear.LimiterlimiterThrottle
Blocks.DirectionSwitchdirectionSwitch