Programme SAP ROIB_QCI_CHECK_GERG88 - Test report for validation of function group OIB_QCI_SGERG88

Purpose
This report tests that function group OIB_QCI_SGERG88 reproduces thecompression factors of ISO standard ISO 12213-3:1997(E), Annex C. Thefunctions in function group OIB_QCI_SGERG88 are developed in ABAP basedon the FORTRAN code documented in the above mentioned ISO standard.
The function modules OIB_QCI_SGERG88 and OIB_QCI_SGERG88_SGERG1 containa safety check which prohibit usage of these functions in customersystems. Function group OIB_QCI_SGERG88 is delivered as a blueprint onlyand intended to help customers to develop their own function group forcalculations of compression factors according to ISO 12213-3:1997(E).

Integration
Function group OIB_QCI_SGERG88 is delivered as an example how animplementation of ISO 12213-3:1997(E) could look like. Customers canutilize copies of the functions delivered within that function group todesign & build a new conversion group for the QCI (QuantityConversion Interface) for natural gas quantity conversions. This reportdemonstrates how the functions are called to obtain correct results.

Prerequisites
Obtain your own copy of ISO 12213-3:1997(E) from www.iso.ch tovalidate the results.

Selection


CO2 fraction 0,006
H2 fraction 0,000
Rel. density 0,581
Calorific value 40,66
Pressure p/bar 60
Temperature T/Cel -3,15
USE A COMMA AS DECIMAL DELIMITER, USE THE DATA OF THE EXAMPLE GASESGIVEN IN ISO 12213-3:1997(E) AND VARY THE PRESSURE AND TEMPERATUREVALUES ACCORDING TO ISO 12213-3:1997(E). COMPARE THE RESULTINGCOMPRESSION FACTOR WITH THE EXPECTED RESULT.
THE ABOVE NOTED INPUT DATA IS THE DATA OF EXAMPLE GAS 1 OF ISO12213-3:1997(E).

Standard_variants
NONE
For the example (default) input data noted in section SELECTION thefollowing output is produced:
Compression factor exact 8,408423122688752E-01
Molar density 3,178602359064284E+00
N2 ratio exact 2,510320817051387E-03
Compression factor rounded 0,84084
N2 ratio rounded 0,003