Lyon Park Labs MyFuelHQ

Research

How the lab works.

Five principles we hold ourselves to, and one piece of the work written out in full: what happens to a single delivery of fuel between the tank and the books.

  1. IPrinciples
  2. IIOne load of fuel

Principles

  1. I

    Built at the counter.

    Lyon Park Labs started behind the counter of a working fuel and repair station in Arlington, Virginia. We built our first product because the station needed it. Other stations asked for it. That is still how we decide what to build.

  2. II

    Read what the industry actually produces.

    Bills of lading, invoices, payment drafts and point-of-sale reports arrive in the formats suppliers choose, on the days they choose. Our systems read them as they are, not as we would like them to be.

  3. III

    Check paper against instruments.

    A document says what someone wrote down. An instrument says what happened. Wherever the work allows it, we hold one against the other and put the difference where a person can see it.

  4. IV

    Set up by people who have done the work.

    Our team does the setup. An owner with a station to run should not have to spend an afternoon configuring software, and should not have to explain the business to the people who do.

  5. V

    Say plainly what exists.

    One system is in service: MyFuelHQ. Five are in development. We call each by its status, and we do not describe a system as doing anything it does not do today.

EssayLyon Park Labs

One load of fuel

How a single delivery becomes four records, why they rarely agree, and what it takes to make them into one.

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 load, 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 instrument

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 witness to the delivery that is not a piece of paper.

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, 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. On its own it is not an accusation. It is a question, and somebody should be able to see it.

The paper

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 by its own lights. They come from different systems, in different formats, on different days, and none of them refers to the others in a way software can simply trust. Making them agree is work. It is somebody’s job, and very often it is the owner’s.

One load of fuel, four records, one matched result 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 actually received what the supplier charges, later 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 the twenty-two gallons is the question One load of fuel, four records, one matched result 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 actually received AFTER 11,240 BEFORE 3,112 RECEIVED 8,128 3 Invoice what the supplier charges, later 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. Joined, they make one record.

The record

MyFuelHQ reads all four — the bill of lading, the tank gauge, the invoice and the payment draft — and keeps one record per load. The load 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.4877
Plus2.70203.2990.5970
Premium2.93843.5990.6606
Diesel2.66513.1990.5339

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

Figure 3. What the station sees in the morning. Values illustrative.

Why this is the work

None of this is glamorous. It is also not the kind of work frontier AI is being built for: documents that were never designed to be read by software, checked against instruments in the ground, for people who are not sitting at a desk. That is the work the lab exists to do. One load of fuel is the smallest version of it.

Lyon Park Labs · Arlington, Virginia

MyFuelHQ, in detailThe same load, as a filmThe company