modelVehicle
Partial vehicle with friction
Extends from ElectroMechanicalDrives.Interfaces.ConditionalAngle (Conditional input with internal input connector).
Information
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Boolean | useConstantAngle (from ConditionalAngle) | true | If false, signal input is used |
| Modelica.Units.SI.Angle | constantAngle (from ConditionalAngle) | 0 | Constant angle of gradient |
| Modelica.Units.SI.Inertia | J | j*m*r^2 | Total inertia with respect to wheel |
| Ambient | |||
| Modelica.Units.SI.Density | rho | 1.2 | Mass density of air |
| Real | mu | 0.02 | Rolling friction coefficient |
| Vehicle | |||
| Modelica.Units.SI.Area | A | 3 | Area of cross section of vehicle |
| Real | cx | 0.3 | Drag coefficient (cw in German) |
| Modelica.Units.SI.Mass | m | 1000 | Total mass of vehicle |
| Modelica.Units.SI.Length | r | 0.35 | Wheel radius |
| Real | j | 0 | Relative mass increase due to rotating inertias |
| Tuning | |||
| Modelica.Units.SI.Velocity | v_linear | 0.01 | Speed limit of constant rolling friction (do not change unless required) |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.RealInput | variableAngle (from ConditionalAngle) | Angle of inclination of ramp | |
| Modelica.Mechanics.Translational.Interfaces.Flange_a | flangeT_a | Left translational flange of vehicle | |
| Modelica.Mechanics.Translational.Interfaces.Flange_b | flangeT_b | Right translational flange of vehicle | |
| Modelica.Mechanics.Rotational.Interfaces.Flange_a | flangeR_a | Left rotational flange_a of wheel_a | |
| Modelica.Mechanics.Rotational.Interfaces.Flange_b | flangeR_b | Right rotational flange_b of wheel_b |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Sources.Constant | const (from ConditionalAngle) | ||
| Modelica.Units.SI.Acceleration | a | Vehicle acceleration | |
| Modelica.Units.SI.Velocity | v | Vehicle velovity | |
| Modelica.Units.SI.Length | s | Distance | |
| Modelica.Units.SI.AngularAcceleration | alpha | Angular acceleration of wheel(s) | |
| Modelica.Units.SI.AngularVelocity | w | Angular velocity of wheel(s) | |
| Modelica.Units.SI.Angle | phi | Angul of wheel(s) | |
| Modelica.Units.SI.Force | f_a | flangeT_a.f | Force of flangeT a |
| Modelica.Units.SI.Force | f_b | flangeT_b.f | Force of flangeT b |
| Modelica.Units.SI.Force | fRollingFriction | rollingFriction.f_friction | Rolling friction force |
| Modelica.Units.SI.Force | fAtmosphericFriction | atmosphericFriction.f | Atmospheric friction force |
| Modelica.Units.SI.Force | fTotalFriction | fRollingFriction + fAtmosphericFriction | Total rolling plus atmospeheric friction |
| Modelica.Units.SI.Force | fGradient | rollingFriction.f_gradient | Force cause by gradient |
| Modelica.Units.SI.Power | powerRollingFriction | fRollingFriction*v | Rolling friction power |
| Modelica.Units.SI.Power | powerAtmosphericFriction | fAtmosphericFriction*v | Atmospheric friction power |
| Modelica.Units.SI.Power | powerTotalFriction | fTotalFriction*v | Total friction power |
| Modelica.Units.SI.Power | powerGradient | fGradient*v | Power caused by gradient |
| Modelica.Units.SI.Torque | tau_a | flangeR_a.tau | Torque of flangeR_a |
| Modelica.Units.SI.Torque | tau_b | flangeR_b.tau | Torque of flangeR_b |
| ElectroMechanicalDrives.Components.Translational.AthmosphericFriction | atmosphericFriction | ||
| ElectroMechanicalDrives.Components.Translational.MassFriction | rollingFriction | ||
| Modelica.Mechanics.Rotational.Components.IdealRollingWheel | wheel_a | ||
| Modelica.Mechanics.Rotational.Components.Inertia | inertia | ||
| Modelica.Mechanics.Rotational.Components.IdealRollingWheel | wheelInternal | ||
| Modelica.Mechanics.Rotational.Components.IdealRollingWheel | wheel_b |