Article
Refineries Tame Volatile Wastewater With Big Tanks and Smarter Chemistry
Refinery Confronted by Waste Load Surges: Equalization Tank, Online Sensors, and Automatic Chemical Dosing as a Shield
At a refinery, flow can swing up to 1.7× the average and the BOD load can spike to about 15×. This is not rare. The recipe for stability is an equalization tank as a damper, online sensors as eyes, and automatic dosing as a hand that reacts in real time.
At one refinery, the daily profile shows an average flow of 4.3 MGD (million gallons per day, a flow unit). The peak is ≈1.7× the average and the trough is ≈0.45× the average (nepis.epa.gov). Pollutant load follows the same pattern. The BOD (biochemical oxygen demand) load peak is ~15× the lowest point (nepis.epa.gov). In this situation, an equalization tank (EQ, a buffer tank to even out flow and concentration) is a “damper for diurnal variation”. Therefore the output to the downstream process is close to constant (nepis.epa.gov).
Role of the equalization tank (EQ)
Design guidance recommends an EQ volume of 10–20% of the average daily flow. In one example this is about 17%, or 740,000 gal, for a 4.3 MGD plant (nepis.epa.gov). The mechanism is simple but important. When the load is high, inflow goes into the EQ until the target is reached. The rest is held as a buffer and then released slowly through the night (nepis.epa.gov). EPA notes that full mixing in the EQ flattens concentration spikes a lot (see Fig.4). Adding active volume also trims the peak further (nepis.epa.gov).
The downstream effect is real. API separators, flotation units, clarifiers and bioreactors receive a more uniform load of oil, BOD, TSS (total suspended solids) and nutrients. Therefore performance improves and the units can be smaller (nepis.epa.gov, nepis.epa.gov). In one practice, a used aeration tank was converted into an EQ. The mixer/aerator runs continuously to prevent solids from settling, and it also manages the internal circulation flow (nepis.epa.gov, nepis.epa.gov). Mechanical auxiliary devices for wastewater units, such as mixers or blowers, are usually grouped as wastewater treatment support equipment.
EQ design and operating parameters
EQ is usually designed for several hours of flow. As an example, that is equal to 17% of the 24-hour volume (nepis.epa.gov). In that case the tank fills from 08.00 to 17.00, when the load is above the average. Then the tank is empty again at 08.00 the next day (nepis.epa.gov). With EQ, the load and the output pH going to the biological stage become more uniform. The target is about pH 7–8 for aerobic and anaerobic biomass.
The downstream units that benefit most are the API stage and clarification. For polishing and free-oil separation, commercial options such as oil removal systems and clarifiers are usually located downstream of buffering.
Real‑time monitoring with on‑line sensors
Active management of variability needs constant watching. Modern oil-in-water analyzers (OIW, oil-in-water sensors) based on UV fluorescence or IR absorption can detect oil traces on-line at the mg/L or ppm scale (concentration units). UV-based probes "excite oil droplets" to fluoresce. This gives an instant concentration reading.
Continuous monitoring removes the delays of grab sampling, which usually take hours and miss short-lived spikes. Therefore a response to an upset can be taken immediately. At the API separator, pH is usually monitored at the outlet as a “sentinel”: an unexpected shift can indicate flocculation failure or caustic carryover. The ideal pH for biomass ranges from ~6.5 to 8.5. Falling below 6.5 usually triggers bulking or toxicity (ResearchGate).
Modern digital pH/DO sensors can be linked to a PLC/SCADA (programmable logic controller/supervisory control and data acquisition). They give pH, DO (dissolved oxygen) in mg/L and turbidity readings, and they remind you when calibration is due. All parameters are read on one integrated panel. The added value is operational visibility. Managers can see whether oil separation and the downstream treatment stages are running well, and whether the effluent is suitable for reuse or discharge. For system-wide monitoring, Betaqua Sentinel WS monitors water quality parameters, alerts on maintenance needs, and records historical data for audits.
Sensor-based automatic chemical dosing
The key is to close the loop. The sensor triggers an actuator. If OIW goes above the target (for example, more than 10 mg/L), the PLC can automatically start demulsifier or coagulant injection. If pH drops from neutral, the alkali dose is increased. In practice, common reagents are acid (H₂SO₄/HCl) to break the emulsion or lower pH, caustic (NaOH, lime) to raise pH, and coagulant (ferric chloride) and polymer to speed settling. At the API stage, oil emulsions usually need "chemical addition to lower pH" or the use of emulsion breakers or demulsifiers. Automatic pumps such as an accurate dosing pump can meter acid from real-time pH readings. If turbidity in the clarifier rises, the coagulant pump can dose proportionally. Commercial coagulant and polymer formulations are available as coagulants and flocculants.
In a municipal study, dynamic pH control (similar to industrial flow) kept the setpoint tight even when the influent fluctuated. Refinery-specific data are still limited. At one refinery reported in equipment supplier literature, an OIW monitor paired with automatic flocculant dosing kept effluent oil low. Predictive algorithms in some systems also adjust dosing trends, for example by increasing coagulant during morning spikes. This combination gives resilience. When rainwater or process flow surges, the EQ absorbs it, and the sensors and dosing keep the discharge quality.
Measurable impact on compliance
This combined strategy usually keeps effluent below the quality standards. Plants that install EQ and on-line control report fewer violation incidents. In the example above, the 17% EQ buffer takes out most of the peak by volume (nepis.epa.gov). This improvement helps with permitting. The applicable effluent standards set oil and BOD limits, so this control helps keep the plant in compliance.
Integration with downstream process units
EQ has already smoothed the load, so the downstream processes (API separators, flotation, clarification and bioreactors) run in a stable zone. For dissolved air flotation, commercial packages such as DAF are a good match when oil spikes are controlled. On the biological side, load smoothing reduces the shock load to conventional and media-based bioreactors. If the incoming solids load goes up, polishing with wastewater physical separation systems helps dampen the variation before the next stage.
Sources and references
Design and case studies refer to U.S. EPA documents. EPA states the objectives and benefits of equalization (EPA Process Design Manual, EPA Process Design Manual, EPA Process Design Manual, EPA Process Design Manual, EPA Process Design Manual). U.S. Environmental Protection Agency, “Process Design Manual, Upgrading Existing Wastewater Treatment Plants” (EPA Technology Transfer, Oct 1974) is the classic design reference for refinery wastewater treatment (links above).