Physical Address
304 North Cardinal St.
Dorchester Center, MA 02124
Physical Address
304 North Cardinal St.
Dorchester Center, MA 02124
API Manual of Petroleum Measurement Standards (MPMS) Chapter 21.2, published in 2000, specifies requirements for electronic measurement systems that compute and report flow quantities from positive displacement (PD) and turbine meters used in liquid hydrocarbon services. The standard covers systems where a flow meter produces a pulse train or frequency signal, and an electronic device (flow computer, remote terminal unit, or programmable logic controller) integrates the pulses over time to derive volume.
This standard applies to custody transfer and allocation measurement of crude oil, refined products, and other liquid hydrocarbons with a Reid vapor pressure below 100 psi (690 kPa) at 37.8°C. It addresses the entire electronic measurement chain—from the meter output to the final displayed or transmitted volume—including the flow computer, signal converters, temperature and pressure transmitters, density or specific gravity instruments, and any associated software.
API MPMS 21.2 is a companion to other MPMS chapters, particularly Chapter 4 (Proving Systems), Chapter 5 (Metering), and Chapter 21.1 (Electronic Gas Measurement). It fills a critical gap by defining minimum performance, security, and data integrity requirements for electronic components that were not explicitly covered in earlier mechanical-focused standards.
The standard requires that the electronic system accept pulse inputs from PD or turbine meters with a maximum frequency of at least 10,000 Hz and handle pulse amplitude variations typical of magnetic or modulated carrier pickups. The flow computer must have a resolution of at least one pulse, and the volume integration must be performed using a technique that does not exceed a rounding error of 1×10−6 of the total pulse count.
Table 1 summarizes the maximum allowable system errors specified in API MPMS 21.2 for primary measurement variables under steady-flow conditions.
| Parameter | Maximum Allowable Error (including transmitter, A/D, and computation) |
|---|---|
| Volume (pulse input) | ±0.05% of reading |
| Temperature | ±0.25°C (±0.5°F) |
| Pressure (gauge) | ±0.2% of span (or ±0.1% of reading for static pressure > 100 psi) |
| Density (including specific gravity) | ±0.2% of reading |
| Flow time | ±0.02% of elapsed time |
| Base volume (calculated) | ±0.1% of reading (including all corrections) |
Note: Errors are based on the combined uncertainty of the measurement chain under reference conditions.
The standard mandates that all measurement software be verified against known algorithms and that any changes be logged with a date/time stamp. The system must provide security such that parameters affecting the calculated volume (e.g., meter factor, K-factor, temperature compensation coefficients) are protected from unauthorized modification. This may be accomplished through hardware switches, password protection, or audit trail checksums.
API MPMS 21.2 also requires that the flow computer perform diagnostic checks every 50 ms or less, including watchdog timers, RAM/ROM tests, and communication integrity tests. In the event of a detected fault, the system must record the failure and take a predefined action (e.g., stop totalizing, flag the batch, revert to default values).
While detailed procedures for meter proving are given in MPMS Chapter 4, API MPMS 21.2 requires that electronic systems be verified against reference standards at least once every 12 months. The verification must include:
The standard also recommends that a full system validation, including all compensation algorithms, be performed after any software update, hardware replacement, or change to the meter factor.
API MPMS 21.2 is not a standalone document; it must be used in conjunction with:
For a custody transfer installation, the electronic system’s overall uncertainty must be combined with the uncertainty of the meter and prover to demonstrate compliance with the accuracy requirements of the contract or regulation.
API MPMS 21.2 places strong emphasis on traceability and documentation. Operators must maintain records of:
The standard also states that, in the absence of specific contractual requirements, the total system uncertainty at maximum flow rate should not exceed 0.25% for custody transfer and 0.5% for allocation measurement.
When upgrading older metering stations to electronic systems, API MPMS 21.2 requires that all new electronic components meet the performance specifications, but existing mechanical components (meters, piping) may continue to be used as long as they are compatible with the new electronics. However, the overall system uncertainty must be reevaluated using the electronic error contribution. Often, the pulse output from an older turbine meter may have insufficient amplitude or an irregular waveform, which must be conditioned or the meter replaced to meet the signal requirements.
In summary, API MPMS 21.2 (2000) remains the definitive standard for electronic components in liquid hydrocarbon metering systems using PD and turbine meters. Its focus on signal integrity, algorithm verification, security, and systematic validation ensures reliable custody transfer data. Any operator involved in the installation, operation, or auditing of such systems must incorporate its requirements into their quality management system.
© 2026 – This technical article is based on API MPMS Chapter 21.2 (2000). For official requirements, consult the latest edition published by the American Petroleum Institute.