assessment of the chemical composition of waters associated with oil production using parafac

7
Assessment of the chemical composition of waters associated with oil production using PARAFAC Fabiana Alves de Lima Ribeiro a, , Francisca Ferreira do Rosário b , Maria Carmen Moreira Bezerra b , André Luis Mathias Bastos b , Vera Lúcia Alves de Melo b , Ronei Jesus Poppi a a Laboratory of Chemometrics in Analytical Chemistry, Chemistry Institute, University Campinas (LAQQA/IQ/UNICAMP), Cidade Universitária Zeferino Vaz, POB 6154, 13083970, Campinas, SP, Brazil b Centro de Pesquisas e Desenvolvimento Leopoldo Américo Miguez de Mello, Petróleo Brasileiro S.A. (CENPES/PETROBRÁS), Av. Horacio Macedo, 95, Cidade Universitária, Rio de Janeiro, RJ, CEP 21941915, Brazil abstract article info Article history: Received 3 October 2011 Received in revised form 10 February 2012 Accepted 3 April 2012 Available online 11 April 2012 Keywords: Petroleum Oil production Produced water PARAFAC Exploratory analysis Pattern recognition In this work, Parallel Factor Analysis (PARAFAC) was used to assess the composition of produced water in 8 oil wells, using their levels of salinity, calcium, magnesium, strontium, barium and sulphate (mg/L), collected during the years 2004 and 2005. This method allowed the identication of tracers for seawater and formation water, as well as identication of standards related to seasonality. The method indicates that the variables salinity, calcium and strontium are associated with formation water, while magnesium and sulphate are associated with water injection. These variables may be used as tracers to distinguish seawater, used as injection water, and formation water, and can be very useful to evaluate the produced water composition. Seasonality aspects are associated with the variation in the levels of sulphate and magnesium, which tend to increase over time while the levels of barium usually decrease. Chemical patterns related to the original reservoirs of each oil well, called A, B and C, also were observed. Samples collected in reservoir B presented the lowest salinity, calcium, strontium and barium levels and the highest magnesium and sulphate levels, while samples from reservoir A showed intermediate levels for the same variables. Reservoir C samples presented the highest values for salinity, calcium, strontium and barium, and the lowest levels of sulphate. © 2012 Elsevier B.V. All rights reserved. 1. Introduction This study considers the case that oil production is associated with a higher production of water than the production of oil itself. This water is known as produced water, and is the result of a mixture of the waters originally present at the petroleum reservoir, which can be classied as connate water (or formation water), saturation water in the reservoir uid, aquifer water and injected water [1,2]. Fig. 1 contains a owchart illustrating the production of water, the types involved and their characteristics. The rate of produced water is dependent on the reservoir geology and exploitation strategy of the eld, and can be described in terms of chemical composition, and the resulting physical and chemical properties [35]. Connate water (or formation water) is the water naturally present in the oil reservoir, which was retained in the pores and ssures of the rock since its formation. Its chemical composition has been poorly studied and is considered to be similar to the aquifer. Quantication is very difcult because it presents itself emulsied with oil phase and in small quantities (up to 0.5% basic sediment and water produced in the uid). The hydrocarbon oil remained in contact with the connate water for billions of years, leading to saturation of the gas with water vapor (known as saturation water). According to the pressure and tempera- ture variations in the course of process of oil production, that water can evaporate or condense. This water is produced in signicant volumes over gas elds with characteristics of freshwater, since it is from evaporated water. The water belonging to the underground aquifers generally have high levels of salts, increasing with depth, and the chemical composi- tion of this type of water varies with the geochemistry of the reservoir rock. Injection water is the water used during oil recovery operations, and may be derived from different sources such as underground aquifers, the water produced by the reservoir itself and seawater. In offshore platforms, the latter alternative has been the most widely used due to its availability and economic viability [1,3,5,6]. The knowledge of formation and injection water composition data can lead to important understanding about the behavior of the oil well during routine operations, and forecast the occurrence of possible Chemometrics and Intelligent Laboratory Systems 115 (2012) 1824 Corresponding author at: Laboratório de Quimiometria em Química Analítica, Instituto de Química, Universidade Estadual de Campinas (LAQQA/IQ/UNICAMP), Cidade Universitária Zeferino Vaz, Caixa Postal 6154, Campinas, SP, CEP 13083970, Brazil. Tel.: +55 19 3521 2134; fax: +55 19 3521 3023. E-mail addresses: [email protected] (F.A.L. Ribeiro), [email protected] (R.J. Poppi). 0169-7439/$ see front matter © 2012 Elsevier B.V. All rights reserved. doi:10.1016/j.chemolab.2012.04.001 Contents lists available at SciVerse ScienceDirect Chemometrics and Intelligent Laboratory Systems journal homepage: www.elsevier.com/locate/chemolab

Upload: fabiana-alves-de-lima-ribeiro

Post on 05-Sep-2016

212 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Assessment of the chemical composition of waters associated with oil production using PARAFAC

Chemometrics and Intelligent Laboratory Systems 115 (2012) 18–24

Contents lists available at SciVerse ScienceDirect

Chemometrics and Intelligent Laboratory Systems

j ourna l homepage: www.e lsev ie r .com/ locate /chemolab

Assessment of the chemical composition of waters associated with oil productionusing PARAFAC

Fabiana Alves de Lima Ribeiro a,⁎, Francisca Ferreira do Rosário b, Maria Carmen Moreira Bezerra b,André Luis Mathias Bastos b, Vera Lúcia Alves de Melo b, Ronei Jesus Poppi a

a Laboratory of Chemometrics in Analytical Chemistry, Chemistry Institute, University Campinas (LAQQA/IQ/UNICAMP), Cidade Universitária Zeferino Vaz, POB 6154, 13083–970, Campinas, SP, Brazilb Centro de Pesquisas e Desenvolvimento Leopoldo Américo Miguez de Mello, Petróleo Brasileiro S.A. (CENPES/PETROBRÁS), Av. Horacio Macedo, 95, Cidade Universitária, Rio de Janeiro, RJ,CEP 21941–915, Brazil

⁎ Corresponding author at: Laboratório de QuimiomInstituto de Química, Universidade Estadual de CamCidade Universitária Zeferino Vaz, Caixa Postal 6154, CBrazil. Tel.: +55 19 3521 2134; fax: +55 19 3521 3023

E-mail addresses: [email protected] (F.A.L. Ribeir(R.J. Poppi).

0169-7439/$ – see front matter © 2012 Elsevier B.V. Alldoi:10.1016/j.chemolab.2012.04.001

a b s t r a c t

a r t i c l e i n f o

Article history:Received 3 October 2011Received in revised form 10 February 2012Accepted 3 April 2012Available online 11 April 2012

Keywords:PetroleumOil productionProduced waterPARAFACExploratory analysisPattern recognition

In this work, Parallel Factor Analysis (PARAFAC) was used to assess the composition of produced water in 8 oilwells, using their levels of salinity, calcium,magnesium, strontium, barium and sulphate (mg/L), collected duringthe years 2004 and 2005. This method allowed the identification of tracers for seawater and formation water, aswell as identification of standards related to seasonality. Themethod indicates that the variables salinity, calciumand strontium are associated with formation water, while magnesium and sulphate are associated with waterinjection. These variables may be used as tracers to distinguish seawater, used as injection water, and formationwater, and can be very useful to evaluate the produced water composition. Seasonality aspects are associatedwith the variation in the levels of sulphate and magnesium, which tend to increase over time while the levelsof barium usually decrease.Chemical patterns related to the original reservoirs of each oil well, called A, B and C, alsowere observed. Samplescollected in reservoir B presented the lowest salinity, calcium, strontium and barium levels and the highestmagnesium and sulphate levels, while samples from reservoir A showed intermediate levels for the samevariables. Reservoir C samples presented the highest values for salinity, calcium, strontium and barium, andthe lowest levels of sulphate.

© 2012 Elsevier B.V. All rights reserved.

1. Introduction

This study considers the case that oil production is associated with ahigher production ofwater than the production of oil itself. Thiswater isknown as produced water, and is the result of a mixture of the watersoriginally present at the petroleum reservoir, which can be classifiedas connatewater (or formationwater), saturationwater in the reservoirfluid, aquifer water and injected water [1,2]. Fig. 1 contains a flowchartillustrating the production of water, the types involved and theircharacteristics. The rate of produced water is dependent on thereservoir geology and exploitation strategy of the field, and can bedescribed in terms of chemical composition, and the resulting physicaland chemical properties [3–5].

Connatewater (or formationwater) is thewater naturally present inthe oil reservoir, which was retained in the pores and fissures of therock since its formation. Its chemical composition has been poorly

etria em Química Analítica,pinas (LAQQA/IQ/UNICAMP),ampinas, SP, CEP 13083–970,.o), [email protected]

rights reserved.

studied and is considered to be similar to the aquifer. Quantification isvery difficult because it presents itself emulsified with oil phase and insmall quantities (up to 0.5% basic sediment and water produced in thefluid).

The hydrocarbon oil remained in contact with the connate water forbillions of years, leading to saturation of the gas with water vapor(known as saturation water). According to the pressure and tempera-ture variations in the course of process of oil production, that watercan evaporate or condense. This water is produced in significantvolumes over gas fields with characteristics of freshwater, since it isfrom evaporated water.

The water belonging to the underground aquifers generally havehigh levels of salts, increasing with depth, and the chemical composi-tion of this type of water varies with the geochemistry of the reservoirrock.

Injectionwater is thewater used during oil recovery operations, andmay be derived from different sources such as underground aquifers,the water produced by the reservoir itself and seawater. In offshoreplatforms, the latter alternative has been the most widely used due toits availability and economic viability [1,3,5,6].

The knowledge of formation and injection water composition datacan lead to important understanding about the behavior of the oilwell during routine operations, and forecast the occurrence of possible

Page 2: Assessment of the chemical composition of waters associated with oil production using PARAFAC

1. Saturation Water2. Connate Water

Process Cronology Produced WaterComposition

•start of production•water injection

Saturation Water+

Aquifer Water

Aquifer Water

Aquifer Water+

Injection Water

Injection Water

•Formation Water Breakthrough

•Water/oil Contact•Injection Water Breakthrough

•Process Development

•depletion of the reservoir efficiency ofinjected water

1. fresh water, low volume2. emulsified, trace composition

Gradual increase of salinity and BSW*

*BSW: basic sediment and water

High salinity and BSW*

Intermediate salinity, variable chemical composition with time, increasing BSW*

Low salinity, high BSW*

Fig. 1. Flowchart illustrating the production of water.

19F.A.L. Ribeiro et al. / Chemometrics and Intelligent Laboratory Systems 115 (2012) 18–24

problems that may cause process stoppages, such as scale formation,with significant impact on productivity and production costs. However,the sampling of formation water has several operational limitations,which result in contamination by drillingfluidfiltrate. So, it is a very dif-ficult analytical task the determination of the percentage of formationwater and the drilling filtered in the mixture of fluids and there is noguarantee that the fluid samples are representative of formationwater [2–4,7,8].

The seawater used as injection water is rich in sulphate and carbon-ate, while the formation water that exists naturally within the reservoirpores or associated aquifer usually contains significant amounts ofprecipitating cations such as barium, strontium and calcium. Due totechnological limitations in the formationwater sampling is impossibleto accurately determine the fraction of each kind of water in producedwater. This information would be important for understanding thebehavior of the productionwell during the extraction of oil, and preven-tion of possible process failures resulting from incompatibility betweenthe two types of water.

Despite this, the analysis of production water can provide valuableinformation about the formation water fraction and there is already an-alytical methods established for its chemical composition [2,3,9–12].The simplest way of monitoring the chemical variation of the producedwater is the visual inspection of time series of individual analytes. Irreg-ularities in the variability of some species may indicate the occurrenceof characteristic events. For example the abrupt fall in barium levels inexcess of sulfate anion is indicative of scale formation since the BaSO4

is a typical mineral present in saline deposits [2,3,12]. However, thisapproach is limited because the irregularities in the analytes variabilitymay have many different causes and requires themonitoring of severalspecies simultaneously.

The use of univariate statistical analysis for assessment of chemicalcomposition of produced water is not sufficient to identify the percent-age of formation water and filtrate, since it is not common to havetracers for both fluids, causing loss of relevant information that couldlead to an understanding of the physicochemical behavior of thewater mixture [3,13]. The use of bivariate graphs (Ex.: Ba2+ vs. SO4

2−)usually improves significantly the identification of these events, butthe multivariate approach provides more complete results, because itallows to monitor the entire system simultaneously [3,8,12,13]. Multi-variate analysis has been used as an alternative approach to evaluatethe chemical composition of producedwaters, especially Principal Com-ponent Analysis (PCA) and Partial Least Squares (PLS)methods, and canbe used to identify chemical tracers for formation and injection water.These multivariate techniques allow the evaluation of many variablessimultaneously, minimizing, in this way, the risk of losing relevant in-formation [3,4,7]. These techniques are capable of detecting samplingclusters and outlier presence, as well as identifying the variables thathave some influence on the behavior of the samples.

Multivariate techniques are applied to the analysis of two-dimensionaldata arrays of the type samples×variables (in this case, variables=chemical species). However, in the case of the data set evaluated inthis study, other important information such as those related to season-ality is given. In this case every data element is indexed by three indices:one identifying the sample date, one the chemical variable, and one theoil well and the use of a multi-waymethod, a natural extension of mul-tivariate analysis, is more appropriated [14–17]. The use of a 3-waymethod in this case provide better possibilities for exploring data andmodel interpretability than classical 2-way multivariate method.

PARAFAC (Parallel Factor Analysis) is a natural extension for themultivariate technique PCA for multi-way data and can be used as a

Page 3: Assessment of the chemical composition of waters associated with oil production using PARAFAC

Table 1Sampling period for each oil well.

P-01 P-06 P-07 P-10 P-13 P-15 P-17 PR-02

Jan/04 x x – – x – x –

Feb/04 x x – – x – x –

Mar/04 x x – – x – x –

Apr/04 x x – – x – x –

May/04 x x – – x – x xJun/04 x x – x x – x xJul/04 x x – – x – x xAug/04 x x x x x – x xSep/04 x x – x x – x xOct/04 x x – – x – x xNov/04 – x x x – x x –

Dec/04 x x x – x x x xJan/05 – x x – – x – –

Feb/05 x x x x x – x xMar/05 x x x x x – x xApr/05 x x x x x – x xMay/05 x x x x x x x xJun/05 – – – – – – – –

Jul/05 x x x x x x x xAug/05 x x x – – x x xSep/05 – x x – – – x –

Oct/05 x x x x - x x xNov/05 – x x – x – x –

Dec/05 x x x x x x x x

(–) Missing data.(x) Sampling.

20 F.A.L. Ribeiro et al. / Chemometrics and Intelligent Laboratory Systems 115 (2012) 18–24

pattern recognition method [18–22]. It also allows identification oftrends and natural clusters in the data, besides being useful in detectingoutlier samples. This method also allows identification of the influenceof variables on sample behavior and it might be useful in tracer identi-fication for injection water and formation water that can be used forbetter evaluation of the production water [14–17].

The results described in this work include assessment of the chemi-cal composition of produced water by PARAFAC, with the main goal ofidentifying tracers for formation water and injection water, as well aspatterns related to seasonality. Samples of produced water were col-lected during the years 2004 and 2005 in various production oil wellssituated at different oilfield reservoirs and were analyzed by usingPARAFAC as an exploratory tool. After this preliminary analysis, a refer-ence sample consisting of seawater (used as injection water) collectedin the same location of the oil wells was used for comparative purposes.Subsequently analysis by multivariate PCA was also performed in thedata set and results were compared with those obtained by PARAFAC.

This study is a real-world application related to a prominent researcharea. There is no registry in the literature of the use of PARAFAC for pat-tern recognition studies for characterization of water associated withpetroleum extraction and, therefore, these results contribute to thedissemination of the wide potential of the technique for petrochemicalapplications.

1.1. Parallel Factor Analysis (PARAFAC)

PARAFAC is an analysis method similar to PCA, but applied to three-or N-way data arrays of the type X (I, J, K, …). Most applications inchemistry involve three-way arrays, so their description will be gener-alized to this type of arrangement. Overall, the PARAFACmodel decom-poses the X array (I, J, K) in three loadingmatricesA, B and C containing,respectively, the elements aif, bif, cKF. Each matrix is related to eachdimension of X: the sample mode (mode I), the variables mode J andthe variables K.

PARAFAC is defined by the structural model by Eq. (1). The trilinearmodel is adjusted tominimize the quadratic sum of residues, eijk, as de-scribed in Eq. (1), where f is the number of factors in the model. ThePARAFAC model can also be represented by the matrix Eq. (2), wherethe matrices A, B and C have, respectively, the dimensions I×F, J×FandK×F, and the symbol |⊗ | represent the Khatri-Rao product [14–17].

xijk ¼XF

f¼1

aif bjf ckf þ eijk ð1Þ

X ¼ AðC ⊗j jBÞT þ E ð2Þ

2. Material and methods

2.1. Data set

The data set consists of water samples from 8 oil wells, collectedmonthly during January 2004 to December 2005. The samples werecharacterized according to their level of salinity, calcium, magnesium,barium, strontium and sulphate (mg/L) in order to detect possiblevariations on production water composition over time during routineprocess operations. Salinity level was estimated bymeasuring the chlo-ride level using titration. Ion chromatography (IC) was used to analyzesulphate. The other variable levels were measured by inductivelycoupled plasma-optical emission spectroscopy (ICP-OES). There wasno data collection during the month of June 2005 and this sample wasexcluded from analysis. Other missing data can be seen on Table 1 andthey were treated by Not-a-Number (NaN) [23,24].

A reference sample consisting of seawater collected in the same loca-tion of the oil wells was used to compare the composition of formation

water fromwells with the seawater used as injectionwater. This samplewas tested for the same chemical variables by using the samemethodol-ogies that were used for the production water samples.

2.2. Data array and data analysis

The data set was organized in an X cube (I, J, K) with I=23monthsof data collection, J=6 chemical variables (salinity, calcium, magne-sium, strontium, barium and sulphate) and K=8 oil wells and analyzedby using the PARAFACmethod initialized by singular value decomposi-tion (SVD) and data scaled on mode 2 (variables mode) [7–13]. Coreconsistency test (CORCONDIA)was used in order tofind the appropriat-ed number of factor for the model [25].

With the goal of comparing the formation water composition ofeach oil well with the seawater, a reference sample was inserted inthe X cube and the PARAFAC was remodeled. To enable this referencesample to be inserted in the cube, a slice was set up by repeating thecontents of the chemical variables involved along the K axis.

For comparative purposes, the data set were analyzed using the PCAtechnique, traditionally applied to such studies. For this purpose, thedata were organized in the matrix X (I, J), where I=samples of eachoil well×23 months plus a seawater sample (totalizing 185 samples)and J=6 variables. Missing data were excluded (see Table 1).

PARAFAC and PCA were performed by using the Nway Toolbox3.00 [14] and PLS Toolbox [26], respectively, both for MatLab 7.8 [27].

3. Results and discussion

3.1. Effects of seasonality

The factors number was optimized by using the core consistencytest (CORCONDIA test), that evaluates the adequacy of the PARAFACmodel, by verifying the X quadratic sum of residues, the trilinear consis-tency and the number of iteration needed [15]. The CORCONDIA testwas performed in triplicate to verify reproducibility, varying factorsfrom 1 to 6 and indicated two factors as the most suitable for modeling,describing 97.92% of the total variation and a CORCONDIA average valueof 100%.

Page 4: Assessment of the chemical composition of waters associated with oil production using PARAFAC

21F.A.L. Ribeiro et al. / Chemometrics and Intelligent Laboratory Systems 115 (2012) 18–24

Fig. 2 shows the loadings plots for Modes 1 (sampling dates), 2(chemical variables) and 3 (oil wells). Mode 1 shows the clear sepa-ration of samples on factor 2 according to the sampling year. This be-havior is associated with the variation in levels of sulphate andmagnesium that presented positive values of loadings on this factorin Mode 2, and the level of barium which presents negative values.This means that the concentrations of sulphate and magnesium in-crease over time and the levels of barium usually decrease.

Factor 1 describes the sample distribution according to their levels ofsalinity, calcium, strontium and magnesium, which tend to increaseover this factor. The formation water contains levels of salinity, calciumand strontium relatively higher than seawater while the latter containshigher levels of magnesium and sulphate [1–5]. For oil wells where in-jection of seawater occurs, the salinity, calcium and strontium levelstend to decrease with time and these variables can be used as tracersfor formation water portion in produced water. Similarly, the magne-sium and sulphate levels tend to be higher in seawater and usually in-crease with time in the oil wells, caused by the seawater injection.Therefore, these variables can be used as tracers of the proportion ofseawater in the sample [1–4,28]. This behavior can be clearly seen inmode 3, where the oil wells P-06 and P-15, which have presentedhigher loading values of magnesium and sulphate and lower values ofsalinity, calcium and strontium, have received injections of seawater.

Barium concentration is usually low in seawater and high in forma-tionwater, and tends to decrease in time in oil wells where injection oc-curs. However, this species precipitate in the presence of sulphateanion, which reduces the amount of available barium in the water.Thus, barium is not a suitable tracer for water injection. However, mix-ture of formation water containing high concentrations of barium withinjection water containing high sulphate concentrations favor the for-mation of salt precipitates of barium sulphate, which usually are depos-ited in the pipes. Thus, abrupt decreases in the levels of barium inproduced water, with concomitant presence of high sulphate concen-trations may be associated with scaling formation for example [1–4,28].

Fig. 2. Loading plots of

Mode 3 also describes the oil well distribution according to theirlevels of chemical variables. For factor 1, the levels of salinity, calciumand strontium in the oil wells increases in the following order:

P� 06≪P� 07bP� 01;P−15bP� 17bP� 13bPR� 02bP� 10

The levels of these chemical variables are significantly lower forthe oil well P-06. Factor 2 describes increases in the levels of magne-sium and sulphate in the oil wells, which follows the order:

P� 17bP� 10; P� 13bPR� 02bP� 01bP� 07bP� 06bP� 15

The increasing order of the level of barium in the samples of theseoil wells follows the reverse order.

3.2. Reservoir characterization

Fig. 3 shows the loadings plot of Mode 3, presenting in detail thelocations of the oil wells for factors 1 and 2 and their respective oilfieldreservoirs.

The oil well P-06 (located on reservoir B) presented the lowest load-ing values for factor 1, which means that this well has the lowest levelsfor the variables salinity, calcium and strontium. This well alsopresented high loading values for factor 2, indicating high levels forthe variables sulphate and magnesium, and low values for the variablebarium. The oil well P-15 (located on reservoir C) also presented highlevels of sulphate and magnesium, and low values for the variablebarium. Well P-06 and well P-15 were the only oil wells that receivedseawater injection and was expected to present high level of variablessulphate and magnesium, and low levels of variable barium.

Due to the small number of samples originating from reservoirs Band C, it was not possible to evaluate the chemical characteristics ofthese reservoirs that could allow identifying their differences. Sincethe data set consists of historical samples of several oil wells collectedduring routine operations for oil extraction it is not possible to repeat

PARAFAC model.

Page 5: Assessment of the chemical composition of waters associated with oil production using PARAFAC

Fig. 3. Loading plot of Mode 3 showing the oilfield reservoirs.Fig. 4. Loading plots of PARAFAC model (Mode 1) with reference sample.

22 F.A.L. Ribeiro et al. / Chemometrics and Intelligent Laboratory Systems 115 (2012) 18–24

the experiments to increase the number of samples in order to make abetter chemical characterization of each reservoir.

The oil wells P-01 and P-07, located in reservoir A, presented inter-mediate values of loadings and occupied the central region of the plot.This indicates that these wells showed intermediate levels for thevariables described above.

The wells P-10, P-13, P-17 and PR-02, from reservoir C, showed thehighest loadings values for factor 1, and the lowest values for factor 2.This means that these wells showed the highest levels of the variablessalinity, calcium, strontium and barium, and lowest values for thevariables sulphate and magnesium.

3.3. Formation water vs. seawater

A slice containing the average composition of seawater from thelocal area was projected on the previous PARAFAC model and the re-sults can be seen on Fig. 4. This reference sample presented the lowestloading values for factor 1, and highest loading values for factor 2. Thehigh loadings in factor 1 are associated with variables salinity, calciumand strontium, followed by barium, and the high loadings in factor 2are associated with variables magnesium and sulphate. It means thatthe reference sample contains lower levels of salinity, calcium, stron-tium and barium, and higher levels of magnesium and sulphate, whencompared with the oil well samples. These results confirm those previ-ously obtained, which show that the variables salinity, calcium andstrontium, and also barium, can be used such as tracers of formationwater (from oil wells), and the variables magnesium and can be usedsuch as tracers of injection water (from seawater).

3.4. PCA analysis

A PCA model was performed in order to compare with PARAFACmodeling and the model (3 factors describing 96.85% of total variance)was capable to identify sample clusters related to each oil well over fac-tors 1 and 2, and to distinguish the reference sample (seawater) whichpresented low and high score values on factors 1 and 2 respectively(Fig. 5(a), Table 2).

From the scores plot analysis can be affirmed that the seawater con-tains the lowest levels of salinity, calcium, strontium and barium, andthe highest levels ofmagnesium and sulphate (factors 1 and 2). The dis-tribution of reference sample and oil wells along the factor 1 can be

explained in terms of increasing levels of the variables salinity, calcium,strontium and barium (positive scores) and decreasing level of sulphate(negative scores) on factor 1 approximately in the order: referencesample bbbP-06bP-07, P-15bP-01bP-13, P-17, PR-02bP-10. Factor 2describes the increasing levels of magnesium and sulphate in the oilwells, especially the oil well P-15, which showed the highest levels forthese variables.

Factor 3 is related to the barium level (positive loadings) and con-tributes to distinguish oil wells P-10 and P-17 from P-13 and PR-02whose presented distinct levels of this chemical variable (Fig. 5(b)).This factor also contributes to identify samples from P-17 which pre-sented unusual contends of barium as those collected on August/2004, November/2004 and December/2005.

4. Conclusions

Application of PARAFAC to characterize water produced duringroutine operations in oil extractions enable the identification oftracers for formation water and injection water taking account thechemical composition of different oil wells and their respectiveseasonal aspects. These results were due to the ability of the methodin analyzing higher order data sets, which would not be possibleby use of univariate or classical multivariate techniques (for two-dimensional data), such as HCA, PCA etc.

PARAFAC can be used as a formal methodology to: (i) outlier identi-fication, (ii) tracer identification, (iii) exploratory analysis to identifysample clusters and their relations with variables (chemical, seasonalor others) and (iv) comparing sample clusters to reference samples.

PARAFAC allowed identifyingmagnesium and sulphate as tracers forseawater used as injection water (Factor 2), and the variables salinity,calcium and strontium as tracers for formation water (Factor 1). Theanalysis also shows a clear difference between samples collected in2004 and 2005. This was caused mainly by the levels of magnesiumand sulphate that tend to increase over time, and the levels of bariumthat tend to decrease over time.

The methodology showed the characteristic chemical compositionof oil reservoir A. Due to the small number of samples originatingfrom reservoirs B and C, it was not possible to evaluate the chemicalcharacteristics of these reservoirs that could allow the identification oftheir differences. Inclusion of additional samples is not possible due totechnological limitations during sampling.

Page 6: Assessment of the chemical composition of waters associated with oil production using PARAFAC

Fig. 5. PCA scores with reference samples: (a) factors 1 vs. 2 and (b) factors 1 vs. 3.

23F.A.L. Ribeiro et al. / Chemometrics and Intelligent Laboratory Systems 115 (2012) 18–24

The performance of the PARAFAC method was compared with thetraditional bilinear PCA analysis, and both were very efficient in outlieridentification and chemical characterization of oil wells taking into

Table 2Loadings of PCA model.

Factor 1 Factor 2 Factor 3

Salinity 0.4565 0.2172 −0.3005Ca2+ 0.4840 0.1119 −0.1961Mg2+ 0.0522 0.8331 0.1216Ba2+ 0.3742 −0.1080 0.9035Sr2+ 0.4990 0.0766 −0.0734SO4

2− −0.4069 0.4783 0.1863

Variables in bold case have presented significant loading values at the correspondingfactors.

account all the variables simultaneously, as expected. However,PARAFAC showed to be more appropriate to model three-way data setproviding best visualization of samples seasonal patterns.

Acknowledgments

This work was done as part of a research project involving LAQQA/IQ/UNICAMP and CENPES/PETROBRÀS. The authors would you like tothank to PETROBRÀS S.A. for financial support.

References

[1] M.S.H. Bader, Sulfate removal technologies for oil fields seawater injection oper-ations, Journal of Petroleum Science and Engineering 55 (2007) 93–110.

Page 7: Assessment of the chemical composition of waters associated with oil production using PARAFAC

24 F.A.L. Ribeiro et al. / Chemometrics and Intelligent Laboratory Systems 115 (2012) 18–24

[2] M. El-Said, M. Ramzi, T. Abdel-Moghny, Analysis of oilfield waters by ion chroma-tography to determine the composition of scale deposition, Desalination 249(2009) 748–756.

[3] P.J. Webb, O. Kuhn, Enhanced scale management through the application ofinorganic geochemistry and statistics, SPE, 87458, 2004.

[4] D. Dudášová, G.R. Flåten, J. Sjöblom, G. Øye, Stability of binary and ternary modeloil-field particle suspensions: a multivariate analysis approach, Journal of Colloidand Interface Science 337 (2009) 464–471.

[5] T. Puntervold, T. Austad, Injection of seawater and mixtures with produced waterinto North Sea chalk formation: impact of fluid–rock interactions on wettabilityand scale formation, Journal of PetroleumScience and Engineering 63 (2008) 23–33.

[6] J.D. Burga, Diccionário Geológico, Arth-Altuna, PeruAvailable at, htpp://www.arth-altuna.com/docs/DICCIONARIO%20GEOLOGICO.pdf2011(Accessed on 02/Aug/2011).

[7] J. McFarlane, Application of chemometrics to modeling produced water contamina-tion, Separation Science and Technology 40 (2005) 593–609.

[8] W. Kloppmann, J.M. Matray, J.F. Aranyossy, Contamination of the deep formationwaters by drilling fluids: correction of the chemical and isotopic composition andevaluation of errors, Applied Geochemistry 16 (2001) 1083–1096.

[9] S.F. Jerez Vegueria, J.M. Godoy, N. Miekeley, Environmental impact studies of bar-ium and radium discharges by produced waters from the “Bacia de Campos” oil-field offshore platforms, Journal of Environmental Radioactivity 62 (2002) 29–38.

[10] T. Sirivedhin, L. Dallbauman, Organic matrix in produced water from the Osage-Skiatook Petroleum Environmental Research site, Osage county, Chemosphere 57(2004) 463–469.

[11] P. Birkle, B.M. García, C.M.M. Padrón, B.M. Eglington, Origin and evolution of forma-tion water at the Jujo–Tecominoacán oil reservoir, Gulf of Mexico. Part 1: Chemicalevolution and water–rock interaction, Applied Geochemistry 24 (2009) 543–554.

[12] P. Birkle, B.M. García, C.M.M. Padrón, B.M. Eglington, Origin and evolution of forma-tion water at the Jujo–Tecominoacán oil reservoir, Gulf of Mexico. Part 2: isotopicand field-production evidence for fluid connectivity, Applied Geochemistry 24(2009) 555–573.

[13] C.W. Remeljef, Statistical method to determine whether a wireline samples is100% mud filtrate, SPE, 28796, 1994.

[14] R. Bro, PARAFAC. Tutorial and applications, Chemometrics and Intelligent LaboratorySystems 38 (1997) 149–171.

[15] Bro, R., Multi-way Analysis in the Food Industry, PhD Thesis, Denmark, 1998 (, http://www.models.life.ku.dk/sites/default/files/brothesis_0.pdf, Accessed on 29/Sept/2011).

[16] R. Bro, Review on multiway analysis in chemistry—2000-2005, Critical Reviews inAnalytical Chemistry 36 (3–4) (2006) 279–293.

[17] A.K. Smilde, R. Bro, P. Geladi, Multiway Analysis: Applications in the ChemicalSciences, John Wiley & Sons, New York, 2004.

[18] M. Cocchi, C. Durante, A. Marchetti, C. Armanino, M. Casale, Characterization anddiscrimination of different aged ‘Aceto Balsamico Tradizionale di Modena’ prod-ucts by head space mass spectrometry and Chemometrics, Analytica ChimicaActa 589 (2007) 96–104.

[19] H. Idborg, P.O. Edlund, S.P. Jacobsson, Multivariate approaches for efficient detec-tion of potential metabolites from liquid chromatography/mass spectrometrydata, Rapid Communications in Mass Spectrometry 18 (2004) 944–954.

[20] G. Grueiro-Noche, J.M. Andrade, S. Muniategui-Lorenzo, P. López-Mahía, D. Prada-Rodríguez, 3-Way pattern-recognition of PAHs from Galicia (NW Spain) seawatersamples after the Prestige's wreck, Environmental Pollution 158 (2010) 207–214.

[21] M. Felipe-Sotelo, J.M. Andrade, A. Carlosena, R. Tauler, Temporal characterisationof river waters in urban and semi-urban areas using physico-chemical parame-ters and chemometric methods, Analytica Chimica Acta 583 (2007) 128–137.

[22] T.G. Kolda, B.W. Bader, Tensor decompositions and applications, SIAM Review 51(2009) 455–500.

[23] G. Tomasi, R. Bro, PARAFAC and missing values, Chemometrics and IntelligentLaboratory Systems 75 (2005) 163–180.

[24] B.Walczak, D.L. Massart, Dealing withmissing data—Part I, Chemometrics and Intel-ligent Laboratory Systems 58 (2001) 15–27.

[25] R. Bro, H.A.L. Kiers, A new efficient method for determining the number of compo-nents in PARAFAC models, Journal of Chemometrics 17 (2003) 274–286.

[26] PLS Toolbox 5.8, Eigenvector Research, Inc., USA, 2010.[27] The MathWorks Inc., MatLab 7.8, , 2009 USA.[28] A.B. BinMerdhah, A.A.M. Yassin, M.A. Muherei, Laboratory and prediction of barium

sulfate scaling at high-barium formationwater, Journal of PetroleumScience and En-gineering 70 (2010) 79–88.