modelVehicleDriveCyle

Test of NEDC drive cycle of car

Extends from Modelica.Icons.Example (Icon for runnable examples).

Information

This examples demonstrate a vehicle performing a NDEC drive cycle, powered by the external speed source.

Investigate as a function of time:

  • vehicle.s = vehicle distance
  • vehicle.v = vehicle velocity
  • forceSensor.f = traction force required to move the vehicle
  • powerSensor.power = power required to move the vehicle
  • energy.y = energy required to move the vehicle over the NEDC drive cycle

Parameters

TypeNameDefaultDescription
StringfileNameModelica.Utilities.Files.loadResource("modelica://ElectroMechanicalDrives/Resources/DriveCycles/nedc.txt")File on which data is present

Components

TypeNameDefaultDescription
Modelica.Blocks.Sources.CombiTimeTablecombiTimeTable
Modelica.Mechanics.Translational.Sources.Speedspeed
Modelica.Mechanics.Translational.Sensors.PowerSensorpowerSensor
Modelica.Blocks.Continuous.Integratorenergy
Modelica.Mechanics.Translational.Sensors.ForceSensorforceSensor
ElectroMechanicalDrives.Components.Vehicles.Vehiclevehicle