AI for Tank Farm Level, Overfill & Emissions Monitoring

By Jackson T on November 3, 2026

ai-tank-farm-level-overfill-emissions

At a product terminal, most bad days start quietly: a receipt runs faster than planned, a tank gauge sticks while product keeps arriving, or a rim seal gap leaks vapour for months. Overfill, inventory gaps and fugitive emissions usually sit with three teams, yet they share the same tanks and gauges. This guide shows how AI for tank farms watches all three, and where people and certified measurement still decide. See it on a live receipt in a 30-minute terminal walkthrough.

TANK FARM AI · OVERFILL AND EMISSIONS

Know When a Receipt Will Reach High-High Before the Alarm Does

iFactory projects every receipt against the levels of concern you set under API 2350, compares the tank gauge with the independent alarm and flags fugitive emission signs from OGI surveys. Operators get a plain warning in minutes, not a surprise at the alarm.

TK-207 · gasoline receiptPipeline in
Upper shell view, 40 to 48 ft · illustrative values
CH 46.4 ft HH 44.4 ft MW 43.5 ft Now 42.8 ft
Receipt rate2,400 bbl/h
Room to MW665 bbl · 17 min
Room to HH1,520 bbl · 38 min
HH to CH margin1,900 bbl
HH in 38 min at 2,400 bbl/h
1.6 ft × 950 bbl/ft = 1,520 bbl · 1,520 ÷ 2,400 × 60 = 38 min
API 2350 SUPPORT

The Level Ladder Every Receipt Is Measured Against

API Standard 2350, Overfill Prevention for Storage Tanks in Petroleum Facilities, is in its 5th edition (2020, reaffirmed 2025). It covers aboveground atmospheric tanks holding Class I or Class II petroleum liquids at refining, marketing, pipeline and terminal sites. Each tank gets calculated levels of concern, and every alarm and alert hangs from them. The AI does not set these levels. Your overfill prevention process does, and the system reads them as fixed limits. Check how your current levels fit with our terminal support team.

CH
Critical highThe highest level product can reach without damage or overflow. No gauge is needed at this level; it is the anchor for every level below it.
AOPS
Automated overfill prevention levelOnly where an automated system is fitted. Set below CH so the receipt is stopped automatically, without operator action, before CH is reached.
HH
High-high alarmThe action alarm that tells operators to stop the receipt. The gap between HH and CH must cover the response time needed to shut the transfer.
MW
Maximum workingThe highest level the tank is routinely filled to in normal operation. Receipt plans should end here, well short of HH.
Category 0No automatic gauge. Receipts planned on available room and manual gauging.
Category 1Local level instrument, fully attended operation only.
Category 2Automatic gauge with HH alarm from the same gauge, no redundancy.
Category 3Automatic gauge plus an independent HH alarm. Allowed unattended.
RECEIPT FILL-RATE PROJECTION

Turning a Flow Rate Into Minutes of Room

The arithmetic is simple, which is why it gets skipped on a busy night. Take the level gap to HH, convert it to barrels with the tank's strapping chart, and divide by the current receipt rate. iFactory repeats that every gauge scan, using the measured rate rather than the nominated one, so a pipeline surge or a second receipt shows up as fewer minutes straight away. Run the projection on one of your own tanks in a live projection session.

Current level from the automatic gauge42.8 ft
HH level from the tank's level ladder44.4 ft
Gap to HH44.4 − 42.8 = 1.6 ft
Barrels per foot at this height, from the strapping chart (assumed)950 bbl/ft
Room to HH1.6 × 950 = 1,520 bbl
Measured receipt rate (assumed)2,400 bbl/h
Time to HH1,520 ÷ 2,400 × 60 = 38 min
Rate changesA batch change, booster pump start or second line into the tank shortens the window.
Barrels per foot variesShell courses, fittings and the floating roof change volume per foot, so the chart is read at the current height.
Line and valve lagStopping a receipt takes valve travel and a call to the pipeline controller, so the warning comes well before HH.
TANK GAUGING ANALYTICS

When the Gauge and the Independent Alarm Disagree

A Category 3 tank has two ways of knowing the level: the automatic tank gauge (ATG) and a separate high-high sensor. The useful signal is the moment their stories stop matching, or when one goes silent while flow continues. iFactory compares the ATG trend with the metered receipt, the independent sensor's status and its proof-test record, and raises a gauge integrity flag. Ask our instrument specialists which patterns matter most for your gauges.

Pattern
What the data shows
Likely causes to check
Field action
Flat ATG, flow running
Meter shows product arriving, gauge level has not moved for several scans
Stuck float or tape, servo fault, frozen radar reading
Stop or slow receipt, hand gauge
ATG rise slower than metered volume
Level gain converts to fewer barrels than the meter delivered
Gauge drift, wrong strapping data, leaking valve to another tank
Manual gauge and valve line-up check
Independent HH sensor offline
Diagnostic or supervision alarm from the HH loop
Wiring fault, power loss, sensor failure
Treat tank as reduced category
Proof test overdue
Last test date past the interval in your overfill procedure
Missed work order, test not recorded
Schedule test before next receipt
ATG and hand gauge offset
Repeated difference at opening and closing gauges
Reference height change, gauge calibration
Verify against API MPMS practice

Ask the Tank Farm, Hear It Back in Plain Words

iFactory pairs AI vision from OGI surveys with emissions and level analytics, so a terminal supervisor can ask about any tank and get receipt timing, gauge health and open leak items in one answer. Every answer points back to the readings behind it.

Night shift · Terminal supervisor and iFactory
SupervisorWhich tanks are taking product right now, and which is closest to HH?
iFactoryThree receipts are open. TK-207 is closest: 38 minutes to HH at 2,400 bbl/h. Both of its level instruments agree.
SupervisorAny open leak items on that tank?
iFactoryOne. A gauge hatch plume was flagged on Tuesday's OGI survey and repaired on Wednesday. The re-check is due before Friday.
INVENTORY RECONCILIATION AI

Book Versus Gauged, Corrected to 60°F

A tank's book inventory comes from receipts and deliveries. Its gauged inventory comes from a level reading, converted to volume and corrected to standard temperature using API MPMS practice: Chapter 3.1B for automatic gauging, Chapter 7 for temperature, Chapter 11.1 for volume correction factors and Chapter 12.1.1 for static quantity calculations. The AI tracks the gap between the two, tank by tank, and flags drift long before month-end. Walk through your own gain and loss report in a reconciliation demo.

Gross observed volume152,000 bbl at 78°F (assumed)
Volume correction factor0.9910 (assumed, from 11.1)
Gross standard volume152,000 × 0.9910 = 150,632 bbl
Book inventory150,900 bbl (assumed)
Gauged minus book−268 bbl, about −0.18%
What the AI does
  • Trends gauged minus book for each tank and product
  • Flags a gap that grows across several gauge cycles
  • Links the gap to the receipt, delivery or transfer that opened it
  • Points to likely causes: gauge drift, temperature probe, valve passing
What stays with certified measurement
  • Custody transfer quantities set by your meters, provers and contracts
  • Opening and closing gauges taken under API MPMS procedures
  • Any correction to the book, approved by the accountable owner
  • Dispute resolution with shippers and carriers
FLOATING ROOF SEALS AND FUGITIVE EMISSIONS

Rim Seals Are Where Tank Vapour Escapes Quietly

On a floating roof tank, most standing losses pass through the rim seal and roof fittings. NSPS subpart Kb sets inspection intervals for covered vessels in 40 CFR 60.113b, and the gasoline distribution rules add their own fitting and monitoring requirements. iFactory keeps each tank's seal history and due dates in one record, linked to OGI findings on the same roof. Set up seal records for your tanks with our emissions support team.

Internal floating roof
Visual check at least every 12 monthsRoof and seals inspected through manholes and roof hatches. Under the annual option, out-of-service inspections cannot be more than 10 years apart.
External roof, primary seal
Gap measurement at least every 5 yearsFirst within 60 days of initial fill. Gaps are measured and compared with the allowed gap area for the tank diameter.
External roof, secondary seal
Gap measurement at least once a yearFirst within 60 days of initial fill. Torn fabric, gaps and roof tilt are recorded with the measurement.
Gasoline tanks have an extra test

The 2024 gasoline distribution amendments require internal floating roof tanks under the NESHAPs to keep vapour above the floating roof below 25% of the lower explosive limit, with annual LEL monitoring. Confirm the exact terms in your permit.

FUGITIVE EMISSIONS MONITORING WITH OGI

What an Optical Gas Imaging Survey Can and Cannot See

Optical gas imaging cameras show hydrocarbon vapour as a visible plume when there is enough temperature contrast and the wind is not too strong. They do not measure tank level, and on their own they do not give a leak rate. iFactory's AI vision reviews survey footage, flags likely plumes with their location and passes them to a qualified OGI operator to confirm. See flagged footage from a terminal survey in a short OGI review.

1RouteSurvey path set by tank, rack and component list
2ImageOGI footage taken under logged wind and temperature
3FlagAI marks likely plumes and tags the component
4ConfirmQualified operator reviews; Method 21 where the rule asks
5RepairWork order opened, repair dated, re-check scheduled
Modelled, measured and still a field job

A flagged plume is a prompt to look, not a confirmed leak. Where a rule allows OGI for compliance, the survey must follow its protocol, such as Appendix K to 40 CFR part 60, including operator qualification and viewing conditions.

PRODUCT TERMINAL SOFTWARE AND THE RULES

Which Air Rules Reach a Storage Terminal

Terminal emissions rules depend on the product, the source size and when each tank was built or modified. The matrix below is a starting map for US sites, not legal advice, and it reflects status in late 2026, including EPA's September 2026 reconsideration proposal for the 2024 gasoline rules. Check how it lines up with your permit with our compliance support team.

Rule
Typical sources
What it asks of tanks and leaks
Status
NESHAP subpart BBBBBB
Area source gasoline distribution: bulk terminals, bulk plants, pipeline breakout and pumping stations
Tank controls, loading rack limits, leak inspections and records
Amended May 2024; most existing-source dates May 2027
NESHAP subpart R
Major source gasoline terminals and breakout stations
Same areas as 6B, with tighter leak monitoring
Amended May 2024
NSPS subpart XXa
Bulk gasoline terminals built or modified after June 10, 2022
Loading rack limits and quarterly instrument leak monitoring
Final May 2024
NSPS subpart Kb
Volatile organic liquid tanks built or modified after July 23, 1984 and up to October 4, 2023
Floating roofs or closed vent systems, seal inspections, records
In force
NSPS subpart Kc
Tanks of 20,000 gallons or more built, rebuilt or modified after October 4, 2023
Controls by size and vapour pressure, closed vent at 11.1 psia and above
Final October 2024
NSPS OOOOb and EG OOOOc
Oil and gas sources such as well sites, processing, and gas transmission compressor stations, not product terminals
Methane and VOC controls, fugitive monitoring
Key dates moved to January 22, 2027
LDAR SUPPORT RECORD TEMPLATE

One Leak Record From First Image to Re-Check

LDAR programmes stand or fall on their records: every finding dated, tagged, repaired in time and re-checked. iFactory builds the record from the OGI flag, the work order and the follow-up reading, so nobody has to rebuild it from notebooks. These are the fields a terminal record usually needs. See a filled record from a sample survey in a records walkthrough.

Component IDTK-207 gauge hatch, roof
ServiceGasoline vapour
Detection methodOGI, confirmed by operator
Survey conditionsWind, air temperature, distance
First repair attemptDate, action, technician
Repair completeDate and method of proof
Delay of repairReason and planned date, if any
Re-checkResult, date, reviewer sign-off
TURNKEY AI DEPLOYMENT

Gauge Feeds, OGI Review and Edge Server, Delivered Ready

iFactory delivers tank farm AI as a turnkey package. A pre-configured NVIDIA AI server ships racked and ready, with receipt projection, gauge comparison and OGI plume models loaded, so data stays on your site. You rack it, plug in power and Ethernet, and the AI is live. It reads your existing gauges and SCADA through standard interfaces and never writes to the control system. Scope it for your terminal with our deployment team.

What's Included
  • Pre-configured NVIDIA AI edge server, racked and ready
  • Read-only links to tank gauges, meters and SCADA
  • Level ladder and category set-up for every tank
  • Receipt projection and gauge disagreement alerts
  • AI review of OGI survey footage
  • Seal, LDAR and reconciliation records in one place
  • 24×7 remote monitoring of models and hardware
Live in 6–12 weeks
Wk 1–4
Connect and Map

Server installed, gauges and meters linked, levels of concern and categories loaded for each tank.

Wk 5–8
Shadow Receipts

Projections and gauge checks run silently beside operators, and past OGI footage is reviewed to tune flags.

Wk 9–12
Go-Live and Hand-Over

Warnings switched on, supervisors trained, reconciliation and LDAR records running daily.

HOW iFACTORY FITS

Built for Terminals That Run Through the Night

iFactory sits beside your gauges, alarms and LDAR programme. It watches the signals your operators watch, and leaves every decision with them. Plan a first tank group with us in a planning call.

1
Projects every receipt. Minutes to MW and HH, refreshed each gauge scan from the measured rate.
2
Checks the checkers. ATG, independent HH sensor and proof-test dates compared continuously.
3
Sees vapour in OGI footage. AI vision flags likely plumes for a qualified operator to confirm.
4
Keeps the emissions record. Seal measurements, leak repairs and re-checks linked tank by tank.
1000+
Industrial clients running iFactory
99.9%
Platform uptime for round-the-clock terminals
6-12 wks
From racked server to live receipt warnings
FREQUENTLY ASKED QUESTIONS

What Terminal Managers Ask About Tank Farm AI

Does tank farm AI replace our overfill prevention system?
No. Your overfill prevention system under API 2350, including the ATG, the independent HH alarm and any automated shutdown, stays exactly as designed and proof-tested. iFactory reads those systems and adds an earlier warning based on receipt projection. It never sends commands to valves or pumps.
How early can it warn that a receipt will reach HH?
As early as the data allows. The projection is refreshed every gauge scan, so it can show minutes to MW and HH from the start of a receipt. The warning point is something you choose, usually with a buffer above your response time. You can see the projection run on a sample receipt before deciding.
Can the AI vision cameras measure tank level?
No. Level comes from your gauges. The vision side works on optical gas imaging footage to spot likely vapour plumes at seals, hatches, valves and fittings. A flag still needs a qualified operator to confirm it and, where your rule asks, a Method 21 reading.
Is AI reconciliation acceptable for custody transfer?
Custody transfer quantities come from certified meters, provers and gauging done under API MPMS and your contracts. The AI does not replace that. It flags gaps between book and gauged inventory early so your measurement team can find the cause. Our support team can explain how it fits your existing reports.
Do the EPA OOOOb and OOOOc methane rules apply to our product terminal?
Generally not. They cover crude oil and natural gas sources such as well sites, processing plants and gas transmission compressor stations, and in late 2025 EPA moved several of their deadlines to January 22, 2027. Gasoline terminals usually fall under NESHAP 6B or R, NSPS XXa and the storage vessel rules. Confirm with your environmental team, then walk through your rule map with us.
Where should a terminal start?
Start with the tanks that take pipeline or marine receipts at high rates, since they have the shortest windows. Load their levels of concern, run projections in shadow mode for a few weeks, then add OGI review and LDAR records. To plan that first tank group, book a 30-minute session with our team.

Every Receipt Timed, Every Seal on Record

Give operators minutes of warning before HH, catch gauge faults while product is still arriving and keep one clean record from OGI image to repair. Delivered turnkey and live in 6 to 12 weeks.

Example shift summary · Product terminal
Receipts projectedEvery open receipt, each scan
Gauge checksATG vs independent HH vs meter
OGI flagsSent to operator for confirmation
RecordsSeals, LDAR and reconciliation
Every warning traced to its readings

Share This Story, Choose Your Platform!