Article
Refineries Count On Quiet Workhorses: Inside the Long, Shallow Tanks That Make or Break Wastewater Compliance
API Separator in Refineries: Long Tanks, Slow Flow, and Efficiency That Depends on Size
The API separator does the heavy lifting in the first stage of refinery wastewater treatment. It separates free oil and suspended solids by gravity. However, this only works if the design, sizing and maintenance are right.
In modern oil refineries, a unit that looks simple plays an important role. It is a long, shallow tank with deliberately slowed flow. It removes bulk free oil and solids before the load goes to the polishing unit. This is the API (American Petroleum Institute) oil–water separator, the primary-stage device in the physical wastewater treatment train. It works by gravity and Stokes' law (the law of motion of small particles in a fluid due to density differences). The equivalent in our catalog for free-oil separation in industrial wastewater is industrial wastewater oil separation.
The target is realistic and clear: capture oil droplets ≥0.015 cm (150 μm). Smaller droplets need coagulation/flocculation or downstream flotation (www.scribd.com). In the field, this unit is the gatekeeper. It decides how easy and how costly the next polishing stage will be.
Forms of oil in refinery influent
The API separator separates by buoyancy (buoyant force) and density difference. Oil droplets (density ~0.8–0.9) rise and solids (density >1.0) sink. A middle layer that is mostly water is left. This is the core of the Stokes' law principle the unit uses. The oil in the influent is usually a mixture of the following:
- Free oil: large globules that rise under quiescent conditions and are easy to skim or separate in the API separator.
- Emulsified oil: fine droplets (~1–20 μm) stabilized by surfactants. It does not separate by gravity alone and needs chemical treatment or flotation.
- Dissolved oil: truly dissolved in water. No separation device can remove it, and it needs biological or other treatment.
A well-operated API separator removes most free oil and coarse solids. However, it does not remove emulsified or dissolved oil.
Geometry and hydraulic criteria (API Publication 421)
API Publication 421 and industry practice standards need a “long, narrow and shallow” shape. Then the flow approaches plug flow (piston flow, with minimal short-circuiting) and the droplet rise distance is short. Key parameters used include:
- Length-to-width ratio ≥5:1, to reduce short-circuiting and approach plug flow.
- Depth-to-width ratio is about 0.3 to 0.5. The tank is shallow (depth < half the width) so droplets reach the surface quickly.
- Maximum channel width ≈20 ft and depth ≈8 ft. These are the practical limits for the chain mechanism and for keeping the flow laminar.
- Horizontal velocity ≤3.0 ft/min (≈0.015 m/s). Above this, turbulence increases and the effective residence time falls. Industrial design practice keeps Vh ≤3 fpm.
At the inlet, a reaction baffle/diffuser is usually installed to spread the flow and prevent short-circuiting. At the bottom, a chain-and-flight scraper moves the sludge. At the surface, a rotating oil skimmer (oil-roll) collects the floating oil (www.scribd.com). The unit is usually divided into two parallel channels (API 421 recommends n=2), so one channel stays on-line while the other is serviced.
Sizing calculation and numerical example
Design follows API 421 (Hazen’s equation, an empirical approach to sizing). Design flow Q (ft³/min) is divided by the selected horizontal velocity Vh to obtain cross-sectional area A = Q/Vh (ft²). In practice, Vh is usually set at 15×Vt, where Vt is the rise velocity of a 150 μm droplet, but never >3 ft/min.
For example, at 20 °C (water Sg ≈0.991, oil Sg ≈0.858, μ≈0.0103 poise), Stokes' law gives Vt≈0.31 ft/min for a 150 μm droplet. With Vh=3 ft/min, A=Q/3. A turbulence factor F≈1.2–1.5 is then applied to determine length L = F·Vh/Vt·d (d is depth) and to make sure L/B≥5. In practice, we select channel width B (minimum 5–7 ft for the scraper), then solve d and L to meet A and the L/B≥5 ratio. A small example shows Vt=0.31 ft/min, Vh=3 ft/min, and AC=Q/Vh=4.9 ft².
In short, an "oversized" cross section (large B·d and multiple channels) gives the low Vh that a 150 μm droplet needs to have time to rise to the surface.
Operation, removal performance, and process variables
A well-designed API separator usually removes 80–90% of free oil and a significant portion of TSS (total suspended solids). However, the effluent still contains tens of mg/L of oil. Field data confirm that this unit is usually targeted to leave ≤200 mg/L of oil in the effluent (about 50 mg/L is usually achieved). Reported performance ranges are wide: oil removal 52–99%, COD removal 5–45%, and TSS removal 10–68%.
Many free-oil droplets and suspended solids are lifted out. However, emulsified oil and fine colloids pass through. Therefore a polishing step such as dissolved-air flotation (DAF) is usually needed to meet strict limits. DAF implementation is available as an industrial DAF for FOG and TSS system. Small droplets struggle to rise on their own. Therefore downstream practice usually involves coagulation and flocculation. These aids are relevant in that context, such as coagulants and flocculants that improve agglomeration and accelerate settling/flotation.
Three variables drive the separation: flow rate, pH and temperature. Keep the flow rate at or below design (Vh ≤3 ft/min). If it goes above that, the flow short-circuits and performance drops a lot. The expert note still holds: "close to, or below, design flow (velocity … ≤3 ft/min) is important for good performance". Low pH helps break oil emulsions. For example, lowering pH below 7 is known to improve free-oil separation. High pH tends to stabilize emulsions (www.watertechonline.com). Warmer water lowers viscosity and speeds the rise of droplets. Cold effluent can slow separation.
In real units, weirs and routine sampling are used to monitor performance. After the API separator, effluent oil levels (measured as oil & grease or a COD proxy) usually stay on the order of 10–100 mg/L. As a reference, the U.S. EPA pretreatment standard for new refineries targets <10 ppm oil in the final effluent. That is far below what an API separator alone achieves (nepis.epa.gov). Therefore the API separator is designed for bulk removal. Downstream units must polish to the regulatory level.
Indonesian regulatory context
In Indonesia, oil and grease limits are in the tens of mg/L. For example, Keputusan Menteri 1996 sets an oil/grease limit of 20 ppm for refinery wastewater (journal.lemigas.esdm.go.id). More recently, the regulation (Permen LH 19/2010) needs 25 mg/L oil+grease for produced and drainage water from onshore oil and gas operations (id.scribd.com). This figure is on par with many countries (range 10–30 mg/L). Therefore the API separator must remove most of the free oil for the effluent to meet the discharge standard.
Correct sizing, routine maintenance, and measurable results
Correct sizing is important. If the flow is too high or the area too small, the residence time drops and the turbulence rises. If the actual flow is 50% above design, the horizontal velocity and short-circuiting increase, and the droplets have less time to rise to the surface. Therefore the separator should be sized for peak or surge flow, usually 1.2–1.5× average flow, so it can handle upset conditions without oil carryover.
Routine maintenance decides the result. An API separator relies on a rotating oil skimmer at the surface and a chain-and-flight scraper at the bottom. Both need to run usually. A scum layer that is left to thicken, for example above 10–20% of tank depth, reduces the effective volume and traps new oil. Sludge at the bottom also cuts the settling capacity. In practice, operators remove sludge daily or weekly, depending on the load. An enclosed API separator can need inerting to prevent vapor release. Skimming oil, dredging sludge and checking baffles are cited again and again as the difference between target and actual performance.
Measured results show consistency. An API separator that is well designed and routinely maintained reduces oil content by one order of magnitude. For example, an influent of thousands of mg/L O&G can drop to a few hundred mg/L after the API separator. In a U.S. EPA review, a typical example shows an influent of 100–300 ppm reduced to 20–40 ppm in one API stage (60–90% removal) (nepis.epa.gov). The quoted ranges (50–99% oil, up to ~65% TSS) reflect a well-managed system. Deviations almost always come from incorrect sizing or lax maintenance.
Core engineering and downstream implications
The core of API separator design is to comply with API 421 and to match the tank to the worst-case flow scenario. That means long, shallow tanks with low Vh. Performance (oil and TSS in the effluent) depends heavily on the design choices and on operational discipline. If you size the tank with a safety factor and fit it with a scraper and skimmer, plus level and O&G sensors, the tank can reach the design removal. However, a smaller unit or a poorly maintained one will have oil breakthrough and risks failing the discharge standards. The data, from Stokes calculations to field reports, confirm that correct sizing and housekeeping matter as much as the initial design. Both are needed to meet the environmental objectives and to protect the downstream units.
Industry references and sources
The design references and case data include the recommendations of API Publication 421, EPA engineering manuals, industry reports and Indonesian regulations. Their links are embedded throughout the article: the EPA report (nepis.epa.gov), and Indonesian environmental regulations (journal.lemigas.esdm.go.id) (id.scribd.com).