modelTrack

Simple description of track

Extends from Icons.Track (Basic graphical layout of track).

Information

The track model defines:

  • The inclination along the track, either als constant value or as user-defined table.
  • The rolling resistance coefficient along the track, either als constant value or as user-defined table.
  • Wind speed, either as constant value or as input signal.

The wind speed input signal can be either in m/s or km/h, but the user has to specify whether conversion has be done or not via parameter convert_from_kmh. Positive wind speed is counted in positive direction of the track.

The user-defined tables for inclination and rolling resistance coefficient use the same track definition block with the same parameter record.

Additionally, the horizontal x-position and the vertical z-position along the track are calculated, using the x z position block

Parameters

TypeNameDefaultDescription
ParameterRecords.SingleTrackDatainclinationDataDefinition of inclination versus position on track
ParameterRecords.SingleTrackDatarollingResistanceDataDefinition of cR versus position on track
Wind
BooleanuseConstantWindtrueUse constant wind, otherwise input
Booleanconvert_from_kmhtrueConvert input signal from km/h?
Modelica.Units.SI.VelocityVWind0Constant wind speed (>0 in direction of track)
Initialization
Modelica.Units.SI.Positionx00Initial horizontal x-position of vehicle
Modelica.Units.SI.Positionz00Initial vertical z-position of vehicle

Connectors

TypeNameDefaultDescription
VehicleInterfaces.Interfaces.ControlBuscontrolBus
Modelica.Blocks.Interfaces.RealInputvWind

Components

TypeNameDefaultDescription
Modelica.Blocks.Math.Gainfrom_kmh
Modelica.Blocks.Sources.ConstantconstantWind
Components.XzPositionxzPosition
Components.TrackDefinitioninclinationDefinition
Components.TrackDefinitionrollingResistanceDefinition