AirResistanceLongitudinal
Velocity dependent longitudinal air resistance
Library
PlanarMechanics/VehicleComponents
Description
The vehicle's air drag, resolved in frame_a
, is calculated as:
fDrag = ( c_W * area * rho * v_x^2 ) / 2
where:
c_W : air drag coefficient,area : cross area of vehicle,rho : density of the air,v_x = vAir[1] : longitudinal component of air velocity, resolved in frame_a.
Just air drag in vehicle's longitudinal direction is calculated here,which can be specified for frame_a.phi = 0
by theparameter r
.For example for r = {1, 0}
the driving direction is inx-direction of frame_a
and, thus, frame_a.fx = fDrag
.The other forces and torque are disregarded.
Note
This model is limited to negative air velocity v_x
only.For positive velocity, which can occur e.g. when driving rearwards,the air drag is set to zero.
Parameters
Name | Label | Description | Data Type | Valid Values |
---|---|---|---|---|
mo_c_W | c_W | Drag coefficient | Scalar | |
mo_area | area | Frontal cross area of vehicle | Scalar | |
mo_rho | rho | Air density | Scalar | |
mo_r | r | Driving direction of vehicle at angle frame_a.phi = 0 | Vector of size 2 | |
mo_e | e | Unit vector in direction of r | Vector of size 2 |
Name | Label | Description | Data Type | Valid Values |
---|---|---|---|---|
mo__nmodifiers | Number of Modifiers | Specifies the number of modifiers | Number | |
mo__modifiers | Modifiers | Add new modifier | Structure | |
mo__modifiers/varname | Variable name | Cell of strings | 'vAir' | |
mo__modifiers/attribute | Attribute | Cell of strings | 'start' | |
mo__modifiers/value | Value |
Ports
Name | Type | Description | IO Type | Number |
---|---|---|---|---|
frame_a | implicit | input | 1 |