In North American gas measurement, the number a custody transaction ultimately settles on is energy, and energy is not something a meter reads directly. It is calculated from what the gas is made of and how much of it flowed. GPA 2172 is the procedure that turns a gas chromatograph's mole-percent report, together with the physical property tables of GPA 2145, into the heating value and relative density the flow computer needs. This page walks through how that calculation chains from the chromatograph's composition to a heating value, how the flow computer multiplies it by corrected volume to reach a quantity of energy, and where the correction from ideal to real gas behavior changes the invoiced number.
GPA 2172 Energy Calculation in one line: GPA 2172 is the North American standard procedure for calculating the heating value, relative density, and compressibility of natural gas from a gas chromatograph's mole-percent composition, using the component physical property values tabulated in GPA 2145. The flow computer applies this to the live composition to get a heating value per unit volume, then multiplies it by the corrected flowing volume over each period to accumulate energy, typically expressed in MMBtu. A real-gas correction adjusts the ideal-gas heating value for how the actual mixture behaves.
The calculation begins with a composition, the list of mole percentages for each component in the gas, produced by a gas chromatograph that separates and quantifies the constituents such as methane, ethane, propane, the heavier hydrocarbons, nitrogen, and carbon dioxide. On its own that composition is just a breakdown of what is present. GPA 2172 provides the method to turn it into physical properties, and GPA 2145 provides the numbers the method needs: a table of the physical property values for each pure component, including its heating value and its contribution to density, at defined reference conditions.
With the composition from the chromatograph and the component properties from GPA 2145, GPA 2172 combines them in proportion. Each component contributes its tabulated heating value weighted by how much of it is in the mixture, and the weighted contributions sum to the mixture's heating value. The same approach yields the relative density, the density of the gas compared with air, by combining each component's molar mass contribution. The output is the set of properties that describe this particular gas: its heating value per unit volume and its relative density, both of which the downstream energy and volume calculations depend on.
GPA 2145 matters because it is the shared reference that keeps everyone's numbers consistent. If two parties each computed component properties from their own sources, small differences would creep into every heating value. By agreeing to draw the component physical properties from the same published table, and to combine them by the same GPA 2172 procedure, the parties ensure that the same composition produces the same heating value on both sides of a transaction. The standard is periodically updated as property values are refined, so using the agreed edition of the tables is part of computing a number both sides will accept.
A heating value on its own is energy per unit of volume; to reach a quantity of energy the flow computer has to multiply it by how much gas actually flowed. That volume is not the raw reading either, it is the flowing volume corrected to the base reference conditions of temperature and pressure, so that the energy is reckoned against a consistent definition of volume rather than the varying conditions in the pipe. The flow computer measures flow, corrects the volume to base conditions using the measured pressure, temperature, and compressibility, and holds that corrected volume ready to be turned into energy.
The energy accumulation is then a running product carried out every calculation period. In each short interval the flow computer takes the corrected volume that flowed during that interval and multiplies it by the current heating value, giving the energy that passed in that interval, and adds it to a running total. Over an hour, a day, or a month those interval energies accumulate into the total energy delivered, typically reported in MMBtu. Because both the heating value and the flow can change from interval to interval, doing the multiplication frequently and summing keeps the total accurate even as the gas quality and the flow rate vary through the period.
The chain therefore has clear links: the chromatograph provides composition, GPA 2172 with GPA 2145 turns that composition into heating value and density, the flow measurement provides corrected volume, and the flow computer multiplies heating value by corrected volume every period and accumulates the result into energy. Each link has to be right for the final MMBtu to be right, and each is a place where an error can enter. A stale composition, a wrong base condition, or a flawed volume correction all propagate into the energy total, which is why the whole chain, not just the final number, is what gets scrutinized when an energy figure is questioned.
The component heating values in the tables are, at their root, ideal-gas quantities, describing how the components would behave if the gas were ideal. Real natural gas at pipeline conditions does not behave ideally; the molecules interact, so the actual heating value per unit volume differs from the simple ideal sum. GPA 2172 addresses this with a real-gas correction that adjusts the ideal-gas heating value to account for the compressibility of the real mixture, so the heating value used in billing reflects how the gas actually behaves rather than an idealized version of it.
This correction is not a rounding footnote, it changes the invoiced number by a real amount, and it depends on the gas composition and the conditions, so it is not a fixed factor applied blindly. The compressibility of the mixture, which the correction leans on, itself has to be computed from the composition for the conditions in question. Because the correction directly scales the heating value that multiplies volume to give energy, an error or omission in the real-gas correction moves the final MMBtu and therefore the money, which is why it is a defined part of the standard procedure rather than an optional refinement.
In practice the flow computer carries out the ideal-to-real correction as part of its standing calculation, using the live composition and conditions, so the heating value it applies each period is already the corrected real-gas value. When a monitoring platform such as Merobix records the heating value, the composition it was derived from, and the base conditions in use alongside the accumulated energy, the whole chain becomes auditable rather than opaque. In a custody dispute, being able to see the composition that fed the calculation, confirm the standard procedure and the real-gas correction were applied, and trace those through to the invoiced energy is what lets the parties resolve the difference against the actual data rather than arguing about a single final number with no visibility into how it was produced.
GPA 2145 is the table of physical property values for the individual pure components of natural gas, such as the heating value and density each component contributes at defined reference conditions. GPA 2172 is the procedure that takes a gas chromatograph's mole-percent composition and combines those tabulated component properties in proportion to compute the heating value, relative density, and compressibility of the whole mixture. In short, GPA 2145 supplies the component numbers and GPA 2172 defines how to combine them.
It uses GPA 2172 with the GPA 2145 property tables to convert the chromatograph's composition into a heating value per unit volume, then corrects the flowing volume to base conditions of temperature and pressure. Every calculation period it multiplies the corrected volume that flowed by the current heating value to get the energy for that interval, and sums those intervals into a running total, typically expressed in MMBtu. Doing this frequently keeps the total accurate even as gas quality and flow rate change.
The component heating values are ideal-gas quantities, but real natural gas at pipeline conditions does not behave ideally, so the actual heating value per unit volume differs from the ideal sum. GPA 2172 applies a real-gas correction, based on the mixture's compressibility, to adjust for this. Because the corrected heating value multiplies volume to produce the billed energy, an error in the correction moves the invoiced MMBtu, which is why it is a defined part of the procedure rather than an optional refinement.
Merobix reads your field devices into a cloud SCADA - the real thing behind these terms, live in days from any browser.