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 distancevehicle.v= vehicle velocityforceSensor.f= traction force required to move the vehiclepowerSensor.power= power required to move the vehicleenergy.y= energy required to move the vehicle over the NEDC drive cycle
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| String | fileName | Modelica.Utilities.Files.loadResource("modelica://ElectroMechanicalDrives/Resources/DriveCycles/nedc.txt") | File on which data is present |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Sources.CombiTimeTable | combiTimeTable | ||
| Modelica.Mechanics.Translational.Sources.Speed | speed | ||
| Modelica.Mechanics.Translational.Sensors.PowerSensor | powerSensor | ||
| Modelica.Blocks.Continuous.Integrator | energy | ||
| Modelica.Mechanics.Translational.Sensors.ForceSensor | forceSensor | ||
| ElectroMechanicalDrives.Components.Vehicles.Vehicle | vehicle |