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
| Type | Name | Default | Description |
|---|---|---|---|
| String | fileName | Modelica.Utilities.Files.loadResource("modelica://ElectroMechanicalDrives/Resources/DriveCycles/nedc.txt") | File on which data is present |
| Modelica.Units.SI.Distance | sNEDC | 10713.5 | Distance of one drive cycle |
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 | ||
| Modelica.Blocks.Continuous.Integrator | distance | Integrates velocity to determine distance | |
| Modelica.Blocks.Tables.CombiTable1Ds | combiTable1Ds |