Vegetable Oil Refinery Wastewater: DAF + UASB + Biogas Recovery for EPC Contractors in Indonesia and Saudi Arabia Edible Oil Processing Hubs

August 21, 2026
No Comment

Introduction: The Hidden Cost of Cooking Oil Production

Vegetable oil refining is one of the most wastewater-intensive food processing industries. A single mid-size refinery processing 500 tonnes/day of crude palm oil, soybean oil, or sunflower oil generates 2,000-5,000 m3/day of wastewater with COD levels of 15,000-60,000 mg/L, oil and grease concentrations of 2,000-8,000 mg/L, and phosphorus spikes from degumming operations. In Indonesia — the world’s largest palm oil producer — and Saudi Arabia — where edible oil self-sufficiency is a Vision 2030 priority — EPC contractors face a dual challenge: meeting strict discharge limits while recovering valuable byproducts (oil, biogas, fertilizer-grade phosphorus) that can transform wastewater from a cost center into a profit center.

This post covers the full treatment train — DAF for oil recovery, UASB for biogas generation, and aerobic polishing for compliance — with design parameters, CAPEX/OPEX benchmarks, and the regional regulatory landscape that wins refinery wastewater projects in Indonesia and Saudi Arabia.

Refinery Wastewater Stream Segregation: Four Critical Sources

Stream % of Total Flow COD (mg/L) O&G (mg/L) Key Contaminants
Degumming Acid Water 10-15% 30,000-60,000 1,000-3,000 Phospholipids, phosphoric acid, gums
Neutralization Soapstock Splitting 20-35% 20,000-45,000 3,000-8,000 Free fatty acids, NaOH, soap
Bleaching Earth Wash Water 10-20% 15,000-30,000 500-2,000 Bleaching clay, pigment residues, trace metals
Deodorizer Condensate + General Wash 30-55% 3,000-12,000 500-1,500 Volatile fatty acids, tocopherols, odor compounds

Stream segregation is critical. Mixing soapstock splitting water (pH 11-13) with degumming acid water (pH 2-3) creates massive neutralization chemical costs and destabilizes downstream biological systems. Best-practice refineries use at least four segregated collection systems, each with dedicated equalization and pH control before merging into the biological train.

Stage 1: DAF — Oil and Grease Recovery

Dissolved Air Flotation (DAF) is the first treatment stage and the most valuable: recovered oil can be sold as acid oil for soap manufacturing, animal feed, or biodiesel feedstock. A well-operated DAF system on refinery wastewater recovers 200-800 kg/day of oil from a 3,000 m3/day plant — generating $150-$600/day in byproduct revenue.

DAF Design Parameters for Vegetable Oil Refinery Service

  • Surface loading rate: 5-8 m3/m2-h (conservative for high-O&G wastewater)
  • Coagulant: Aluminum sulfate (alum) or polyaluminum chloride (PAC), 80-200 mg/L
  • pH adjustment: Acidify to pH 4.5-5.5 for soap-breaking, then re-adjust to 7.0-8.0
  • Polymer: Cationic PAM, 3-10 mg/L
  • Air-to-solids ratio: 0.03-0.06 kg air/kg TSS
  • Expected removal: 85-95% O&G, 70-85% TSS, 30-50% COD
  • Float sludge: 5-12% DS, high oil content, marketable as acid oil
  • Material: 316L stainless steel (corrosion resistance against fatty acids)

The acidification step is the key design innovation for refinery DAF. Soapstock wastewater contains sodium soaps (RCOO-Na+) that are fully soluble and invisible to DAF. By lowering pH to 4.5-5.5, soaps convert to insoluble free fatty acids (RCOOH), which coagulate and float. This “acidulation-DAF” combination can recover 90%+ of dissolved oil that would otherwise overload the biological system.

Stage 2: UASB — Biogas Recovery from High-COD Streams

After DAF, COD is still 8,000-25,000 mg/L — far too high for aerobic treatment alone. Upflow Anaerobic Sludge Blanket (UASB) reactors convert this organic load into biogas (60-70% methane), generating 0.35 Nm3 biogas per kg COD removed. A 3,000 m3/day refinery with 15,000 mg/L inlet COD produces approximately 12,600 Nm3/day biogas — equivalent to 7,500 kg/day natural gas worth $2,700/day at Saudi industrial gas prices.

UASB Design Parameters

  • Organic loading rate: 8-15 kg COD/m3-day
  • HRT: 12-24 hours
  • Temperature: 32-38 degrees C (mesophilic)
  • VFA-to-alkalinity ratio: < 0.3 (stability indicator)
  • Biogas yield: 0.30-0.38 Nm3 CH4/kg COD removed
  • COD removal: 80-90%
  • Granular sludge: 20-40 g VSS/L reactor volume
  • Biogas utilization: Boiler fuel (steam for refinery), CHP electricity, or flare
Parameter UASB (Anaerobic) Aerobic MBR (Alone)
Energy Use Net producer (biogas) 0.5-1.0 kWh/m3 (consumer)
Sludge Production 0.05-0.10 kg TSS/kg COD 0.3-0.5 kg TSS/kg COD
Footprint Compact (vertical) Large (basins)
COD Removal 80-90% 95-99%
Effluent Quality COD 1,500-3,000 mg/L COD < 50 mg/L
Best Role High-COD bulk removal Polishing to discharge/reuse

Stage 3: Aerobic Polishing — MBR or Conventional

UASB effluent (COD 1,500-3,000 mg/L) requires aerobic polishing to meet discharge limits. Containerized MBR is the preferred choice for refinery sites because:

  • COD < 50 mg/L and TSS < 5 mg/L effluent enables reuse for boiler makeup or cooling tower
  • Compact footprint fits within refinery boundaries
  • Long SRT (20-30 days) degrades residual fatty acids and odor compounds
  • Membrane barrier eliminates final clarifier risk from surfactant shocks

MBR Design Parameters

  • HRT: 8-12 hours
  • MLSS: 8,000-12,000 mg/L
  • Membrane flux: 12-18 LMH
  • SRT: 20-30 days
  • Nutrient dosing: N and P supplementation (refinery wastewater is nutrient-deficient)
  • Expected effluent: COD < 50 mg/L, BOD5 < 10 mg/L, O&G < 5 mg/L

Stage 4: Sludge Dewatering with Screw Press

The combined DAF float (acid oil), UASB granular surplus, and MBR waste sludge require dewatering. A screw press is ideal for refinery sludge because:

  • Handles oily, greasy sludge without blinding (unlike belt presses)
  • Low wash water consumption (< 5% of feed flow)
  • Produces 20-30% DS cake, reducing disposal volume
  • Enclosed design controls odor and VOC emissions

Regional Market Analysis

Indonesia

Indonesia produces 45+ million tonnes of crude palm oil (CPO) annually, with refinery capacity concentrated in Sumatra (Dumai, Riau), Kalimantan (Balikpapan, Tarakan), and Java (Surabaya, Bekasi). The Indonesian government requires all CPO mills and refineries to meet PP 22/2021 discharge standards: COD < 100 mg/L, O&G < 10 mg/L. The Indonesian Sustainable Palm Oil (ISPO) certification and EU Deforestation Regulation (EUDR) are pushing refineries to close water loops and recover byproducts. Major groups — Wilmar, Golden Agri-Resources (GAR), Musim Mas, Astra Agro — operate 50+ refineries, most with wastewater systems overdue for upgrade or expansion.

Saudi Arabia

Saudi Arabia imports 90% of its edible oil but is building domestic refining capacity under Vision 2030 food security programs. Saudi edible oil refiners (Savola, Al-Munajem, Goody) operate in Jeddah, Dammam, and Riyadh industrial cities. GAMEP industrial discharge limits (COD < 150 mg/L, O&G < 8 mg/L) are enforceable, and the National Water Company’s industrial reuse mandate pushes refineries toward ZLD or near-ZLD. Biogas recovery is especially attractive in Saudi Arabia because industrial natural gas costs $0.15-0.25/Nm3 — among the lowest in the world — but domestic gas allocation for industry is tightening, making on-site biogas a strategic fuel substitute.

Vietnam

Vietnam produces edible oils from soybean, peanut, and rice bran, with major refiners (Tuong An, Calofic, Cai Lan) in Ho Chi Minh City and Hai Phong. QCVN 40:2011/BTNMT Column A limits (COD < 50 mg/L, O&G < 5 mg/L) are strict enough to require DAF + anaerobic + aerobic trains. The rice bran oil sector is growing rapidly, creating a niche wastewater stream with high silica content.

CAPEX/OPEX Benchmark: 3,000 m3/day Vegetable Oil Refinery WWTP

Cost Element DAF + Aerobic Only (USD) DAF + UASB + MBR + Biogas (USD)
CAPEX
Acidulation + DAF System $280,000 $320,000
Equalization + pH Control $120,000 $150,000
UASB Reactor + Biogas System $0 $680,000
Aerobic MBR (Containerized) $0 $420,000
Conventional Aeration Basin $350,000 $0
Screw Press $45,000 $55,000
SCADA + Instruments $30,000 $45,000
Total CAPEX $825,000 $1,670,000
Annual OPEX
Electricity $180,000 $85,000
Chemicals + Polymer $65,000 $70,000
Sludge Disposal $45,000 $25,000
Recovered Oil Revenue $0 ($180,000)
Biogas Fuel Value $0 ($280,000)
Water Reuse Savings $0 ($60,000)
Annual Net OPEX $290,000 ($360,000)
5-Year Total Cost $2,275,000 $130,000

The DAF + UASB + MBR + biogas system has higher CAPEX but pays for itself within 3.5 years through oil recovery, biogas fuel substitution, and water reuse savings. After payback, the system generates net positive cash flow of $360,000/year — a compelling business case that EPC contractors should present to refinery CFOs, not just environmental managers.

EPC Equipment Selection Matrix

Unit Operation Recommended Equipment Material of Construction Key Sizing Parameter
Soapstock Acidulation + Oil Recovery Acid Dosing Reactor + DAF 316L SS / HDPE 5-8 m3/m2-h loading
Biogas Generation UASB Reactor + Gas Holder Concrete + GRP cover 8-15 kg COD/m3-day
Aerobic Polishing Containerized MBR 316L SS container 12-18 LMH flux
Sludge Dewatering Screw Press 316L SS 20-30% DS cake
Biogas Utilization Boiler or CHP Unit Carbon steel / SS 0.35 Nm3 biogas/kg COD
Odor Control Biofilter or Chemical Scrubber FRP 2-5 s EBRT

The Yixing Feiran Environmental Vegetable Oil Refinery Package

Yixing Feiran Environmental supplies DAF units engineered for high-O&G refinery service, UASB reactors, containerized MBR systems, and screw presses for vegetable oil refinery wastewater treatment. Our acidulation-DAF design maximizes oil recovery, while our UASB-MBR integration delivers biogas-to-energy and reuse-grade effluent in a compact footprint. We provide PP 22/2021 / GAMEP compliance documentation, biogas system safety certifications, and operator training for refinery teams. FOB Jakarta, Jeddah, and Dammam delivery options are available.

Request Vegetable Oil Refinery WWTP Datasheet →

Download the refinery wastewater design package: acidulation-DAF sizing calculator, UASB biogas yield model, MBR polishing specs, and CAPEX/OPEX benchmark for Indonesia and Saudi Arabia edible oil processing hubs.

Vegetable Oil Refinery Wastewater: DAF + UASB + Biogas Recovery for EPC Contractors in Indonesia and Saudi Arabia Edible Oil Processing Hubs