modelVehicleDriveCycleElevation

Test of NEDC drive cycle of car including elevation

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

Information

This example extends VehicleDriveCycleWithDrive by:

  • Additional inclinations of the vehicle street

Investigate the variables as function of vehicle.s (vehicle distance):

  • vehicle.variableAngle = inclination angle of street

Parameters

TypeNameDefaultDescription
StringfileNameModelica.Utilities.Files.loadResource("modelica://ElectroMechanicalDrives/Resources/DriveCycles/nedc.txt")File on which data is present
Modelica.Units.SI.DistancesNEDC10713.5Distance of one drive cycle

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
Modelica.Blocks.Continuous.IntegratordistanceIntegrates velocity to determine distance
Modelica.Blocks.Tables.CombiTable1DscombiTable1Ds