# Process modeling and sludge characterization of electrocoagulation for the removal of oil-in-water emulsions and calcium from petroleum refinery wastewater

**Authors:** Yomna E. Mohamed, Dina A. El-Gayar, Nevine K. Amin, E.-S. Z. El-Ashtoukhy

PMC · DOI: 10.1038/s41598-026-37854-8 · Scientific Reports · 2026-03-03

## TL;DR

This study explores using electrocoagulation to remove oil and calcium from refinery wastewater, optimizing conditions and evaluating cost and feasibility.

## Contribution

The study introduces a novel integrated approach combining experimental, statistical, and financial methods for simultaneous oil and calcium removal.

## Key findings

- Optimal conditions achieved 91.3% oil and 72.9% calcium removal.
- Energy consumption was 12 kWh/m³ and cost was 10.32 EGP/m³.
- COMSOL simulations helped understand electrochemical features of the process.

## Abstract

Electrocoagulation (EC) process efficiency for treating synthetic petroleum refinery wastewater was investigated. The novelty of this study lies in the simultaneous removal of oil-in-water emulsion and calcium ions using an integrated experimental–statistical–financial approach, combining response surface methodology (RSM) optimization with COMSOL Multiphysics simulation. The impact of independent variables on the removal rates of both contaminants was studied and optimized using the central composite design method. Analysis of variance was employed to evaluate the significance of the variables and the mathematical model determined by RSM. The optimal conditions were determined to be a pH of 9, a current density of 6.123 mA/cm2, an initial calcium concentration of 130 ppm, an initial oil content concentration of 588 ppm, a NaCl concentration of 2.5 g/l, and a total electrolysis time of 98 min. These conditions correspond to an oil content removal rate of 91.3% and a calcium removal rate of 72.9%. Energy consumption and total operation costs were calculated under these parameters to be 12 kWhm-3 and 10.32 EGPm-3, respectively. Fourier Transform Infrared spectroscopy, Energy-dispersive X-ray spectroscopy, and Scanning electron microscopy characterization were performed on the resulting sludge and scum at the optimum conditions and its utilization was discussed. Furthermore, COMSOL Multiphysics software was used to simulate the voltage distribution across the proposed cell to understand the electrochemical features. Overall, the statistical, financial, and simulated study demonstrates the feasibility of the EC technique for oil refinery wastewater treatment.

The online version contains supplementary material available at 10.1038/s41598-026-37854-8.

## Linked entities

- **Chemicals:** NaCl (PubChem CID 5234)

## Full-text entities

- **Chemicals:** EDTA (MESH:D004492), C (MESH:D002244), hypochlorite (MESH:D006997), NaCl (MESH:D012965), CaCO3 (MESH:D002119), O (MESH:D010100), salts (MESH:D012492), HCL (MESH:D006851), CaCl2 (MESH:D002122), NaOH (MESH:D012972), hydroxyl radicals (MESH:D017665), chloride (MESH:D002712), water (MESH:D014867), fluoride (MESH:D005459), Al2O3 (MESH:D000537), Fe (MESH:D007501), Oil (MESH:D009821), phenols (MESH:D010636), Chlorine (MESH:D002713), hydroxides (MESH:D006878), Al2(OH)24+ (-), Al (MESH:D000535), Na (MESH:D012964), H (MESH:D006859), Tween 80 (MESH:D011136), strontium (MESH:D013324), Ca (MESH:D002118), oxides (MESH:D010087), magnesium (MESH:D008274), AlCl3 (MESH:D000077410), OH- (MESH:C031356), Al(OH)3 (MESH:D000536)
- **Species:** PX clade (clade) [taxon 569578]

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/PMC12957336/full.md

## Figures

10 figures with captions in the complete paper: https://tomesphere.com/paper/PMC12957336/full.md

## References

11 references — full list in the complete paper: https://tomesphere.com/paper/PMC12957336/full.md

---
Source: https://tomesphere.com/paper/PMC12957336