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
| Type | Name | Default | Description |
|---|---|---|---|
| SI.AngularVelocity | engineSpeed_start | 104.7197551196598 | Initial engine speed |
| SI.Torque | requestedTorque | 50 | Engine torque = requested_torque*accelerator_pedal_position |
| SI.Inertia | flywheelInertia | 0.08 | Flywheel inertia |
| Modelica.Mechanics.MultiBody.Types.Axis | axisOfRotation | {1, 0, 0} | Axis of rotation of engine resolved in engineMount |
| Advanced › Only for 1D engine | |||
| Boolean | usingMultiBodyAccessories (from Base) | false | = true, if connecting to a MultiBody accessories |
| Boolean | usingMultiBodyTransmission (from Base) | false | = true, if connecting to a MultiBody transmission |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Mechanics.MultiBody.Interfaces.FlangeWithBearing | accessoryFlange (from Base) | Connection for the engine accessories | |
| Modelica.Mechanics.MultiBody.Interfaces.FlangeWithBearing | transmissionFlange (from Base) | Connection to the transmission | |
| Modelica.Mechanics.MultiBody.Interfaces.Frame_a | engineMount (from Base) | Engine mount connection (optional) | |
| Modelica.Mechanics.Translational.Interfaces.Flange_a | acceleratorPedal (from Base) | Accelerator pedal connection (optional) | |
| VehicleInterfaces.Interfaces.ControlBus | controlBus (from Base) | Control signal bus |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Mechanics.MultiBody.MultiBodyEnd | end_1 (from Base) | ||
| Mechanics.MultiBody.MultiBodyEnd | end_2 (from Base) | ||
| Modelica.Mechanics.MultiBody.Parts.Rotor1D | flywheel | ||
| Modelica.Mechanics.Rotational.Sources.Torque | engine | ||
| Modelica.Mechanics.Rotational.Sensors.SpeedSensor | engineSpeed | ||
| Modelica.Mechanics.Rotational.Sensors.TorqueSensor | engineTorque | ||
| Modelica.Mechanics.Rotational.Sensors.PowerSensor | enginePower | ||
| Modelica.Blocks.Math.Gain | gain | ||
| Modelica.Mechanics.MultiBody.Parts.Mounting1D | mounting1D |