modelMinimalEngine

Simple engine model with torque proportional to accelerator pedal position

Extends from VehicleInterfaces.Icons.Engine (Icon for an engine subsystem), Interfaces.Base (Basic interface definition for an engine).

Information

A simple engine model with flywheel and where the torque output is proportional to the accelerator pedal position. This engine model uses a drive-by-wire accelerator, i.e. the accelerator pedal position is read from the control bus.

Parameters

TypeNameDefaultDescription
SI.AngularVelocityengineSpeed_start104.7197551196598Initial engine speed
SI.TorquerequestedTorque50Engine torque = requested_torque*accelerator_pedal_position
SI.InertiaflywheelInertia0.08Flywheel inertia
Modelica.Mechanics.MultiBody.Types.AxisaxisOfRotation{1, 0, 0}Axis of rotation of engine resolved in engineMount
Advanced › Only for 1D engine
BooleanusingMultiBodyAccessories (from Base)false= true, if connecting to a MultiBody accessories
BooleanusingMultiBodyTransmission (from Base)false= true, if connecting to a MultiBody transmission

Connectors

TypeNameDefaultDescription
Modelica.Mechanics.MultiBody.Interfaces.FlangeWithBearingaccessoryFlange (from Base)Connection for the engine accessories
Modelica.Mechanics.MultiBody.Interfaces.FlangeWithBearingtransmissionFlange (from Base)Connection to the transmission
Modelica.Mechanics.MultiBody.Interfaces.Frame_aengineMount (from Base)Engine mount connection (optional)
Modelica.Mechanics.Translational.Interfaces.Flange_aacceleratorPedal (from Base)Accelerator pedal connection (optional)
VehicleInterfaces.Interfaces.ControlBuscontrolBus (from Base)Control signal bus

Components

TypeNameDefaultDescription
Mechanics.MultiBody.MultiBodyEndend_1 (from Base)
Mechanics.MultiBody.MultiBodyEndend_2 (from Base)
Modelica.Mechanics.MultiBody.Parts.Rotor1Dflywheel
Modelica.Mechanics.Rotational.Sources.Torqueengine
Modelica.Mechanics.Rotational.Sensors.SpeedSensorengineSpeed
Modelica.Mechanics.Rotational.Sensors.TorqueSensorengineTorque
Modelica.Mechanics.Rotational.Sensors.PowerSensorenginePower
Modelica.Blocks.Math.Gaingain
Modelica.Mechanics.MultiBody.Parts.Mounting1Dmounting1D