Introduction

Sources of oil loss in petroleum industries are emulsion, evaporative (flash), shrinkage, leakage, theft, and measurement losses, etc (Bhatia and Dinwoodie 2004). This study focuses in oil losses due to emulsion, flash, and mixing phenomena. Human and measurement errors, leakage, and theft are excluded. Oil loss are categorized into two categories, they are (1) individual and (2) group losses.

Individual loss

Individual loss includes emulsion and evaporative losses. In order to determine emulsion loss, based sediment and water (BS&W) of oil should be measured. The net standard volume (NSV) excludes sediment, water, and free water. So far back to year 1918, Bradley et al. (1918) have studied the crude oil losses in steel and earthen storage; they classified roughly losses as occurring from evaporation, and presence of sediment and water. Evaporative loss occurs when light components are released from oil in the storage tank. This happens when the oil temperature is lower than its bubble point. Thus, by maintaining low oil temperature minimizes evaporative loss from storage tank (Bhatia and Dinwoodie 2004).

The goals of this work are to calculate the emulsion correction factor (ECF) and flash correction factor (FCF) that occur individually in 7 shippers of Krisna field. The empiric equation of emulsion would be used to calculate ECF, while flash calculation with Antoine equation was chosen to calculate FCF.

Group loss

Group loss occurs during mixing oils in the same storage tank. In this study, the specific characteristic which has influence on group loss is the specific gravity (SG) or API gravity. The viscosity and gas oil ratio are excluded in calculation of group loss due to mixing phenomena in the storage tank. The oil and gas fields generally produce petroleum fluid that can be classified into five categories: dry gas, wet gas, gas condensate, volatile oil, and black oil (McCain Jr. 1990a; Whitson and Brule 2000). Since the fluids in those categories have different characteristics, specifically SG or API, the properties would thus change when they are mixed together.

Typical oil mixing phenomena in the gathering station are illustrated in Fig. 1. In an activity of transporting of crude oil from shippers in the oil field to the gathering station, shippers often use the same pipeline to transport the crude oil to a storage tank. The crude oils from shippers are mixed together either in the same temporary or final storage tank. This situation comes up the problem of oil losses. As shown in Fig. 1, there is a loss discrepancy between total quantities from shippers and measurement in the storage tanks (Bhatia and Dinwoodie 2004); the total sending volume is lower than the measured volume in the mixing tank. The study of sharing oil losses is therefore very important to be done.

Fig. 1
figure 1

Typical oil mixing phenomena in gathering station

Several studies (Katz 1942; Erno et al. 1994; Nengkoda 2011; James 2014) have discussed about prediction of crude oil shrinkage losses. Far back to year of 1942, Katz (1942) has investigated the crude oil shrinkage phenomena and pointed that the more volatile the separator liquid phase, the more impact separator conditions and shrinkage will be. Erno et al. (1994) predicted the shrinkage equation of heavy oil/condensate blend and stated that when condensate is added to heavy oil, the blended volume is less than the sum of the condensate and oil volumes. Nengkoda (2011) has studied the role of crude oil shrinkage in heavy mix light crude in main oil pipeline and pointed that shrinkage will be very depended upon the operation pressure and temperature. In recent year 2014, James has studied shrinkage losses resulting from liquid hydrocarbon blending. James (2014) concluded that equation of API 12.3 was a valuable tool in quantifying shrinkage that occurs as a result of blending hydrocarbons of different densities. Moreover, Shanshool et al. (2011) have investigated the volumetric behavior of mixtures of different oil stock. Shanshool et al. (2011) concluded that volumetric shrinkage is resulted from blending hydrocarbon with gas oil (light oil).

The goals of this work are to calculate the shrinkage correction factor (SCF) in oil mixing phenomena and to determine the sharing oil losses using the common proportional and the new proposed stratified methods. The oil distribution of 7 shippers in Krisna field (Fig. 2) would be taken as a case study. The modified equation of API 12.3 would be used to calculate SCF in every mixing phenomenon in tank.

Fig. 2
figure 2

Block diagram of oil distribution and mixing phenomena in Krisna field

Material and method

Flow diagram of oil distribution

The block diagram of oil distribution and mixing phenomena in Krisna field is shown in Fig. 2. As can be seen in Fig. 2, Krisna field has 7 shippers; they are S1, S2, S3, S4, S5, S6, and S7. Shippers S1, S2, and S3 send their oil to Station-1, and the oils are temporary stored in same tank of TANK-1. The mixed oil of TANK-1 is then pumped to the 2nd station and temporary stored in TANK-2 and mixed with other oils from shippers S4 and S5. Finally, the mixed oil of TANK-2 is transported to the 3rd station and stored in TANK-3 and mixed with other oils from shippers S6 and S7. As shown in Fig. 2, shippers S1, S2, and S3 have three times of mixing phenomena, shippers S4 and S5 have twice, and shippers S6 and S7 have only once.

Parameter inputs

Parameter inputs for calculating of sharing oil losses are production rate, pressure, temperature, specific gravity (SG), and based sediment water (BSW). These parameter inputs are listed in Table 1. As shown in Table 1, oils S1–S6 have the same BS&W 0.1 vol%, while shipper S7 produces condensate with BS&W equals to zero. All oils are stored in the atmospheric storage tank (pressure of about 1 atm and temperature of about 30 °C). The total oil rate from all shippers as sending points is 4500 barrel oil per day (BOPD). The specific gravities (SG) of all shippers vary from 0.8001 to 0.9043. Oil S7 is the lightest one with SG 0.8001; this is typically condensate. Oils S3 and S4 are typical heavy oil with SG around 0.90.

Table 1 Production rate Krisna field and its properties

Calculation algorithm of sharing oil losses

Calculation algorithm of sharing oil losses is shown in Fig. 3. In order to calculate the total sharing oil losses, individual loss such as emulsion and flash losses must first be calculated, and then, the group loss in mixing phenomena is determined. Sharing oil losses would be determined by two methods, they are the common proportional and the new proposed stratified methods.

Fig. 3
figure 3

Calculation algorithm of sharing oil losses

Calculation of emulsion loss

Since the net oil excludes sediment, water, and free water, based sediment and water (BS&W) of oil has to be measured. In this study, BS&W in oils S1–S6 is taken the same 0.1 vol% (Table 1). While BS&W of oil S7 equals to zero, this oil is a typical condensate. The empiric emulsion equations are used for calculating emulsion loss. The emulsion parameters (a1, b1, a2, b2) for each shipper are shown in Table 2. The empiric emulsion equations and emulsion loss can be generated with following methodology:

Table 2 Emulsion parameters
  1. a.

    Crude oil is mixed with its formation water at some levels of water volume, and the BS&W and SG of mixed oil–water are then investigated.

  2. b.

    The changes of BS&W and SG are plotted in a curve. This first curve results linear equation:

    $$Y_{1} = a_{1} X_{1} + b_{1}$$
    (1)

    where X1 is the measured BS&W, Y1 is the measured SG, and a1 and b1 are constants.

  3. c.

    Then, making a curve of percentage of the addition of the volume of formation water (in vol%) versus the calculated SG. This second curve produces linear equation:

    $$Y_{2} = a_{2} X_{2} + b_{2}$$
    (2)

    where X2 is the percentage of the addition of the volume of formation water (in vol%), Y2 is the calculated SG, and a2 and b2 are constants. The calculated SG can be found with the following equation:

    $${\text{SG}}_{{\rm calculated}} = \left( {1 - X_{{\rm w}} } \right){\text{SG}}_{{\rm fw}} + X_{{\rm w}} {\text{SG}}_{{\rm w}}$$
    (3)

    where Xw is water volume fraction in oil, SGw is specific gravity of formation water, and SGfw is specific gravity of oil free water as defined below:

    $${\text{SG}}_{{\rm fw}} = \frac{{{\text{SG}}_{{\rm o}} - X_{{\rm w}} {\text{SG}}_{{\rm w}} }}{{\left( {1 - X_{{\rm w}} } \right)}}$$
    (4)

    where SGo is specific gravity of oil that still contains water.

  4. d.

    Both empiric equations are then used for calculating emulsion loss. Y1 is found by inputting the measured BS&W of oil as X1 in Eq. (1). The resulted Y1 is then substituted in Eq. (2) to calculate X2.

  5. e.

    Emulsion correction factor (ECF) in vol% is then calculated as follows:

    $${\text{ECF}} = X_{1} - X_{2}$$
    (5)

Calculation of evaporative loss

Evaporative loss is calculated with flash calculation method. Mass balance diagram for flash calculation method is shown in Fig. 4. Evaporative loss depends on its operating conditions, i.e., pressure (P) and temperature (T). Evaporation is indicated by the value of vapor fraction nv (Ahmed 2007). Vapor fraction nv ranges in between 0 and 1. nv= 0 and nv= 1 mean the fluid is in liquid and gas phase, respectively. If nv is in between 0 and 1 (0 < nv< 1), the fluid is in mixed-liquid–vapor phase; in other words, part of light component in fluid evaporates; this causes oil loss due to flash phenomena.

Fig. 4
figure 4

Vapor–liquid equilibrium for flash calculation

Flash calculation algorithm is shown in Fig. 5. Input data required in this algorithm are hydrocarbon composition (zj), pressure (Pi) and temperature (Ti) of each shipper system. The intended pressure (Pi) is the fluid pressure in a storage tank, i.e., atmospheric pressure. Table 3 shows the hydrocarbon composition (zj) of each shipper. In this work, Antoine equation was chosen to calculate flash correction factor (FCF). Antoine parameters (a, b, c, d, e, f) for each hydrocarbon component are listed in Table 4.

Fig. 5
figure 5

Flash calculation algorithm

Table 3 Hydrocarbon composition (%-mol)
Table 4 Antoine parameters for hydrocarbon: T in K; P in kPa

The next step is the calculations of bubble (Tb) and dew point (Td) at the atmospheric pressure. Bubble and dew point are saturated condition at nv= 0 and nv= 1, respectively. Calculation procedure of Tb and Td is written in Tables 5 and 6, respectively. Antoine equation used in this calculation is:

$$P_{{{\text{vap}} \ j}} = { \exp }\left( {a_{j} + \frac{{b_{j} }}{{\left( {T + c_{j} } \right)}} + d_{j} { \ln }\left( T \right) + e_{j} T^{{f_{j} }} } \right)$$
(6)

where Pvap j is vapor pressure of component j (in kPa), T is temperature of system (in K), and aj, bj, cj, dj, ej, fj are Antoine parameters for each component j and listed in Table 4.

Table 5 Calculation procedure of bubble point (Tb)
Table 6 Calculation procedure of dew point (Td)

After calculation Tb and Td, we calculate vapor fraction nv. Temperature T and pressure P of fluid (system) are the input data in calculation nv. As shown in Fig. 5, when T is lower than Tb so nv= 0, this indicates that the fluid is in liquid phase. When T is higher than Td so nv= 1, this means that fluid is in vapor phase. When T is in between Tb and Td, nv is in between 0 and 1; this means that part of light component in fluid evaporates. Calculation procedure of nv is shown in Table 7. Flash correction factor (FCF) is then calculated as follows:

$${\text{FCF}} = n_{\text{v}} \times 100\%$$
(7)

where FCF is in vol%.

Table 7 Calculation procedure of vapor fraction (nv)

Calculation of shrinkage loss

The shrinkage loss is a group loss in oils mixing. The modified equation of API 12.3 is used for calculating of shrinkage loss and defined as follows:

$$S_{\text{h}} \left( \% \right) = a L_{\text{c}} \left( {100 - L_{\text{c}} } \right)^{b} \left( {\Delta^\circ {\text{API}}} \right)^{c}$$
(8)

where a, b, and c are constants of API 12.3 that be taken from PSME of UPN “Veteran” Yogyakarta collaborated with LEMIGAS Jakarta (2017) as listed in Table 8, Lc is %-light component, Δ°API is °API difference between °API of shipper one and other, and Sh is shrinkage volume percentage (in %).

Table 8 Parameters a, b, c in API 12.3 equations

API gravity for each shipper is defined as the equation in McCain Jr. (1990b):

$$^\circ {\text{API}}_{i} = \frac{141.5}{{{\text{SG}}_{i} }} - 131.5$$
(9)

where °APIi is API gravity of shipper i and SGi is specific gravity (60°/60°) of shipper i.

Proportional method

Proportional method is the common method used in petroleum industries for sharing oil losses. In this method, the total received volume is measured at the last station. This measured volume is the net corrected volume (Vnc) which is directly taken from the last storage tank in the last station (TANK-3 in Fig. 2). The total shrinkage volume (Vsh-prop) is the difference volume between the total volume sent from all shippers and the net corrected volume:

$$V_{\text{sh-prop}} = \mathop \sum \limits_{i = 1}^{n} V_{i} - V_{{{\text{nc }}\left( {\text{TANK-3}} \right)}}$$
(10)

where Vi is net standard volume of shipper i and Vnc (TANK-3) is the net corrected volume in TANK-3. The proportional shrinkage volume for each shipper (\(\xi_{{{\text{prop}}_{i} }}\)) can be calculated as follows:

$$\xi_{{{\text{prop}}_{i} }} = \frac{{x_{i} \left( {{\raise0.7ex\hbox{$1$} \!\mathord{\left/ {\vphantom {1 {{\text{SG}}_{i} }}}\right.\kern-0pt} \!\lower0.7ex\hbox{${{\text{SG}}_{i} }$}}} \right)}}{{\mathop \sum \nolimits_{i = 1}^{n} x_{i} \left( {{\raise0.7ex\hbox{$1$} \!\mathord{\left/ {\vphantom {1 {{\text{SG}}_{i} }}}\right.\kern-0pt} \!\lower0.7ex\hbox{${{\text{SG}}_{i} }$}}} \right)}}V_{\text{sh-prop}}$$
(11)

where xi is volume fraction of shipper i as defined below:

$$x_{i} = \frac{{V_{i} }}{{\mathop \sum \nolimits_{i = 1}^{n} V_{i} }}$$
(12)

The proportional shrinkage correction factor (\({\text{SCF}}_{{{\text{prop}}_{i} }}\) in vol%) for each shipper can then be calculated as follows:

$${\text{SCF}}_{{{\text{prop}}_{i} }} = \frac{{\xi_{{{\text{prop}}_{i} }} }}{{V_{i} }} \times 100\%$$
(13)
Stratified method

In new proposed stratified method, the net corrected volume is calculated stratify from tank to tank as shown in Tables 9 and 10. The shrinkage volume is calculated for each mixing phenomena in TANK-1, TANK-2, and TANK-3. The shrinkage volume for shippers S1, S2, and S3 in TANK-1 can be calculated with the following equation:

$$\xi_{{{\text{st-I}}i}} = \frac{{x_{i} \left( {{\raise0.7ex\hbox{$1$} \!\mathord{\left/ {\vphantom {1 {{\text{SG}}_{i} }}}\right.\kern-0pt} \!\lower0.7ex\hbox{${{\text{SG}}_{i} }$}}} \right)}}{{\mathop \sum \nolimits_{i = 1}^{n} x_{i} \left( {{\raise0.7ex\hbox{$1$} \!\mathord{\left/ {\vphantom {1 {{\text{SG}}_{i} }}}\right.\kern-0pt} \!\lower0.7ex\hbox{${{\text{SG}}_{i} }$}}} \right)}}V_{\text{shg-I}}$$
(14)

where \(\xi_{{{\text{st-I}}i}}\) is shrinkage volume for shipper i (S1, S2, and S3) in TANK-1 and Vshg-I is the group shrinkage volume in TANK-1. The shrinkage volume for shippers S4, S5, and TANK-1 (mix S1–S2–S3) in TANK-2 can be calculated with the following equation:

$$\xi_{{{\text{st-II}}i}} = \frac{{x_{i} \left( {{\raise0.7ex\hbox{$1$} \!\mathord{\left/ {\vphantom {1 {{\text{SG}}_{i} }}}\right.\kern-0pt} \!\lower0.7ex\hbox{${{\text{SG}}_{i} }$}}} \right)}}{{\mathop \sum \nolimits_{i = 1}^{n} x_{i} \left( {{\raise0.7ex\hbox{$1$} \!\mathord{\left/ {\vphantom {1 {{\text{SG}}_{i} }}}\right.\kern-0pt} \!\lower0.7ex\hbox{${{\text{SG}}_{i} }$}}} \right)}}V_{\text{shg-II}}$$
(15)

where \(\xi_{{{\text{st - II}}i}}\) is shrinkage volume for shipper i (S4, S5, and mix S1–S2–S3) in TANK-2 and Vshg-II is the group shrinkage volume in TANK-2. Finally, the shrinkage volume for shippers S6, S7, and TANK-2 (mix S1–S2–S3–S4–S5) in TANK-3 can be calculated as follows:

$$\xi_{{{\text{st-III}}i}} = \frac{{x_{i} \left( {{\raise0.7ex\hbox{$1$} \!\mathord{\left/ {\vphantom {1 {{\text{SG}}_{i} }}}\right.\kern-0pt} \!\lower0.7ex\hbox{${{\text{SG}}_{i} }$}}} \right)}}{{\mathop \sum \nolimits_{i = 1}^{n} x_{i} \left( {{\raise0.7ex\hbox{$1$} \!\mathord{\left/ {\vphantom {1 {{\text{SG}}_{i} }}}\right.\kern-0pt} \!\lower0.7ex\hbox{${{\text{SG}}_{i} }$}}} \right)}}V_{\text{shg-III}}$$
(16)

where \(\xi_{{{\text{st - III}}i}}\) is shrinkage volume for shipper i (S6, S7, and mix S1–S2–S3–S4–S5) in TANK-3 and Vshg-III is the group shrinkage volume in TANK-3.

Table 9 Calculation procedure of shrinkage volume in tanks
Table 10 Notes of Table 9: stratification of oil mix in tank

The total stratified shrinkage volume (\(\xi_{{{\text{st - tot}}i}}\)) for shippers S1, S2, and S3 is the summation of its shrinkage volume in TANK-1, TANK-2, and TANK-3, that for shippers S4 and S5 is the summation of its shrinkage volume in TANK-2 and TANK-3, while that for shippers S6 and S7 is only its shrinkage volume in the last tank of TANK-3.

$$\xi_{{{\text{st - tot}}i}} = \xi_{{{\text{st-I}}i}} + \xi_{{{\text{st-II}}i}} + \xi_{{{\text{st-III}}i}}$$
(17)

where for S4 and S5 \(\xi_{{{\text{st}} - {\text{I}}i}} = 0\), and for S6 and S7 \(\xi_{{{\text{st}} - {\text{I}}i}} = \xi_{{{\text{st}} - {\text{II}}i}} = 0\).

The stratified shrinkage correction factor (\({\text{SCF}}_{{{\text{st}}_{i} }}\) in vol%) for each shipper can then be calculated as follows:

$${\text{SCF}}_{{{\text{st}}_{i} }} = \frac{{\xi_{{{\text{st}} - {\text{tot}}_{i} }} }}{{V_{i} }} \times 100\%$$
(18)

Result and discussion

Individual loss results

Individual loss includes emulsion and evaporative losses and must be determined to get the net standard volume (NSV) of all petroleum liquids. The NSV excluding sediment, water (and free water), and vapor is then used for calculating group loss in mixing phenomena. The total individual losses (TIL) including emulsion and evaporative loss is listed in Table 11. TIL of shipper S1 is the biggest one, i.e., 0.28 barrel. While TIL of shipper S7 equals to zero, oil S7 is a typical condensate which has no emulsion. The total TIL and NSV resulted from the individual loss calculation are 0.96 and 4499.04 barrel, respectively.

Table 11 Individual losses

Emulsion loss

By inputting BS&W = 0.1% in the equation system (Eq. 15), emulsion correction factors (ECFs) for all shippers are found and listed in Table 11. The biggest and smallest ECFs are given by shipper S1 and S3, respectively. The sensitivity BS&W against EFC is shown in Fig. 6. Shipper S1 is the most sensitive compared with others; its ECF increases significantly by increasing its BS&W. While shipper S3 is not sensitive to a change in BS&W, its ECF raises slowly by increasing its BS&W.

Fig. 6
figure 6

Sensitivity BS&W against ECF

Evaporative loss

In atmospheric pressure condition (about 1 atm), evaporation can happen when the fluid temperature is higher than its bubble point. The normal bubble (Tb) and dew (Td) points resulted from flash calculation are listed in Table 12. Oil S7 is a typical condensate; it has the shortest span between Tb and Td. Correlation of vapor pressure and bubble point for all shippers is shown in Fig. 7. Since the oil temperatures in all tanks are lower than its bubble point (Fig. 7), it is understandable that all shippers have no evaporative loss. Flash correction factors (FCFs) of all shippers equal to zero. During operation in the oil gathering station, by maintaining oil temperature lower than its bubble point can eliminate evaporative loss from storage tank (Bhatia and Dinwoodie 2004).

Table 12 Normal bubble and dew points of crude oils
Fig. 7
figure 7

Correlation of vapor pressure and bubble temperature

Shrinkage loss

Proportional shrinkage loss

Sharing oil losses resulted by the common proportional method are listed in Table 13. As can be seen from Table 13, the total shrinkage loss is 9.06 barrel and the shrinkage correction factors (SCFs) of all shippers are almost the same ± 0.20%. However, SCF of shipper S7 is the largest one (0.22%) since its oil is classified as condensate. Condensate is typically light oil or gas oil that has low density and small molecular size, while heavy oil has big molecular size. When condensate mixes heavy oil, hence geometrically there will be shrinkage as illustrated in Fig. 8; and this agrees with those in Erno et al. (1994), James (2014), and Shanshool et al. (2011).

Table 13 Proportional sharing losses results
Fig. 8
figure 8

Illustration of shrinkage volume from mixing of heavy and light oils

Stratified shrinkage loss

Table 14 shows sharing oil losses resulted by the new proposed stratified method. In this method, shrinkage volume of each shipper is calculated for every mixing in the tank. As can be seen from Table 14, the sub-total oil losses in every tank are 2.48, 4.20, and 2.38 barrels, respectively. The total oil loss in the stratified method is the same as in the proportional method, i.e., 9.06 barrels. The SCF of each shipper in every tank is almost the same; they are 0.12%, 0.13%, and 0.05% in TANK-1, TANK-2, and TANK-3, respectively. The total SCFs of shippers S1, S2, and S3 are larger than those in shippers S4 and S5 (0.31% vs. 0.19%), and those in shippers S4 and S5 are larger than those in shippers S6 and S7 (0.19% vs. 0.05%). This is understandable that more often oil mixes with others; its volume will be more decreased.

Table 14 Stratified sharing losses results

Comparison of proportional and stratified results

Comparison between proportional and stratified results is listed in Table 15. The total NSV is 4499.04 barrels, and total shrinkage volume is 9.06 barrel. Therefore, the net corrected volume (NCV) in the last tank is 4490.94 barrel. The proportional method gives almost the same of SCF, ± 0.20%, while SCF resulted by stratified method varies from 0.05 to 0.31% depending on its mixing quantity.

Table 15 Comparison between proportional and stratified results

The common proportional method is considered unfair since shippers S6 and S7 bear those losses of the upstream shippers (S1–S5). More often oil mixes with others, for examples oils of shippers S1, S2, and S3 pass through three times of mixing phenomena, more volume shrinkage will be. Thus, the stratified method appropriates for determining of sharing oil losses in the multi-mixing phenomena.

Conclusion

Study on oil losses due to emulsion, flash (evaporation), and mixing phenomena in a Krisna field has been done. The oil loss is classified into two types, i.e., individual loss including emulsion and evaporative loss, and group loss which occurs in mixing phenomena. The individual loss must be determined to get the net standard volume (NSV). The NSV excluding sediment, water (and free water), and gas is then used for calculating group loss.

The emulsion correction factor (ECF) has been calculated for each shipper based on its BS&W. Since oil of shipper S7 is a condensate, it does not produce emulsion. According to our analysis, shipper S1 is the most sensitive to a change in BS&W; its ECF increases significantly by increasing its BS&W. While shipper S3 is not sensitive to a change in BS&W; its ECF raises slowly by increasing its BS&W.

Based on flash calculation results, all oils which are stored in tanks are the stable liquids. Since the oils’ temperatures in tanks are lower than its bubble points at the normal condition (atmospheric), it is clear that all shippers have no evaporative loss. Flash correction factor (FCF) of all shippers equal to zero. Evaporative loss could be prevented by maintaining oil temperature lower than its bubble point.

In this work, the common proportional and new proposed stratified methods have been used to determine the sharing oil losses for 7 shippers in Krisna field. According to our analysis, the common proportional method gave almost the same of shrinkage correction factor (SCF) for all shippers. However, shippers that more often mix with others, e.g., shippers S1, S2, and S3 have three times of mixing phenomena; their shrinkage volume was larger than others. For that reason, the new proposed stratified method is strongly recommended to determine sharing oil losses since it gives a fair result.