Download Universal Mechanism 5.0 8-1 Chapter 8. Simulation of railway vehicles

Transcript
Universal Mechanism 5.0
8-62
Chapter 8. Simulation of railway vehicles
LeftZ, RightZ – vertical irregularities of the left and right rails in meters;
LeftY, RightY – horizontal irregularities of the left and right rails in meters;
derLeftZ, derRightZ – derivatives of vertical irregularities of the left and right rails w.r.t. longitudinal coordinate;
derLeftY, derRightY– derivatives of horizontal irregularities of the left and right rails w.r.t. longitudinal coordinate.
Irregularities computed in the function are added with those assigned to rails from files. If
it is necessary to take into account the programmed irregularities only, the NoIrregularities.way
file should be assigned to the corresponding rails.
Fig.8.72. Slump
Consider a separate irregularity of the Slump type, Fig.8.72. The irregularity of the left
rail and its derivative are defined by the formulae
p( x - x 0 ) ö
Hæ
h = - ç1 - cos
÷;
2 è
L
ø
p( x - x 0 )
pH
h' = sin
,
2L
L
x Î [x0 , x0 + L].
Here H , L, x0 are the depth and length of the slump as well as the start position along the track.
Let the same irregularity for the right rail be moved along the track in the longitudinal direction
on dx relatively to the left rail. It is supposed that all of these four parameters are included in the
list of identifiers of the corresponding UM model (Chapt.3, Sect. Basic elements of constructor).
function TrackProfile( position : real_; var LeftZ, RightZ,
RightY, derLeftZ, derRightZ, derLeftY, derRightY : real_ ) : integer;
begin
Result := 1;
LeftY:=0;
RightY:=0;
derLeftY:=0;
derRightY:=0;
// Irregularities for the left rail
if (position>_pzAll[1].x0) and (position<_pzAll[1].x0 +
_pzAll[1].L) then begin
LeftZ:=-0.5*_pzAll[1].H*(1-cos(pi*(position-_pzAll[1].x0)/
_pzAll[1].L)));
derLeftZ:=-0.5*pi*_pzAll[1].H*sin(pi*(position-_pzAll[1].x0)/
_pzAll[1].L)))/_pzAll[1].L;
end else begin
LeftZ:=0;
derLeftZ:=0;
end;
//Irregularities for the right rail
if (position>_pzAll[1].x0+dx) and (position<_pzAll[1].x0 +
LeftY,