WOLFRAM SYSTEM MODELER
VehicleOne-dimensional vehicle with driving resistances |
SystemModel["Modelica.Mechanics.Translational.Examples.Vehicle"]
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.
Since the trailer
is coupled tightly with the vehicle1
,
initialization of the trailer has to be removed.
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 |
vehicle |
Type: Vehicle Description: Simple vehicle model |
|
---|---|---|
vehicle1 |
Type: Vehicle Description: Simple vehicle model |
|
trailer |
Type: Vehicle Description: Simple vehicle model |
|
multiSensor |
Type: MultiSensor Description: Ideal sensor to measure the absolute velocity, force and power between two flanges |
|
timeTableTorqueInclination |
Type: CombiTimeTable Description: Table look-up with respect to time and linear/periodic extrapolation methods (data from matrix/file) |
|
torque |
Type: Torque Description: Input signal acting as external torque on a flange |
|
torque1 |
Type: Torque Description: Input signal acting as external torque on a flange |
|
gain |
Type: Gain Description: Output the product of a gain value with the input signal |
|
gain1 |
Type: Gain Description: Output the product of a gain value with the input signal |