Petroleum Refineries

NAICS 324110 · Petroleum and Coal Products Manufacturing · SBA size standard: 1,500 employees

Petroleum refineries receive crude oil by pipeline, barge and rail, process it through atmospheric and vacuum distillation, cracking, reforming and treating units, then blend, store and ship finished fuels, lubricants and petrochemical feedstocks. Specialists turn incoming crude assays and nominations into unit run plans, convert those plans into daily operating targets and blend recipes, track tank inventories and quality specs, schedule maintenance turnarounds, and manage product movements and shipping documentation while operators and engineers remain responsible for all safety-critical decisions, permits and final approvals.

Start with these bots

What makes this business different

  • Crude oil scheduling and assay-based yield predictions that drive the entire operating plan
  • Complex multi-unit operating plans with heat and material balance constraints across crude, vacuum, FCC, hydrocracker, reformer and treating units
  • Continuous 24/7 production with strict product quality specifications for gasoline, diesel, jet, asphalt and petrochemicals
  • Tank farm inventory management with floating-roof tanks, vapor recovery, blending and line flushing requirements
  • Maintenance turnaround planning, permit-to-work systems, lockout-tagout and confined-space entry paperwork
  • Product blending, certification and shipping by pipeline, barge, railcar and truck with custody transfer documents
  • Regulatory reporting for emissions, benzene, sulfur and wastewater while operators confirm all compliance requirements
  • Supplier crude nominations, exchange agreements and customer liftings that must be reconciled weekly

Specialist bots

  • a control room operator reviewing a wall display of crude tank levels and pipeline schedules beside a printed assay report

    Crude Scheduler

    Convert crude nominations, vessel ETAs and assay data into feasible 30-day run plans.

    Works in: Ambitious Sheets, Process Optimizer, Ambitious Tasks · Workflows: Crude nomination and scheduling

    Automates

    • Matches nominations to tank capacity and pipeline windows
    • Runs preliminary yield models from assay data
    • Builds the monthly crude slate and tank lineup schedule
    • Creates tasks for switch procedures and heel management

    Stops for a person

    • The operations manager approves the final crude schedule
    • Any off-spec crude purchase requires engineering sign-off
    • A person confirms all vessel and pipeline nominations
  • a process engineer at a distillation column control panel with a printed heat and material balance sheet

    Unit Run Planner

    Generate daily operating targets and balanced unit plans from current inventories and constraints.

    Works in: Process Optimizer, Ambitious Sheets, Ambitious Tasks · Workflows: Unit run plan and operating target generation

    Automates

    • Pulls latest tank and lab data
    • Calculates cut points, reactor conditions and utility balances
    • Flags equipment or catalyst constraints
    • Produces the daily operating sheet for each unit

    Stops for a person

    • Shift supervisors and process engineers review and adjust targets before implementation
    • Any change that affects safety systems requires operations approval
  • a technician sampling liquid from a gasoline blend tank through a thief hatch on a large floating roof tank

    Blending Coordinator

    Optimize product blend recipes and generate blend orders that meet finished fuel specifications.

    Works in: Process Optimizer, Ambitious Sheets, Ambitious Docs · Workflows: Product blending and certification

    Automates

    • Pulls component tank qualities and inventories
    • Runs linear programming blend optimizer
    • Generates detailed blend orders and additive injection plans
    • Drafts certificates of analysis

    Stops for a person

    • The blending supervisor approves every blend recipe before starting
    • Laboratory confirms final batch quality before release
    • A person signs all certificates of analysis
  • a worker in flame-resistant clothing measuring a gauge on a large white floating roof storage tank

    Tank Farm and Inventory Manager

    Maintain accurate tank inventories, plan movements and forecast availability for crude and products.

    Works in: Ambitious Sheets, Ambitious Tasks, Ambitious Docs · Workflows: Tank farm inventory and movements

    Automates

    • Updates levels, temperatures and water cuts from gauges and lab data
    • Calculates working inventories and heel requirements
    • Plans tank-to-tank transfers and pipeline displacements
    • Forecasts tank availability for upcoming receipts and shipments

    Stops for a person

    • Operations verifies all tank measurements and lineups
    • The inventory accountant reconciles daily gains and losses
    • Any movement involving benzene or high-vapor-pressure products requires additional safety review
  • a planner in a hard hat reviewing a large printed Gantt chart taped to a wall inside a trailer office with scaffolding visible outside

    Turnaround Planner

    Build integrated turnaround schedules, track materials and simulate impact on refinery operations.

    Works in: Process Optimizer, Ambitious Sheets, Ambitious Tasks · Workflows: Turnaround and maintenance planning

    Automates

    • Compiles work scopes and critical path activities
    • Builds resource-loaded Gantt schedules
    • Simulates inventory and production impacts
    • Tracks long-lead items and permit templates

    Stops for a person

    • The turnaround manager and operations leadership approve the final schedule
    • All permit-to-work, lockout and confined-space plans are reviewed by safety personnel
    • A person confirms contractor bids and purchase orders
  • a loading operator connecting a hose to a railcar on a siding beside a refinery loading rack

    Shipping and Custody Coordinator

    Prepare shipping documents, coordinate liftings and close out product movements.

    Works in: Ambitious Docs, Ambitious Tasks, Contract Analyzer · Workflows: Product shipping and custody transfer

    Automates

    • Generates bills of lading and certificates of analysis
    • Coordinates with pipeline and marine schedulers
    • Tracks demurrage and laytime
    • Adjusts inventories after each lifting

    Stops for a person

    • The loading supervisor confirms product quality and quantity before release
    • All custody transfer documents are signed by authorized personnel
    • The accounting team approves final reconciliation
  • a technician collecting a water sample from an outfall pipe at the edge of a refinery wastewater treatment pond

    Regulatory Compliance Clerk

    Collect process data, draft emissions and discharge reports, and track permit renewal dates.

    Works in: Ambitious Sheets, Ambitious Docs, Ambitious Tasks · Workflows: Regulatory and emissions tracking

    Automates

    • Compiles daily flare, sulfur and wastewater data
    • Drafts monthly and quarterly regulatory reports
    • Tracks permit and license renewal dates
    • Maintains chemical inventory records

    Stops for a person

    • Environmental engineers review every report before submission
    • The refinery manager confirms which requirements apply at this location
    • All final filings and certifications are performed by licensed staff

Workflows

Crude nomination and scheduling

Starts when: Monthly nomination window or new crude arrival notice

  1. Capture incoming crude nominations, vessel ETAs and pipeline schedules
  2. Match nominated crudes to available storage tanks and assay data
  3. Run preliminary yield predictions against current unit capacities
  4. Draft the 30-day crude run plan for engineering review
  5. Create tasks for tank lining up and crude switch procedures

Watch for: Crude switches require specific tank heel management and line flushing; Assay variability can significantly change unit yields and operating targets

Unit run plan and operating target generation

Starts when: Daily at shift change and after any crude change

  1. Pull latest tank inventories, crude assays and product quality data
  2. Generate targets for crude charge, cut points, reactor temperatures, severities and catalyst additions
  3. Balance hydrogen, steam and utility demands across units
  4. Flag any constraints from maintenance or catalyst life
  5. Produce a daily operating sheet for each process unit

Watch for: Heat and material balance must stay within equipment limits; Any change to one unit affects downstream units and blending

Product blending and certification

Starts when: When blend tanks are ready or on customer lifting schedule

  1. Pull current tank qualities and available component inventories
  2. Optimize blend recipes to meet finished product specifications
  3. Generate blend orders and line-up sequences
  4. Draft certificates of analysis and shipping documents
  5. Track additives and dye injection requirements

Watch for: Gasoline, diesel and jet must meet strict ASTM, EPA and customer specs; Re-blends are expensive and must be minimized

Tank farm inventory and movements

Starts when: Every shift and after any receipt or shipment

  1. Update all tank levels, temperatures and water cuts
  2. Calculate available working inventory by product
  3. Plan tank-to-tank movements, line displacements and heel management
  4. Forecast tank availability for incoming crude or product lifts
  5. Generate daily inventory reconciliation report

Watch for: Floating roof tanks require minimum heel and maximum fill limits; Product interfaces during pipeline movements must be managed

Turnaround and maintenance planning

Starts when: Annual planning cycle and 90 days before each event

  1. Compile equipment inspection and repair scopes from reliability engineers
  2. Build integrated schedule for all units and offsites
  3. Track long-lead materials, contractor bids and permit templates
  4. Simulate impact on crude runs and product availability
  5. Produce critical-path Gantt and resource loading

Watch for: Every vessel entry, hot work and confined space activity needs permits; Turnaround must align with product inventory build and customer agreements

Product shipping and custody transfer

Starts when: Customer lift nomination or pipeline schedule confirmation

  1. Confirm product quality against specification
  2. Generate bill of lading, certificate of analysis and customs paperwork
  3. Coordinate with pipeline, barge or rail schedulers
  4. Track demurrage and laytime
  5. Close out lifting with inventory adjustment

Watch for: Custody transfer measurements are legally binding; Different customers require different additive packages and documentation

Regulatory and emissions tracking

Starts when: Daily logs, monthly reports and renewal dates

  1. Collect process data for flare, sulfur recovery, benzene and wastewater reports
  2. Track permit conditions and upcoming renewal dates
  3. Draft emissions and discharge summaries
  4. Maintain chemical inventory and Tier II reporting data
  5. Flag any deviations for engineering review

Watch for: Local, state and federal rules differ by refinery location; All final reports and certifications are confirmed and filed by licensed staff

Bot templates for this industry

Source: U.S. Small Business Administration, Office of Size Standards, Table of Small Business Size Standards Matched to North American Industry Classification System Codes, version March 2023 (effective 2023-03-17, NAICS 2022). Size standards are shown for reference only.