Vehicle

One-dimensional vehicle with driving resistances

Diagram

Information

This information is part of the Modelica Standard Library maintained by the Modelica Association.

Vehicles vehicle and vehicle1 are accelerated and decelerated by a driving torque. Nominal torque is defined as the sum of driving resistances at nominal velocity vNom times wheel radius R.

Starting at 5 s, the vehicle is accelerated by a multiple of nominal torque until it nearly reaches nominal velocity, then driven by nominal torque. Between 20 s and 25 s, an inclination of 5 % occurs and driving torque is increased to a multiple of nominal torque temporarily. Between 50 s and 55 s, the driving torque is set below zero, causing the vehicle to decelerate. After 55 s, the vehicle decelerates due to the driving resistances.

Coupling the trailer with the same data but without drive, the driving torque of vehicle1 has to be doubled to achieve the same acceleration and velocity. Force and power between the two vehicles is measured.

Note

Since the trailer is coupled tightly with the vehicle1, initialization of the trailer has to be removed.

Parameters (13)

m

Value: 100

Type: Mass (kg)

Description: Mass of vehicle

R

Value: 0.25

Type: Length (m)

Description: Radius of wheel

A

Value: 1

Type: Area (m²)

Description: Cross section of vehicle

Cd

Value: 0.5

Type: Real

Description: Drag resistance coefficient

rho

Value: 1.18

Type: Density (kg/m³)

Description: Density of air

vWind

Value: 0

Type: Velocity (m/s)

Description: Constant wind velocity

Cr

Value: 0.01

Type: Real

Description: Rolling resistance coefficient

inclination

Value: 0

Type: Real

Description: Constant inclination = tan(angle)

vNom

Value: 25 / 3.5

Type: Velocity (m/s)

Description: Nominal velocity

fDrag

Value: Cd * A * rho * (vNom - vWind) ^ 2 / 2

Type: Force (N)

Description: Drag resistance

alpha

Value: atan(inclination)

Type: Angle (rad)

Description: Inclination angle

fRoll

Value: Cr * m * g_n * cos(alpha)

Type: Force (N)

Description: Roll resistance

fGrav

Value: m * g_n * sin(alpha)

Type: Force (N)

Description: Grav resistance

Components (9)

vehicle

Type: Vehicle

vehicle1

Type: Vehicle

trailer

Type: Vehicle

multiSensor

Type: MultiSensor

timeTableTorqueInclination

Type: CombiTimeTable

torque

Type: Torque

torque1

Type: Torque

gain

Type: Gain

gain1

Type: Gain