# Users Manual for Program TRC_QNUMB_MAUZ

Introduction
Calculation procedure
Input data commands
Example

## Introduction

Program TRC_QNUMB_MAUZ calculates the track alignment quality of a track written in mauz-format. The alignment quality is measured in a so called Q-number defined by Banverket, Sweden. The definition of the Q-number is defined in BVF 541.60 written by Banverket, Sweden. A short description of the Q-number is given in this manual under Calculation procedure.

## Calculation procedure

1. Read the Mauzin-registration written in *.mauz-format.
2. Calculate the Q-number according to:
 2.1 Vertical errors:
 2.1.1 High pass filter column #1 and #2 in a FIR-filter according to fig. 10.6 in BVF 541.60 written by Banverket. 2.1.2 Calculate the average value of column #1 and #2. 2.1.3 Calculate the standard deviation of the average value, the standard deviation σH.
 2.2 Lateral errors:
 2.2.1 High pass filter column #5 and #6 in a FIR-filter according to fig. 10.8 in BVF 541.60 written by Banverket. 2.2.2 Calculate the standard deviation of the lateral irregularities. The lateral track irregularity signal is the best column of #5 and #6.
 2.3 Cant errors:
 2.3.1 High pass filter column #3 in a FIR-filter according to fig. 10.7 in BVF 541.60 written by Banverket. 2.3.2 Calculate the standard deviation of the cant errors.
 2.4 Samverkan errors:
 2.4.1 Add the two signals in phase, lateral errors and cant errors. 2.4.2 Calculate the standard deviation of the sum, the sum is denoted σS (samverkan).
2.5 Calculate the Q-number per kilometer according to the following formula: Where:
 σH and σS = Average standard deviation for "vertical" and "samverkan" errors σHgr and σSgr = Comfort limits for the track alignment in actual class.

 Quality-class sthTrain with locomotive sthHigh speed trans σHgr σSgr K0 145- 185- 0.9 2.4 K1 125-140 160-180 1.1 3.0 K2 105-120 135-155 1.3 3.6 K3 75-100 95-130 1.7 4.5 K4 40- 70 60- 90 2.2 6.0 K5 - 40 2.7 7.5

## 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
Track data file written in trac- or trax- format.
Declared= Character*132    Default= Blank

L_INTERVAL
Length of track sections for which evaluation of standard deviation and Q-numbers will take place.
Declared= Integer*4    Default= 200

## Example of an input data file

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

```##
##      Input data for program Trc_qnumb_mauz
##

INFIL= track_irr1.mauz

L_INTERVAL= 200
```