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]


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