Home    Search    Reference Manuals    Return    Track Group Documentation





Users Manual for Program TRC_TRACMOD





Table of Contents

   Introduction
   Input data commands
   Example




Introduction

Program TRC_TRACMOD scales and translates the signals in a track-file.



Input data commands

Input data is read in free format, valid separators between the input values are <space>, <comma>, <tab>, <equal sign> or <carriage return>. The commands can be written both in lower and upper case letters. The operation of the program is controlled by the commands described below; some of the commands also need arguments.



INFIL
Input data file
The file is read in free format. The columns in the file shall have the same contents as in a trac- trax- or trax_wdesign-file. The extension of the file name determines type of file to be read.
Declared= Character*132    Default= Blank

UTFIL
File containing the output data, written in trac- trax- or trax_wdesign-format. The extension of the file name determines type of file to be written.
Declared= Character*132    Default= Blank

GAUGE_NOM
The average gauge of the track.
The scaling of the gauge is made according to:
spv_out= (spv_in-GAUGE_NOM)*SPVFACT + SPVMOVE + GAUGE_NOM
Declared= Real*4    Default= 1435.

Reading of scale factors

XFACT
Scale factor for column #1, longitudinal distance.
Declared= Real*4    Default= 1.

YFACT
Scale factor for column #2, lateral errors.
Declared= Real*4    Default= 1.

ZFACT
Scale factor for column #3, vertical errors.
Declared= Real*4    Default= 1.

SPVFACT
Scale factor for column #4, gauge.
Declared= Real*4    Default= 1.

RHFACT
Scale factor for column #5, cant errors.
Declared= Real*4    Default= 1.

BENDFACT
Scale factor for column #6, designed curvature.
Declared= Real*4    Default= 1.

CANTFACT
Scale factor for column #7, designed cant.
Declared= Real*4    Default= 1.

ZLIFTFACT
Scale factor for column #8, designed vertical lift.
Declared= Real*4    Default= 1.

Reading of translation constants

XMOVE
Constant to be added to column #1, longitudinal distance.
Declared= Real*4    Default= 0. [m]

YMOVE
Constant to be added to column #2, lateral translation.
Declared= Real*4    Default= 0. [mm]

ZMOVE
Constant to be added to column #3, vertical translation.
Declared= Real*4    Default= 0. [mm]

SPVMOVE
Constant to be added to column #4, gauge translation.
Declared= Real*4    Default= 0. [mm]

RHMOVE
Constant to be added to column #5, cant translation.
Declared= Real*4    Default= 0. [mm]

BENDMOVE
Constant to be added to column #6, designed curvature.
Declared= Real*4    Default= 0. [1/m]

CANTMOVE
Constant to be added to column #7, designed cant.
Declared= Real*4    Default= 0. [rad]

ZLIFTMOVE
Constant to be added to column #8, designed vertical lift.
Declared= Real*4    Default= 0. [m]

Adding amplitude variations

In order to make the cumulative distribution function less steep, the track irregularities can be multiplied with a variable multiplication factor YMwave. The multiplication factor YMwave is defined according to the cubic Hermite spline functions:

\( \begin{aligned} s & = ( X+YSwave - ipos*YLwave) ~ / ~ YLwave \\[6pt] t & = abs(s)^{YEwave} \\[6pt] YMwave & = 1.*(2\cdot t^3-3\cdot t^2 + 1) + YFwave\cdot(3\cdot t^2- 2\cdot t^3) \end{aligned} \)

Where: X = Distance along the track.
  ipos = Is choosen an integer value so s always will be in the range -1. to +1.
  YMwave = The amplitude with which the track irregularities will be multiplied with.

YFwave
Amplitude amplifying variations from 1. to YFwave in lateral direction, according to the formula above.
Declared= Real*4    Default= 1. [-]
YEwave
Uneveness according to the formula above.
YEwave = 1. 50% of the track irregularities are multiplied with factor 1, and 50% of the track irregularities are multiplied with factor YFwave.
YEwave >1. Track sections shorter than 50% of the total track, will be multiplied with factor YFwave.
YEwave <1. Track sections longer than 50% of the total track, will be multiplied with factor YFwave.
YEwave must be positive.
Acts on lateral track irregularities.
Declared= Real*4    Default= 1. [-]
YLwave
Wave length according to the formula above.
Acts on lateral track irregularities.
Declared= Real*4    Default= 500. [m]
YSwave
Phase angle according to the formula above.
Acts on lateral track irregularities.
Declared= Real*4    Default= 0. [m]
ZFwave
Amplitude amplifying variations from 1. to ZFwave in vertical direction, according to the formula above.
Declared= Real*4    Default= 0. [-]
ZEwave
Uneveness according to the formula above.
Further explanation, see YEwave
Declared= Real*4    Default= 1. [-]
ZLwave
Wave length according to the formula above.
Acts on vertical track irregularities.
Declared= Real*4    Default= 500. [m]
ZSwave
Phase angle according to the formula above.
Acts on vertical track irregularities.
Declared= Real*4    Default= 0. [m]


Example of an input data file

Following example: Master.trc_tracmodf can be used as a master file:

##
##      Input data for program TRC_TRACMOD
##

  INFIL= $gentrc/K0_4a21-n-k.trac
  UTFIL= test/K0_4a21-n-k_mod.trax

  GAUGE_NOM= 1435.

  XFACT  = 1.,           XMOVE  = 0.,     # Longitudinal position [m]
  YFACT  = 1.,           YMOVE  = 0.,     # Lateral error [mm]
  ZFACT  = 1.,           ZMOVE  = 0.,     # Vertical error [mm]
  SPVFACT= 1.,           SPVMOVE= 0.,     # Gauge error [mm]
  RHFACT = 1.,           RHMOVE = 0.,     # Cant error [mm]

  BENDFACT  = 1.,        BENDMOVE  = 0.,   # Designed curvature [1/m]
  CANTFACT  = 1.,        CANTMOVE  = 0.,   # Designed cant [rad]
  ZLIFTFACT = 1.,        ZLIFTMOVE = 0.,   # Designed vertical lift [m] 


Home    Search    Reference Manuals    Return    Track Group Documentation