WOLFRAM SYSTEM MODELER

# Vehicle

One-dimensional vehicle with driving resistances

# Wolfram Language

In[1]:=
`SystemModel["Modelica.Mechanics.Translational.Examples.Vehicle"]`
Out[1]:=

# 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 Value: 0.25 Type: Length (m) Description: Radius of wheel Value: 1 Type: Area (m²) Description: Cross section of vehicle Value: 0.5 Type: Real Description: Drag resistance coefficient Value: 1.18 Type: Density (kg/m³) Description: Density of air Value: 0 Type: Velocity (m/s) Description: Constant wind velocity Value: 0.01 Type: Real Description: Rolling resistance coefficient Value: 0 Type: Real Description: Constant inclination = tan(angle) Value: 25 / 3.5 Type: Velocity (m/s) Description: Nominal velocity Value: Cd * A * rho * (vNom - vWind) ^ 2 / 2 Type: Force (N) Description: Drag resistance Value: atan(inclination) Type: Angle (rad) Description: Inclination angle Value: Cr * m * g_n * cos(alpha) Type: Force (N) Description: Roll resistance Value: m * g_n * sin(alpha) Type: Force (N) Description: Grav resistance

# Components (9)

vehicle Type: Vehicle Description: Simple vehicle model Type: Vehicle Description: Simple vehicle model Type: Vehicle Description: Simple vehicle model Type: MultiSensor Description: Ideal sensor to measure the absolute velocity, force and power between two flanges Type: CombiTimeTable Description: Table look-up with respect to time and linear/periodic extrapolation methods (data from matrix/file) Type: Torque Description: Input signal acting as external torque on a flange Type: Torque Description: Input signal acting as external torque on a flange Type: Gain Description: Output the product of a gain value with the input signal Type: Gain Description: Output the product of a gain value with the input signal