Lyon Park Labs

ResearchA worked exampleLyon Park Labs

One load of fuel

How the four records of one fuel delivery are compared, with example numbers.

The delivery

A transport pulls onto the lot. The driver connects a hose to the fill cap of the regular tank, and several thousand gallons drop through a tube into a tank buried under the concrete. When the hose comes off, the driver hands over a bill of lading. It is the first record of the delivery, and it is written by the supplier.

In our example the bill of lading says 8,150 net gallons of regular. It also shows a gross figure, 8,203. The two differ because fuel expands and contracts with temperature: the net figure is corrected to a standard temperature, and it is the number the station is billed for.

The tank gauge

Under a second cap, a probe stands in the tank from top to bottom. A float rides on the surface of the product, and the tank gauge reads its height. That reading is the only record of the delivery that is a measurement and not a document.

Height is not volume. A buried tank is a cylinder lying on its side, so an inch of fuel near the middle of the tank holds far more than an inch near the bottom. The gauge converts each height into gallons using the tank’s chart. In a perfectly round tank, the bottom quarter of the height holds less than a fifth of the volume; the next quarter holds almost a third.

Figure 1. Equal steps of height hold unequal volumes. Left: a tank in cross-section, divided into quarters of its height. Right: the curve that turns the height the probe measures into the share of the tank it represents.

Before the drop, the gauge read 3,112 gallons. After the product settled, it read 11,240. The tank received 8,128 gallons. The bill of lading says 8,150.

Twenty-two gallons on a load this size is a small difference. It can come from temperature, from fuel sold at the pumps while the delivery was running, from the gauge, or from the delivery itself. It does not show that anyone did anything wrong. It is a difference that the owner should be able to see.

The invoice and the payment

Days later the invoice arrives. It bills 8,150 gallons at $2.4113 a gallon: $19,652.10. Then the supplier drafts $19,652.10 from the station’s bank account. The payment draft is the fourth record of the same load.

Each document is correct on its own terms. They come from different systems, in different formats, on different days, and none of them refers to the others in a way software can rely on. Matching them takes time, and that work often falls to the owner.

Four records of one fuel delivery, joined into one record A bill of lading shows 8,150 gallons delivered. The tank gauge reads 3,112 gallons before the drop and 11,240 after, a measured 8,128. The invoice bills 8,150 gallons for 19,652.10 dollars. The payment draft takes 19,652.10 dollars. The four lines join into one record: billed 8,150, measured 8,128, a difference of 22 gallons, paid 19,652.10. 1 Bill of lading 2 Tank gauge 3 Invoice 4 Payment draft what the driver says was delivered what the tank received what the supplier charges what leaves the bank account BILL OF LADING PRODUCT REGULAR GROSS GAL 8,203 NET GAL 8,150 AFTER 11,240 BEFORE 3,112 RECEIVED 8,128 INVOICE REGULAR 8,150 gal @ 2.4113 TOTAL 19,652.10 PAYMENT DRAFT DEBIT AMOUNT 19,652.10 One load, reconciled BILLED 8,150 MEASURED 8,128 DIFFERENCE 22 gal PAID 19,652.10 22 gallons billed but not measured in the tank Four records of one fuel delivery, joined into one record 1 Bill of lading what the driver says was delivered BILL OF LADING PRODUCT REGULAR NET GAL 8,150 2 Tank gauge what the tank received AFTER 11,240 BEFORE 3,112 RECEIVED 8,128 3 Invoice what the supplier charges INVOICE 8,150 gal @ 2.4113 TOTAL 19,652.10 4 Payment draft what leaves the bank account PAYMENT DRAFT AMOUNT 19,652.10 One load, reconciled BILLED 8,150 MEASURED 8,128 DIFFERENCE 22 gal PAID 19,652.10
Figure 2. One delivery, four records: what the driver says was delivered, what the tank received, what the supplier charges, and what leaves the bank account. MyFuelHQ joins them into one record.

The record

MyFuelHQ reads the bill of lading, the tank gauge, the invoice and the payment draft, and keeps one record per delivery. The delivery is matched to its invoice and to its payment, and what the gauge measured is set against what was billed.

The record does not decide what the twenty-two gallons mean. It puts the number in front of the person who can find out, while the delivery is recent enough to ask about it.

Every morning

Once every load is matched, the station knows what the fuel in each tank actually cost. Set against its point-of-sale reports, that becomes cost and profit per gallon, grade by grade, and MyFuelHQ shows it every morning.

Morning report · 6:00 a.m.

Cost and profit per gallon, by grade

GradeCostPriceProfit
Regular2.41132.8990.49
Plus2.70203.2990.60
Premium2.93843.5990.66
Diesel2.66513.1990.53

Regular, yesterday’s load 22 gallons short against the bill of lading

Figure 3. What the station sees in the morning. Example values.

Lyon Park Labs · Arlington, Virginia

MyFuelHQThe same delivery, animatedThe company