modelDragForce

Vehicle rolling and aerodinamical drag force

Extends from Modelica.Mechanics.Translational.Interfaces.PartialElementaryOneFlangeAndSupport2 (Partial model for a component with one translational 1-dim. shaft flange and a support used for textual modeling, i.e., for elementary models), Modelica.Mechanics.Translational.Interfaces.PartialFriction (Base model of Coulomb friction elements).

Information

This component models the total (rolling and aerodynamic) vehicle drag resistance:

F=fc*m*g+(1/2)*rho*Cx*S*v^2

It models reliably the stuck phase. Based on Modelica-Intrerfaces.PartialFriction model

Parameters

TypeNameDefaultDescription
BooleanuseSupport (from PartialElementaryOneFlangeAndSupport2)false= true, if support flange enabled, otherwise implicitly grounded
IntegerUnknown (from PartialFriction)3Value of mode is not known
IntegerFree (from PartialFriction)2Element is not active
IntegerForward (from PartialFriction)1v_relfric > 0 (forward sliding)
IntegerStuck (from PartialFriction)0v_relfric = 0 (forward sliding, locked or backward sliding)
IntegerBackward (from PartialFriction)-1v_relfric < 0 (backward sliding)
Modelica.Units.SI.Massmvehicle mass
Modelica.Units.SI.Densityrho1.226air density
Modelica.Units.SI.AreaSvehicle cross area
Realfcrolling friction coefficient
RealCxaerodinamic drag coefficient
Advanced
SI.Velocityv_small (from PartialFriction)1e-3Relative velocity near to zero (see model info text)

Connectors

TypeNameDefaultDescription
Flange_bflange (from PartialElementaryOneFlangeAndSupport2)Flange of component
Supportsupport (from PartialElementaryOneFlangeAndSupport2)Support/housing of component

Components

TypeNameDefaultDescription
SI.Lengths (from PartialElementaryOneFlangeAndSupport2)Distance between flange and support (= flange.s - support.s)
SI.Velocityv_relfric (from PartialFriction)Relative velocity between frictional surfaces
SI.Accelerationa_relfric (from PartialFriction)Relative acceleration between frictional surfaces
SI.Forcef0 (from PartialFriction)Friction force for v_relfric=0 and forward sliding
SI.Forcef0_max (from PartialFriction)Maximum friction force for v_relfric=0 and locked
Booleanfree (from PartialFriction)= true, if frictional element is not active
Realsa (from PartialFriction)Path parameter of friction characteristic f = f(a_relfric)
BooleanstartForward (from PartialFriction)= true, if v_relfric=0 and start of forward sliding
BooleanstartBackward (from PartialFriction)= true, if v_relfric=0 and start of backward sliding
Booleanlocked (from PartialFriction)= true, if v_relfric=0 and not sliding
Integermode (from PartialFriction)Mode of friction (-1: backward sliding, 0: stuck, 1: forward sliding, 2: inactive, 3: unknown)
Modelica.Units.SI.ForcefTotal drag force
Modelica.Units.SI.Velocityvvehicle velocity
Modelica.Units.SI.AccelerationaAbsolute acceleration of flange
RealSign