Download as pdf or txt
Download as pdf or txt
You are on page 1of 64

A.GA.R.epor-tN"o.

S
Par"t1

Thermodynamic Properties of
Natural Gas and Related Gases
DETAIL and GROSS Equations of State

Third Edition
April2017
(A revision of AGA Report No.8, 2nd edition, 1994)


ep~I!'t

a:rt

Thermodynamic Properties of
Natural Gas and Related Gases
DETAIL and GROSS Equations of State

Prepared by

Transmission Measurement Committee


Third Edition
April2017

(A revision of AGA Report No.8, 2nd edition,l994)

Copyright © 20 17 American Gas Association


All Rights Reserved

Catalog No. XQ 1704-1


11
DISCLAIMER AND COPYRIGHT

The American Gas Association's (AGA) Operations and Engineering Section provides a forum for industry
experts to bring their collective knowledge together to improve the state of the art in the areas of operating,
engineering and technological aspects of producing, gathering, transporting, storing, distributing, measuring and
utilizing natural gas.
Through its publications, ofwhich this is one, AGA provides for the exchange of information within the natural
gas industry and scientific, trade and governmental organizations. Many AGA publications are prepared or
sponsored by an AGA Operations and Engineering Section technical committee. While AGA may administer the
process, neither AGA nor the technical committee independently tests, evaluates or verifies the accuracy of any
information or the soundness of any judgments contained therein.
AGA disclaims liability for any personal injury, property or other damages of any nature whatsoever, whether
special, indirect, consequential or compensatory, directly or indirectly resulting from the publication, use of or
reliance onAGA publications. AGA makes no guaranty or warranty as to the accuracy and completeness ofany
information published therein. The information contained therein is provided on an "as is" basis and AGA makes
no representations or warranties including any expressed or implied warranty of merchantability or fitness for a
particular purpose. Nothing contained in this document should be viewed as an endorsement or disapproval of any
particular manufacturer or product.
In issuing and making this document available, AGA is not undertaking to render professional or other services
for or on behalf of any person or entity. Nor is AGA undertaking to perform any duty owed by any person or
entity to someone else. Anyone using this document should rely on his or her own independent judgment or, as
appropriate, seek the advice of a competent professional in determining the exercise of reasonable care in any


given circumstances .
AGA has no power, nor does it undertake, to police or enforce compliance with the contents of this document.
Nor does AGA list, certify, test or inspect products, designs or installations for compliance with this document.
Any certification or other statement of compliance is solely the responsibility of the certifier or maker of the
statement.
AGA does not take any position with respect to the validity of any patent rights asserted in connection with any
items that are mentioned in or are the subject of AGA publications, and AGA disclaims liability for the
infringement of any patent resulting from the use of or reliance on its publications. Users of these publications are
expressly advised that determination of the validity of any such patent rights, and the risk of infringement of such
rights, is entirely their own responsibility.
Users of this publication should consult applicable federal, state and local laws and regulations. AGA does not,
through its publications, intend to urge action that is not in compliance with applicable laws, and its publications
may not be construed as doing so. Information concerning safety risks, proper installation or use, performance or
fitness or suitability for any purpose with respect to particular products or materials should be obtained from the
manufacturer or supplier of the material used.
Changes to this document may become necessary from time to time. If changes are believed appropriate by any
person or entity, such suggested changes should be communicated to AGA in writing and sent to: Operations &
Engineering Section, American Gas Association, 400 North Capitol Street, NW, 41h Floor, Washington, DC
20001, U.S.A. or E-mail to: publications@aga.org. Suggested changes must include: contact information,
including name, address and any corporate affiliation; full name of the document; suggested revisions to the
text of the document; the rationale for the suggested revisions; and permission to use the suggested revisions
in an amended publication of the document.

• Copyright© 2017, American Gas Association, All Rights Reserved.

111
lV
FOREWORD

AGA Report No. 8, Part 1, is designated as the third edition of the revised 1994 second edition of AGA
Report No. 8. As in the second edition, the third edition provides the technical information necessary to compute
thermodynamic properties including compressibility factors and densities of natural gas and related gases for
states in the gas phase only. Additionally, equations for calculating speeds of sound and other thermodynamic
properties are given. Historical information on this document is given in Section 1.2, Background. Analyses of
the calculation of uncertainties are provided for various gas temperatures, pressures, and compositions. It is based
on research managed and sponsored by the then Gas Research Institute (GRI) in cooperation with AGA and the
Groupe Europeen de Recherches Gazieres (GERG). Because the equations of state contained within International
Standards Organization documents ISO 12213: Natural Gas - Calculation of Compression Factor, Part 2:
Calculation Using Molar-Composition Analysis, 2006 edition, and ISO 20765: Natural Gas- Calculation of
Thermodynamic Properties, Part 1: Gas Phase Properties for Transmission and Distribution Applications, 2005
edition, are based on the same equations in this revision, calculated properties should have the same values.

This revised edition, now designated as AGA Report No. 8, Part 1, uses the same DETAIL and GROSS
equations of state as in the 1994 edition of AGA Report No. 8. However, the temperature, pressure, and gas
composition limits have been modified in this edition; and therefore, it will be necessary to ensure that the
temperature, pressure, and gas composition fall within the new limits for the desired uncertainty. The users are
advised to verify the applicability/acceptability of the program for the new limits based on the 1994 edition of
AGA8.

The documentation of programs for calculating properties from the methods described in this document
is available as supplementary material in Appendix C. Examples are available in Fortran, VB, and C++ code.


The supplementary material also contains a Microsoft Excel spreadsheet for property calculations. This can be
used to determine if, for a particular temperature, pressure, and composition, the property values calculated from
the equations in Part 1 are within the desired uncertainty (by comparing with those in Part 2) even though one or
more of these inputs may be outside the ranges given in Part 1. A file containing calculated points at different
compositions (not necessarily related to typical natural gas) is included, which can be used to verify that programs
or equipment have been implemented or upgraded correctly to produce values that are in agreement with the
equations in this document.

The user is encouraged to compare property values obtained through the use of the software
provided in this edition with those obtained from the user's existing software and determine if the
differences are within the uncertainty limits of their respective calculation methods. The Excel spreadsheet
provided in the supplementary material can be used to determine if property values are within the
acceptable uncertainty limits even though the state point may be outside the ranges given in this revision.
If the property values are not within the uncertainty limits, the user should consider implementing AGA
Report No.8, Part 2, noted below.

AGA Report No. 8, Part 2, published separately, is based on the GERG-2008 equation of state, and is
applicable for temperature, pressure, and composition ranges outside those in Part 1, with uncertainties in density,
compressibility factor, and speed of sound still within 0.1 %. Part 2 can also be used for operating conditions and
compositions that are applicable for Part 1, with differences in the calculated values within the uncertainty limits
of each equation, where uncertainties are given with a 95 % level of confidence (k=2). While adoption of the
equations in Part 2 is encouraged, the decisions to upgrade existing installations to use AGA Report No. 8,
Part 2, are left to the discretion of the parties involved.

Some material described in Part 1 also applies to Part 2, and vice versa, and is not repeated in both parts.
For example, Part 1 describes an algorithm for obtaining densities through an iterative procedure that can also be
used with the equations in Part 2 (and which is applied for this purpose to the GROSS, DETAIL, and GERG-
2008 equations of state in the programs in the supplementary material). Similarly, Part 2 outlines the method for
reporting calculated results and uncertainties from the equations in both parts, and also describes the experimental

v
database available for natural gas mixtures (both binary and multicomponent systems), much of which was used
in the development of the equations in Part 1. Some information, however, is repeated in both parts, such as the
material in Sections 2 and 3. The combination of Parts 1 & 2 gives a wider overview of the equations of state •
and their appropriate application to natural gas.

The publication AGA Report No. 10: Speed of Sound in Natural Gas and Other Related Hydrocarbon
Gases has been discontinued with the release of this AGA Report No. 8, Part 1. The calculation of the speed of
sound no longer requires integration of the compressibility factor equation, as was done in AGA Report No. 10,
but is implemented through differentiation of the fundamental Helmholtz energy equation of state. This results
in faster calculations through direct computation of the required derivatives.


vi
ACKNOWLEDGEMENTS
AGA Report No.8, Thermodynamic Properties of Natural Gas and Related Gases, Part 1, DETAIL and
GROSS Equations of State, was revised by a Task Group of the American Gas Association's Transmission
Measurement Committee under the chairmanship of Dr. Eric W. Lemmon with the National Institute of
Standards and Technology (NIST). AGA thanks NIST for the extensive amount of time allocated to Dr. Lemmon
for the preparation of this report. Andrew Laughton from DNV GL (Oil & Gas), UK, has been of great help
reviewing the documents and programs.
Individuals who made substantive contributions are:
Ian Bell, NIST, USA
Ilia Bluvshtein, Union Gas Ltd., Canada
David Bromley, BP Pipelines, USA
Greg Dunn, Eagle Research Corporation, USA
Juan Escobar, ARAMCO, Saudi Arabia
Volker Heinemann, Honeywell, Germany
Randy Herman, Flow-Cal Measurement Applications, USA
Gurwinder Kamboz, Krohne Oil & Gas, The Netherlands
Jason Lu, Thermo Fisher Scientific, USA
Ian McDavid, Flow-Cal Measurement Applications, USA
Warren Peterson, Alliance Pipeline, Canada
Ken Starling, Starling Associates, USA
Jim Witte, Southwest Research Institute, USA

In addition, comments from the following individuals were of great help:

• Dale Embry, ConocoPhillips, USA


David Escobar, SPL Inc., USA
Graham Forbes, Emerson Automation Solutions, Canada
Keith Fry, Formerly with Quorum Business Solutions, USA
Darin George, Southwest Research Institute, USA
Ken Hall, Formerly with Texas A&M University
Daniel Harris, Columbia Pipeline Group-Trans Canada Corp., USA
Masahiro Ishibashi, Research Institute for Engineering Measurement, Japan
James McAdams, Interlink Systems, USA
Gary McCargar, Oneok, USA
Roy Meyer, ExxonMobil, USA
Sam Patel, Consumers Energy Co., USA
King Poon, Thermo Fisher Scientific, USA
Danny Rekers, Kiwa Technology, The Netherlands
Don Sextro, Targa Resources, USA
Tushar Shah, Eagle Research Corporation, USA
David Solis, Williams, USA
Rick Spann, QPC Services Company, USA
Scott Tanner, Flow-Cal Measurement Applications, USA
Tim Tucker, ABB Inc., USA
Armand Lloret Valles, Premegas, Spain

AGA acknowledges the contributions of the above individuals and thanks them for their time and effort in
reviewing the document or suggesting changes to the programs in the supplementary material.

Christina Sames Ali Quraishi


Vice President, Operations & Engineering Director, Operations & Engineering Services

Vll
TABLE OF CONTENTS
DISCLAIMER AND COPYRJGHT ................................................................................................................. iii
FOREWORD ..................................................................................................................................................... v
ACKNOWLEDGEMENTS ............................................................................................................................. vii
1 INTRODUCTION .......................................................................................................................................... 1
1.1 Scope ........................................................................................................................................................ 1
1.2 Background............................................................................................................................................... 1
1.3 Overview of Properties from Equations of State ...................................................................................... 2
1.3.1 DETAIL Equation of State ................................................................................................................................ 2
1.3.2 GROSS Equation of State ................................................................................................................................. 6
1.4 Uncertainty ............................................................................................................................................... 7
1.4.1 DETAIL Equation of State Uncertainty ............................................................................................................ 7
1.4.2 GROSS Equation of State Uncertainty .............................................................................................................. 7
1.5 Recommendations .................................................................................................................................... 7
2 DEFINITIONS AND GENERAL EQUATIONS .......................................................................................... 8
2.1 Definitions of Phase Regions ............................................................................................................................... 8
2.2 Nomenclature ....................................................................................................................................................... 9
2.3 General Equations ............................................................................................................................................... 10
3 UNITS, CONVERSIONS, PRECISION, AND ACCURACY .................................................................... 11
4 THEMODYNAMIC PROPERTIES FROM THE DETAIL EQUATION OF STATE .............................. 12
4.1 Nomenclature ...................................................................................................................................................... 12
4.2 DETAIL Equation of State for Thermodynamic Properties Including Compressibility Factor and Pressure ..... 13


4.3 Equation of State for the Helmholtz Energy ........................................................................................................ 15
4.4 Speed of Sound and Other Thermodynamic Properties ....................................................................................... l6
5 THERMODYNAMIC PROPERTIES FROM THE GROSS EQUATION OF STATE ............................. 23
5.1 Nomenclature ...................................................................................................................................................... 23
5.2 Equation of State for Compressibility Factor ................................................................................................. :.... 23
5.3 Interaction Virial Coefficient Terms for Nitrogen and Carbon Dioxide ............................................................. 26
5.41nteraction Virial Coefficient Terms for the Equivalent Hydrocarbon ................................................................ 26
6 COMPUTATION OF DENSITIES AND COMPRESSIBILITY FACTORS ............................................. 28
6.11terative Procedure to Determine Density from Temperature and Pressure ........................................................ 28
6.2 Computer Programs for the Calculation ofProperties ......................................................................................... 29
7 ASSIGNMENT OF TRACE COMPONENTS ............................................................................................ 30
8 REFERENCES ............................................................................................................................................. 32
APPENDIX A- GROSS EQUATION OF STATE ........................................................................................ 33
A.1 Nomenclature ........................................................................................................................................ 33
A.2 Reference Conditions ........................................................................................................................... 33
A.3 GROSS Equation of State Computation Procedures ............................................................................ 34
A.3.1 Method 1. Volumetric Gross Heating Value, Relative Density, and Mole Fraction of C02 ......................... 36
A.3.2 Method 2. Relative Density and Mole Fractions ofN2 and C02 ................................................................... 36
A.3.3 Method 3. Molar Mass and Mole Fractions ofN2 and C02........................................................................... 37
APPENDIX B- EXAMPLES AND COMPARISON TO MEASUREMENTS ............................................. 38
B.1 Nomenclature ........................................................................................................................................ 38
B.2 Calculation Examples ........................................................................................................................... 38
B.3 Comparisons of Calculated Properties with Measurements ................................................................ .43
APPENDIX C- DESCRIPTION OF THE SUPPLEMENTARY FILES ...................................................... .46
FORM TO PROPOSE CHANGES .................................................................................................................. 49

:;
••

viii
1 INTRODUCTION
1.1 Scope

Part 1 presents information for the computation of thermodynamic properties (e.g., compressibility factor,
density, and speed of sound) of natural gas and related gases with the DETAIL and GROSS equations of state.
Uncertainty estimations for different compositions, pressures, and temperatures are given. The computations are
valid for single-phase gaseous states only. For mixed or liquid phases, refer to Part 2.

1.2 Background

Research in 1928 and 1929 under the direction ofMr. HowardS. Bean ofthe National Bureau of Standards
provided the natural gas industry with its initial compressibility factor data covering pressures up to 600 psia
(4 MPa). However, it was not until 1954 that extensive tables of natural gas supercompressibility factors were
published, based on tests supervised by Professor Samuel R. Beitler of Ohio State University. The natural gas
supercompressibility factor tables were extended and an equation of state was developed in 1956-1962 under the
direction of Mr. R. H. Zimmerman of Ohio State University. The results of this project, designated PAR Project
NX-19, appear in AGA's Manual for Determination ofSupercompressibility Factors for Natural Gas, published
in 1962.

The research leading to the 1985 and 1992 repmis was initiated in 1981 under the sponsorship of GRI in
close liaison with the AGA Transmission Measurement Committee. This research, carried out under the direction
of Professor Kenneth E. Starling of the University of Oklahoma, was aimed at extending capabilities for accurate
computation of compressibility factors beyond the temperature, pressure, and composition ranges ofPAR Project
NX-19. The results for pipeline-quality natural gas, which were completed in 1984, provided the basis for the 1985

• report .

The initial 1981-1984 research used data ranging in pressures up to approximately 900 psia (6 MPa)
obtained from the literature and provided by GERG. However, the GERG data bank was extended considerably
over the period 1985-1990. The new data showed that the original equation of state, developed in the period 1981-
1984, needed to be improved. In addition, speed of sound data obtained under GRI sponsorship during 1985-1989
showed calculations for rich gases were not sufficiently accurate for critical flow applications.

Although the 1992 and 1994 AGA 8 publications of the equation of state are explicit in the compressibility
factor Z, the formulation was originally developed with an equation of state explicit in the Helmholtz energy a with
independent variables of molar density d and temperature T. The Helmholtz energy equation was not given in the
1992 and 1994 AGA 8 documents, where only equations explicit in pressure and compressibility factor were
reported. The Helmholtz energy is a fundamental thermodynamic property from which all other thermodynamic
properties can be calculated as derivatives with respect to density or temperature. For example, the expression for
calculating pressure is

P d2(8a)
=
ad
. T
(1-1)

When starting from the pressure explicit equation, the calculation of other properties, including the speed
of sound, requires not only derivatives of the compressibility factor with respect to density and temperature, but
also integration of Z over density, which can be quite complicated. Equations are presented in this revision that
start with the Helmholtz energy form, and allow access to other thermodynamic properties such as heat capacities,
enthalpies, and entropies by differentiation of this fundamental property. Formulations explicit in the Helmholtz
energy have been used heavily over the last two decades to represent the properties of pure fluids and mixtures due
to the ease of calculating all other thermodynamic properties.

1
Work began in the 1990's at the Ruhr University in Bochum, Germany, under the direction of Wolfgang
Wagner to develop even more sophisticated models to represent not only the gas phase, as in the case of AGA 8, ,,
but also the liquid phase and retrograde region. The first version was released in 2004 for 18 fluids, and then ~
updated in 2008 with three additional fluids. These 21 fluids are identical to the fluids available in this document.

Because the calculation of dew points requires knowledge of the liquid phase as well as the gas phase, the
DETAIL equation of state presented in Part 1 is not able to determine the state where liquids will condense from a
natural gas stream. With the addition of accurate liquid calculations in the GERG-2008 equation, dew points, as
well as bubble points and saturation states in the retrograde region can now be evaluated for any temperature or
pressure input state. The equations required to do so are covered in Part 2.

1.3 Overview of Properties from Equations of State

This report provides recommended equations of state to compute accurate compressibility factors,
densities, and other thermodynamic properties for natural gas. The information in this report can be used for
calculations of compressibility factors and densities for pure methane, ethane, nitrogen, carbon dioxide, hydrogen,
and hydrogen sulfide, and for gas mixtures of up to twenty-one components. Compressibility factors,
supercompressibility factors, and density values can be applied directly in calculations of gas volume and gas flow
rate. These computations can also be used in other instances where the relationship between the temperature,
pressure, and volume of a gas is important.

Other thermodynamic properties that can be calculated with the information in this report include the heat
capacity, enthalpy, entropy, sonic velocity, critical flow factor (see Appendix E of ASME/ANSI MFC-7M-1987),
and component chemical potentials. Applications that use these properties include calculations for sonic nozzles,
compressors, heat exchangers, gas mixture reaction equilibrium, and gas mixture component fugacities (for use in
vapor-liquid equilibrium calculations).

Two equations of state are provided in Part 1. All information needed to efficiently implement the
appropriate equation of state as a function of the natural gas composition (i.e., a gas analysis) is contained in this
report, except the molar heating values, which can be obtained from AGA Report No. 5, Natural Gas Energy
Measurement. The two equations differ by their complexity and the range over which calculations can be made.
The equation of state with a wider range of conditions is referred to as the "DETAIL Equation of State." See
References [1] and [2]. The equation of state with a limited range of conditions, herein referred to as the "GROSS
Equation of State," uses second and third virial coefficients to compute the compressibility factor. See References
[3] and [4]. Although gas properties are best calculated through the use of the natural gas composition, they can
also be obtained with an aggregate or gross knowledge of the gas (given by heating value and/or relative density,
and diluent gas content information).

1.3.1 DETAIL Equation of State

The DETAIL equation of state was developed to accurately describe the gas-phase pressure-temperature-
density behavior of natural gas mixtures. This equation of state reduces the uncertainties of compressibility factor
and density calculations for natural gas, which can contain mole percentages ofhexanes plus heavier hydrocarbons
greater than 1 %. Equations of the density behavior of pure hydrogen sulfide and binary mixtures of hydrogen
sulfide with methane, ethane, nitrogen, and carbon dioxide were developed to reduce the calculation uncertainty
for natural gas containing hydrogen sulfide (sour gas). Second virial equations were developed for water and binary
mixtures of water with methane, ethane, nitrogen, and carbon dioxide to reduce the calculation uncertainty for
natural gas containing water vapor. Section 4 presents complete information for the DETAIL equation of state .

2

Part 1 is only valid for the gas phase. For the liquid phase, mixed phase, and saturation properties
(including dew points), see Part 2. The DETAIL equation of state can be applied, as shown in Figure 1, for
temperatures above -200 °F (-130 °C) and at pressures up to 40,000 psia (280 MPa). The upper temperature limit
is the onset of decomposition of the components in the gas [which is generally above 350 °F (180 °C)]. For
applications outside these ranges of temperature and pressure, refer to Part 2 or experimental verification. Use of
the DETAIL equation of state is not recommended within the vicinity of the critical point or liquid-like states.

Temperature, oc
-130 -60 -4
40,000 I I 280

Region 4 - 1.0%

10,000 70

Pressure, Region 3 - 0.5 % Pressure,


psi a MPa

• 2,500

1,500
-

-
Region 2 - 0.3 %
... 17.2

10.3

Region 1 - 0.1%
See Table 1 Range A for composition ranges.

0 0
-200 -80 25
Temperature, °F

Figure 1. Overview ofuncertainties for natural gas compressibility factors with the DETAIL equation of state
(not to scale). The upper temperature limit is the onset of decomposition of the components in the gas.
Note: This figure is not intended for contractual use. Table 1 should be consulted for specific uncertainty
information.

3
A database for mixtures with water, heavy hydrocarbons, or hydrogen sulfide in natural gas is not presently
available for the determination of uncertainties of calculated gas properties. Therefore, as a practical matter, the
only limitation is that the calculation is for the gas phase. Thus, the limits are the water dew point for mole percent
water and the hydrocarbon dew point for mole percent heavy hydrocarbons.

Figure 1 gives a simple overview of typical uncertainties for the DETAIL equation of state, but should not
be used as a basis to estimate the uncertainties in calculated properties. Rather, Table 1lists comprehensive ranges
for which the uncertainties are less than 0.1% (details are given in Reference [5]). Three different sets of ranges
are defmed below, each having its own range of validity for temperature, pressure, and component fractions.

Range A in Table 1 shows the limits of the mole percent of components in a natural gas mixture in which
the uncertainties in compressibility factors are less than 0.1 %for temperatures above 25 °F (-4 °C), pressures less
than 1500 psia (10.3 MPa), heating values from 630 to 1200 Btu/scf, and relative densities from 0.554 to 0.91.
However, a mixture with compositions near the upper limits of every component in this range, except methane and
nitrogen, will have an uncertainty higher than 0.1 %. Most typical natural gases do not fall under such a condition.
This was verified through the use of the 200 gas compositions available in the supplementary material. Deviations
between the DETAIL and GERG equations of state were compared for each gas composition- those that met the
0.1 % uncertainty limit fell within the ranges listed in Range A of Table 1, or were slightly outside this range at
the lower temperature limit with pressures slightly below the upper pressure limit. Several of the limits listed in
this range have been modified from those given in Reference [ 5] to give better results. The regions in Figure 1
with uncertainty limits of 0.3 %, 0.5 %, and 1.0 % are also based on the Range A compositions. However, it is
important to make use of a phase diagram to ensure that states are not in the 2-phase or in the critical region. The
DETAIL equation of state should not be used for states at pressures exceeding the dew or bubble point (including
2-phase states). This applies for Ranges Band Cas well.

Range B in Table 1 shows the maximum allowable mole percent composition for temperatures above
25 °F (-4 °C), but with pressures less than 300 psia (2 MPa), heating values from 680 to 1500 Btu/scf, and relative
densities from 0.47 to 0.91. Range B allows higher upper range values of the compositions for operations below
300 psia.

Range C in Table 1 has a composition range that is much smaller than the other ranges, but allows
temperatures down to 17 °F (-8 oq and pressures up to 3000 psia (21 MPa).

In this AGA 8, Part 1, document the upper pressure limit for 0.1 %uncertainty has been changed from
1750 psia to 1500 psia (12 MPa to 10.3 MPa), and the lower temperature limit has been changed from 17 °F
(-8 °C) to 25 °F (-4 oq based on workpresentedinReference [5]. However, uncertainties in the DETAIL equation
of state are often below 0.1% far outside the ranges listed in Table 1, especially at temperatures above 40 °F. For
continued use of the DETAIL equation of state outside the ranges listed in Table 1, comparisons can be made
between this and the GERG-2008 equation of state. When the difference is less than 0.1 %, the DETAIL equation
of state can be used with a stated uncertainty of 0.1 %. The Excel application given in the supplementary material
will calculate the difference between the DETAIL and GERG-2008 equations for any gaseous state. Other tools
can also be used (e.g., Reference [6]) to ascertain the differences in the calculations between the two equations.
When exceeding the limits of Table 1 but claiming the 0.1 % uncertainty, users should specify the method or
software used to arrive at this claim.

4
Table 1 -Ranges for Temperature, Pressure, Heating Value, and Relative Density
with Uncertainties Less than 0.1 % in Compressibility Factors of
Natural Gas Calculated with the DETAIL Eguation of State
Range A Ran~eB Ran~eC
Lower temperature limit 25 °F 25 °F 17 oF
-4oc -4oc -8 °C
Upper pressure limit 1500 psia 300 psia 3000 psia
10.3MPa 2.1 MPa 21 MPa

Gross heating valuet


Btu/scf 630 to 1200 680 to 1500 960 to 1090
MJ/m3 23.5 to 44.7 25.3 to 56 35.8 to 40.6
Relative densityt 0.554 to 0.91 0.47 to 0.91 0.554 to 0.64

UEEer com12osition limits (mole .12ercent)


Methane 100.0 100.0 100.0
Nitrogen 50.0 50.0 3.0
Carbon dioxide 30.0~ 80.0 3.0
Ethane 10.0 25.0 4.0
Propane 4.0 6.0 2.0
Isobutane 0.4 1.5 0.1
n-Butane 0.6 6.0 0.4
Isopentane 0.3 2.0 0.1
n-Pentane 0.3 2.0 0.1
Total pentanes 0.3 2.0
n-Hexane 0.12 0.2 0.03


n-Heptane 0.04 0.2 0.01
n-Octane 0.03 0.2 0.003
n-Nonane 0.03 0.2 0.003
n-Decane 0.03 0.2 0.003
Total hexanes plus 0.15
Total heptanes plus 0.04
Hydrogen 5.0 100.0 1.0
Oxygen 0.2 1.0 0.2
Carbon monoxide 1.0 10.0 1.0
Water 0.05 1.4 0.005
Hydrogen sulfide 0.1 4.0 0.1
Helium 0.4 5.0 0.4
Ar on 0.2 3.0 0.2
Note: The above table provides component mole percent limits under the specified ranges of pressure, temperature,
Btu value, and relative density for states with an uncertainty in density generally less than 0.1 %. The composition
limits for different pressures, temperatures, Btu values, and relative densities outside of these ranges can be
determined from the Excel spreadsheet provided in the supplementary material.

tvalues are based on a methane lower limit composition of 60 mole percent. Reference conditions in U.S. customary units are
(60 °F, 14.73 psia; density at 60 °F, 14.73 psia) and in SI units are (15 °C, 0.101325 MPa; density at 0 °C, 0.101325 MPa).

iThe upper limit for the mole percent of C02 is reduced under the following conditions:
Xc02,max = 20 % when xN2 > 7 % Xc02,max = 5 % when Xc3 > 2 %
Xc02,max = 10 %when xN2 > 15 % Xc02,max = 10 %when Xic4 > 0.1 %
Xc02,max =7 %when Xc3 > 1 % Xc02,max = 10 %when X 0 c 4 > 0.3 %

See the discussion in Section 1.3.1 for further information.

5
1.3.2 GROSS Equation of State

The GROSS equation of state was developed for dry, sweet natural gas to calculate compressibility factors.
The limits for this method are listed in Table 2. For some gases at the upper limits of the allowed compositions,
with temperatures below 80 °F (27 °C) or at pressures above 800 psia (5.5 MPa), the uncertainty of the GROSS
equation of state can exceed 0.1 %. The maximum composition limits were therefore significantly reduced from
the 1994 edition of AGA 8 so as to meet the 0.1 % uncertainty level. When exceeding the bounds listed in
Table 2, the procedure given at the end of Section 1.3 .1 for validating the uncertainty of a particular state should
be followed.

Section 5 and Appendix A present information for this equation of state. Optimally, natural gas property
calculations from the GROSS equation require the gas composition, i.e., the mole fractions of the components in
the mixture. When this information is not available, methods given in Appendix A can be used as a substitute to
obtain the molar ideal gross heating value HcH of the mixture of hydrocarbon components present in the natural
gas along with the compositions of nitrogen and carbon dioxide in the mixture.

Table 2- Ranges for Temperature, Pressure, Heating Value, and Relative Density with
Uncertainties Less than 0.1 % in Compressibility Factors of Natural Gas Calculated with the
GROSS Equation of State
Quantity Range 1 Range2
Temperature 25 °F to 143 °F (-4 °C to 62 °C) 17 °F to 143 °F (-8 octo 62 °C)
Maximum pressure 1500 psia (10.3 MPa) 600 psia (4.1 MPa)
Relative density 0.554 to 0.63 0.554 to 0.89
Gross heating valuet 930 to 1040 Btu/scf 665 to 1100 Btu/scf
34.7 to 38.7 MJ/m3 24.8 to 41 MJ/m3
Upper composition limits (mole percent)
Nitrogen 7 20
Carbon dioxide 3 25
Ethane 2 8
Propane 0.5 4
Total butanes 0.3 0.5
Total pentanes 0.2 0.3
Hexanes plus 0.04 0.08
Hydrogen+ 0.2 2
Oxygen+ 0.2 0.5
Carbon monoxide+ 0.4 1
Water+ 0.03 0.2
Hydrogen sulfide+ 0.08 0.2
Helium+ 0.05 0.3
Ar on+ 0.1 0.2
tvalues are based on a methane lower composition limit of 60 mole percent. Reference conditions in U.S. customary units
are (60 °F, 14.73 psia; density at 60 °F, 14.73 psia) and in SI units are (15 °C, 0.101325 MPa; density at 0 °C,
0.101325 MPa).

*The nonhydrocarbon species listed in this table (except nitrogen and COz) are considered here as impurities for use in the
GROSS equation of state, and should be added to the equivalent hydrocarbon mole fraction as explained in Section 5.2. The
SGERG-88 equation contains additional parameters for hydrogen and carbon monoxide, and Reference [3], ISO 12213:3, or
GERG TM 5 (1991) should be consulted when the mixture contains these fluids.

6

1.4 Uncertainty

The uncertainties of compressibility factors or densities (relative deviations calculated in terms of Z or in


terms of dare nearly identical but with an opposite sign) calculated with either the DETAIL equation of state or
the GROSS equation of state depend upon the natural gas composition and the operating temperature and pressure
conditions. Evaluations of the uncertainties of calculated compressibility factors for natural gas were made by
comparing to the GRI and GERG compressibility factor reference databases. The reference databases have similar
natural gas physical characteristics as those listed in Table 1. Comparisons were also made with data for pure fluids
and binary mixtures. Lastly, comparisons were made with experimental speed-of-sound data to access derived
thermodynamic property capabilities of the DETAIL equation of state. Uncertainty analyses are available in
Appendix B.

1.4.1 DETAIL Equation of State Uncertainty

The GRI and GERG compressibility factor reference databases and comparisons with the GERG-2008
equation of state have verified the expected uncertainties given in Table 1 and within Region 1 and parts of Regions
2, 3, and 4 of Figure 1. The boundaries in Table 1 can often be exceeded at lower temperatures or higher pressures
than those given. The last paragraph of Section 1.3.1 explains the procedure that can be used to determine if a
particular gas or operating condition still resides within the 0.1 %uncertainty limit.

1.4.2 GROSS Equation of State Uncertainty

In general, the expected uncertainty in density of the GROSS equation of state is 0.1 % for natural gas
having compositions and operating conditions identified in Table 2. The GRI and GERG compressibility factor
reference databases and comparisons with the GERG-2008 equation of state have verified the expected

• uncertainties given in Table 2. The equation was not designed for and should not be used outside ofthese limits,
unless comparisons as described in the last paragraph ofSection 1.3.1 have been made.

1.5 Recommendations

Two different equations for the compressibility factor, the DETAIL equation of state and the GROSS
equation of state, are provided in Part 1. The choice of a particular equation of state depends on the natural gas
composition and operating conditions, and the uncertainty expectation. See Part 2 for liquid phase and vapor-
liquid equilibrium phases, or for applications outside the uncertainty ranges given in Figure 1 and Tables 1 and 2.

The GERG-2008 equation of state given in Part 2 is the most accurate in the calculation of compressibility
factors and densities, but also has the most complex form. The DETAIL equation of state is more accurate than
the GROSS equation. The GROSS equation of state is only recommended when simplicity is needed for
calculations of natural gas compressibility factors and densities, provided the natural gas compositions and
operating conditions are within the ranges given in Table 2.

Use ofthe GERG-2008 equation of state may be considered due to its higher accuracy and for maintaining
consistency for operating conditions that may lie either within or outside the ranges in Table 1. Switching between
the GERG-2008 and DETAIL equations based on the operating state will lead to discontinuities in calculated
values at the point of overlap. For conditions that never exceed the ranges in Table 1, the DETAIL equation of
state may be the most practical for certain applications based on the operator's needs.

7
l
!,

2 DEFINITIONS AND GENERAL EQUATIONS !


2.1 Definitions of Phase Regions

This AGA 8, Part 1, puts forth a new approach to define the gas phase, dense phase, and liquid phase of a
mixture. Figure 2 shows the phase boundary of a natural gas mixture with about 83 % methane. The heaviest
hydrocarbons are heptane with a mole percent composition of 0.027 %, octane with 0.017 %, and nonane with
0.0009%, where these three components play the largest role in the upper temperature and pressure limits of the
saturation boundaries.

Although a fluid transitions smoothly from vapor to liquid without discontinuities when the path is such
that it does not cross the phase boundary, defined regions are useful to give a general indication of the fluid's state.
Most definitions of the phase regions use pressure and temperature parameters for bounding the gas, liquid, and
dense regions, resulting in different parsing techniques with varying degrees of complexity depending on a group's
point of view. Most of these bounding techniques result in some inappropriately labeled areas, e.g., more gas-like
than dense-like or vice-versa, due to the extent to which a certain bounding box extends into a temperature or
pressure space.

As shown in Figure 2, the three phase regions are now defmed in terms of the critical density only. (The
critical point is the state where the co-existing liquid and vapor phases have the same density and composition.)
The gas phase is the region with densities less than 50 % of the critical density. Liquids are defined as states with
densities greater than 125% of the critical density. The dense phase of a fluid is any single-phase state between
these two areas, i.e., a state with a density greater than 50% and less than 125% of the critical density. Other
points or curves are also shown in Figure 2, including the cricondentherm (maximum 2-phase temperature), the
cricondenbar (maximum 2-phase pressure), the bubble point curve, the dew point curve, and the retrograde curve.

In the dense phase region near the critical point for any pure fluid or mixture, the properties change rapidly
as the state approaches the critical point. For example, for a pure fluid the isobaric heat capacity increases to
t
infinity and the speed of sound approaches zero. For temperatures near the critical point, the area between 50%
and 125% of the critical density represents states where property changes become more significant.

There are various approaches that can be used to determine the critical density of a mixture, such as the
tools available in Reference [6] that use the GERG-2008 equation of state (given in Part 2) to locate the critical
point. The use of cubic equations of state (PR, SRK, etc.), though not as accurate as the GERG-2008, will
determine a state point that is in the general vicinity of the true critical point of the mixture when volume translation
is applied. The simplest but least accurate approach is to use a mole fraction average of the critical volumes of the
pure fluids (the critical density would then be the reciprocal of the critical volume). The approach taken depends
on the needs of a particular application.

8
Dense Phase

Cricondenbar 0.5Dc
1.25 De (Maximum Pressure)

B
Retrograde Curve
Critical Point (Line B-D)
Liquid Phase
Gas Phase

D Cricondentherm
2-Phase (Maximum Temperature)
(Vapor/Liquid)

Bubble Point Curve


(LineA-B) Dew Point Curve
(Line D-E)

Figure 2. Example of gas, liquid, and dense phase regions of a natural gas mixture .

• 2.2 Nomenclature
The symbols used in this publication are generally specific to thermodynamics, although those specific to
flow measurement have been used as a convenience to the reader. General symbols that do not refer to a specific
equation of state are given below. Symbols that are specific in the equations of state are given in Sections 4 and 5.

d Molar density (mol/dm3)


De Critical density (mol!dm3)
Fpv Supercompressibility factor
M Molar mass (molecular weight) (g/mol)
M; Molar mass of the component i in the mixture (g/mol)
n Number of moles of a gas (mol)
N Number of components in the mixture
p Absolute pressure (MPa)
R Gas constant [J/(mol·K)]
T Absolute temperature (K)
v Gas volume (dm3)
xi Mole fraction of component i in the mixture
Z(T,P) Compressibility factor at T and P
Zb(Tb, Pb) Base compressibility factor at nand Pb (generally 60 °F and 14.73 psia in the U.S.)
p Mass density (mass per unit volume) (kg/m3)

9
--,1

2.3 General Equations

This section contains general equations involving the compressibility factor, molar density, and mass
density of natural gas and other hydrocarbon gases.
t
The compressibility factor Z is defined by the equation

Z= PV (2-1)
nRT'

where Tis the absolute temperature of the gas, Pis the absolute static pressure of the gas, Vis the gas volume, n is
the number of moles, and R is the molar gas constant. Both the DETAIL and GROSS equations of state express
the compressibility factor Z in terms of the molar density d (in moles per unit volume),

d=!!_, (2-2)
v
The gas mixture molar mass (molecular weight) Miscalculated from the gas composition with the relation

M=:LxiMi, (2-3)
i=l

where M; is the molar mass of component i, N is the number of components in the gas mixture, and Xi is the mole
fraction of component i in the gas mixture. The summation in this equation is over all components in the gas
mixture. The mass density p (mass per unit volume) is related to the molar density dby the relation t
p=Md. (2-4)

Combining Equations (2-2) and (2-4) in Equation (2-1) results in the following equations for the molar density d
and the mass density pin terms of the compressibility factor:

p
d=- (2-5)
ZRT

-M_!_ (2-6)
p- ZRT

Tabulations of the supercompressibility factor Fpv are defined by

(2-7)

where Fpv is the supercompressibility factor expressed as the square root of the ratio of a base compressibility factor
to the operating compressibility factor. The operating compressibility factor Z(T, P) is calculated at the measured
operating pressure and temperature. The base compressibility factor Zb is defined by the base conditions specified
in the custody transfer agreement. Base conditions may be specified by regulation, contract, local conditions, or
organizational needs. In the United States, for inter-state custody transfer of natural gas, they are considered to be
60 °F and 14.73 psia. t
10
3 UNITS, CONVERSIONS, PRECISION, AND ACCURACY
The computer program subroutines provided in the supplementary material to this document use SI units.
The subroutines use the following units for the principal dimensional quantities: absolute temperature in
kelvins (K), pressure in kilopascals (kPa), molar density in moles per cubic decimeter (mol/dm3), real gas
volumetric heating value in megajoules per cubic meter (MJ/m3), and molar ideal gross heating value in kilojoules
per mole (kJ/mol). Conversion factors are required for conversions to and from other units. Some common
conversion factors are given in Table 3. Because the DETAIL and GROSS equations were developed prior to
1990, temperatures are not based on the ITS-90 temperature scale, but on the older IPTS-68 temperature scale.

Except for the mass and mole conversions (where exact conversions are given), the values given in
Table 3 are identical to those in API Chapter 15, Guidelines for Use ofthe International System of Units (SI) in the
Petroleum and Allied Industries, and ASTM-SllO, American National Standard for Metric Practice (which
rounded the conversion factors to seven significant digits). Most calculations in this report are not accurate to
more than seven significant digits; thus, the accuracy of computed compressibility factors is not improved by the
use of more significant digits. For example, a calculation precision of five signific;ant digits is approximately 1 part
in 100,000 (or 10 ppm) for the compressibility factor. Appendix B presents information showing that the expected
uncertainties of computed natural gas compressibility factors are 0.048 % (one standard deviation) for both the
DETAIL equation of state and the GROSS equation of state. The uncertainty of 0.048 % corresponds to 48 parts
in 100,000 (or 480 ppm), so the calculation precision of 1 part in 100,000 is an order of magnitude better than the
uncertainty in the computed compressibility factor. The computed compressibility factors in the region of validity
for each equation of state generally agree with the best available compressibility factor data for natural gas with
differences approaching the experimental uncertainty of 0.1 %. Thus, for compressibility factors less than one,
calculated values are at best accurate to about one part in 10,000 (or 100 ppm), or to about four significant digits.
When more than four significant digits are quoted in this document, the purpose is generally for computer program

• verification only .

Quantity
Length
Table 3 -Unit Conversions
Unit conversion
1.0 in= 0.0254 m (exact)
Mass 1.0 Ibm= 0.453 592 37 kg (exact)
Moles 1.0 lbmol = 0.453 592 37 kmol (exact)
Temperature Temperature (in °R) =Temperature (in °F) + 459.67 (exact)
Temperature Temperature (inK)= Temperature (in °C) + 273.15 (exact)
Temperature 1.8 °R = 1.0 K (exact)
Pressure 1.0 psia = 0.006 894 757 MPa
Pressure 1.0 bar= 0.1 MPa (exact)
Gas constant 10.73164 psia·ft3/(lbmol·R) = 8.31451 J/(mol·K)t
Gas constant 1.985886 Btu/(lbmol·R) = 8.31451 J/(mol·K)t
Energy 1.0 Btu= 1.055056 kJi
tFor the gas constant, the values given do not represent the most current scientific values, but are
used here to conform with the 1994 edition of AGA 8 so that calculated property values match
those from the original equations.
iCorresponds to the IT value of 1 cal= 4.1868 J.

11
4 THEMODYNAMIC PROPERTIES FROM THE DETAIL EQUATION OF STATE
4.1 Nomenclature

Constants and coefficients (Tables 4 and 7)


an, bn, Cn,/n, gn,
kn, qn, Un, Sn, Wn Coefficients and parameters in the equation of state
n, f) Coefficients of the ideal-gas heat capacity equation
Component parameters (Table 5)
Ei Characteristic energy parameters
Fi High temperature parameters
Gi Orientation parameters
Ki Size parameters
Qi Quadrupole parameters
Si Dipole parameters
Wi Association parameters
Mixture parameters (Table 6 for ij parameters)
B*nif Binary characterization parameters
c*n Parameters that are functions of composition
Eif Second virial coefficient energy binary interaction parameters
F Mixture high temperature parameters
G Orientation parameters
Gif Binary interaction parameters for orientation
K Size parameters
Kif
Q
U
Binary interaction parameters for size
Quadrupole parameters
Mixture energy parameters
f_
Uif Binary interaction parameters for conformal energy
Properties
a Molar Helmholtz energy (J/mol)
ao Molar ideal-gas Helmholtz energy (J/mol)
d Molar residual Helmholtz energy (J/mol)
B Second virial density coefficient (dm3/mol)
co
p Molar ideal-gas isobaric heat capacity [J/(mol-K)]
Cp Molar isobaric heat capacity [J/(mol-K)]
Cv Molar isochoric heat capacity [J/(mol·K)]
d Molar density (mol/dm3)
D Reduced density of gas
g Molar Gibbs energy (J/mol)
h Molar enthalpy (J/mol)
K Isentropic exponent
N Number of components in the mixture
p Absolute pressure (MPa)
R Gas constant [J/(mol-K)]
s Molar entropy [J/(mol-K)]
T Absolute temperature (K)
u Molar energy (J/mol)
w Speed of sound (m/s)
Xi
z
Mole fraction of component i in the mixture (mol)
Compressibility factor c;

12
4.2 DETAIL Equation of State for Thermodynamic Properties Including Compressibility Factor
and Pressure

In the DETAIL equation of state, a natural gas is characterized by its composition, that is, the mole
fractions or mole percentages of the components in the natural gas. The equations, constants, and parameters
needed to calculate thermodynamic properties for natural gas mixtures with the DETAIL equation of state are
given here. Procedures to apply the DETAIL equation of state and the available programs are provided in the
supplementary material accompanying this document. An uncertainty discussion is given in Appendix B.

The equation of state used in this method is a hybrid formulation based on the work of Starling et al.,
Reference [1]. It combines features of the virial equation of state (a power series in density) for low-density
conditions and exponential functions for applications at high-density conditions (extended Benedict-Webb-Rubin
equation of state). This formulation provides high accuracy, a broad temperature-pressure-composition application
range, and derived thermodynamic property capabilities. A detailed description of the performance of the equation
is available in Reference [2].

The equation of state for the compressibility factor Z for the DETAIL method is given by the equation

18 58
Z = l+Bd -D:Lc:r-u" + :Lc:r-u"(bn -cnknDk" )Db" exp(-cnDk" ), (4-1)
n=13 n=l3

where dis the molar density of the gas, B is the second virial coefficient, Dis the reduced density, Cn* are parameters
that are functions of composition, and Un, bn, en, and kn are coefficients and parameters given in Table 4. The units
for temperature and molar density are kelvins and moles per cubic decimeter. The reduced density D is related to


the molar density d by the equation

(4-2)

where K is the mixture size parameter. Converting the expression for the compressibility factor of the gas to
pressure results in the equation

(4-3)

In the computation of Z or P through the use of the DETAIL equation of state, the composition of the gas,
the absolute temperature T, and the molar density dare required. When the temperature, pressure, and composition
of a gas are known, the only unknown quantity in this equation is the molar density d. The density can be
determined with appropriate iterative procedures, as explained in Section 6.

Before computations can be performed with the equations above, the values of B, c:,
and K must be
calculated from the composition and temperature of the gas. The mixture size parameter K for a mixture of N
components is

(4-4)

where the Kij are binary interaction parameters for size (Table 6), K; and J(_j are size parameters for components i
and j (Table 5), and x; and Xj are mole fractions of components i and j in the gas mixture.

13
The subscript i refers to component i in the gas mixture and the subscript j refers to component j in the
mixture. In the single sum, i ranges over the integer values from 1 to N. For example, for a mixture of 12
components (N=12), there would be 12 terms in the single sum. In the double sum, i ranges from 1 to N-1 and each
value of j ranges from i+ 1 to N. For example, for a mixture of 12 components, there would be 66 terms in the
double sum when all values of KiJ differ from one. However, because many of the values of KiJ are one, the number
of nonzero terms in the double sum is small for many natural gas mixtures. All values of KiJ are one except for the
values listed in Table 6.

The second virial coefficient B is given by the following equations:

18
B = LanT-un B*' with (4-5)
n=l

(4-6)
i=l i=l j=i+l

B=ij = [Gij(Gi + Gj)/2+1- gJg"(QQj +1-qn)q"(F;~ + 1-JnY•


(4-7)
(sisJ + 1- sn Y· (w;r~j + 1- wJw,
The coefficients c: (n=13 to 58) in Equations (4-1) and (4-3) are
(4-8)

The parameters in these equations are defmed in the nomenclature. The constants an,/n, gn, qn, sn, Un, and Wn are
given in Table 4. The mixture parameters F, G, Q, and U are calculated with the following equations, where in the
double sums i ranges from 1 to N-1, and each value of} ranges from i+ 1 toN:

(4-9)

N N-! N

G = :L>;G; + L .L>ixJ (GiJ -l)(G; + GJ (4-10)


i=! i=! j=i+!

Q = LX;Q; (4-11)
i=l

N
F= 'Lx;p; (4-12)
i=l

Values of E;, F;, G;, K;, Q;, S;, and w; are given in Table 5. The binary interaction parameters EiJ, GiJ, Ky·, and UiJ
are given in Table 6. All values of the binary interaction parameters EiJ, GiJ, KiJ, and UiJ are one except for the
values in Table 6.

14
4.3 Equation of State for the Helmholtz Energy

The Helmholtz energy a of a mixture is the sum of two contributions (see References [7 ,8]), one accounting
for that of the ideal gas a0 and the other for that of the real fluid a',

a=a0 +a'. (4-13)

The equation for the ideal-gas Helmholtz energy is

(4-14)

The coefficients are given in Table 7, and the derivation of this equation is given further below. The value of the
molar density dis given in mol/dm3, and that ofT is given in kelvins. The real gas contribution is

(4-15)

where a is the molar Helmholtz energy and the superscript r indicates a residual property, or the contribution from
the interaction of molecules in a non-ideal gas. All other symbols were defined under Equation (4-1 ). This equation
results from the integration of Equation (1-1) with the pressure taken from Equation (4-3), and is the original
formulation used in the development of AGA 8.

• The equation for the ideal-gas Helmholtz energy [given in Equation (4-14)] was obtained through the use
of thermodynamic relationships. The contribution to the ideal gas can be expressed as a summation involving the
ideal-gas enthalpy h0 and entropy s 0,

(4-16)

When an expression for the ideal-gas heat capacity cp0 is available, the ideal-gas enthalpy can be derived from the
relation

(4-17)

resulting in

(4-18)

where the enthalpy at To is hg. (The value of To is not necessarily set to zero, but can be any arbitrary value,
resulting in the integration constant hg.) Likewise, the ideal-gas entropy can be derived from a fundamental
relationship (see Reference [7]), resulting in

s0 = sg +I: c;T dT -Rln( TTdd J- Ri>; ln(x;),


o 0 0 i=l
(4-19)

where do is the ideal-gas density at To and Po (do= Po!ToR), and To and Po are arbitrary reference conditions. The
molar gas constant R is 8.31451 J/(mol-K) (as given in the 1994 revision of AGA Report No. 8). The last part of

15
this term, summed over the number of components N in the mixture, accounts for the ideal-gas entropy of mixing
of the components in the gas. Combining these equations results in the following expression for the Helmholtz •.·····
energy of the ideal gas •

(4-20)

The reference state of zero enthalpy and zero entropy is here adopted at To = 298.15 K and Po = 0.101325 MPa for
the ideal unmixed gas [i.e., no entropy of mixing (the last term in this equation is set to zero)]. Expressions for the
ideal-gas heat capacity c/ were taken from Jaeschke and Schley (see Reference [9]), given as

(4-21)

The coefficients and parameters are given in Table 7. The equation for the ideal-gas isobaric heat capacity is taken
from [9] and given as a function of the temperature T. The values of the parameters S% (for k = 4 to 7) are in
agreement with the original parameters D~ F~ F, and J in reference [9], and the values of n% (fork= 3 to 7) are
0

identical to the coefficients B~ C~ E~ G~ and J~ Integrating Equation (4-21) and combining the outcome with
Equation (4-20) results in the ideal-gas Helmholtz energy given in Equation (4-14).

4.4 Speed of Sound and Other Thermodynamic Properties


The AGA Report No. 10, Speed ofSound in Natural Gas and Other Related Hydrocarbon Gases, on the
calculation of speeds of sound from the DETAIL equation of state, obtained values through numerical integration
of the compressibility factor equation. The equations presented here for the calculation of thermodynamic
properties are implemented through differentiation of the fundamental Helmholtz energy equation. This results in
f
faster calculations through direct computation of the required derivatives and is more precise since finite
differences are not required.
The equations used for calculating compressibility factor, pressure, and the derivatives of pressure with
respect to density and temperature are given in the following equations:

Z = __£__ = 1+ __q_(aar) (4-22)


dRT RT ad r

(4-23)

II
(4-24)

(4-25)

aP)
( ar = dR +d2(_!_!!_) (4-26)
d adaT

. b . Thhe
ISO
equati~ns
for calcdulafting edntropy s , enehrgy u, enthalpy h, Gibbs energy g, isochoric heat capacity cv,
anc eat capacity Cp, spee o soun w, Jou1e-T omson coefficient JL, and the isentropic exponent Kare given
f
16
below. Additional equations for other properties and alternative methods for expressing Helmholtz energy
equations are given in Lemmon et al. (see Reference [7]).

(4-27)

u =a+Ts (4-28)

p
h=u+- (4-29)
d

p
g=a+- (4-30)
d

c
v -
-(au) -r(as)
8T d - 8T d -
2
--T(8 a)
8T 2 d
--r[(8 +(8 ar)]
-
2

8T
0

a2 )
d
2

8T 2 d
(4-31)

(4-32)

• (4-33)

f.l _ _ l [T(8P) (8P)- -l]


crd d 8T d 8d r
1
(4-34)

2
w M (4-35)
K=--
ZRT

The following nomenclature is used to simplify the appearance of the derivative equations:

r =C*T-u" (4-36)
':>n n

lf/n = C:,T-u" Db" exp(-cnDk") (4-37)


-
(On- en n
k Dkn (4-38)

J3n =bn -O)n (4-39)

;:. k
~l,
= 8..0k IT
l,
(4-40)

17
The derivatives of the Helmholtz energy required in the equations for calculating thermodynamic properties are
given below.

(4-41)

In(x;)+n~ 1 -(n~ 3 -1)[1+1n(T)]


_!_~=In(!!_]+ I:X; + Z:ni~k[InJsinh(;i,k)J-;i,k /tanh(;i,k)]
0

(4-42)
R aT d 0 i=1 k=4,6

- Z:n~k[InJcosh(;;,k)l- ;i,k tanh(;i,k)]


k=5,7

(4-43)

(4-44)

(4-45)

(4-46)

(4-47)

1 ad aB 18 ss
--=Bd +Td-+DL:(un -1)sn- Z:(un -1)lf/n (4-48)
R aT aT n=u n=13
T a2ar aB 2 a2B 18 ss
--=2Td-+T d--D""""u (u -1)/' + """"u (u -1)11r (4-49)
R aT z aT aT2 L... n n
n=13
'=' n L... n n
n=13
r n

(4-50)

(4-51)

(4-52)

18
Table 4- DETAIL Eguation of State Coefficients and Parameters
n an bn Cn kn Un gn qn .In Sn Wn
1 0.1538326 1 0 0 0.0 0 0 0 0 0
2 1.341953 1 0 0 0.5 0 0 0 0 0
3 -2.998583 1 0 0 1.0 0 0 0 0 0
4 -0.04831228 1 0 0 3.5 0 0 0 0 0
5 0.3757965 1 0 0 -0.5 1 0 0 0 0
6 -1.589575 1 0 0 4.5 1 0 0 0 0
7 -0.05358847 1 0 0 0.5 0 1 0 0 0
8 0.88659463 1 0 0 7.5 0 0 0 1 0
9 -0.71023704 1 0 0 9.5 0 0 0 1 0
10 -1.471722 1 0 0 6.0 0 0 0 0 1
11 1.32185035 1 0 0 12.0 0 0 0 0 1
12 -0.78665925 1 0 0 12.5 0 0 0 0 1
13 2.291290xl0-9 1 1 3 -6.0 0 0 1 0 0
14 0.1576724 1 1 2 2.0 0 0 0 0 0
15 -0.4363864 1 1 2 3.0 0 0 0 0 0
16 -0.04408159 1 1 2 2.0 0 1 0 0 0
17 -{).003433888 1 1 4 2.0 0 0 0 0 0
18 0.03205905 1 1 4 11.0 0 0 0 0 0
19 0.02487355 2 0 0 -0.5 0 0 0 0 0
20 0.07332279 2 0 0 0.5 0 0 0 0 0
21 -0.001600573 2 1 2 0.0 0 0 0 0 0
22 0.6424706 2 1 2 4.0 0 0 0 0 0
23 -0.4162601 2 1 2 6.0 0 0 0 0 0
24 -0.06689957 2 1 4 21.0 0 0 0 0 0
25 0.2791795 2 1 4 23.0 1 0 0 0 0
26 -0.6966051 2 1 4 22.0 0 1 0 0 0
27 -0.002860589 2 1 4 -1.0 0 0 1 0 0
28 -0.008098836 3 0 0 -0.5 0 1 0 0 0


29 3.150547 3 1 1 7.0 1 0 0 0 0
30 0.007224479 3 1 1 -1.0 0 0 1 0 0
31 -0.7057529 3 1 2 6.0 0 0 0 0 0
32 0.5349792 3 1 2 4.0 1 0 0 0 0
33 -0.07931491 3 1 3 1.0 1 0 0 0 0
34 -1.418465 3 1 3 9.0 1 0 0 0 0
35 -5.99905x1o-n 3 1 4 -13.0 0 0 1 0 0
36 0.1058402 3 1 4 21.0 0 0 0 0 0
37 0.03431729 3 1 4 8.0 0 1 0 0 0
38 -0.007022847 4 0 0 -0.5 0 0 0 0 0
39 0.02495587 4 0 0 0.0 0 0 0 0 0
40 0.04296818 4 1 2 2.0 0 0 0 0 0
41 0.7465453 4 1 2 7.0 0 0 0 0 0
42 -0.2919613 4 1 2 9.0 0 1 0 0 0
43 7.294616 4 1 4 22.0 0 0 0 0 0
44 -9.936757 4 1 4 23.0 0 0 0 0 0
45 -0.005399808 5 0 0 1.0 0 0 0 0 0
46 -0.2432567 5 1 2 9.0 0 0 0 0 0
47 0.04987016 5 1 2 3.0 0 1 0 0 0
48 0.003733797 5 1 4 8.0 0 0 0 0 0
49 1.874951 5 1 4 23.0 0 1 0 0 0
50 0.002168144 6 0 0 1.5 0 0 0 0 0
51 -0.6587164 6 1 2 5.0 1 0 0 0 0
52 0.000205518 7 0 0 -0.5 0 1 0 0 0
53 0.009776195 7 1 2 4.0 0 0 0 0 0
54 -0.02048708 8 1 1 7.0 1 0 0 0 0
55 0.01557322 8 1 2 3.0 0 0 0 0 0
56 0.006862415 8 1 2 0.0 1 0 0 0 0
57 -{).001226752 9 1 2 1.0 0 0 0 0 0
58 0.002850908 9 1 2 0.0 0 1 0 0 0

19
Table 5 -DETAIL Equation of State Characterization Parameters
Compound Molar Energy Size Orientation Quadrupole High temp. Dipole Association
mass t parameter parameter parameter parameter parameter param. parameter
M; E; K; G; Q; F; S; W;
(g/mol) (K)t (m3/kmol) 113
1 Methane 16.043 151.3183 0.4619255 0. 0. 0. 0. 0.
2 Nitrogen 28.0135 99.73778 0.4479153 0.027815 0. 0. 0. 0.
3 Carbon dioxide 44.01 241.9606 0.4557489 0.189065 0.69 0. 0. 0.
4 Ethane 30.07 244.1667 0.5279209 0.0793 0. 0. 0. 0.
5 Propane 44.097 298.1183 0.583749 0.141239 0. 0. 0. 0.
6 i-Butane 58.123 324.0689 0.6406937 0.256692 0. 0. 0. 0.
7 n-Butane 58.123 337.6389 0.6341423 0.281835 0. 0. 0. 0.
8 i-Pentane 72.15 365.5999 0.6738577 0.332267 0. 0. 0. 0.
9 n-Pentane 72.15 370.6823 0.6798307 0.366911 0. 0. 0. 0.
10 n-Hexane 86.177 402.636293 0.7175118 0.289731 0. 0. 0. 0.
11 n-Heptane 100.204 427.72263 0.7525189 0.337542 0. 0. 0. 0.
12 n-Octane 114.231 450.325022 0.784955 0.383381 0. 0. 0. 0.
13 n-Nonane 128.258 470.840891 0.8152731 0.427354 0. 0. 0. 0.
14 n-Decane 142.285 489.558373 0.8437826 0.469659 0. 0. 0. 0.
15 Hydrogen 2.0159 26.95794 0.3514916 0.034369 0. 1. 0. 0.
16 Oxygen 31.9988 122.7667 0.4186954 0.021 0. 0. 0. 0.
17 Carbon monoxide 28.01 105.5348 0.4533894 0.038953 0. 0. 0. 0.
18 Water 18.0153 514.0156 0.3825868 0.3325 1.06775 0. 1.5822 1.
19 Hydrogen sulfide 34.082 296.355 0.4618263 0.0885 0.633276 0. 0.39 0.
20 Helium 4.0026 2.610111 0.3589888 0. 0. 0. 0. 0.
21 Argon 39.948 119.6299 0.4216551 0. 0. 0. 0. 0.
tThese are not the current internationally accepted values of the molar masses, but are identical to those reported in the 1994 edition of •.
AGA 8 to maintain consistency. For other properties not related to the DETAIL or GROSS equations of state, the molar masses in AGA 5 'f
or GPA 2145 should be used.
+The nomenclature "(K)" in the energy parameter column refers to the kelvin temperature unit ofthe values in the column, not to the variable
used for the size parameter.

Table 6 - DETAIL Equation of State Binary Interaction Parameter Valuest


i Component pair Kif
2 Methane Nitrogen 0.97164 0.886106 1.00363
3 Carbon dioxide 0.960644 0.963827 0.995933 0.807653
4 Ethane
5 Propane 0.994635 0.990877 1.007619
6 i-Butane 1.01953
7 n-Butane 0.989844 0.992291 0.997596
8 i-Pentane 1.00235
9 n-Pentane 0.999268 1.00367 1.002529
10 n-Hexane 1.107274 1.302576 0.982962
11 n-Heptane 0.88088 1.191904 0.983565
12 n-Octane 0.880973 1.205769 0.982707
13 n-Nonane 0.881067 1.219634 0.981849
14 n-Decane 0.881161 1.233498 0.980991
15 Hydrogen 1.17052 1.15639 1.02326 1.95731
17 Carbon monoxide 0.990126
18 Water 0.708218
19 Hydrogen sulfide 0.931484 0.736833 1.00008

20
Table 6- continued
; Com2onent 2air E~ Uu KiJ G1;
2 3 Nitrogen Carbon dioxide 1.02274 0.835058 0.982361 0.982746
2 4 Ethane 0.97012 0.816431 1.00796
2 5 Propane 0.945939 0.915502
2 6 i-Butane 0.946914
2 7 n-Butane 0.973384 0.993556
2 8 i-Pentane 0.95934
2 9 n-Pentane 0.94552
2 15 Hydrogen 1.08632 0.408838 1.03227
2 16 Oxygen 1.021
2 17 Carbon monoxide 1.00571
2 18 Water 0.746954
2 19 Hydro~en sulfide 0.902271 0.993476 0.942596
3 4 Carbon dioxide Ethane 0.925053 0.96987 1.00851 0.370296
3 5 Propane 0.960237
3 6 i-Butane 0.906849
3 7 n-Butane 0.897362
3 8 i-Pentane 0.726255
3 9 n-Pentane 0.859764
3 10 n-Hexane 0.855134 1.066638 0.910183
3 11 n-Heptane 0.831229 1.077634 0.895362
3 12 n-Octane 0.80831 1.088178 0.881152
3 13 n-Nonane 0.786323 1.098291 0.86752
3 14 n-Decane 0.765171 1.108021 0.854406
3 15 Hydrogen 1.28179


3 17 Carbon monoxide 1.5 0.9
3 18 Water 0.849408 1.67309
3 19 Hydrogen sulfide 0.955052 1.04529 1.00779
4 5 Ethane Propane 1.02256 1.065173 0.986893
4 6 i-Butane 1.25
4 7 n-Butane 1.01306 1.25
4 8 i-Pentane 1.25
4 9 n-Pentane 1.00532 1.25
4 15 Hydrogen 1.16446 1.61666 1.02034
4 18 Water 0.693168
4 19 Hydro~en sulfide 0.946871 0.971926 0.999969
5 7 Propane n-Butane 1.0049
5 15 Hydrogen 1.034787
6 15 i-Butane Hydrogen 1.3
7 15 n-Butane Hydrogen 1.3
10 19 n-Hexane Hydrogen sulfide 1.008692 1.028973 0.96813
11 19 n-Heptane Hydrogen sulfide 1.010126 1.033754 0.96287
12 19 n-Octane Hydrogen sulfide 1.011501 1.038338 0.957828
13 19 n-Nonane Hydrogen sulfide 1.012821 1.042735 0.952441
14 19 n-Decane Hydrogen sulfide 1.014089 1.046966 0.948338
15 17 Hydro~en Carbon monoxide 1.1
tvalues for thej,i pair are equal to the iJ pair, that is, Eji =Eif, Uji =Uif, K.j1 =Kif, and Gji =Gif. Values of 1.0 should be used for all binary
interaction parameters except for the entries in this table.

21
Table 7- Coefficients and Parameters of the Ideal-gas Heat Capacity Equations
0 0 ' 0
Compound ns n6 m
Methane 29.83843397 -15999.69151 4.00088 0.76315 0.00460 8.74432 --4.46921
Nitrogen 17.56770785 -2801.729072 3.50031 0.13732 -{).14660 0.90066 0.
Carbon dioxide 20.65844696 --4902.171516 3.50002 2.04452 -1.06044 2.03366 0.01393
Ethane 36.73005938 -23639.65301 4.00263 4.33939 1.23722 13.1974 -6.01989
Propane 44.70909619 -31236.63551 4.02939 6.60569 3.19700 19.1921 -8.37267
i-Butane 34.30180349 -38525.50276 4.06714 8.97575 5.25156 25.1423 16.1388
n-Butane 36.53237783 -38957.80933 4.33944 9.44893 6.89406 24.4618 14.7824
i-Pentane 43.17218626 -51198.30946 4. 11.7618 20.1101 33.1688 0.
n-Pentane 42.67837089 --45215.83 4. 8.95043 21.8360 33.4032 0.
n-Hexane 46.99717188 -52746.83318 4. 11.6977 26.8142 38.6164 0.
n-Heptane 52.07631631 -57104.81056 4. 13.7266 30.4707 43.5561 0.
n-Octane 57.25830934 -60546.76385 4. 15.6865 33.8029 48.1731 0.
n-Nonane 62.09646901 -66600.12837 4. 18.0241 38.1235 53.3415 0.
n-Decane 65.93909154 -74131.45483 4. 21.0069 43.4931 58.3657 0.
Hydrogen 13.07520288 -5836.943696 2.47906 0.95806 0.45444 1.56039 -1.3756
Oxygen 16.8017173 -2318.32269 3.50146 1.07558 1.01334 0. 0.
Carbon monoxide 17.45786899 -2635.244116 3.50055 1.02865 0.00493 0. 0.
Water 21.57882705 -7766.733078 4.00392 0.01059 0.98763 3.06904 0.
Hydrogen sulfide 21.5830944 -6069.035869 4. 3.11942 1.00243 0. 0.
Helium 10.04639507 -745.37500 2.5 0 0. 0. 0.
Argon 10.04639507 -745.37500 2.5 0 0. 0. 0.

Methane 820.659 178.410 1062.82 1090.53


Nitrogen 662.738 680.562 1740.06 0.
Carbon dioxide 919.306 865.070 483.553 341.109
Ethane 559.314 223.284 1031.38 1071.29
Propane 479.856 200.893 955.312 1027.29
i-Butane 438.270 198.018 1905.02 893.765
n-Butane 468.270 183.636 1914.10 903.185
i-Pentane 292.503 910.237 1919.37 0.
n-Pentane 178.670 840.538 1774.25 0.
n-Hexane 182.326 859.207 1826.59 0.
n-Heptane 169.789 836.195 1760.46 0.
n-Octane 158.922 815.064 1693.07 0.
n-Nonane 156.854 814.882 1693.79 0.
n-Decane 164.947 836.264 1750.24 0.
Hydrogen 228.734 326.843 1651.71 1671.69
Oxygen 2235.71 1116.69 o. 0.
Carbon monoxide 1550.45 704.525 0. 0.
Water 268.795 1141.41 2507.37 0.
Hydrogen sulfide 1833.63 847.181 0. 0.
Helium 0. 0. 0. 0.
Ar on 0. 0. 0. 0.

22
5 THERMODYNAMIC PROPERTIES FROM THE GROSS EQUATION OF STATE
5.1 Nomenclature

Binary interaction coefficients


BcH-CH, BcH-N2, BcH-coz, BN2-N2, BNz-coz, Bcoz-coz, Bif

Ternary interaction coefficients


CcH-CH-CH, CcH-CH-N2, CcH-CH-coz, CcH-N2-N2, CcH-coz-coz, CcH-NZ-coz,
CN2-N2-N2, CN2-N2-C02, CN2-C02-C02, Cco2-C02-C02, cijk

Coefficients
Bmix Second virial coefficient of the mixture (dm3/mol)
Cmix Third virial coefficient of the mixture (dm6/moF)
Bo,BI,Bz Coefficients in the second virial equation for the CH-CH interaction
Co, C1, Cz Coefficients in the third virial equation for the CH-CH interaction
bo, b1, bz, co, CJ, cz Constants in Table 8
b;o, bi!, ba, c;o, Ci!, ca Constants in Table 9

Properties
d Molar density (mol/dm3)
HCH Molar ideal gross heating value of the equivalent hydrocarbon (kJ/mol) at 25 °C
HN'i Molar ideal gross heating value of component i (kJ/mol) at 25 oc
N Number of components in the mixture


p Absolute pressure (MPa)
R Gas constant [J/(mol-K)]
T Absolute temperature (K)
XcH Mole fraction of the equivalent hydrocarbon
XN2 Mole fraction of nitrogen
Xc02 Mole fraction of carbon dioxide
X;,Xj,Xk Mole fractions of components i,j, and kin the mixture
z Compressibility factor

5.2 Equation of State for Compressibility Factor

The GROSS equation of state approximates a natural gas mixture by treating it as a mixture of three
components: an equivalent hydrocarbon component (i.e., a pseudo-hydrocarbon component), nitrogen, and carbon
dioxide. The equivalent hydrocarbon CH is used to collectively represent all the hydrocarbons found in the gas
mixture. Nitrogen and carbon dioxide are the diluent components.

The GROSS equation of state allows for the characterization of a natural gas by a number of different
methods. These methods include knowledge of the heating value, relative density, or mole fractions of the
components in the mixture. Two methods were available in the 1994 edition of AGA 8, labeled as Method 1 and
Method 2. Two additional methods have been added in this document to allow direct calculations from the GROSS
equation of state without the need for the iterative procedures required by Methods 1 and 2. These new methods
are labeled as Method 0 and Method 3. A description of each method and the required inputs are given below.

23
MethodO
Inputs: Mole fractions of the components in the mixture. 4
Method 0 allows for the direct calculation of the equivalent hydrocarbon heating value [HCH shown •
in Equation (5-9)] from composition. No iterative procedure is required to set up the method.
(This is the method that was used in the development of the GROSS equation of state, which was
subsequently published in 1990, see Reference [3]). The second and third virial coefficients are
calculated directly from HcH and the compositions of nitrogen and carbon dioxide. With the virial
coefficients, pressure and compressibility factor can be calculated as a function of density and
temperature. For inputs of pressure and temperature, the procedure described in Section 6 can be
used to obtain the density. Method 0 is the preferred method when a composition analysis is
available, and the DETAIL method cannot be used.

Method 1
Inputs: Volumetric heating value of the mixture, relative density (specific gravity), and the mole
fraction of carbon dioxide.
Method 1 requires an iterative procedure that determines the molar heating value of the equivalent
hydrocarbon HcH and the mole fraction of nitrogen from the inputs to this method. The iterative
method is given in Appendix A. Once HcH and XNz have been determined, pressures and
compressibility factors are calculated as done in Method 0. Reference conditions must be specified
for the relative density and volumetric heating value.

Method2
Inputs: Relative density and mole fractions of nitrogen and carbon dioxide.
Method 2 requires an iterative procedure that determines the molar heating value of the equivalent
hydrocarbon HCH. The iterative method is given in Appendix A. Once HcH has been determined,
pressures and compressibility factors are calculated as done in Method 0. Reference conditions (-
must be specified for the relative density. _

Method3
Inputs: Molar mass of the mixture and mole fractions of nitrogen and carbon dioxide.
Method 3 is similar to Method 0 except that the molar mass of the mixture is used as an input, and
the molar heating value of the equivalent hydrocarbon HcH is determined from the molar mass
through Equation (A-16), as explained in Appendix A. No iterative procedure is required to set
up the method, no reference state is needed, and all subsequent calculations are done as in
Method 0. The constants G1 and Gz in Equation (A-16) were determined in Reference [3] through
a fit of heating values as a function of molar mass, and properties are slightly less accurate than
those obtained with Method 0 through the use of a gas analysis. This method is useful for GROSS
equation of state applications where network bandwidth restrictions might prohibit the
transmission of the full compositional data to a gas flow computer in the field.

In Methods 1 and 2, the user may still find that the compositional analysis is available at some point
throughout the measurement process (see introduction to Section A.3). Method 0 (or 3) should then be used rather
than the methods given in Appendix A.

The GROSS equation of state calculates compressibility factors for natural gas that contain component
concentrations in the ranges given in Table 2. However, it should only be used for real natural gas, i.e., with heavy
hydrocarbon tail, and not for synthetic gas such as LNG (in which case the uncertainty estimate should be re-
assessed). Equations, constants, and parameters needed to calculate compressibility factors for natural gas mixtures
with the GROSS equation of state are presented in this section. An uncertainty discussion is given in Appendix B.

The GROSS equation of state is a virial type model. It is based on the work of Schouten et al. (1990) (see
Reference [3]). It is also known as the SGERG model (see Reference [4]), and should not be confused with the
GERG-2008 equation of state described in Part 2. The SGERG model was developed with SI units. These units
24
are used here for the purpose of maintaining continuity with the original work. The original formulation included
hydrogen and carbon monoxide as inputs for coke/oven gas applications. These gases rarely occur in North
American pipeline applications and are not included in this document.

A virial equation of state is a polynomial expansion in density, where the second virial coefficient B
determines the departure of Z from unity at low densities, the third virial coefficient C contributes more to the
departure of Z from an ideal gas state as density increases, and so on. Each density term is preceded by these virial
coefficients, which are functions of temperature and composition. The application of the virial equation of state
via the GROSS model truncates the virial equation for the compressibility factor after the third virial coefficient
term C. This truncation provides high accuracy calculations for natural gas pipeline transmission and distribution
conditions only at pressures up to the limit in Table 2.

The GROSS model expresses the compressibility factor in terms of the molar density d, the mixture second
virial coefficient Bnlix, and the mixture third virial coefficient Cnlix as given in the following equations:

Z = 1+ B nnx
.d + Cnnx. d 2 (5-1)
3 3
Bmix = LLBiixixJ (5-2)
i=I }=1

3 3 3
croix= _L_L_Lcijkxixjxk (5-3)
i=l J=l k=I


where Bii is the component interaction second virial coefficient for the iJ pair, CiJk is the component interaction
third virial coefficient for iJ,k, and Xi, x;, and Xk are the mole fractions of the gas components. The number of
components in the gas mixture is set to 3: the equivalent hydrocarbon, nitrogen, and carbon dioxide. The mole
fraction of the equivalent hydrocarbon is

(5-4)

The BiJ and CiJk terms in Equations (5-2) and (5-3) are the interaction virial coefficient terms. They are
temperature dependent functions. Expanding Equations (5-2) and (5-3) for Bmix and Croix identifies all the terms
needed to implement the SGERG model, given in the following equations:

Bmix = BcH-cHX~H + BN2 -N2 x~ 2 + BC02 -C02 X~o2


(5-5)
+ 2BcH-N2XcHXN 2 + 2BcH-C02 XcHXC0 2 + 2BN 2 -C02 XN 2Xco2

Cnnx. = CCH-CH-CH x CH
3
+ CN 2-N -N x N3 2 + CCOrC02-C0 x C0
2 2
3
2 2

+ 3CcH-CH-N2 X~HXN 2 + 3CCH-CH-C02X~HXC02


+ 3CCH-N 2-N 2XcHX~ 2 + 3CCH-C02 -C02 XcHX~0 2 (5-6)

+ 3CN 2 -N2-C0 2 X~ 2 XC02 + 3CNz-C0 2 -C02 XN 2 X~02


+ 6CCH-N2 -C02 XcHXN2 Xcoz

The following sections provide the equations needed to compute the second and third virial interaction terms for
Equations (5-5) and (5-6).

25
5.3 Interaction Virial Coefficient Terms for Nitrogen and Carbon Dioxide
The B1; values for the terms involving only nitrogen and carbon dioxide are expressed in dm3/mol and are
given by

(5-7)

where values for bo, bt, and bz are given in Table 8, and Tis the temperature in kelvins. Similarly, the Cifk values
for the terms involving only nitrogen and carbon dioxide are expressed in dm6/moF, and are given by

(5-8)

where values for co, c1, and cz are also given in Table 8.

Table 8- Interaction Virial Coefficient Terms for Nitrogen and Carbon Dioxide
Bif Binary set
Nz-Nz -0.1446 0.740910xlQ-3 -0.911950xl0-6
Nz-COz -0.339693 0. I 61176x 1o-2 -0.204429x I0-5
COz-COz -0.86834 0.403760x w-2 -0.516570x I o-5

Cifk Ternary set co (dm6/mol 2) c1 [dm6/(mol2·K)] cz [dm6/(moJ2-K2)]


Nz-Nz-Nz 0. 784980x I o-2 -0.398950x1Q-4 0.611870x I0-7
Nz-Nz-COz 0.552066xJ0-2 -0.168609xi0-4 0.157169xJ0-7
Nz-COz-COz 0.358783x1Q-2 0. 806674x 1o-5 -0.325798x1Q-7
COz-COz-COz 0.205130xJ0-2 0.348880x J0-4 -0.837030x w-7

5.4 Interaction Virial Coefficient Terms for the Equivalent Hydrocarbon (


The only remaining virial coefficient terms needed to compute the compressibility factor of a natural gas
from Equations (5-1), (5-5), and (5-6) are the quantities involving the equivalent hydrocarbon CH. The second and
third interaction virial coefficients for the equivalent hydrocarbon must be calculated from the molar ideal gross
heating value of the equivalent hydrocarbon (HcH in k:J/mol at 25 °C). When a gas analysis is available, the molar
gross heating value HCH can be determined as

HCH ~ [ t,x;HN,' (25 °C)} XcH, (5-9)

where HNi is the gross component molar heating value (for the ideal gas) in k:J/mol at 25 oc and is available in
AGA 5, Natural Gas Energy Measurement, GPA 2172, Calculation of Gross Heating Value, Relative Density,
Compressibility and Theoretical Hydrocarbon Liquid Content for Natural Gas Mixtures for Custody Transfer, or
ISO 6976, Natural Gas- Calculation of Calorific Values, Density, Relative Density and Wobbe Index from
Composition. When the gas composition is not known, the value of HCH must be determined by one of the methods
summarized in Appendix A.
The equations for the second and third interaction virial coefficients for the equivalent hydrocarbon are

(5-10)

CcH-CH-CH = Co + CIHCH + C2H~H' (5-11)

where Bo, B1, Bz, Co, C1, and Cz are temperature dependent functions defined as

B; = b;o +bnT +b;2T 2 , i = 0,1,2 and (5-12)

(5-13)
t
26
The constants inEquations (5-12) and (5-13) are given in Table 9.

Table 9 - Virial Coefficient Terms for the Equivalent Hydrocarbon


b;o hi! bi2
Bo (dm3/mo1) 0 -0.425468 0.286500x 1o-2 --0.462073xl0-5
B1 [dm3/(mo1·K)] 1 0.877118xi0-3 --0.556281xio-5 0.881510xl0-8
B2 [dm3/(mo1-K2 )] 2 --0.824747xl0-6 0.431436xio-s -0.608319x w-ll

CiO Ci1 Ci2


Co (dm6/mol2) 0 --0.302488 0.19586lxlo-2 --0.316302xlo-5
6
C1 [dm /(moF·K)] 1 o.646422x w-3 -0.422876x w-5 0.688157xl0-8
6 2 2 --0.332805xi0-6 0.223160xio-8 -0.367713xl0-11
C2 [dm /(mol ·K )] 2

The interaction second virial coefficient term for the equivalent hydrocarbon CH with nitrogen N2 is
calculated as

(5-14)

where Tis given in kelvins. For the equivalent hydrocarbon CH with carbon dioxide C02, the relation is

(5-15)

The interaction third virial coefficient terms for nitrogen and carbon dioxide are calculated with the
following equations:

ccH-CH-N 2 = [0.92 + o.oo 13(r- 210)](c~H-CH-CHcN 2 -N2 -N2 f (5-16)

ccH-N2-N2 = [0.92 + 0.0013(T- 270)](ccH-cH-cHC~2-N2-N2 f (5-17)

(5-18)

cCH-C0 2-C02 =092(cCH-CH-CH CC02-C02-C0 ~


2
· 2 }
(5-19)

(5-20)

The equation for calculating the pressure with the GROSS equation of state is obtained by substituting
Equation (5-1) into Equation (2-5), resulting in

(5-21)

The derivative of pressure with respect to density is useful in iterative routines to determine the density
with pressure and temperature inputs, as given by

BP)
( ad = RT(l + 2Brrrix d + 3Cmix d 2 ). (5-22)
r

Section 6 describes an iterative method to obtain the density in the equation of state.

27
6 COMPUTATION OF DENSITIES AND COMPRESSffiiLITY FACTORS
~

Flow rate calculations for gas metering applications typically require values of both the compressibility
factor Z at the flowing temperature and pressure, along with the compressibility factor at base conditions Zb. This
calculation requires first the determination of the density at flowing conditions. Procedures for these computations
'
for the DETAIL and GROSS equations of state are given below and in the supplementary material for this
document.

6.1 Iterative Procedure to Determine Density from Temperature and Pressure

There are many types of iterative methods that could be implemented to determine density, which is an
independent variable (along with temperature) in the equation of state. Each has advantages (such as bounded
regions that guarantee a root) and disadvantages (such as low speed of calculation or non-bounded procedures).
The iterative process in the supplementary material uses a Newton's method for rapid convergence. Because
pressures and densities can be very small values, the natural log of these values is used.

The iterative method starts with the calculation of density from the ideal-gas law, given the input
temperature and pressure, and then converts it to the logarithm of the specific volume,

Vln =-In(d)= In( RJ;nputJ , (6-1)


pinput

where VIn = ln(v). With the calculated density, the pressure used in the iteration (labeled Peale here) is calculated
from either the DETAIL or GROSS equation of state, along with the first partial of pressure with respect to density.
From Newton's method, a new density (or logarithm of the specific volume in this case) is calculated from the
difference between the calculated and known values of pressure and the partial derivative, ~··
vln,new = vln,old- {a[In(P )] T [In(~a!J-In (pinput)~'j,
a[In(v)]} (6-2)

where

a[In(v)]} _
{ o[ln(P)] T -~ oP
P(8v) _ p(ap)-l (6-3)
T -- d od T

The density is updated from Vin,new as


d= exp(-vln,new ). (6-4)

The variable VJn,old is replaced with the new calculated value VJn,new, and the iteration continues until the difference
in the pressures is less than some tolerance value.

28
6.2 Computer Programs for the Calculation of Properties
~-
/JZAi

:{i....•.
.. The two equations of state (DETAIL and GROSS) have been incorporated into efficient computer
programs to compute the compressibility factor Z, the molar density d, the mass density p, and the
supercompressibility factor Fpv· For the DETAIL method, the other thermodynamic variables given in Section 5
are also calculated. The computer programs can be used for the following purposes:

• direct use in the computation of Z, d, p, and Fpv,


• as a guide for the development of subroutines for computations of these properties for incorporation in
other computer code, such as orifice flow computer programs,
• for verification purposes when new flow programs are developed, and
• to produce tabulations of Z, p, or Fpv for different gas mixture compositions.

The computer programs and their documentation are given in Appendix C and the supplementary material
for this document. Tables of computed compressibility factors are provided for the DETAIL and GROSS equations
of state in Appendix B and in the supplementary material. These tables can be used to verify computer programs.
The tables cover a wide range of gas types.

29
7 ASSIGNMENT OF TRACE COMPONENTS

In order to calculate the thermodynamic properties of a natural gas or similar mixture that contains
components that do not appear in Table 1, it is necessary to assign each component to one of the 21 major or minor
components for which the DETAIL equation of state was developed. Recommendations for appropriate
assignments are given in Table 10. Each recommendation is based on an assessment of which substance is likely
to give the lowest overall uncertainty for the complete set of thermodynamic properties. Because, no single
assignment is likely to be equally satisfactory for all properties, it is reasonable that the user may prefer an
alternative assignment for a particular application in which, for example, only a single property is needed.
Implementations that include assignments for trace components need to be carefully documented.

30
(.
l{
-~-
Table 10 -Assignment of Components for Single-phase

Component
Thermodynamic ProEerties Only

2,2-Dimethylpropane (N eopentane)
Formula

CsH12
Recommended
assignment
n-Pentane
2-Methylpentane C6H!4 n-Hexane
3-Methylpentane C6H!4 n-Hexane
2,2-Dimethylbutane C6H!4 n-Hexane
2,3-Dimethylbutane C6H!4 n-Hexane
Ethylene (Ethene) CzH4 Ethane
Propylene (Propene) C3H6 Propane
!-Butene C4Hs n-Butane
cis-2-Butene C4Hs n-Butane
trans-2-Butene C4Hs n-Butane
2-Methylpropene C4Hs n-Butane
1-Pentene CsH1o n-Pentane
Propadiene C3H4 Propane
1,2-Butadiene C4H6 n-Butane
I ,3-Butadiene C4H6 n-Butane
Acetylene (Ethyne) CzHz Ethane
Cyclopentane CsH1o n-Pentane
Methylcyclopentane C6H12 n-Hexane
Ethylcyclopentane C7H14 n-Heptane
Cyclohexane C6H12 n-Hexane
Methylcyclohexane C7Hl4 n-Heptane
Ethylcyclohexane CsH16 n-Octane ,,I
'II
Benzene C6H6 n-Pentane

~(· ."<"\..-
Toluene (Methylbenzene)
Ethylbenzene
C7Hs
CsH10
n-Hexane
n-Heptane
,,,111

a-Xylene CsH10 n-Heptane


All other C6 hydrocarbons n-Hexane
All other C7 hydrocarbons n-Heptane
All other C8 hydrocarbons n-Octane
All other C9 hydrocarbons n-Nonane
All other C 10 hydrocarbons n-Decane
All higher hydrocarbons n-Decane
Methanol (Methyl alcohol) CH40 Ethane
Methanethiol (Methyl mercaptan) CH4S Propane
Ammonia NH3 Methane
Hydrogen cyanide CHN Ethane
Carbonyl sulfide (Carbon oxysulfide) cos n-Butane
Carbon disulfide CSz n-Pentane
Sulfur dioxide SOz n-Butane
Nitrous oxide NzO Carbon dioxide
Neon Ne Argon

31
8 REFERENCES

1 Starling, K.E., R.T Jacobsen, S.W. Beyerlein, C.W. Fitz, W.P. Clarke, E.W. Lemmon, Y.C. Chen, and
E. Rondon, GRI High Accuracy Natural Gas Equation of State for Gas Measurement Applications-1991
Revision of A.G.A. No.8 Equation, Technical Reference Document, GRI-91/0184, 1991.

2 Savidge, J.L., S.W. Beyerlein, and E.W. Lemmon, Technical Reference Document for the 2nd Edition of
AGA Report Number 8, GRI-93/0181, 1993.

3 Schouten, J.A., J.P.J. Michels, and M. Jaeschke, Calculation of the Compressibility Factor of Natural Gases
Based on the Calorific Value and the Specific Gravity, Int. J. Thermophys., 11(1):145-156, 1990.

4 Jaeschke, M. and A.E. Humphreys, GERG Technical Monograph 5, Fortschritt-Berichte VDI Reihe 6, No.
266, 1991.

5 Lemmon, E.W., Better Defining the Uncertainties for the AGA 8 Equation, Catalog No. PR-381-12604-R01,
Pipeline Research Council International, Inc., 2013.

6 Lemmon, E.W., M.L. Huber, and M.O. McLinden, NIST Standard Reference Database 23: Reference Fluid
Thermodynamic and Transport Properties-REFPROP, Version 9.1, National Institute of Standards and
Technology, Standard Reference Data Program, Gaithersburg, 2013.

7 Lemmon, E.W., M.O. McLinden, and W. Wagner, Thermodynamic Properties ofPropane. III. A Reference
Equation of State for Temperatures from the Melting Line to 650 K and Pressures up to 1000 MPa, J. Chern.
Eng. Data, 54:3141-3180,2009.

8 Lemmon, E.W. and K.E. Starling, Speed of Sound and Related Thermodynamic Properties Calculated from
the AGA Report No.8 Detail Characterization Method Using a Helmholtz Energy Formulation, proceedings
of the American Gas Association Conference and Biennial Exhibition, 2003.

9 Jaeschke, M. and P. Schley, Ideal-gas Thermodynamic Properties for Natural-Gas Applications, Int. J.
Thermophysics, 16, 1381-1392, 1995.

10 AGA Report No. 10, Speed of Sound in Natural Gas and Other Related Hydrocarbon Gases, Transmission
Measurement Committee.

11 Schouten, J. and J. Michels, Evaluation of the PVT Reference Data on Natural Gas Mixtures, Gas Research
Institute, 1992.

12 Jaeschke, M. and A.E. Humphreys, GERG Databank of High Accuracy Compressibility Factor
Measurements, GERG Technical Monograph 4, Fortschritt-Berichte VDI Reihe 6, No. 251, 1990.

13 Younglove, B.A., N.V. Frederick, and R.D. McCarty, Speed of Sound Data and Related Models for Mixtures
ofNatural Gas Constituents, NIST Monograph 178, 1993.

32
APPENDIX A- GROSS EQUATION OF STATE

(Informative)
A.l Nomenclature

Bmix Second virial coefficient of the mixture (dm3/mol)


Cmix Third virial coefficient of the mixture (dm6/mol2)
d Molar density (molldm3)
Gr Relative density (specific gravity) of the mixture
G1, G2 Constants used in the relation between MCH and HCH
HcH Molar ideal gross heating value of the equivalent hydrocarbon (kJ/mol) at 25 °C
liN' Molar ideal gross heating value (kJ/mol) at 25 oc
HV Volumetric gross heating value (MJ/m3)
M Molar mass (molecular weight) (g/mol)
McH Molar mass of the equivalent hydrocarbon (g/mol)
MN2 Molar mass of nitrogen (28.0135 g/molt)
Mcm Molar mass of carbon dioxide (44.01 g/molt)
p Absolute pressure (MPa)
Pa Reference pressure for molar density (MPa)
Pgr Reference pressure for relative density (MPa)
R Gas constant [8.31451 J/(mol·K)t]
T Absolute temperature (K)
Ta Reference temperature for molar density (K)
Tgr Reference temperature for relative density (K)
(~·
',,,~~
Th
XcH
Reference temperature for heating value (K)
Mole fraction of the equivalent hydrocarbon
XN2 Mole fraction of nitrogen
Xc02 Mole fraction of carbon dioxide
X; Mole fraction of component i in the gas mixture
z Compressibility factor
p Mass density (kg!m3)

IThe values given do not represent the most current scientific values, but are used here to conform with the 1994 edition of AGA 8 so that
calculated property values match the original equation.

A.2 Reference Conditions

When a body of information has been developed for a quantity such as the molar heating value at specific
conditions of temperature and pressure, it is common to refer to these as the reference conditions. In the gas
industry, reference conditions are also commonly referred to as base conditions, normal conditions, standard
conditions, etc.

A number of specific temperature-pressure conditions are used for reference conditions for natural gas
volumetric properties (density, specific volume, or compressibility factor) as outlined in AGA 5, Natural Gas
Energy Measurement, and GPA 2172, Calculation of Gross Heating Value, Relative Density, Compressibility and
Theoretical Hydrocarbon Liquid Content for Natural Gas Mixtures for Custody Transfer. In the U.S. gas industry,
the reference conditions that are the basis for a gas contract are commonly referred to as the base conditions. For
inter-state custody transfer, the reference conditions/base conditions are 60 op and 14.73 psia. In much of Europe,
the reference conditions 15 oc and 0.101325 MPa are referred to as standard conditions, and the reference
conditions 0 oc and 0.101325 MPa are commonly referred to as normal conditions. The reference conditions for
tabulations of the supercompressibility factor FflV are 60 °F and 14.73 psia. Because there is a plethora of choices

33
for reference conditions as well as names such as standard conditions, normal conditions, and base conditions, the
temperature and pressure reference conditions should be clearly specified.
(
The reference conditions 25 oc and 0.101325 MPa are commonly used in the scientific literature for
experimental data tabulations of molar enthalpies of formation of compounds from the elements. The molar
enthalpies of formation of the compounds involved in combustion are used for calculations of component molar
heating values at the reference conditions. A molar heating value for a compound at specified conditions that is
different from the reference conditions can then be determined from the molar heating value at the reference
conditions plus the enthalpy difference between the two conditions for the stoichiometric amounts of the
compounds involved in the combustion reaction.

The volumetric heating value is the molar heating value multiplied by the molar density. Separate reference
conditions occur for the volumetric heating value when the reference conditions are different for the molar heating
value and the molar density. Therefore, the reference conditions for both the molar heating value and the molar
density must be specified to obtain the volumetric heating value.

When the complete compositional analysis of the natural gas is not known, heating values of reliable
accuracy can be measured with combustion calorimeters. Natural gas heating values can also be estimated from
limited characterization information such as relative density, nitrogen content, and carbon dioxide content,
although the resulting estimates of heating values generally have greater uncertainties than measurements from
combustion calorimeters or calculations with complete compositional analyses.

A.3 GROSS Equation of State Computation Procedures

The methods for use of the GROSS equation of state have been changed in this edition. Because the gas
composition is often available for use in calculations of thermodynamic properties, the methods given below are
not required and one can proceed directly to the calculation of compressibility factor through the use of Method 0
outlined in Section 5 without the use of the gross volumetric heating value or relative density. In cases where a
gas analysis is not available, either Method 1 or 2 given below is required to obtain the HcH value needed in
Equations (5-10) and (5-11) of the GROSS equation of state. These methods can be implemented when two
particular sets of three of the following four characterization parameters are available:
* volumetric gross heating value
*relative density (specific gravity)
* mole fraction of nitrogen
* mole fraction of carbon dioxide
Method 1 is used for inputs of heating value, relative density, and carbon dioxide content. Method 2 is
used for inputs of relative density, nitrogen content, and carbon dioxide content. Iterative procedures are required
to obtain the necessary parameters in the SGERG model with Methods 1 and 2. These procedures are based on
satisfying rigorous mole, mass, and energy balance equations. General equations specific to both models are given
below, and the details of the methods are explained in Sections A.3.1 and A.3.2.

One additional method, Method 3, is available when only the molar mass of the mixture and the mole
fractions of nitrogen and carbon dioxide are available. This method is not iterative, and is mostly identical to
Method 0, except in the calculation of the molar heating value of the equivalent hydrocarbon.

34
The volumetric gross heating value HV is the product of the molar ideal gross heating value~ and the
real molar density d of the gas mixture,
"/.<
!(,\

(A-1)

The reference conditions Th for the molar gross heating value may differ from the reference conditions Td
and Pd for the molar density. Th, Td, and Pd must be specified to obtain the reference conditions for the volumetric
heating value.

The molar ideal gross heating value ~ at 25 oc is


(A-2)

where Tis given in kelvins and Z is the compressibility factor at the reference conditions Td and Pd. This is only
an approximate equation for natural gas. In this equation, the volumetric gross heating value HV is given in
MJ/m3 at the reference conditions Th and the real molar density at the mixture reference conditions Td and Pd·
AGA 5, Natural Gas Energy Measurement, should be consulted for additional information on heating values and
reference states.

The relative density (specific gravity) Gr at the reference conditions Tgr and Pgr is defined by the relation

(A-3)

i{~· where Preris the real mass density of the reference fluid (previously defined as that for air, see GPA 2145, Table
.."'~ of Physical Properties for Hydrocarbons and Other Compounds of Interest to the Natural Gas Industry, for
additional information), Tgr is the reference temperature, and Pgr is the reference pressure. (The reference
conditions indicated with a subscript "gr" are generally the same as those labeled with the subscript "d", but used
here for situations where the two are not identical.) In this relation for Gr(Tgr, Pgr), both the gas mixture density
p(Tgr, Pgr) and the reference density Pref(Tgr, Pgr) must be at the same temperature-pressure conditions Tgr andPgr.
From Equation (2-6) for the real mass density of both the gas mixture and reference fluid, the following relation
results

(A-4)

The relative density is not a constant but varies with both Tgr and Pgr· The molar mass of the reference
fluid Mreris 28.9625 g/mol. The molar mass (molecular weight) M of the mixture can be estimated from Equation
(A-4) as a function of the relative density with the relation

M = G
r
(rgr' Pgr )zfr P )
~ gr' gr p
28.9625 glmol , (A-5)
1+~(-0.12527 +5.9lxl0- 4 Tg, -6.62xl0· 7
RTgr
r:J
where the equation in parenthesis in the denominator represents the second virial coefficient of the reference fluid
(air in this situation).

35
A.3.1 Method 1. Volumetric Gross Heating Value, Relative Density, and Mole Fraction of C02

The procedures for calculating the ideal molar gross heating value of the equivalent hydrocarbon HcH and
the nitrogen mole fraction XNz based on inputs of volumetric gross heating value, relative density, and mole fraction
f
of carbon dioxide is outlined below.

The compressibility Z is initially set to 1, and the molar ideal gross heating value Hft> at 25 oc is calculated
from Equation (A-2). The molar mass M is calculated from Equation (A-5). The mole fraction of the equivalent
hydrocarbon is

(A-6)

where G1 =-2.709328 g/mol and Gz=0.021062199 g/k:J. The mole fraction ofnitrogenxN2 is

(A-7)

The molar gross heating value of the equivalent hydrocarbon HCH is

(A-8)

BcH-CHis calculated with this value from Equation (5-10), and Bmix is calculated with Equation (5-2). The
compressibility factor is then updated as (

B.P
Z =1+ nux gr (A-9)
new RT
gr

The calculation procedure is iterative. These equations are repeated, replacing Z with Znew iteratively until the
absolute value of (Z/Znew- 1) is less than the convergence criterion (5x 10·11 in double precision or 5x 10·7 in single
precision). This is not a rigorous calculation for the compressibility factor because it does not include the third
virial coefficient Cmix; however, this contribution is mostly negligible near atmospheric pressure.

A.3.2 Method 2. Relative Density and Mole Fractions of N2 and C02

The procedure for calculating the heating value of the equivalent hydrocarbon HcH based on inputs of
relative density at the reference conditions Tgr and Pgr and mole fractions ofNz and COz is outlined below. In this
method the mole fraction of the equivalent hydrocarbon XcH is determined by

(A-10)

The molar mass of the equivalent hydrocarbon McH is

- M -xN2 MN 2 -Xco2 Mco2


M CH- (A-ll)
XcH

where the molar mass of the mixture M is calculated from Equation (A-5) with an initial value for the
compressibility factor Z set to 1.

36
The molar gross heating value of the equivalent hydrocarbon HCH is

(A-12)

where G1 =-2.709328 g/mol and Gz=0.021062199 g/kJ. BcH-CH is calculated with Equation (5-10) and Brrux is
calculated with Equation (5-2). The compressibility factor is then updated as

Z = 1+ B.Pgr
ITI1X (A-13)
new RT
gr

The calculation procedure is iterative. These equations are repeated, replacing Z with Znew iteratively until the
absolute value of (Z/Znew- 1) is less than the convergence criterion (5x10- 11 in double precision or 5x 10-7 in single
precision). This is not a rigorous calculation for the compressibility factor because it does not include the third
virial coefficient Cm1x; however, this contribution is mostly negligible near atmospheric pressure.

The molar heating value can be calculated with

(A-14)

A.3.3 Method 3. Molar Mass and Mole Fractions of N2 and C02

The procedure for calculating the heating value of the equivalent hydrocarbon HcH based on inputs of

ell molar mass M and mole fractions ofNz and COz is outlined below. In this method the molar mass of the equivalent
hydrocarbon McH is

- M -xN 2 MN 2 -Xco2 Mco 2


M CH- (A-15)
l-xN2 -Xco2

The molar gross heating value of the equivalent hydrocarbon HcH is

H - McH-GI (A-16)
CH- G '
2

where G1 =-2.709328 g/mol and Gz=0.021062199 g/k:J.

37
APPENDIX B- EXAMPLES AND COMPARISON TO MEASUREMENTS

(Informative)
B.l Nomenclature

AAD Average absolute deviation


BIAS Bias
N Number of data points
RMS Root mean squared deviation
Std. Dev. Standard deviation
z Compressibility factor
Zcalc Calculated compressibility factor
Zmff Relative percentage difference between calculated and experimental compressibility factors
Zctiff,i Zctiff for the ith data point
(Zmff)max Maximum value of Zctiff
Zexp Experimental compressibility factor

B.2 Calculation Examples

This appendix provides example calculations that can be used to verify computer programs. Table B.l
provides five reference natural gas compositions. Relative densities and volumetric gross heating values at 60 op
and 14.73 psia calculated from the compositions given in Table B.l are given in Table B.2. Tables B.3 and B.4
provide computed compressibility factors from the DETAIL and GROSS equations of state for the compositions
in Table B.l at various temperatures and pressures that can be used to verify calculations, and Table B.5 provides '.·.··..
values for the speed of sound. The Excel worksheet used to generate the outputs is given in the supplementary •
material.

Table B.l -Compositions of Natural Gas in Mole Percent


Component mole percent
Component Gulf coast Amarillo Ekofisk HighNz HighCOz-Nz
Methane 96.5222 90.6724 85.9063 81.441 81.212
Nitrogen 0.2595 3.1284 1.0068 13.465 5.702
Carbon dioxide 0.5956 0.4676 1.4954 0.985 7.585
Ethane 1.8186 4.5279 8.4919 3.3 4.303
Propane 0.4596 0.828 2.3015 0.605 0.895
i-Butane 0.0977 0.1037 0.3486 0.1 0.151
n-Butane 0.1007 0.1563 0.3506 0.104 0.152
i-Pentane 0.0473 0.0321 0.0509 0.0 0.0
n-Pentane 0.0324 0.0443 0.048 0.0 0.0
n-Hexane 0.0664 0.0393 0.0 0.0 0.0

38
Table B.2- Input and Internal Values for the Gases in Table B.l for the GROSS Equation of State

li,i, U.S. customa~unitst


Inputs for Method 1
Gulf coast Amarillo Ekofisk HighNz High COz-Nz

HV (BTU/ft3) 1036.04 1034.84 1108.10 906.634 933.075


Gr 0.581047 0.608632 0.649485 0.644855 0.685939
COz (mole%) 0.5956 0.4676 1.4954 0.985 7.585
Intermediate values for Method 1
HCH (kJ/mol) at 25 °C 917.201 942.046 996.948 930.347 944.254
HN° (kJ/mol) at 25 °C 909.542 908.413 972.294 796.127 819.022

Inputs for Method 2


Gr 0.581047 0.608632 0.649485 0.644855 0.685939
Nz (mole%) 0.2595 3.1284 1.0068 13.465 5.702
COz (mole%) 0.5956 0.4676 1.4954 0.985 7.585
Intermediate values for Method 2
HcH (kJ/mol) at 25 °C 917.092 941.910 996.812 930.205 944.110
HN° (kJ/mol) at 25 °C 909.250 908.039 971.870 795.790 818.667

SI unitst
Inputs for Method 1
HV(MJ/m3} 40.7259 40.6797 43.5627 35.6381 36.6798
Gr 0.581202 0.608804 0.649717 0.645006 0.686144
COz (mole%) 0.5956 0.4676 1.4954 0.985 7.585
Intermediate values for Method 1
HCH (kJ/mol) at 25 °C 917.200 942.049 996.951 930.348 944.256


HN° (kJ/mol) at 25 °C 909.539 908.418 972.297 796.129 819.024
,:,i,
's,
Inputs for Method 2
Gr 0.581202 0.608804 0.649717 0.645006 0.686144
Nz (mole%) 0.2595 3.1284 1.0068 13.465 5.702
COz (mole%) 0.5956 0.4676 1.4954 0.985 7.585
Intermediate values for Method 2
HCH (kJ/mol) at 25 °C 917.093 941.911 996.814 930.206 944.113
HN' (kJ/mol) at 25 °C 909.251 908.040 971.872 795.791 818.669
tHV is the volumetric gross heating value and G, is the relative density. The reference conditions for the U.S. customruy units section is 60 op and 14.73
psia for both the heating value and density. For the SI section, reference conditions are 15 oc for heating value and 0 oc and 0.101325 MPa for density.

39
'I
I

Table B.3- Natural Gas Col11£ressibility Factors for Program Verification Purposes in U.S. Customary Unitst
Tem_Q. {°FJ Pressure ~sia) Gulf coast Amarillo Ekofisk HighNz HighCOz-Nz

DETAIL equation ofstate


32 14.73 0.997406 0.997302 0.996780 0.997670 0.997207
f
32 600 0.893928 0.889390 0.864910 0.906452 0.884920
32 1200 0.795680 0.786763 0.733467 0.823883 0.776728
60 14.73 0.997858 0.997771 0.997327 0.998089 0.997692
60 600 0.914141 0.910480 0.890563 0.924700 0.906897
60 1200 0.837692 0.830705 0.789205 0.860575 0.822957
100 14.73 0.998363 0.998294 0.997938 0.998556 0.998233
100 600 0.935904 0.933136 0.917786 0.944418 0.930426
100 1200 0.881410 0.876265 0.845491 0.899227 0.870585
150 14.73 0.998828 0.998776 0.998499 0.998985 0.998730
150 600 0.955278 0.953263 0.941741 0.962006 0.951272
150 1200 0.919249 0.915582 0.893106 0.932968 0.911491

GROSS equation ofstate, Method 0


32 14.73 0.997407 0.997308 0.996791 0.997680 0.997220
32 600 0.893976 0.889647 0.865184 0.906836 0.885302
32 1200 0.795667 0.787231 0.733689 0.824222 0.776972
60 14.73 0.997853 0.997770 0.997329 0.998094 0.997699
60 600 0.914052 0.910564 0.890645 0.924988 0.907231
60 1200 0.837501 0.830909 0.789388 0.860987 0.823588
100 14.73 0.998359 0.998293 0.997940 0.998556 0.998237
100 600 0.935894 0.933255 0.918041 0.944561 0.930807
100 1200 0.881489 0.876630 0.846140 0.899552 0.871580
150 14.73 0.998813 0.998764 0.998496 0.998966 0.998719
150 600 0.954836 0.952923 0.941684 0.961385 0.951013
150 1200 0.918522 0.915055 0.892924 0.931925 0.911233
GROSS equation ofstate, Method 1
32 14.73 0.997407 0.997309 0.996792 0.997681 0.997221
{
32 600 0.894010 0.889697 0.865248 0.906878 0.885351
32 1200 0.795735 0.787330 0.733828 0.824302 0.777070
60 14.73 0.997854 0.997771 0.997330 0.998094 0.997700
60 600 0.914080 0.910603 0.890695 0.925021 0.907269
60 1200 0.837554 0.830986 0.789489 0.861051 0.823663
100 14.73 0.998359 0.998294 0.997941 0.998556 0.998238
100 600 0.935915 0.933285 0.918079 0.944586 0.930836
100 1200 0.881529 0.876686 0.846211 0.899599 0.871635
150 14.73 0.998814 0.998765 0.998497 0.998966 0.998720
150 600 0.954851 0.952945 0.941711 0.961404 0.951034
150 1200 0.918550 0.915095 0.892976 0.931958 0.911273
GROSS equation ofstate, Method 2
32 14.73 0.997409 0.997311 0.996795 0.997682 0.997222
32 600 0.894074 0.889781 0.865355 0.906947 0.885432
32 1200 0.795871 0.787510 0.734070 0.824446 0.777247
60 14.73 0.997855 0.997773 0.997332 0.998096 0.997701
60 600 0.914133 0.910673 0.890781 0.925079 0.907336
60 1200 0.837664 0.831130 0.789676 0.861167 0.823803
100 14.73 0.998360 0.998295 0.997943 0.998557 0.998239
100 600 0.935956 0.933339 0.918145 0.944631 0.930887
100 1200 0.881612 0.876794 0.846348 0.899688 0.871739
150 14.73 0.998814 0.998766 0.998498 0.998967 0.998721
150 600 0.954882 0.952985 0.941760 0.961437 0.951073
150 1200 0.918610 0.915174 0.893075 0.932024 0.911349
t Inputs to GROSS Methods I and 2 come from Table B.2.

t I

40
,,;. Table B.4- Natural Gas Compressibility Factors for Program Verification Purposes in SI unitst
Temp. ("C) Pressure (MPa)
DETAIL equation ofstate
0 0.101325
Gulf coast

0.997412
Amarillo

0.997308
Ekofisk

0.996787
HighNz

0.997675
High COz-Nz

0.997214
0 6 0.847589 0.840933 0.803397 0.866943 0.834033
0 12 0.734037 0.723739 0.657514 0.774260 0.709585
20 0.101325 0.997975 0.997893 0.997469 0.998197 0.997818
20 6 0.885078 0.880119 0.852050 0.900309 0.875026
20 12 0.802268 0.794318 0.743111 0.833366 0.783867
40 0.101325 0.998409 0.998343 0.997994 0.998599 0.998283
40 6 0.912380 0.908558 0.886634 0.924793 0.904631
40 12 0.851843 0.845670 0.805678 0.876739 0.837684
60 0.101325 0.998749 0.998695 0.998405 0.998913 0.998646
60 6 0.932930 0.929919 0.912304 0.943293 0.926803
60 12 0.888883 0.884020 0.852060 0.909387 0.877727

GROSS equation ofstate, Method 0


0 0.101325 0.997413 0.997314 0.996799 0.997685 0.997226
0 6 0.847622 0.841279 0.803620 0.867395 0.834411
0 12 0.733669 0.724320 0.658976 0.773499 0.709644
20 0.101325 0.997971 0.997892 0.997471 0.998201 0.997824
20 6 0.884997 0.880284 0.852208 0.900708 0.875566
20 12 0.801569 0.794289 0.743900 0.833122 0.784805
40 0.101325 0.998405 0.998342 0.997997 0.998598 0.998287
40 6 0.912424 0.908792 0.887075 0.925005 0.905262
40 12 0.851503 0.845778 0.806486 0.876561 0.838982
60 0.101325 0.998739 0.998687 0.998404 0.998899 0.998641
60 6 0.932603 0.929746 0.912462 0.942796 0.926851
60 12 0.887985 0.883426 0.851833 0.908201 0.877932

••
\'::1,
''
GROSS equation of state, Method 1
0
0
0 12
0.101325
6
0.997413
0.847673
0.733747
0.997315
0.841351
0.724430
0.996800
0.803717
0.659123
0.997686
0.867455
0.773593
0.997227
0.834482
0.709753
20 0.101325 0.997971 0.997893 0.997472 0.998202 0.997825
20 6 0.885036 0.880337 0.852276 0.900752 0.875618
20 12 0.801630 0.794373 0.744008 0.833194 0.784888
40 0.101325 0.998406 0.998342 0.997998 0.998599 0.998288
40 6 0.912453 0.908833 0.887126 0.925039 0.905302
40 12 0.851551 0.845844 0.806569 0.876617 0.839047
60 0.101325 0.998739 0.998688 0.998405 0.998899 0.998641
60 6 0.932626 0.929778 0.912502 0.942823 0.926883
60 12 0.888023 0.883478 0.851902 0.908245 0.877985

GROSS equation of state, Method 2


0 0.101325 0.997415 0.997317 0.996802 0.997688 0.997229
0 6 0.847768 0.841479 0.803884 0.867559 0.834606
0 12 0.733921 0.724663 0.659413 0.773781 0.709983
20 0.101325 0.997973 0.997894 0.997474 0.998203 0.997826
20 6 0.885110 0.880436 0.852401 0.900833 0.875712
20 12 0.801767 0.794556 0.744237 0.833341 0.785065
40 0.101325 0.998407 0.998344 0.998000 0.998600 0.998289
40 6 0.912512 0.908910 0.887222 0.925103 0.905376
40 12 0.851659 0.845988 0.806747 0.876734 0.839185
60 0.101325 0.998740 0.998689 0.998406 0.998900 0.998642
60 6 0.932673 0.929840 0.912579 0.942875 0.926942

1;.
60 12 0.888109 0.883593 0.852045 0.908340 0.878095
t Inputs to GROSS Methods 1 and 2 come from Table B.2.

,,
~~

41
Table B.5 -Natural Gas Speed of Sound Calculations from the DETAIL Equation of State
for Program Verification Purposes
Temp. Pressure Gulf
coast
Amarillo Ekofisk High N2 High C02-N2
f
U.S. customary units
op sia ft/s
32 14.73 1376.60 1342.94 1292.33 1310.35 1265.81
32 600 1318.41 1282.60 1213.75 1266.84 1205.98
32 1200 1303.31 1266.74 ll86.06 1263.30 1187.95
60 14.73 1412.36 1377.74 1325.59 1344.51 1298.60
60 600 1367.54 1331.02 1263.14 1312.27 1252.15
60 1200 1359.35 1321.91 1242.82 1314.00 1241.11
100 14.73 1460.82 1424.94 1370.74 1390.87 1343.12
100 600 1430.71 1393.18 1325.95 1371.07 1311.36
100 1200 1430.54 1392.06 1315.05 1378.98 1308.48
150 14.73 1517.63 1480.32 1423.84 1445.31 1395.47
150 600 1500.97 1462.26 1395.13 1436.91 1377.13
150 1200 1508.34 1468.71 1393.39 1450.70 1381.90

SI units
oc l\.1Pa rnls
0 0.101325 419.588 409.328 393.904 399.395 385.819
0 5 399.337 388.304 366.146 384.553 364.887
0 10 402.828 391.991 369.013 390.693 367.458
20 0.101325 433.516 422.883 406.859 412.701 398.592
20 5 419.292 407.997 386.433 402.896 383.711
20
40
10
0.101325
423.185
446.689
411.795
435.714
387.916
419.137
409.351
425.307
386.542
410.701 f
40 5 437.013 425.457 404.202 419.322 400.369
40 10 441.898 430.145 406.370 426.488 404.188
60 0.101325 459.204 447.914 430.831 437.297 422.230
60 5 453.052 441.245 420.134 434.281 415.420
60 10 458.970 446.925 423.389 442.197 420.294

42
----------------------------

B.3 Comparisons of Calculated Properties with Measurements

Compressibility factors and densities calculated with both equations of state were compared with
experimentally measured values on five simulated natural gas mixtures (Reference [2]). These mixtures were
gravimetrically prepared to represent key natural gas samples occurring in North America and Europe. Table B.l
provides the compositions of these samples. The uncertainty of these reference data for temperatures from -10 op
to 170 op (250 K to 350 K) and pressures to 1750 psia (12 MPa) at a 95 % confidence level is 0.07 % in density.
The uncertainty between -10 °F to 170 op (250 K to 350 K) and pressures from 1750 psia to 5200 psia (12 MPa to
36 MPa) is less than 0.2% in density (References [11,12]).

Computed compressibility factors and densities from the DETAIL equation of state agree on average
within 0. 025 % of a best fit of the experimental data in the region from 35 op to 170 °F and pressures up to 17 50
psia (275 K to 350 K and pressures up to 12 MPa). At conditions up to 5200 psia (36 MPa), the agreement between
calculated values and a best fit ofthe experimental data above 35 op (275 K) is 0.1 %. For high pressure reservoir
applications, the DETAIL equation of state predicts compressibility factors often better than 0.2% when compared
to the PVT reference database.

Computed compressibility factors and densities from the GROSS equation of state agree on average within
0.04% of a best fit of the experimental data in the region from 35 op to 170 op and pressures up to 1750 psia
(275 K to 350 K and pressures up to 12 MPa) (References [2] and [3]).

Both equations of state were used for compressibility factor and density calculations for 4850 natural gas
data points in the GERG data bank (Reference [12]). These samples were not gravimetrically prepared. The
compositions were determined by gas chromatography. The uncertainty in the chromatographic analysis and
component identification is not insignificant when considering calculation uncertainties of 0.05%. Statistical
analyses of the differences between calculated and experimental compressibility factors were perfonned to evaluate
the uncertainties in the calculated compressibility factors and densities. Statistics were calculated with the
following equations where N is the number of data points:

zctiff = zcalc -zexp


(
JxlOO% (B-1)
zexp

1 N
(B-2)
AAD=- :Ljzctuf,tj
N t=I

1 N
BIAS=- LZ&ff,t (B-3)
N t=I

Std. Dev. = [ - _
1
LN
(zctrrt;; -BIAS)
2 ]~ (B-4)
N 1 i=l

(B-5)

Max. Dev. = (zctiff t""' (B-6)

Calculations were performed for 96 natural gas compositions in the range 17 op to 143 op (265 K to 333 K)
with pressures up to 1750 psia (12 MPa). These natural gas compositions were classified into seven groups
according to composition:

43
• Group 1 consists of 14 natural gas compositions containing more than 9.5 mole percent nitrogen.
• Group 2 consists of 8 natural gas compositions containing more than 4 mole percent carbon dioxide.
• Group 3 consists of 27 natural gas compositions containing more than 8 mole percent ethane.
• Group 4 consists of 13 natural gas compositions containing more than 2 mole percent hydrogen.
• Group 5 consists of 11 natural gas compositions containing more than 4 mole percent nitrogen and more
than 4 mole percent ethane.
• Group 6 consists of 12 natural gas compositions containing more than 94 mole percent methane.
• Group 0 consists of 11 natural gas blends that do not fit within the criteria for Groups 1 to 6.

A summary of the statistical analyses of the differences between calculated and experimental compressibility
factors and densities for the seven groups of natural gas is given in Table B.6, as well as calculations from Part 2
for comparison.

For the DETAIL equation of state, the uncertainties in calculated compressibility factors are smallest for
the natural gas compositions with more than 94 mole percent methane (Group 6), for which the standard deviation
is 0.034% and the maximum deviation for 530 data points is 0.148 %. The uncertainties in calculated
compressibility factors are largest for the natural gas compositions with more than 9.5 mole percent nitrogen
(Group 1), for which the standard deviation is 0.061% for 660 data points. The maximum deviation point in the
total of 4850 data points occurs for the natural gas compositions with more than 8 mole percent ethane (Group 3);
this maximum deviation is 0.256 %. Overall, for the total of 4850 data points, the standard deviation is 0.049 %,
the root mean square deviation is 0.050 %, the bias is -0.010%, and the average absolute deviation is 0.036 %.

For the GROSS equation of state (Method 0), the uncertainties in calculated compressibility factors are
smallest for the natural gas compositions with more than 94 mole percent methane (Group 6), for which the
standard deviation is 0.036% and the maximum deviation for 530 data points is -0.137 %. Aside from the group •
with high hydrogen content (Group 4), the uncertainties in calculated compressibility factors are largest for the '
natural gas compositions with more than 8 mole percent ethane (Group 3), for which the standard deviation is
0.061% for 1403 data points. The maximum deviation point in the total of 4850 data points occurs for the natural
gas compositions with more than 8 mole percent ethane (Group 3); this maximum deviation is 0.579 %. Overall,
for the total of 4850 data points, the standard deviation is 0.057 %, the root mean square deviation is 0.058 %, the
bias is -0.012 %, and the average absolute deviation is 0.038 %. Table B.6 also shows the uncertainties for the
GERG-2008 equation of state, which is described in Part 2 of this document.

The uncertainty in computed supercompressibility factors Fpv is related to the uncertainties in the computed
values of both the compressibility factor Z at any given temperature and pressure and the compressibility factor
Z(60 °F, 14.73 psia). If there were no uncertainty in Z(60 °F, 14.73 psia), the uncertainty in Fpv would be one-half
the uncertainty in Z. If the uncertainty in Z(60 °F, 14.73 psia) were equal to the uncertainty in Z, the uncertainty
in Fpv would be 0.707 times the uncertainty in Z. Because the uncertainty in Z(60 °F, 14.73 psia) cannot exceed the
uncertainty in Z, the uncertainty in Fpv generally will be between 0.5 and 0.7 times the uncertainty in Z. For the
4850 data points for the 96 natural gas compositions in the custody transfer region of Table B.6, the expected
uncertainty in computed values of Fpv is 0.024 %to 0.035 %for both equations of state. With the DETAIL equation
of state, if there were no uncertainty in the natural gas composition, then 95 % of the time the uncertainty in a
calculated supercompressibility factor would not exceed 0.035 %, and would not be expected to exceed 0.13 % in
Range A of Table 1 in the main document. For the GROSS equation of state, if there were no uncertainty in the
natural gas characterization (heating value, relative density, and nonhydrocarbon content), then 95 % of the time
the uncertainty in a calculated supercompressibility factor would not exceed 0.034 %, and would not be expected
to exceed 0.16% in Range A of Table 1 in the main document.

44
(.
ri((
,_
Table B.6- Statistical Analyses of the Differences Between Calculated and Experimental

Gas
Compressibility Factors and Densities for Seven Natural Gas Grou.es

group no.
No. of gas
sam2les
No. of
J20ints
AAD
%
Bias
%
StdDev
%
RMS
%
MaxDev
%

DETAIL equation of state


I I4 660 0.058 -0.037 0.061 0.072 0.205
2 8 477 0.029 0.005 0.042 0.042 O.I53
3 27 I403 0.03I -0.003 0.044 0.044 0.256
4 13 690 0.029 -O.OI4 O.o38 0.041 0.163
5 11 660 O.o35 -0.012 0.046 0.047 -0.162
6 12 530 0.026 0.010 0.034 0.036 0.148
0 11 430 0.051 -0.024 0.061 0.066 -0.371

All 96 4850 0.036 -0.010 0.049 0.050 -0.371

GROSS equation of state, Method 0


1 14 660 0.038 -0.001 0.048 0.048 -0.165
2 8 477 O.o35 0.021 0.040 0.045 -0.144
3 27 1403 0.040 -0.018 0.061 0.064 0.579
4 13 690 0.032 -0.013 0.069 0.070 -0.476
5 11 660 0.044 -0.031 0.049 0.058 -0.219
6 12 530 0.026 0.000 0.036 0.036 -0.137
0 11 430 0.049 -0.033 0.058 0.066 -0.443

All 96 4850 O.o38 -0.012 0.057 0.058 0.579

GROSS equation of state, Method 1

/.
1 14 660 0.037 0.002 0.047 0.047 -0.153
2 8 477 0.037 0.026 0.040 0.047 0.148
3 27 1403 0.037 -0.011 0.059 0.060 0.606
4 13 690 0.020 0.001 0.029 0.029 0.119
5 11 660 O.o38 -0.022 0.047 0.052 -0.205
6 12 530 0.027 0.002 0.037 0.037 -0.137
0 11 430 0.044 -0.022 0.060 0.064 -0.438

All 96 4850 0.034 -0.005 0.050 0.051 0.606

GERG-2008 equation of state


I 14 660 0.060 -0.043 0.058 0.073 -0.210
2 8 477 0.036 0.022 0.047 0.052 0.186
3 27 1403 0.040 0.029 0.044 0.053 0.282
4 13 690 0.026 0.007 0.034 0.035 -0.142
5 11 660 0.029 0.003 0.042 0.042 0.164
6 12 530 0.027 0.013 0.033 O.o35 -0.136
0 11 430 0.051 O.OOI 0.068 0.067 -0.363

All 96 4850 O.o38 0.007 0.052 0.052 -0.363

The uncertainties of calculated speeds of sound depend on temperature, pressure, and composition. The
uncertainties were evaluated by comparing calculated values to experimentally measured speed of sound from
NIST Monograph 178 (Reference [13]). Calculations were compared with experimentally measured values for 17
gravimetrically prepared natural gas mixtures over the range of -10 °F to 165 op (250 K to 350 K) and pressures
up to 2500 psia (17 MPa). Some of the gas mixtures included in the uncertainty analyses are outside the range of
Table 1. The measurements conducted demonstrate that the uncertainty in the speed of sound is within 0.1 %for
Gulf Coast, Amarillo, and Ekofisk gas for pressures up to 1750 psia (12 MPa) and temperatures between -10 op
and 165 op (250 K and 350 K). The uncertainty in the speed of sound is also within 0.1 % for other gas mixtures
whose characteristics fall within the ranges of Table 1. Higher levels of uncertainty exist for gas mixtures outside
of these ranges.
\~·
45
APPENDIX C- DESCRIPTION OF THE SUPPLEMENTARY FILES

(Informative)
1. Property Calculation & Verification
AGA8.xls- This Excel spreadsheet can be used to calculate thermodynamic properties of natural gas at
any composition, temperature, and pressure, or to determine the differences between calculated values
from the DETAIL, GROSS, and GERG-2008 equations of state.
To access this file, use the link: =~-'-'-:_:_;.:;_-'-'"'"~=-"'.:c=="'-~~~="-'---"-~==

2. Directory: TestData
NG Compositions.xls- Contains 200 compositions collected from industry that represent the full spectrum
from nearly 0 to 100 % methane.
Test Data.xls - Contains calculated data points at multiple temperatures and pressures. These data can be
used for validation of applications incorporating the AGA 8 Parts 1 and 2 source code or for testing
modifications of other code. Compositions of the data include both binary mixtures of every component,
and the data from the NG Compositions.xls spreadsheet. The data are given along the dew and bubble-
point curves. Many of the data points are outside the ranges of the AGA 8 Part 1 equations, and the values
should only be used to confirm that a separate application is working correctly.
Deviation Calculator.xls- Calculates the deviation at any temperature and pressure between the DETAIL
and GERG-2008 equations of state. The calculations will identify if the point is within the 2-phase or liquid
phase. This file requires that the Refprop program from NIST be installed on the machine performing the (-,'.
calculations (which is used to determine the phase of each point). The spreadsheet also contains the data .
from the NG Compositions.xls file for comparisons of a large range of gas mixtures. The AGA8.xls file in
the AGA8CODE directory can also calculate deviations between the different models, including the
GROSS model that is not available in this Excel file, but it does not locate the phase boundaries. For states
known to be in the gas phase, the AGA8.xls file is the best method for calculating deviations, and does not
require the Refprop program.
Tables.xls- Contains the calculations used to generate the tables in AGA 8 Parts 1 and 2 plus calculations
to verify that the tables in the 1994 edition are duplicated correctly in this revision.

3. Directory: AGA8Code
This directory contains three subdirectories, each containing identical code originally developed in VB,
and then translated to Fortran and C. Instructions are available at the top of each file that help explain the
use of the code. The Property Calculation & Verification file, A GA8.xls, described above, is also included
in this directory. The VBA code in the Excel file is identical to the code given in the VB subdirectory.
AGA8.xls - Contains the VB code in AGA8.bas and allows for calculations within Excel to obtain
properties from the AGA 8 Parts 1 and 2 equations.
C directory- Contains C code implementing the AGA 8 Parts 1 and 2 equations.
Fortran directory- Contains Fortran code implementing the AGA 8 Parts 1 and 2 equations. The *.cmn
files are 'include' files that contain all of the common blocks.
VB directory - VB code implementing the AGA 8 Parts 1 and 2 equations. The VB code is identical to
that in theAGA8.xls file.

46
--
4. Directory: 1994Code

,, •.
',I!~
This directory contains the original files for the code from the 1994 edition of AGA 8. These files include
AGA8PROG.EXE, AGA8PROG.FOR, DETAILXZ.FOR, GROSSXZ.FOR, UNITS.FOR, and CONF.SAV.
The four Fortran files were compiled to make the executable file, and the CONF.SAV file contains the
settings specified by the user.
1994AGA8.doc -Contains all documentation concerning the use of these Fortran files from the 1994
edition that is not included in the 2017 this revision.

47
f

t .

7
\

48
FORM TO PROPOSE CHANGES

AGA Report No. 8, Part 1

Send to: Operations and Engineering Section


American Gas Association
400 North Capitol Street, NW, 4th Floor
asnme1ron, DC U.S.A.

Name:
-------------------------------------------------------------------
Company:_______________________________________________________

Address________________________________________________________

Tel. N o . - - - - - - - - - - - - - - - - - - - Fax N o . - - - - - - - - - - - - - - - -

Please indicate organization represented (if any):

Document title, year of publication, section/paragraph:

Proposal recommends (check one):


D new text
D revised text
D deleted text
Proposal (include proposed new or revised wording or identification of wording to be
deleted (use separate sheet): (Proposed text should be in legislative format; i.e., use underscore to denote
wording to be inserted (inserted wording) and strike-through to denote wording to be deleted (deleted werdffig).

Statement of problem and substantiation for proposal, (use separate sheet): (State the
problem that will be resolved by your recommendation; give the specific reason for your proposal including copies of
tests, research papers, etc.)

0 This proposal is original material. (Note: Original material is considered to be the submitter's own
idea based on or as a result of his/her own experience, thought or research and, to the best of his/her knowledge, is not
copied from another source.)

0 This proposal is not original material; its source (if known) is as follows:

Type or print legibly. If supplementary material (photographs, diagrams, reports, etc.) is included, you may be
required to submit sufficient copies for all members of reviewing committees or task forces.

I hereby grant the American Gas Association the non-exclusive, royalty-free rights, including non-exclusive, royalty-free
rights in copyright, in this proposal and I understand that I acquire no rights in any publication of the American Gas
Association in which this proposal in this or another similar or analogous form is used.

Date: _ _ _ _ _ _ _ _ __

Signature (Required)

49
(.

1,· .

50
i
\

•••


• .•

You might also like