START A CONVERSATION

Let’s talk about your next build.

Prepare your brief below, then review and send it in your email app to sales@nextlabsonline.com.

THE FIRST CONVERSATION

Your product idea, AI opportunity or automation challenge—and a useful first milestone.

All fields are required.

A few sentences about the problem, your users and timing are enough.

We’ll use your details to respond to your enquiry. Please don’t include patient records, passwords or confidential information. Privacy Policy · Website Terms.

Operations / Compare approaches

Refinery LP yield backcasting: reconcile crude-assay predictions, CDU/VDU cut-point temperatures, and fractionation gap variances

By Vikasraj YadavPublished Editorially reviewed 9 min read

For Operations lead, operations manager and ERP/EAM owner

Refinery LP yield backcasting: reconcile crude-assay predictions, CDU/VDU cut-point temperatures, and fractionation gap variances — Indian male oil-and-gas storeroom custodian in a navy collared work shirt and female materials-audit controller in an olive-green blazer over a cream blouse standing at a warm oak review table in a high-bay spares storeroom before modular steel shelving holding rows of grey storage bins and machined stainless-steel fittings, comparing an open hardbound physical-bin count and ledger reconciliation register with colour-coded index tabs against an open ring binder of storeroom pilot variance checklists with green, amber, and red status blocks alongside a stainless-steel parts tray holding machined stainless-steel flange stud bolts and couplings, plain white bin cards, and pens.

Refinery LP yield backcasting: reconcile crude-assay predictions, CDU/VDU cut-point temperatures, and fractionation gap variances: End-to-end storeroom reconciliation pilot matching physical bin counts and part specifications against ERP inventory balances.

MOFU GuideTopic Pillar: Oil & Gas · Operations
Focus topic: refinery planning software
At a glance · Quick answer

Quick answer: refinery planning software

How should refinery planning teams reconcile LP model predicted distillate/residue yields against actual crude-unit cut-point temperatures, lab TBP.

TL;DR — what you’ll learn

  • Never blame Crude Distillation Unit (CDU) operations for the entire gap between the monthly **Commercial Linear Programming (LP) Plan** and **Actual Distillate Yields**: decompose total yield variance into three orthogonal drivers—**Crude Assay Quality Drift**, **Intentional Cut-Point Temperature Shifts**, and **Tower Fractionation Efficiency Slump**.
  • Run a structured **Three-Step LP Backcast** at the close of every crude switch or 72-hour run: re-solve the LP simulator sequentially with (1) actual delivered crude blend proportions and lab TBP assays ([ASTM D2892 / D5236](https://www.astm.org/d2892-20.html)), (2) actual DCS draw cut-point temperatures, and (3) reconciled mass-balance yields ([Energy Institute HM 68](https://publishing.energyinst.org/)).
  • Monitor adjacent side-draw fractionation sharpness using the **[ASTM D86](https://www.astm.org/d0086-23.html) (5%_Heavy - 95%_Light) Gap/Overlap** alongside stripping-steam ratios so valuable diesel (340°C–365°C) is not slumped into lower-value Atmospheric Gas Oil (AGO) or vacuum feed.
  • Feed verified CDU fractionation factors and updated crude assay vectors back into the commercial LP library before traders bid on the next spot crude cargo.

Topics: refinery planning software, hydrocarbon supply chain software, crude oil trading software.

O125: Refinery LP yield backcasting: reconcile crude-assay predictions, CDU/VDU cut-point temperatures, and fractionation gap variances Oil & Gas Operations · Operations · Deterministic 4-Stage Operational & Financial Control Gate Architecture (US USD $ & India INR ₹) O125: Refinery LP yield backcasting: reconcile crude-assay predictions, CDU/VDU cut-point temperatures, and fractionation gap variances Oil & Gas Operations · Operations · Deterministic 4-Stage Operational & Financial Control Gate Architecture (US USD $ & India INR ₹) STAGE 01 · TELEMETRY & PTW INTAKE Capture Custody Meter / SCADA & Permit-to-Work Baseline • Ingest API MPMS / OISD flow-computer, tank radar & DCS tags • Verify active isolation certificate (LOTO) & gas-test window • Validate calibration proving factor, P&ID tag & asset hierarchy Sys: SCADA Historian & Digital PTW STAGE 02 · HYDROCARBON & ASSET LOCK Convert Gross-to-Net Volume & Enforce Safety Interlocks • Apply API temperature, pressure, density & BS&W corrections • Correlate vibration/corrosion excursion with operating state • Block SIMOPS conflicts, overdue SCE deferrals or unproved meters Sys: Hydrocarbon Engine & CMMS STAGE 03 · BALANCE & VARIANCE GATE Reconcile Pipeline / Plant Loss & Turnaround Scope • Close mass/energy balance across receipts, fuel, flare & stock • Quarantine unaccounted hydrocarbon loss or spec off-test lots • Audit contractor norm-hours, NDT weld packs & spare readiness Sys: Yield Accounting & Integrity QA STAGE 04 · CUSTODY & JIB SETTLEMENT Certify Custody Ticket & Settle Joint-Interest GL • Issue signed custody transfer ticket, excise/OIDB & royalty log • Execute 3-way match on rig/turnaround service & rental bills • Post COPAS / Ind AS hydrocarbon & maintenance ledger close Sys: PRA / JIB & ERP Finance Close HARD INTERLOCK & HOLD GATE Are meter proving, PSM/OISD safety locks & mass-balance limits met? PASS → Release to verified ERP subledger HOLD → Quarantine in exception register Exception Quarantine, Remediation & Audited Dual-Market (USD $ / INR ₹) Resolution Path 1. Isolate disputed custody ticket, off-spec batch or unverified contractor claim in Suspense Hold; block settlement. 2. Audit historian time-series, laboratory composite sample, LOTO register & physical tank dip with Asset Authority. 3. Certify reconciled net standard volume (NSV) or work-pack completion with dual Operations & Finance sign-off.

Refinery crude traders and supply planners purchase crude oil cargoes based on marginal values ("shadow prices") generated by a Linear Programming (LP) refinery planning model. However, library crude assays inside the LP software are often 2 to 5 years old, while real-time CDU operators must lower the Heavy Diesel draw cut-point temperature whenever cold-flow properties (Cloud Point / Cold Filter Plugging Point) tighten or when side-stripper tray efficiency degrades. While O024 governs the physical daily tank-to-unit mass balance, this guide (O125) defines the LP-to-actual yield backcasting engine, three-way margin variance attribution, ASTM D86 fractionation monitoring, and ERP/LP model update workflow.

Scope and governance boundary in Crude & Refined Products

This article specifies the refinery planning, process engineering, and ERP profitability-accounting workflow for yield backcasting:

  • What this workflow governs: Reconciling planned LP product slates (LPG, Naphtha, Kerosene/Jet, ULSD Diesel, VGO, Vacuum Residue) against reconciled unit mass balances, three-factor backcast variance decomposition (Assay Drift + Cut-Point Shift + Fractionation Loss), Gross Product Worth (GPW) financial attribution, and LP library parameter updates (ERPNext Production Plan).
  • What this workflow does not replace: It does not replace closed-loop Advanced Process Control (APC) multivariable controllers on the CDU tower, rigorous tray-by-tray thermodynamic simulation (Aspen HYSYS / Petro-SIM), or statutory custody-transfer crude bill-of-lading surveying.
Decision workflowRefinery LP yield backcasting: reconcile crude-assay predictions, CDU/VDU cut-point temperatures, and fractionation gap variances
  1. Scope and governance boundary

    Never blame Crude Distillation Unit (CDU) operations for the entire gap between the monthly **Commercial Linear Programming (LP) Plan** and **Actual Distillate Yields**: decompose total yield variance into three orthogonal drivers—**Crude Assay Quality Drift**, **Intentional Cut-Point Temperature Shifts**, and **Tower Fractionation Efficiency Slump**.

    Owner: Operations lead

  2. Why comparing raw LP plan yields to actual tank

    Run a structured **Three-Step LP Backcast** at the close of every crude switch or 72-hour run: re-solve the LP simulator sequentially with (1) actual delivered crude blend proportions and lab TBP assays ([ASTM D2892 / D5236](https://www.astm.org/d2892-20.html)), (2) actual DCS draw cut-point temperatures, and (3) reconciled mass-balance yields ([Energy Institute HM 68](https://publishing.energyinst.org/)).

    Owner: Technical verifier

Do field measurements, custody references, and engineering limits reconcile?
Yes · supported path

Release verified record

Feed verified CDU fractionation factors and updated crude assay vectors back into the commercial LP library before traders bid on the next spot crude cargo.

No / unresolved · exception path

Quarantine and route exception

Monitor adjacent side-draw fractionation sharpness using the **[ASTM D86](https://www.astm.org/d0086-23.html) (5%_Heavy - 95%_Light) Gap/Overlap** alongside stripping-steam ratios so valuable diesel (340°C–365°C) is not slumped into lower-value Atmospheric Gas Oil (AGO) or vacuum feed.

Owner: Operations authority + Finance controller

Re-verify after signed engineering disposition or corrected measurement evidence.

Operational status updates never auto-close engineering, safety, or financial sign-off gates.

Original diagram: NextEdge Labs.

Why comparing raw LP plan yields to actual tank dips misleads management?

When a refinery's middle-distillate (Jet + Diesel) yield comes in 2.1 wt% below the monthly LP forecast, a simplistic "Plan vs Actual" report triggers finger-pointing between the Commercial Crude Desk and CDU Operations because three distinct physical shifts are conflated:

  1. Delivered Crude Cargo Assay Drift vs Library Assay: Export crude streams (Urals, Basrah Medium, WCS, WTI) are pipeline blends whose True Boiling Point (ASTM D2892) curve shifts month to month as upstream fields or condensate spiking ratios change. If a delivered cargo contains 0.9 wt% less natural 150°C–365°C distillate in the crude itself than the LP library assumed, operations could never recover those barrels even with a perfect distillation column.
  2. Constraint-Driven Cut-Point Shifts: The commercial LP model may assume the CDU can cut Heavy Diesel all the way up to a 365°C TBP end-point. In actual operation, if the crude's paraffinic wax content spikes, the CDU console operator must reduce the Heavy Diesel draw temperature to 358°C TBP to meet the -5°C Cloud Point specification—intentionally leaving 0.75 wt% of heavy diesel molecules in the Atmospheric Gas Oil (AGO / FCC feed) draw.
  3. True Tower Fractionation Degradation (Tail Overlap): If side-stripper reboiler duty drops, stripping steam falls below 0.25 kg steam/kg oil, or pumparound internal reflux is under-circulated, light diesel molecules slump downward into the AGO/Residue draw (ASTM D86 95% Diesel temperature exceeds 5% AGO temperature). That residual variance is a genuine unit operating loss.
Worked-example visualControl checkpoints for refinery lp yield backcasting
O125 · Intake gateBaseline lock

Capture primary asset, lot, and custody identifiers before execution.

Operations · VerifiedWithin tolerance

Matched records proceed to settlement or technical closure.

Exception · Hold queueQuarantined

Out-of-tolerance or incomplete records require dual-owner disposition.

Illustrative control structure for refinery lp yield backcasting. Reconcile open exceptions at each shift or period close.

Original visual: NextEdge Labs.

Refinery LP yield backcasting and margin attribution control matrix

Scroll horizontally to see all columns.

Backcast Stage Model / Data Input Variance Equation (wt% & MT) Root-Cause Trigger Accountable Owner & Action
1. Baseline Commercial LP Plan (Y_plan) Monthly LP Run (LP-PLAN-10) Predicted yield from library crude assays & target cut points Baseline reference for GPW budget Supply & Trading / LP Planning Lead
2. Crude Assay Drift (Δ Y_assay) Backcast #1 (Y_assay): Actual crude mix + lab TBP / GC-SimDis Δ Y_assay = Y_assay - Y_plan Δ Y_assay
3. Cut-Point Shift (Δ Y_cut) Backcast #2 (Y_cut): Actual assay + actual TBP cut points Δ Y_cut = Y_cut - Y_assay Cold-flow (Cloud/Pour), sulfur, or flash constraint forces early cut Chief Process Engineer & Blender review pour-point depressant (PPD) economics
4. Tower Fractionation Loss (Δ Y_frac) Reconciled Yield (Y_actual) vs Backcast #2 (Y_cut) Δ Y_frac = Y_actual - Y_cut Δ Y_frac < -0.30 wt% or D86 (5%_AGO - 95%_Diesel) gap degrades CDU Operations Superintendent audits pumparound reflux & side-stripper steam
5. Financial GPW Reconciliation ERP Margin Ledger (GPW-BACKCAST) DeltaMargin = ∑ (Δ Y_i × Total Crude MT × Crack Spread_i) Unexplained residual after 3-way split >0.10 wt% Refinery Controller & Yield Accountant verify tank water/meter reconciliation

Illustrative worked example: 72-hour CDU-1 middle-distillate yield backcast and $535,500 margin reconciliation

Illustrative refinery planning scenario with synthetic figures to demonstrate three-way LP backcast decomposition arithmetic; not a client case study.

Consider a refinery completing a 72-hour campaign on Crude Distillation Unit CDU-1 processing 300,000.0 MT of a 70% Basrah Medium / 30% WTI crude slate. During the run, the commercial crack spread differential between Middle Distillates (Jet + ULSD Diesel) and Atmospheric Gas Oil / VGO (FCC Feed) is +$85.00/MT (every tonne of diesel slumped into gasoil loses $85.00 of refinery margin).

Step 1: Observe total middle-distillate yield shortfall vs LP plan

  • Commercial LP Plan (Y_plan): Predicted middle-distillate (150°C–365°C TBP cut) yield = 34.80 wt% (104,400.0 MT).
  • Reconciled actual yield (Y_actual): Measured middle-distillate yield = 32.70 wt% (98,100.0 MT).
  • Total middle-distillate variance (Δ Y_total): Δ Y_total = 32.70 wt% - 34.80 wt% = -2.10 wt% (-6,300.0 MT) DeltaMargin_total = -6,300.0 MT × $85.00/MT = -$535,500.00

Step 2: Execute the Three-Way LP Backcast Decomposition

To determine why 6,300.0 MT of distillate disappeared into heavier gasoil/residue cuts, the planning engineer runs two intermediate LP backcasts:

  1. Backcast #1 (LP_Actual_Assay → Y_assay = 33.90 wt%):
    • Holding the planned 150°C–365°C cut points fixed, the engineer substitutes the laboratory ASTM D2892 TBP curve of the actual feed tank composite sample. Because the delivered Basrah cargo was 0.6°API heavier in the gasoil/residue range than the library assay, theoretical distillate yield at 365°C drops to 33.90 wt% (101,700.0 MT): Δ Y_assay = 33.90 wt% - 34.80 wt% = -0.90 wt% (-2,700.0 MT / -$229,500.00)
  2. Backcast #2 (LP_Actual_CutPoint → Y_cut = 33.15 wt%):
    • Using the actual lab assay, the engineer lowers the Diesel/AGO upper TBP cut point in the model from 365°C to the actual 358°C cut point used by CDU operators to hold diesel Cloud Point below -6.0°C without cold-flow additive: Δ Y_cut = 33.15 wt% - 33.90 wt% = -0.75 wt% (-2,250.0 MT / -$191,250.00)
  3. Residual Tower Fractionation Variance (Δ Y_frac):
    • Comparing reconciled unit output (32.70 wt%) against Backcast #2 (33.15 wt%) isolates physical column fractionation inefficiency: Δ Y_frac = 32.70 wt% - 33.15 wt% = -0.45 wt% (-1,350.0 MT / -$114,750.00)

Scroll horizontally to see all columns.

Variance Component Yield Shift (wt%) Distillate Tonnage (MT) Margin Impact ($ at $85/MT) Share of Gap Corrective Action & Owner
1. Crude Assay Quality Drift (Δ Y_assay) -0.90 wt% -2,700.0 MT -$229,500 42.86% Update Basrah Medium LP TBP vector before next cargo bid (LP Modeler)
2. Intentional Cut-Point Shift (Δ Y_cut) -0.75 wt% -2,250.0 MT -$191,250 35.71% Dose 150 ppm cold-flow improver ($18k cost) to restore 365°C cut point (Process Eng)
3. Tower Fractionation Slump (Δ Y_frac) -0.45 wt% -1,350.0 MT -$114,750 21.43% Unplug fouled Diesel side-stripper steam nozzle & raise reflux (CDU Ops)
Total Reconciled Shortfall (Δ Y_total) -2.10 wt% -6,300.0 MT -$535,500 100.00% Zero unattributed variance

Acceptance tests and operational readiness criteria in Crude & Refined Products

  1. ACT-O125-01 (Mass-Balance Closure Pre-Requisite Gate): The LP backcasting workflow must reject raw un-reconciled flowmeter inputs and only execute variance decomposition against closed daily/campaign mass balances (Energy Institute HM 68) where hydrocarbon loss/gain closure is verified within ± 0.3 wt%.
  2. ACT-O125-02 (Orthogonal 3-Way Variance Identity Check): For every cut (Naphtha, Kerosene, Diesel, VGO, Residue), the sum of Δ Y_assay + Δ Y_cut + Δ Y_frac must equal Y_actual - Y_plan to 0.00 wt% rounding accuracy, and cross-product sum across all cuts must equal 0.00 wt% (mass conservation).
  3. ACT-O125-03 (ASTM D86 Gap/Overlap Alert Trigger): Whenever Δ Y_frac on Kerosene or Diesel falls below -0.30 wt%, the system must automatically pull the latest LIMS ASTM D86 95% light-key and 5% heavy-key distillation temperatures and flag side-stripper/pumparound degradation.
  4. ACT-O125-04 (Closed-Loop LP Assay Vector Calibration): If |Δ Y_assay| > 0.50 wt% persists across 2 consecutive cargoes of the same crude grade, the ERP/LP governance log must generate a mandatory Assay Library Revision Task for the commercial crude evaluation team.

Next steps in Crude & Refined Products

  1. Automate weekly 3-step LP backcast runs after mass-balance reconciliation: Stop reporting undifferentiated "plan vs actual" yield tables that mask crude quality drift as plant operating failure.
  2. Use fast GC-Simulated Distillation (ASTM D7169) on feed tanks before crude switches: Feed actual feed-tank TBP curves into the short-term scheduler before the crude hits the desalter.
  3. Evaluate cold-flow additive economics against cut-point depression losses: As shown in Step 2, spending $18,000 on Cold Flow Improver (CFI) to raise the diesel cut point from 358°C back to 365°C recovers $191,250 of distillate downgrade loss.
  4. Track ASTM D86 (5%_AGO - 95%_Diesel) fractionation gaps on the console KPI dashboard: Give operators real-time visibility into diesel tail slump.

Frequently Asked Questions in Crude & Refined Products

How should refinery planning teams reconcile LP model predicted distillate/residue yields against actual crude-unit cut-point temperatures, lab TBP assays, and daily mass-balance backcasts?

Teams should govern refinery planning software by linking every transaction to its source evidence, timestamp, and assigned owner before permitting downstream posting. Distinct from O024 (daily tank reconciliation); O125 closes the loop between commercial crude selection (expected assay yields in the LP model) and actual CDU/VDU draw rates, identifying tower fractionation inefficiency vs crude-quality drift. Rather than relying on informal spreadsheet overrides, the workflow enforces a documented verification gate and preserves the original observation whenever a correction is recorded.

How does hydrocarbon supply chain software handle exceptions and mismatches?

When a discrepancy occurs during hydrocarbon supply chain software, the system routes the blocked record into an owned exception queue rather than silently dropping or auto-adjusting the balance. Assigned operational, quality, and finance owners must review and approve exceptions before posting. Each exception retains the original quantity, date, and counterparty reference until the designated reviewer resolves the variance with supporting evidence.

What should teams test before automating crude oil trading software?

Before scaling crude oil trading software, run a bounded pilot using historical records that include partial receipts, late updates, duplicate messages, and rejected lines. Verify that the integration preserves idempotency, maintains a clear segregation of duties between operational entry and financial approval, and produces an auditable trail for every state transition.

Competitor Architecture and Enterprise Operational Benchmark

Scroll horizontally to see all columns.

Governance Dimension Legacy Spreadsheet & Siloed DCS/ERP Integrated O125 Control Loop Operational & Audit Impact
Custody & Mass-Balance Lock Post-close manual adjustment Pre-cutoff tolerance hold queue Prevents 1.8%–4.2% hydrocarbon & spend drift
OISD / PESO / API Audit Trail Disconnected shift handover sheets Immutable role-segregated event log Full statutory traceability at shift close

Summary and next actions

  1. Map the current refinery planning software record boundaries, system of record, and named approval owners before changing workflow rules.
  2. Separate operational status updates from engineering, safety, or financial disposition sign-off.
  3. Validate exception queues, duplicate handling, and cutoff reconciliation in a bounded pilot before production rollout.

SCADA-to-ERP State Locks and Safety Interlocks in Operations

Across Port Arthur & Baytown Gulf Coast Refinery CDU/VDU & Custody Terminal (TX-GC01) and Jamnagar West Coast Refinery & Marine Dispatch Gantry Complex (GJ-JMN04), executing refinery planning software over a 1,92,560-barrel-equivalent operating lot at 106 bar and 86°C requires eliminating every asynchronous polling gap between Emerson FloBoss S600+ Flow Computer & Micro Motion Elite Coriolis Skid, Schneider Electric Triconex TMR SIL-3 SIS & ESD Interlock, and SAP S/4HANA Oil & Gas (IS-OIL / TSW) & OpenLink Endur. When Hydrocarbon Accounting Controller, COPAS Joint-Interest Billing (JIB) & Excise/GST Lead teams allow work orders (WO-SAP-O125-5104), electronic permits-to-work (PTW-OISD-O125-804), or custody bills of lading (BOL-API-O125-9104) to settle while field tags FT-4204A and LT-3104B remain unproved, measurement and execution drift rapidly breaches ±0.25%.

Reversing this operational vulnerability—Overcomes generic turnaround management guides with critical-path blind-flange torque registries, hydrotest pack sign-offs, and 90-day refinery/terminal rollout playbooks.—demands a 262 ms hardware-and-software pre-commit gate via OPC-UA PubSub HaS-Locked Edge Broker & API MPMS Chapter 11.1/12.2 Calculator. Sibling asset workflows such as LNG Regasification Terminal Send-Out & Boil-Off Gas (BOG) Recondenser Reconciliation in Hydrocarbon ERP and Bitumen & Polymer-Modified Bitumen (PMB) Terminal ERP: Hot-Tank Thermal Coil Losses, SBS Polymer Dosing & Weighbridge Dispatch enforce this same cryptographic tag-to-ledger lock so upstream, midstream, and refining subledgers remain 100% synchronized.

Across Operations facilities governing refinery planning software (O125), binding Emerson FloBoss S600+ Flow Computer & Micro Motion Elite Coriolis Skid and Schneider Electric Triconex TMR SIL-3 SIS & ESD Interlock to SAP S/4HANA Oil & Gas (IS-OIL / TSW) & OpenLink Endur under US API MPMS Chapters 3.1A/11.1/12.2, OSHA 29 CFR 1910.119 PSM, PHMSA 49 CFR 192/195, and COPAS / US GAAP ASC 932/606 alongside India OISD-STD-105/152, OISD-GDN-206, PNGRB T4S, PESO, and Ind AS 2/115 / GST bonded out-turn rules caps unaccounted variance within ±0.25% in 262 ms, saving $39.6K (₹45.20 lakh) per 1,92,560-bbl-eq cycle.
  • Live Telemetry & Proving Lock (O125-G01): Reads primary Coriolis/radar registers FT-4204A, LT-3104B, and TT-2204C at 106 bar / 86°C, verifying meter-factor proving validity before issuing token BOL-API-O125-9104.
  • SIL Safety & LOTO Permissive (O125-G02): Queries Schneider Electric Triconex TMR SIL-3 SIS & ESD Interlock on permit PTW-OISD-O125-804 to confirm zero unapproved safety-critical element (SCE) bypasses or open mechanical isolation blinds.
  • Dual-Standard Volume Normalization (O125-G03): Computes net standard volume simultaneously at 60°F / 14.696 psia (US API MPMS) and 15°C / 101.325 kPa (India OISD / Legal Metrology) before posting to SAP S/4HANA Oil & Gas (IS-OIL / TSW) & OpenLink Endur.

Thermodynamic Closure Invariants and Edge Payload Schema

Before any custody transfer, turnaround work package, or joint-venture cost allocation for refinery planning software posts to SAP S/4HANA Oil & Gas (IS-OIL / TSW) & OpenLink Endur, the OPC-UA PubSub HaS-Locked Edge Broker & API MPMS Chapter 11.1/12.2 Calculator broker evaluates the thermodynamic mass-balance invariant and validates the edge JSON/OPC-UA payload within 262 ms:

// O125 Thermodynamic Standard-State & Integrity Closure Invariant (106 bar, 86°C)
NSV_O125_Std = V_Obs(FT-4204A) * MF_Proved * CTL(Rho_Ref, TT-2204C) * CPL(Rho_Ref, TT-2204C, 106bar) * (1.0 - BSW_Frac)
Closure_Drift_Pct_O125 = (abs(Mass_In_O125 - Mass_Out_O125 - Inventory_Delta(LT-3104B)) / Mass_In_O125) * 100.0
Commit_Permissive_O125 = (Closure_Drift_Pct_O125 <= 0.25) && (SIS_Bypass_PTW-OISD-O125-804 == false) && (Latency_Ms <= 262)

// Schema-Validated Edge-to-ERP Contract (O125 · crude-assay-lp-cut-point-yield-backcast-refinery-margin-reconciliation)
{
  "schema": "nextedge.oilgas.control_gate.v3.104",
  "articleId": "O125",
  "workOrderRef": "WO-SAP-O125-5104",
  "eptwPermitRef": "PTW-OISD-O125-804",
  "custodyBolRef": "BOL-API-O125-9104",
  "corridor": { "usFacility": "Port Arthur & Baytown Gulf Coast Refinery CDU/VDU & Custody Terminal (TX-GC01)", "indiaFacility": "Jamnagar West Coast Refinery & Marine Dispatch Gantry Complex (GJ-JMN04)" },
  "telemetry": {
    "flowTag": "FT-4204A",
    "levelTag": "LT-3104B",
    "tempTag": "TT-2204C",
    "pressureBar": 106,
    "temperatureC": 86,
    "parcelVolumeBblEq": 192560
  },
  "gateLimits": { "slaMs": 262, "maxTolerancePct": 0.25, "escalationMinutes": 18 },
  "regulatoryBindings": {
    "us": ["API MPMS Ch 3.1A/11.1/12.2", "OSHA 29 CFR 1910.119 PSM", "PHMSA 49 CFR 192/195", "COPAS JIB & ASC 932"],
    "india": ["OISD-STD-105 & OISD-GDN-206", "PNGRB T4S", "PESO SMPV Rules", "Customs/GST Bonded Out-Turn & Ind AS 2/115"]
  }
}

System-of-Record Governance and Bounded AI Guardrails Across Operations

Enforcing audit-ready governance across Port Arthur & Baytown Gulf Coast Refinery CDU/VDU & Custody Terminal (TX-GC01) and Jamnagar West Coast Refinery & Marine Dispatch Gantry Complex (GJ-JMN04) requires strict separation between deterministic hardware/ERP interlocks and advisory machine-learning models. Teams integrating Reconciling LPG Bottling Carousel Weight Tolerance Check And Cylinder Tare Reconciliation Financial Variances in Crude Oil Marine Import Terminal: CFO Ledger & ROI Model and How White-oil Product Dispatch Gantry Operations Design Electronic Permit To Work EPTW LOTO Isolation And Gas Test Interlock Control Gates and Exception Workflows govern O125 using the following system-of-record and AI boundary tables:

Scroll horizontally to view the O125 system-of-record control matrix.

O125 Control Gate StageField / Telemetry PreconditionAuthoritative System of RecordQuarantine & Escalation SLA (18 min)
1. Field Proving & Intake (FT-4204A / LT-3104B)Valid meter factor & radar dip at 106 bar / 86°CEmerson FloBoss S600+ Flow Computer & Micro Motion Elite Coriolis SkidHolds dispatch/work order WO-SAP-O125-5104; alerts Shift Lead in 18 min
2. Safety & LOTO Interlock (PTW-OISD-O125-804)Zero active SCE overrides & gas-test clearanceSchneider Electric Triconex TMR SIL-3 SIS & ESD InterlockHard inhibit on valve/permit actuation until Tier-2 sign-off
3. Volume & Mass Closure (BOL-API-O125-9104)60°F (US) / 15°C (India) closure within ±0.25% across 1,92,560 bbl-eqOPC-UA PubSub HaS-Locked Edge Broker & API MPMS Chapter 11.1/12.2 Calculator & ISO 17025 LIMSRoutes parcel to suspense tank/queue pending proving re-check
4. Subledger & JIB SettlementMatched BOL-API-O125-9104, WO-SAP-O125-5104 & bonded/royalty tax voucherSAP S/4HANA Oil & Gas (IS-OIL / TSW) & OpenLink EndurBlocks invoice, COPAS JIB cutback, or GST e-Way Bill release

Scroll horizontally to view the O125 deterministic gate vs. bounded AI matrix.

O125 Decision PointDeterministic SCADA / SIS / ERP GateBounded AI Agent Role (Advisory Only)Human Authority Sign-Off
Custody & Permit Release (PTW-OISD-O125-804)Hard binary check on ±0.25% closure & Schneider Electric Triconex TMR SIL-3 SIS & ESD Interlock permissiveFlags historical transmitter drift on FT-4204A and TT-2204CTerminal / Installation Manager (O125)
Certificate & BoL Verification (BOL-API-O125-9104)Cryptographic hash & schema check in OPC-UA PubSub HaS-Locked Edge Broker & API MPMS Chapter 11.1/12.2 CalculatorExtracts lab assay & proving fields from PDF certificates into stagingMeasurement / Reliability / HSE Lead
Suspense Quarantine Resolution (WO-SAP-O125-5104)Blocks GL posting if hold exceeds 18 minutes without reason codeClusters root-cause anomalies from prior shift historian logsHydrocarbon Accounting & Finance Controllers

Worked US COPAS/GAAP (USD $) and India OISD/Ind AS (INR ₹) Ledger

Every physical measurement discrepancy or unproved maintenance step in refinery planning software must map directly to an audited variance account in both US COPAS / GAAP (USD $) and Indian OISD / Ind AS / GST (INR ₹) ledgers inside SAP S/4HANA Oil & Gas (IS-OIL / TSW) & OpenLink Endur:

Under US API MPMS Chapters 3.1A/11.1/12.2, COPAS Joint-Interest Accounting, and US GAAP ASC 932/606/330 alongside India OISD-STD-152 / OISD-GDN-206, Legal Metrology, Customs/GST Bonded Out-Turn, and Ind AS 2/115, three-way reconciliation of WO-SAP-O125-5104 and BOL-API-O125-9104 in SAP S/4HANA Oil & Gas (IS-OIL / TSW) & OpenLink Endur across a 1,92,560-bbl-eq lot limits unattributed drift to ≤ ±0.25%, recovering $39.6K in US working capital and ₹45.20 lakh in Indian net margin and tax credits.

Scroll horizontally to view the O125 dual-market USD and INR financial ledger.

O125 Reconciliation Line Item (Operations)US Basin / Refinery Benchmark (USD $ · API / COPAS / ASC 932)India Refinery / Terminal Benchmark (INR ₹ · OISD / DGH / Ind AS)SAP S/4HANA Oil & Gas (IS-OIL / TSW) & OpenLink Endur Posting Rule
1. Audited Parcel Scope (BOL-API-O125-9104 / WO-SAP-O125-5104)1,92,560 bbl-eq @ $82.40/bbl ($15.87M lot)1,92,560 bbl-eq @ ₹6,706/bbl (₹129.13 Cr lot)Locked at standard reference state in SAP S/4HANA Oil & Gas (IS-OIL / TSW) & OpenLink Endur
2. Uncontrolled Legacy Drift Exposure($79.3K) annualized unattributed loss & COPAS JIB dispute risk(₹77.48 lakh) annualized customs/GST/PSC disallowance exposureTriggered when FT-4204A or PTW-OISD-O125-804 bypasses 262 ms gate
3. Gated Residual Tolerance (≤ ±0.25%)($39.7K) within proved API MPMS meter uncertainty(₹32.28 lakh) within OISD / Legal Metrology proving envelopeAuto-settled only with verified BOL-API-O125-9104 proving hash
4. Net Working-Capital & Audit Recovery+$39.6K preserved margin; close cut from 5d to 2h+₹45.20 lakh preserved margin; 100% GST/DGH audit readinessCommitted via four-way variance attribution in SAP S/4HANA Oil & Gas (IS-OIL / TSW) & OpenLink Endur

Assess your refinery planning software controls

Map the record states, evidence links, exception routing and review owners for refinery planning software. Technical and regulatory sign-off stays with the site authority.

Start with a short description of the scope and current systems. Synthetic examples are enough for the first conversation.

START A CONVERSATION

Assess your refinery planning software controls

Prepare your brief below, then review and send it in your email app to sales@nextlabsonline.com.

SELECTED INDUSTRYOil & gas

Article: Refinery LP yield backcasting: reconcile crude-assay predictions, CDU/VDU cut-point temperatures, and fractionation gap variances · Operations

THE FIRST CONVERSATION

Map the record states, evidence links, exception routing and review owners for refinery planning software. Technical and regulatory sign-off stays with the site authority.

All fields are required.

A few sentences about the problem, your users and timing are enough.

We’ll use your details to respond to your enquiry. Please don’t include patient records, passwords or confidential information. Privacy Policy · Website Terms.

Common operational questions

Practical answers for operations, engineering, and finance teams working on refinery planning software in oil & gas.

Which team should own the master record for refinery planning software?
Never blame Crude Distillation Unit (CDU) operations for the entire gap between the monthly **Commercial Linear Programming (LP) Plan** and **Actual Distillate Yields**: decompose total yield variance into three orthogonal drivers—**Crude Assay Quality Drift**, **Intentional Cut-Point Temperature Shifts**, and **Tower Fractionation Efficiency Slump**. Once you make one system the source of truth at the handover point, downstream teams can trust the numbers without re-keying data.
Who should sign off on overrides or discrepancies during refinery planning software?
Run a structured **Three-Step LP Backcast** at the close of every crude switch or 72-hour run: re-solve the LP simulator sequentially with (1) actual delivered crude blend proportions and lab TBP assays ([ASTM D2892 / D5236](https://www.astm.org/d2892-20.html)), (2) actual DCS draw cut-point temperatures, and (3) reconciled mass-balance yields ([Energy Institute HM 68](https://publishing.energyinst.org/)). Separating normal timing differences from real quantity or rate errors lets floor teams keep working while finance protects margin.
What parts of refinery planning software should never be left to an automated guess?
Keep quantity checks, pricing tolerances, and regulatory holds as strict system rules that never guess. Use AI where paperwork is messy—reading PDFs, matching line items across vendor documents, and assembling the evidence packet so your reviewer can make a fast, informed call.
Where should a team start when upgrading refinery planning software across US or India sites?
Monitor adjacent side-draw fractionation sharpness using the **[ASTM D86](https://www.astm.org/d0086-23.html) (5%_Heavy - 95%_Light) Gap/Overlap** alongside stripping-steam ratios so valuable diesel (340°C–365°C) is not slumped into lower-value Atmospheric Gas Oil (AGO) or vacuum feed. Starting with one high-volume site or lane lets your operations and finance leads verify that US (USD $) and India (INR ₹) compliance checks work cleanly under real shift pressure.

References

Sources checked 15 October 2026. Vendor examples retain their stated release scope. Catalogue entries do not replace the full applicable standards.

About the author

Vikasraj Yadav writes about operational records, software and AI automation for NextEdge Labs. The worked examples and all 70 collection diagrams are original editorial illustrations, not client results.

Published 20 October 2026. This guide discusses software and record design; qualified site authorities (Operations lead, operations authority and ERP/EAM system owner) determine the requirements for a specific operation — Record state separation, exception reconciliation and audit trail governance for refinery planning software.