- Rule
- An independent flow computer recomputes net standard volume from duplicated transmitter signals. The engine compares that value with the meter reading under the class band.
- On variance
- A case opens and is routed to a named public officer for metrology.
Technology · Engines
Three readings of one crossing.
One value on the record.
Ship, shore and tank rarely agree. Published rules compare them, register one value inside the band and open a case for the rest.
Band ±0.3% 0.3%Maximum permissible error of an accuracy class 0.3 dynamic liquid measuring system (custody transfer of crude oil and products).Source: OIML R 117-1:2019, Dynamic measuring systems for liquids other than water. Open the publication ↗ · readings illustrative
The finding
Three figures describe one cargo, and the gap between them is the work.
The ship counts what it loaded, the shore what it received, the tank what it holds. None is wrong; none is the record.
Each instrument measures the same crossing at a different hour, at a different temperature, to a different class. The engine does not average them and does not choose a favourite. It restates each reading to the same reference conditions, compares it with the value an independent flow computer recomputes at the crossing, and asks one question: does the difference sit inside the band the instrument can explain?
Maximum permissible error of an accuracy class 0.3 dynamic liquid measuring system (custody transfer of crude oil and products)
OIML R 117-1:2019, Dynamic measuring systems for liquids other than water
0.3%Maximum permissible error of an accuracy class 0.3 dynamic liquid measuring system (custody transfer of crude oil and products).Source: OIML R 117-1:2019, Dynamic measuring systems for liquids other than water. Open the publication ↗Maximum permissible error of the meter alone in the same accuracy class
OIML R 117-1:2019, Dynamic measuring systems for liquids other than water
0.2%Maximum permissible error of the meter alone in the same accuracy class.Source: OIML R 117-1:2019, Dynamic measuring systems for liquids other than water. Open the publication ↗Standard reference conditions for petroleum and liquid petroleum products
ISO 5024:1999, Petroleum liquids and liquefied petroleum gases, measurement, standard reference conditions
15 °C and 101.325 kPaStandard reference conditions for petroleum and liquid petroleum products.Source: ISO 5024:1999, Petroleum liquids and liquefied petroleum gases, measurement, standard reference conditions. Open the publication ↗The reading
Raw readings become one registered value in four rules, none of them a judgement.
01 · Received
Three readings arrive sealed.
Each reading reaches the ledger signed and time-stamped at creation. The engine holds it as received, with the instrument and the hour that produced it. Two of the three are outside the band.
02 · Restated
They are brought to one reference.
Quantities are restated at 15 °C and 101.325 kPa 15 °C and 101.325 kPaStandard reference conditions for petroleum and liquid petroleum products.Source: ISO 5024:1999, Petroleum liquids and liquefied petroleum gases, measurement, standard reference conditions. Open the publication ↗ with the meter factor and temperature correction shown. The correction is a versioned rule, not a decision.
03 · Compared
The band decides, not the analyst.
Inside the band is a difference the instrument class can explain. Outside it, something else is happening. The band is set once, dated and approved.
04 · Registered
One value goes on the record, or a case opens.
Inside: registered, with the rule version that produced it. Outside or incomplete: provisional, no fee earned, a case opened with a named public owner.
Instrument
Move the readings and watch the rule decide.
The defaults are illustrative. Take a reading away to see the engine call it unknown, never zero.
- Decision
- Registered
- Spread
- 0.33 pointslargest minus smallest
- Outside the band
- None
- Case and fee
- No case; fee due on the registered unit
The metrology engine
A figure is registered only when its uncertainty budget closes inside the limit.
Seven sources of doubt are combined by root sum of squares. An over-limit or incomplete budget holds the registration.
- Combined
- 0.16%root sum of squares
- Registration
- Open
- Reading
- Every line is recorded and the combined figure sits inside the limit.
combined = √( meter factor² + temperature² + pressure² + … + timing² )
Exceptions
Every variance opens a case, and every case has a named public owner.
The engine proposes. It never closes a case, never merges a duplicate on its own and never assigns blame.
Variance detected
A reading falls outside its band, a record is missing or two records disagree.
Case opened
One case per variance, joined to every record involved by the event identifier.
Routed to a named owner
A public officer is named. The operator sees only its own cases, with a query clock.
Evidence packet
Readings, seals, rule version and uncertainty budget are assembled without a human edit.
A public officer decides
The system proposes. An algorithm never approves an adjustment.
Closed by a new event
The correction is a signed event with a reason, an author and a second approver from another team.
One rulebook
Seven pairings share one rule engine, and each one can be read before it is run.
- Rule
- Depot and tank balances roll forward from gauges and rack meters, then meet what the operator declares.
- On variance
- A case opens and is routed to a named public officer for the depot.
- Rule
- The declared quantity is read against the measured one. The measured record is never edited to match.
- On variance
- A case opens and is routed to a named public officer for customs.
- Rule
- Loaded and discharged quantities are restated to the same reference conditions before they are compared.
- On variance
- A case opens and is routed to a named public officer for the cargo.
- Rule
- A seal that opens, a stop that was not planned or a track that goes dark is placed beside the records that should explain it.
- On variance
- A case opens and is routed to a named public officer for movements.
- Rule
- Three comparisons in a row: usage to rating, rating to billing, billing to the finance ledger, each against versioned tariffs.
- On variance
- A case opens and is routed to a named public officer for revenue.
- Rule
- Each payment is matched to its invoice by the event identifier. A possible duplicate is held and shown, never merged automatically.
- On variance
- A case opens and is routed to a named public officer for treasury.
Replay
Rules are versioned, corrections are new events, and any month can be replayed.
A change to a rate, a threshold or a tariff creates a new dated version, approved once, with a reference-case test suite. Reprocessing creates a new revision and never an overwrite. An auditor can replay a month in isolation from its evidence manifest and reach the same statement.
Continue
Follow the record outward.
The evidence ledger
Where the registered value is stored, chained and replayed.
InstrumentUncertainty budget
Build a full budget for your own measurement and see when it holds.
SectorOil and gas
Custody transfer at every boundary, from crude export to bunkers.
TechnologyThe command centre
Where an exception case is first seen.