BONUSREPORT
Wastewater treatment:
A refinery case study
This refiner used an in-house initiative to troubleshoot plant-wide
process water problems
M. SHAFIQUE, Z. U. KIRMANI, A. KHURSHID, N. ALAM and N. AHMED,
Attock Refinery Ltd., Rawalpindi, Pakistan
HBU-I
(distillation
unit)
Spent
caustic
treater
HBU-II
(distillation
unit)
Reformer
The facility. Attock Refinery Limited (ARL) is based at Rawalpindi, Pakistan. ARL is one of the few refineries that can process a
complicated mix of 70 different crude oils with APIs ranging from
Distillation
unit
Heavy crude
unit (HCU)
Desalter
cuff header
APIseparator
Boiler house
Cooling
tower
APIseparator
Tanks
drain
trolled were pH, total suspended solids (TSSs), O&G and COD.
Therefore, these parameters were analyzed in all effluent streams
to gauge their total impact on the main refinery effluent streams.
From Fig. 1, boiler blowdown water was sent to the non-oily
stream, and it was the main contributor for high pH and TSS valTABLE 1. Wastewater quality before treatment
C-sump
Legend
1. Red (non-oily wastewater
stream)
Two SRC
2. Black (oily wastewater
units (100
stream)
gpm each)
Renery
exit
FIG. 1
Sample No.
DAF
unit (100
gpm each)
APIseparator
Parameter
NEQS limits
ARL values
Temperature, C (Max)
40
pH value
30
6 to 9
9.5
10
20
150
300
80
40
200
180
3,500
2,500
0.1
0.05
I 67
Spray
Nozzles
Spray
Control
Spray
Analysis
Spray
Fabrication
WATER MANAGEMENT
BONUSREPORT
ues. The treating plant for naphtha and kerosine generated spent
wastewater streams, which pass through the pre-treatment and
caustic that was disposed of in the oily stream. This wastewater
primary treatment along with oily water. The high pH of the
stream was the main contributor for high pH, COD and O&G
caustic was also responsible for creating strong oil/water emulsions
levels. The quality of the oily stream impaired the total efficiency
that directly decelerated operating efficiencies for the API separaof the pretreater. Wastewater from the heavy crude unit (HCU)
tors, equalization tanks, and SRC and DAF efficiencies.
had a high oil content.
The oily water, rich in surfactants with a high COD (700
Characteristics of the process wastewater at ARL include:
ppm), is produced from the HCU desalter and was another source
Blowdown water produced from three boilers and softener
strong of oil-and-water emulsions that impaired API separator
backwash is rich in TSS and total dissolved solids (TDSs) with
efficiency and downstream SRC and DAF treatments.
a pH value greater than 12. Water treatment chemicals used in
Blowdown water from three cooling towers is another
boilers are phosphate based for scaling control, sulfite based as
stream that is directed to the non-oily wastewater stream. The conoxygen scavenger and ammonia to control pH in boilers. Before
cerned parameters for this stream include pH, TSSs, TDSs, COD
the study, blowdown water with high pH and TSS values was
and occasional O&G. Water treatment chemicals used in cooling
sent to the non-oily wastewater stream and it was mixed with
towers are phosphate based to control scaling, biosperse and deothe treated oily wastewater before exiting
sperse to control oil, sodium hypochlorite
the refinery. This stream exceeded the ARLs quality circle designed
for bacterial contamination, and sulfuric
total wastewater quality specifications
acid for pH control.
and resulted in violations of the National and implemented cost-effective
All of these streams were individually
Environmental Quality Standards.
analyzed
for their physical and chemical
indigenous solution of refinery
Spent caustic is produced from a
properties on a laboratory scale.
naphtha treating plant. This downstream wastewater to meet National
sweetening unit processed sour naphtha Environmental Laws.
Action plan. First, the boiler blowand kerosine; alkyl mercaptans in the
down water was analyzed for its neutralnaphtha and kerosine oil were converted into alkyl disulfides. By
ization with hydrochloric acid and sulfuric acid. However, to
combining caustic soda solution in the presence of charcoal and
be more cost-effective and to reduce chemical consumption,
catalyst, nearly 99% of all mercaptans, as well as oxygen and nitrosulfuric acid was selected for further studies. Table 3 summarizes
gen compounds, can be dissolved from petroleum fractions.
neutralization results with sulfuric acid to control pH, and TSSs
The refinery kerosine treater had a design capacity of 1,600
TABLE 4. Analysis of spent caustic
bpd; the naphtha treater was designed for 4,400 bpd. The main
reactions involved in the sweetening process are:3
Sample
Initial
Initial
RSH, Phenol, COD,
H 2 S + 2NaOH Na 2 S + 2H2 O
source
LWK. settler
Na 2 S + H 2 S 2NaHS
RSH + NaOH NaSR + H 2 O
2NaHS + 2O2 Na 2 S2 O3 + H 2 O
2RSNa + O2 + H2 O 2NaOH + RSSR
The treater used 3% caustic strength for the naphtha/kerosine
pre-wash, and 8%10% caustic strength for the naphtha/kerosine
settler. The quantity and drainage frequency of caustic from the
prewash and settler is listed in Table 2.
Before the study was conducted, the plant spent caustic, with
high pH (12) and COD (~50,000 ppm), was directed to oily
TABLE 2. Sources and quantity of caustic drainage
Caustic source
Strength, %
pH
temp., C
Monthly disposal
3 to 4
6 times
Naphtha settler
8 to 10
6.5
6 times
Kerosine prewash
3 to 4
4 times
Kerosine settler
8 to 10
2 times
ppm
ppm
16
13
26
382
2.5
9,331
14.19
11.86
26
875
1.1
55,209
Naphtha settler
15.68
12.46
30
4,129
1.6
6,026
Naphtha prewash
50.9
9.44
30
3,025
pH
COD, ppm
11.8
55,209
11.8
4,600
11.66
88
11.76
180
7.0
190
Parameter
NEQS limits
ARL values
40
30
Temperature, C (Max)
pH value
6 to 9
10
10
TSS, ppm
150
140
80
40
ppm
LWK. prewash
Qty, m3
Naphtha prewash
Sample source
% spent
11.13
96
10.01
45
200
80
8.60
15
3,500
2,500
6.95
10
0.1
0.05
I 69
BONUSREPORT
WATER MANAGEMENT
12
2008 results
2007 results
10
pH
8
6
4
2
0
Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec
600
2008 results
2007 results
NEQS limit
Desalter
cuff header
APIseparator
HBU-I
(distillation
unit)
Boiler house
Spent
caustic
treater
HBU-II
(distillation
unit)
400
300
200
100
Distillation
unit
Heavy crude
unit (HCU)
Treatment
pit
Reformer
Cooling
tower
APIseparator
Tanks
drain
TSSs, ppm
FIG. 2
COD, ppm
500
500
450
400
350
300
250
200
150
100
50
0
Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec
2008 results
2007 results
NEQS limit
Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec
C-sump
Legend
1. Red (non-oily wastewater
stream)
Two SRC
2. Black (oily wastewater
units (100
stream)
gpm each)
Renery
exit
FIG. 3
FIG. 4
DAF
unit (100
gpm each)
APIseparator
WATER MANAGEMENT
ity Standards for pH, TSSs, O&G and COD. Moreover, the
total efficiency of wastewater treatment increased. Fig. 4 shows
the improvements in wastewater pH and COD with the water
management changes for the last two years.
The boiler blowdown water, with high pH and TSSs, and
plant spent caustic with high pH and COD levels were treated
via an onsite neutralization pit. Whereas, the operational controls
applied at heavy-crude-unit desalter controlled oil-and-water
emulsion formation. Spent caustic that was earlier drained into
the oily drain was diverted to non-oily drain after removing oil.
The neutralization treatment was successful in many ways:
National Environmental Quality Standards limits were met
for pH, O&G, COD and TSSs.
The strong oil/water emulsion was broken by removing the
high pH spent caustic from the oily drain.
Efficiency of API separators increased with reduced loading
on the treatment plants.
Quality of ARL wastewater after the new treatment program
is summarized in Table 6. Applying an in-house initiative can
identify cost-effective solutions that can be implemented in a
short time and reusing spare equipment. HP
1
2
3
4
LITERATURE CITED
Pakistan Environmental Protection Council, National Environmental
Quality Standards, December 28, 1999.
The Gazette of Pakistan, Pakistan Environmental Protection Act 1997,
December 16, 1997.
Ahmed, I., Merox catalyst impregnation, Merox Operating Manual.
Kirmani, Z. U., A. Khurshid, N. Alam, N. Ahmed and S. Gul, Crude
incompatibility problems at heavy crude unit desalter, Hydrocarbon Asia,
July/August 2007, pp. 6870.
BONUSREPORT
Mansoor Shafique is the assistant general manager in operations, at Attock Refinery Ltd. He has 34 years of experience in plant
operations and has done two master startups. His main interests are
plant optimization and value addition with minimum investment.
He holds a BE degree in chemical engineering from the University
of the Punjab.
Zia Uddin Kirmani is the manager of health, safety, environment and quality at Attock Refinery Ltd. He has more than 20
years of diversified experience in petroleum refining, fertilizer and
paper industries. He has authored seven research publications in
environment, petroleum and chemical fields. Mr. Kirmani holds
master degrees in chemistry and business administration.
I 71