Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
METHOD AND COMPOSITION FOR INHIBITING FOAM IN A HYDROCARBON MIXTURE
Document Type and Number:
WIPO Patent Application WO/2013/096216
Kind Code:
A1
Abstract:
A method of inhibiting the formation of foam in a mixture comprising water and hydrocarbons, the method comprising contacting the mixture with a composition which comprises at least one ionic liquid. The ionic liquid is preferably a poly(hydroxycarboxylic acid) amide salt derivative or an alkyl ethoxylate phosphate salt.

Inventors:
HUO ZHONGXIN (US)
SHEA TIMOTHY MICHAEL (US)
KUIJVENHOVEN CORNELIS ANTONIUS THEODORUS (US)
ZHAO YING (NL)
Application Number:
PCT/US2012/070133
Publication Date:
June 27, 2013
Filing Date:
December 17, 2012
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
SHELL OIL CO (US)
SHELL INT RESEARCH (NL)
International Classes:
C09K8/035; B01D19/02; C09K3/00; C09K23/18; C10G99/00; E21B43/22
Domestic Patent References:
WO2006111712A22006-10-26
Foreign References:
US5833721A1998-11-10
US20100084597A12010-04-08
Other References:
MORAO, A. ET AL.: "Effect of antifoam addition on gas-liquid mass transferin tirred fermenters.", BIOPROCESS ENGINEERING, vol. 20, 1999, pages 165 - 172
PREDEL, T. ET AL.: "Ionic Liquids as Alternative Lubricants for Special Applications.", CHEMICAL ENGINEERING & TECHNOLOGY, vol. 33, no. 1, 2010, pages 132 - 136
Attorney, Agent or Firm:
HITCHCOCK, Thomas S. (One Shell PlazaP.O. Box 246, Houston Texas, US)
Download PDF:
Claims:
C L A I M S

1. A method of inhibiting the formation of foam in a mixture comprising water and

hydrocarbons, the method comprising contacting the mixture with a composition which comprises at least one ionic liquid.

2. The method of claim 1 where the ionic liquid is selected from the group consisting of poly(hydroxycarboxylic acid) amide salt derivatives and alkyl ethoxylate phosphate salts.

3. The method of claim 1 where the ionic liquid comprises a poly(hydroxycarboxylic acid) amide salt derivative having the chemical formula [Y-CO[0-A-CO]n-Zr-R+]m pXq~ wherein Y is hydrogen or optionally substituted hydrocarbyl group, A is a divalent optionally substituted hydrocarbyl group, n is from 1 to 100, m is from 1 to 4, q is from 1 to 4 and p is an integer such that pq = m, Z is an optionally substituted divalent bridging group which is attached to the carbonyl group through a nitrogen atom, r is 0 or 1 , R+ is an ammonium group and Xq~ is an anion.

4. The method of claim 1 where the ionic liquid comprises an alkyl ethoxylate phosphate salt having the chemical formula Κ(¾Η4θ)χΡθ4+ Xq~ wherein R is an optionally substituted hydrocarbyl group, x is from 1 to 30 and q is 1 to 4.

5. A composition for inhibiting the formation of foam in a hydrocarbon water mixture

which comprises at least one ionic liquid.

6. The composition of claim 5 wherein the ionic liquid is selected from the group consisting of poly(hydroxycarboxylic acid) amide salt derivatives and alkyl ethoxylate phosphates.

7. The composition of claim 5 where the ionic liquid comprises a poly(hydroxycarboxylic acid) amide salt derivative having the chemical formula [Y-CO[0-A-CO]n-Zr-R+]m pXq~ wherein Y is hydrogen or optionally substituted hydrocarbyl group, A is a divalent optionally substituted hydrocarbyl group, n is from 1 to 100, m is from 1 to 4, q is from 1 to 4 and p is an integer such that pq = m, Z is an optionally substituted divalent bridging group which is attached to the carbonyl group through a nitrogen atom, r is 0 or 1 , R+ is an ammonium group and Xq~ is an anion.

8. The composition of claim 5 where the ionic liquid comprises an alkyl ethoxylate

phosphate salt having the chemical formula R(C2H40)XP04+ Xq~ wherein R is an optionally substituted hydrocarbyl group, x is from 1 to 30 and q is 1 to 4.

9. A foam inhibited mixture comprising water, hydrocarbons, and a composition comprising at least one ionic liquid.

10. The mixture of claim 9 where the ionic liquid comprises a poly(hydroxycarboxylic acid) amide salt derivative having the chemical formula [Y-CO[0-A-CO]n-Zr-R+]m pXq" wherein Y is hydrogen or optionally substituted hydrocarbyl group, A is a divalent optionally substituted hydrocarbyl group, n is from 1 to 100, m is from 1 to 4, q is from 1 to 4 and p is an integer such that pq = m, Z is an optionally substituted divalent bridging group which is attached to the carbonyl group through a nitrogen atom, r is 0 or 1 , R+ is an ammonium group and Xq~ is an anion.

11. The mixture of claim 9 where the ionic liquid comprises an alkyl ethoxylate phosphate salt having the chemical formula R(C2H40)XP04+ Xq~ wherein R is an optionally substituted hydrocarbyl group, x is from 1 to 30 and q is 1 to 4.

Description:
METHOD AND COMPOSITION FOR INHIBITING FOAM

IN A HYDROCARBON MIXTURE

Cross-Reference to Related Applications

This application claims the benefit of U.S. Provisional Application No. 61/578,316, filed December 21, 2011, which is incorporated herein by reference.

Field of the Invention

The invention relates to methods and compositions for inhibiting the formation of foam and in one embodiment to methods and compositions for inhibiting the formation of foam during the production of oil and gas.

Background

Oil and gas produced from a production well are known to form foam as the

hydrocarbon is produced from the well, transported and processed. Foam can be produced, for example, as a result of impurities in the hydrocarbon and often as a result of undergoing depressurization to release entrapped gas. The foam makes it difficult to transport and process the hydrocarbon mixture and can result in difficulties in separating the oil from the gas. Anti- foaming agents, especially silicone based agents are typically used to control foaming in order to increase the separation efficiency and thereby increase production capacity.

The use of silicone based material, however, is detrimental to the value of the produced hydrocarbon because it can have negative impacts on the refineries and other units used to further process the hydrocarbon.

Summary of the Invention

This invention provides a method of inhibiting the formation of foam in a mixture comprising water and hydrocarbons, the method comprising contacting the mixture with a composition which comprises at least one ionic liquid.

This invention further provides a composition for inhibiting the formation of foam in a hydrocarbon water mixture which comprises at least one ionic liquid.

This invention also provides a foam inhibited mixture comprising water, hydrocarbons, and a composition comprising at least one ionic liquid.

Detailed Description of the Invention

The present invention is directed to a method of treating hydrocarbons produced from oil and gas production wells. These hydrocarbons are prone to foaming during the production, transport and processing steps which these hydrocarbons undergo. The present invention addresses this problem by treating the hydrocarbons with a composition comprising one or more ionic liquids. The ionic liquid(s) may be combined with additional components known to those of ordinary skill in the art that are useful for treating hydrocarbons produced from hydrocarbon production wells.

Ionic liquids are generally defined as molten salts which are liquid at room

temperature or by definition have a melting point of less than 100 °C. They have virtually no vapor pressure and can exhibit high thermal stability. As the term ionic liquid is used in this application, it may apply to the above described molten salts or to the salts dissolved in solution, aqueous or otherwise.

An ionic liquid can be presented by the formula C + A " wherein C + is a suitable cation and A " is a suitable anion.

Alkyl Ethoxylate Phosphate Salt Embodiment

One preferred embodiment of an ionic liquid is an alkyl ethoxylate phosphate salt of the general chemical formula (I):

R(C 2 H 4 0) x P0 4 + X q" (I)

wherein R is an optionally substituted hydrocarbyl group, x is from 1 to 30 and q is 1 to 4.

That is to say, in formula (I), R is preferably an optionally substituted aromatic, aliphatic or cyclo aliphatic straight chain or branched divalent hydrocarbyl group. More preferably, A is an arylene, alkylene or alkenylene group, in particular an arylene, alkylene or alkenylene group containing up to 50 carbon atoms, preferably in the range of from 4 to 25 carbon atoms, more preferably in the range of from 6 to 25 carbon atoms, more preferably in the range of from 8 to 24 carbon atoms, more preferably in the range of from 10 to 22 carbon atoms, and most preferably in the range of from 12 to 20 carbon atoms. For example, the optionally substituted hydrocarbyl group R may be conveniently selected from heptyl, octyl, undecyl, lauryl, heptadecyl, heptadenyl, heptadecadienyl, stearyl, oleyl and linoleyl.

In the compound of formula (I), the optional substituents in the group R are preferably selected from hydroxy, halo or alkoxy groups, especially C 1-4 alkoxy groups. In formula (I), R is preferably an optionally substituted hydrocarbyl group as hereinafter described for formula (I). Other examples of said optionally substituted hydrocarbyl group R in formula (I) herein include C 4 _8 cycloalkyls such as cyclohexyl; polycycloalkyls such as polycyclic terpenyl groups which are derived from naturally occurring acids such as abietic acid; aryls such as phenyl; aralkyls such as benzyl; and polyaryls such as naphthyl, biphenyl, stibenyl and phenylmethylphenyl.

In the present invention, the optionally substituted hydrocarbyl group R in formula (I) may contain one or more functional groups such as carbonyl, carboxyl, nitro, hydroxy, halo, alkoxy, amino, preferably tertiary amino (no N-H linkages), oxy, cyano, sulphonyl and sulphoxyl. The majority of the atoms, other than hydrogen, in substituted hydrocarbyl groups are generally carbon, with the heteroatoms (e.g., oxygen, nitrogen and sulfur) generally representing only a minority, about 33% or less, of the total non-hydrogen atoms present.

Those skilled in the art will appreciate that functional groups such as hydroxy, halo, alkoxy, nitro and cyano in a substituted hydrocarbyl group R will displace one of the hydrogen atoms of the hydrocarbyl, whilst functional groups such as carbonyl, carboxyl, tertiary amino (-N-), oxy, sulphonyl and sulphoxyl in a substituted hydrocarbyl group will displace a -CH- or -CH 2 - moiety of the hydrocarbyl.

More preferably, the hydrocarbyl group R in formula (I) is unsubstituted or substituted by a group selected from hydroxy, halo or alkoxy group, even more preferably C 1-4 alkoxy.

In formula (I), x is in the range of from 1 to 30. Preferably, the lower limit of the range for x is 1, more preferably 2, even more preferably 3; preferably the upper limit of the range for x is 30, more preferably 25, more preferably 22, more preferably 20, and even more preferably 18 (i.e. x may be selected from any of the following ranges: from 1 to 30; from 2 to 30; from 3 to 30; from 1 to 25; from 2 to 25; from 3 to 25; from 1 to 22; from 2 to 22; from 3 to 22; from 1 to 20; from 2 to 20; from 3 to 20; from 1 to 18; from 2 to 18; and, from 3 to 18). The anion X q~ of the compound of formula (I) is not critical and can be any anion (or mixture of anions) suitable to balance the positive charge of the alkyl ethoxylate phosphate cation.

The anion X q~ of the compound of formula (I) may conveniently be a sulfur-containing anion, such as an anion selected from sulfate and sulfonate anions. However, it may be desirable to maintain a low sulfur content in the oil and gas being produced so the use of non- sulfur-containing anions in the compounds of formula (I) may be desirable depending upon the concentration of sulfur in the oil and gas and/or the desired concentration of sulfur in the oil and gas composition containing the one or more alkyl ethoxylate phosphate salts.

Therefore, the anion X q" of the compound of formula (I) can also be any non- sulfur- containing anion (or mixture of anions) suitable to balance the positive charge of the alkyl ethoxylate phosphate cation, such as a non- sulfur-containing organic anion or a non-sulfur- containing inorganic anion.

Non-limiting examples of suitable anions are OH " , CH " , NH " , HC0 3 " , HCOO " ,

CH 3 COO , H " , B0 3 3" , C0 3 2 , C 2 H 3 0 2 " , HCO 2" , C 2 0 4 2 , HC 2 0 4 " , N0 3 , N0 2 , N 3" , NH 2 " , O 2 , 0 2 2 BeF " , F, Na " , [Al(H 2 0) 2 (OH) 4 ] " , Si0 3 2" , SiF 6 2" , H 2 P0 4 " , P 3" , P0 4 3" , HP0 4 2" , CI " , C10 3 " , C10 4 " , CIO " , KO " , SbOH 6 " , SnCl 6 2" , [SnTe4] 4" , Cr0 4 2" , Cr 2 0 7 2" , Mn0 4 " , NiCl 6 2" , [Cu(C0 3 ) 2 (OH) 2 ] 4" , As0 4 3" , Br " , Br0 3 " , I0 3 " , Γ, CN " , OCN " , etc.

Suitable anions may also include anions derived from compounds containing a carboxylic acid group (e.g. a carboxylate anion), anions derived from compounds containing a hydroxyl group (e.g. an alkoxide, phenoxide or enolate anion), nitrogen based anions such as nitrate and nitrite, phosphorus based anions such as phosphates and phosphonates, or mixtures thereof.

Non-limiting examples of suitable anions derived from compounds containing a carboxylic acid group include acetate, oleate, salicylate anions, and mixtures thereof.

Non-limiting examples of suitable anions derived from compounds containing a hydroxyl group include phenate anions, and mixtures thereof.

In a preferred embodiment of the present invention, the anion X q" is a non- sulfur- containing anion selected from the group consisting of OH, a phenate group, a salicylate group, an oleate group and an acetate group; more preferably the anion X q" is OH.

Preferred embodiments of cations include alkyl ethoxylate phosphates having alkyl chains with from 10 to 26 carbon atoms, 1 to 24 EO groups and a phosphate. One especially preferred embodiment is an alkyl ethoxylate phosphate having from 12 to 14 carbon atoms, 4- 20 EO groups and a phosphate. Another preferred embodiment is an alkyl ethoxylate phosphate having 24 carbon atoms, 1 to 16 EO groups and a phosphate.

The ionic liquid comprising treatment fluid may optionally further comprise triethanol amine (TEA) and/or triethanol amine with the addition of CsHg. Poly(hydroxycarboxylic acid) amide salt derivative embodiment

Another preferred embodiment of an ionic liquid is a poly(hydroxycarboxylic acid) amide salt derivative. The poly(hydroxycarboxylic acid) amide salt derivative(s) may be combined with additional components known to those of ordinary skill in the art that are useful for treating hydrocarbons produced from hydrocarbon production wells.

The poly(hydroxycarboxylic acid) amide salt derivatives used in the present invention may also be referred to as hyperdispersants. The one or more poly(hydroxycarboxylic acid) amide salt derivatives of the present invention are poly(hydroxycarboxylic acid) amide salt derivatives having formula (III):

[Y-CO[0-A-CO] n -Z r -R + ] m pX q - (III) wherein Y is hydrogen or optionally substituted hydrocarbyl group, A is a divalent optionally substituted hydrocarbyl group, n is from 1 to 100, m is from 1 to 4, q is from 1 to 4 and p is an integer such that pq = m, Z is an optionally substituted divalent bridging group which is attached to the carbonyl group through a nitrogen atom, r is 0 or 1, R + is an ammonium group and X q~ is an anion.

R + may be a primary, secondary, tertiary or quaternary ammonium group. R + is preferably a quaternary ammonium group.

In formula (III), A is preferably a divalent straight chain or branched hydrocarbyl group as hereafter described for formulas (I) and (II) below.

That is to say, in formula (III), A is preferably an optionally substituted aromatic, aliphatic or cyclo aliphatic straight chain or branched divalent hydrocarbyl group. More preferably, A is an arylene, alkylene or alkenylene group, in particular an arylene, alkylene or alkenylene group containing in the range of from 4 to 25 carbon atoms, more preferably in the range of from 6 to 25 carbon atoms, more preferably in the range of from 8 to 24 carbon atoms, more preferably in the range of from 10 to 22 carbon atoms, and most preferably in the range of from 12 to 20 carbon atoms.

Preferably, in said compound of formula (III), there are at least 4 carbon atoms, more preferably at least 6 carbon atoms, and even more preferably in the range of from 8 to 14 carbon atoms connected directly between the carbonyl group and the oxygen atom derived from the hydroxyl group.

In the compound of formula (III), the optional substituents in the group A are preferably selected from hydroxy, halo or alkoxy groups, especially C 1-4 alkoxy groups.

In formula (III) (and formula (IV)), n is in the range of from 1 to 100. Preferably, the lower limit of the range for n is 1, more preferably 2, even more preferably 3; preferably the upper limit of the range for n is 100, more preferably 60, more preferably 40, more preferably 20, and even more preferably 10 (i.e. n may be selected from any of the following ranges: from 1 to 100; from 2 to 100; from 3 to 100; from 1 to 60; from 2 to 60; from 3 to 60; from 1 to 40; from 2 to 40; from 3 to 40; from 1 to 20; from 2 to 20; from 3 to 20; from 1 to 10; from 2 to 10; and, from 3 to 10).

In formula (III), Y is preferably an optionally substituted hydrocarbyl group as hereinafter described for formula (IV).

That is to say, the optionally substituted hydrocarbyl group Y in formula (III) is preferably aryl, alkyl or alkenyl containing up to 50 carbon atoms, more preferably in the range of from 7 to 25 carbon atoms. For example, the optionally substituted hydrocarbyl group Y may be conveniently selected from heptyl, octyl, undecyl, lauryl, heptadecyl, heptadenyl, heptadecadienyl, stearyl, oleyl and linoleyl.

Other examples of said optionally substituted hydrocarbyl group Y in formula (III) herein include C 4 _8 cycloalkyls such as cyclohexyl; polycycloalkyls such as polycyclic terpenyl groups which are derived from naturally occurring acids such as abietic acid; aryls such as phenyl; aralkyls such as benzyl; and polyaryls such as naphthyl, biphenyl, stibenyl and phenylmethylphenyl.

In the present invention, the optionally substituted hydrocarbyl group Y in formula (III) may contain one or more functional groups such as carbonyl, carboxyl, nitro, hydroxy, halo, alkoxy, amino, preferably tertiary amino (no N-H linkages), oxy, cyano, sulphonyl and sulphoxyl. The majority of the atoms, other than hydrogen, in substituted hydrocarbyl groups are generally carbon, with the heteroatoms (e.g., oxygen, nitrogen and sulfur) generally representing only a minority, about 33% or less, of the total non-hydrogen atoms present.

Those skilled in the art will appreciate that functional groups such as hydroxy, halo, alkoxy, nitro and cyano in a substituted hydrocarbyl group Y will displace one of the hydrogen atoms of the hydrocarbyl, whilst functional groups such as carbonyl, carboxyl, tertiary amino (-N-), oxy, sulphonyl and sulphoxyl in a substituted hydrocarbyl group will displace a -CH- or -CH 2 - moiety of the hydrocarbyl.

More preferably, the hydrocarbyl group Y in formula (III) is unsubstituted or substituted by a group selected from hydroxy, halo or alkoxy group, even more preferably C 1-4 alkoxy.

Most preferably, the optionally substituted hydrocarbyl group Y in formula (III) is a stearyl group, 12-hydroxystearyl group, an oleyl group or a 12-hydroxyoleyl group, and that derived from naturally occurring oil such as tall oil fatty acid.

In formula (III), Z is preferably an optionally substituted divalent bridging group represented by formula (V)

-N-B- (V) R 1

wherein R 1 is hydrogen or a hydrocarbyl group and B is an optionally substituted alkylene group.

Examples of hydrocarbyl groups that may represent R 1 include methyl, ethyl, n-propyl, n-butyl and octadecyl. Examples of optionally substituted alkylene groups that may represent B include ethylene, trimethylene, tetramethylene and hexamethylene. Examples of preferred Z moieties in formula (III) include -NHCH 2 CH 2 -, -NHCH 2 C(CH 3 ) 2 CH 2 - and -NH(CH 2 ) 3 -.

In formula (III), r is preferably 1, i.e. the poly(hydroxycarboxylic acid) amide salt derivative having formula (III) must contain the optionally substituted divalent bridging group Z. Preferably, R + may be represented by formula (VI)

R 3

/

- + N-R 2 (VI)

\

R 4

wherein R 2 , R 3 and R 4 may be selected from hydrogen and alkyl groups such as methyl. The anion X q" of the compound of formula (III) is not critical and can be any anion (or mixture of anions) suitable to balance the positive charge of the poly(hydroxycarboxylic acid) amide cation.

The anion X q" of the compound of formula (III) may conveniently be a sulfur-containing anion, such as an anion selected from sulfate and sulfonate anions.

However, it may be desirable to maintain a low sulfur content in the oil and gas being produced so the use of non-sulfur-containing anions in the compounds of formula (III) may be desirable depending upon the concentration of sulfur in the oil and gas and/or the desired concentration of sulfur in the oil and gas composition containing the one or more

poly(hydroxycarboxylic acid) amide salt derivatives.

Therefore, the anion X q" of the compound of formula (III) can also be any non-sulfur- containing anion (or mixture of anions) suitable to balance the positive charge of the poly(hydroxycarboxylic acid) amide cation, such as a non-sulfur-containing organic anion or a non-sulfur-containing inorganic anion.

Non-limiting examples of suitable anions are OH " , CH " , NH " , HC0 3 " , HCOO " ,

CH 3 COO , H " , B0 3 3" , C0 3 2 , C 2 H 3 0 2 " , HCO 2" , C 2 0 4 2 , HC 2 0 4 " , N0 3 , N0 2 , N 3" , NH 2 " , O 2 , 0 2 2 , BeF " , F, Na " , [Al(H 2 0) 2 (OH) 4 ] " , Si0 3 2" , SiF 6 2" , H 2 P0 4 " , P 3" , P0 4 3" , HP0 4 2" , CI " , C10 3 " , C10 4 " , CIO " , KO " , SbOH 6 " , SnCl 6 2" , [SnTe4] 4" , Cr0 4 2" , Cr 2 0 7 2" , Mn0 4 " , NiCl 6 2" , [Cu(C0 3 ) 2 (OH) 2 ] 4" , As0 4 3" , Br " , Br0 3 " , I0 3 " , T, CN " , OCN " , etc.

Suitable anions may also include anions derived from compounds containing a carboxylic acid group (e.g. a carboxylate anion), anions derived from compounds containing a hydroxyl group (e.g. an alkoxide, phenoxide or enolate anion), nitrogen based anions such as nitrate and nitrite, phosphorus based anions such as phosphates and phosphonates, or mixtures thereof. Non-limiting examples of suitable anions derived from compounds containing a carboxylic acid group include acetate, oleate, salicylate anions, and mixtures thereof.

Non-limiting examples of suitable anions derived from compounds containing a hydroxyl group include phenate anions, and mixtures thereof. In a preferred embodiment of the present invention, the anion X q~ is a non- sulfur- containing anion selected from the group consisting of OH, a phenate group, a salicylate group, an oleate group and an acetate group; more preferably the anion X q~ is OH.

The one or more poly(hydroxycarboxylic acid) amide salt derivatives may be obtained by reaction of an amine and a poly(hydroxycarboxylic acid) of formula (IV)

Y-CO[0-A-CO] n -OH (IV) wherein Y is hydrogen or optionally substituted hydrocarbyl group, A is a divalent optionally substituted hydrocarbyl group and n is from 1 to 100, with an acid or a quatemizing agent.

As used herein, the term "hydrocarbyl" represents a radical formed by removal of one or more hydrogen atoms from a carbon atom of a hydrocarbon (not necessarily the same carbon atoms in case more hydrogen atoms are removed).

Hydrocarbyl groups may be aromatic, aliphatic, acyclic or cyclic groups. Preferably, hydrocarbyl groups are aryl, cycloalkyl, alkyl or alkenyl, in which case they may be straight- chain or branched-chain groups.

Representative hydrocarbyl groups include phenyl, naphthyl, methyl, ethyl, butyl, pentyl, methylpentyl, hexenyl, dimethylhexyl, octenyl, cyclooctenyl, methylcyclooctenyl, dimethylcyclooctyl, ethylhexyl, octyl, isooctyl, dodecyl, hexadecenyl, eicosyl, hexacosyl, triacontyl and phenylethyl.

In the present invention, the phrase "optionally substituted hydrocarbyl" is used to describe hydrocarbyl groups optionally containing one or more "inert" heteroatom-containing functional groups. By "inert" is meant that the functional groups do not interfere to any substantial degree with the function of the compound.

The optionally substituted hydrocarbyl group Y in formula (IV) herein is preferably aryl, alkyl or alkenyl containing up to 50 carbon atoms, more preferably in the range of from 7 to 25 carbon atoms. For example, the optionally substituted hydrocarbyl group Y may be conveniently selected from heptyl, octyl, undecyl, lauryl, heptadecyl, heptadenyl,

heptadecadienyl, stearyl, oleyl and linoleyl.

Other examples of said optionally substituted hydrocarbyl group Y in formula (IV) herein include C 4 _8 cycloalkyls such as cyclohexyl; polycycloalkyls such as polycyclic terpenyl groups which are derived from naturally occurring acids such as abietic acid; aryls such as phenyl; aralkyls such as benzyl; and polyaryls such as naphthyl, biphenyl, stibenyl and phenylmethylphenyl.

In the present invention, the optionally substituted hydrocarbyl group Y may contain one or more functional groups such as carbonyl, carboxyl, nitro, hydroxy, halo, alkoxy, tertiary amino (no N-H linkages), oxy, cyano, sulphonyl and sulphoxyl. The majority of the atoms, other than hydrogen, in substituted hydrocarbyl groups are generally carbon, with the heteroatoms (e.g., oxygen, nitrogen and sulfur) generally representing only a minority, about 33% or less, of the total non-hydrogen atoms present. Those skilled in the art will appreciate that functional groups such as hydroxy, halo, alkoxy, nitro and cyano in a substituted hydrocarbyl group Y will displace one of the hydrogen atoms of the hydrocarbyl, whilst functional groups such as carbonyl, carboxyl, tertiary amino (-N-), oxy, sulphonyl and sulphoxyl in a substituted hydrocarbyl group will displace a -CH- or -CH 2 - moiety of the hydrocarbyl. The hydrocarbyl group Y in formula (IV) is more preferably unsubstituted or substituted by a group selected from hydroxy, halo or alkoxy group, even more preferably C 1-4 alkoxy.

Most preferably, the optionally substituted hydrocarbyl group Y in formula (I) is a stearyl group, 12-hydroxy stearyl group, an oleyl group, a 12-hydroxyoleyl group or a group derived from naturally occurring oil such as tall oil fatty acid. In one embodiment of the present invention, at least one of, or all of, the one or more poly(hydroxycarboxylic acid) amide salt derivatives are sulfur-containing

poly(hydroxycarboxylic acid) amide salt derivatives.

In such an embodiment, said one or more poly(hydroxycarboxylic acid) amide salt derivatives preferably have a sulfur content of at most 2.5 wt.%, such as a sulfur content in the range of from 0.1 to 2.0 wt.%, conveniently in the range of from 0.6 to 1.2 wt.% sulfur, as measured by ICP-AES, based on the total weight of said poly(hydroxycarboxylic acid) amide salt derivatives.

In another embodiment of the present invention, the one or more

poly(hydroxycarboxylic acid) amide salt derivatives are non-sulfur-containing

poly(hydroxycarboxylic acid) amide salt derivatives.

The preparation of polyhydroxycarboxylic acid and its amide or other derivatives is known and is described, for instance, in EP 0164817, US 5,753,022, US 5,646,212, US 5,536,445, US 4,224,212, GB 1342746, GB 1373660, US 5,000,792 and US 4,349,389 which disclosures are herein incorporated by reference.

The polyhydroxycarboxylic acids of formula (IV) may be made by the

interesterification of one or more hydroxycarboxylic acids of formula (II)

HO-A-COOH (II) wherein A is a divalent optionally substituted hydrocarbyl group, optionally in the presence of a catalyst according to well known methods. Such methods are described, for example, in US 3,996,059, GB 1373660 and GB 1342746.

The chain terminator in said interesterification may be a non-hydroxycarboxylic acid. The hydroxyl group in the hydroxycarboxylic acid and the carboxylic acid group in the hydroxycarboxylic acid or the non-hydroxycarboxylic acid may be primary, secondary or tertiary in character.

The interesterification of the hydroxycarboxylic acid and the non-hydroxycarboxylic acid chain terminator may be effected by heating the starting materials, optionally in a suitable hydrocarbon solvent such as toluene or xylene, and azeotroping off the formed water. The reaction may be carried out at a temperature up to -250°C, conveniently at the reflux temperature of the solvent.

Where the hydroxyl group in the hydroxycarboxylic acid is secondary or tertiary, the temperature employed should not be so high as to lead to dehydration of the acid molecule.

Catalysts for the interesterification, such as p-toluenesulfonic acid, zinc acetate, zirconium naphthenate or tetrabutyl titanate, may be included, with the objective of either increasing the rate of reaction at a given temperature or of reducing the temperature required for a given rate of reaction.

In the compounds of formula (IV) and (II), A is preferably an optionally substituted aromatic, aliphatic or cycloaliphatic straight chain or branched divalent hydrocarbyl group. Preferably, A is an arylene, alkylene or alkenylene group, in particular an arylene, alkylene or alkenylene group containing in the range of from 4 to 25 carbon atoms, more preferably in the range of from 6 to 25 carbon atoms, more preferably in the range of from 8 to 24 carbon atoms, more preferably in the range of from 10 to 22 carbon atoms, and most preferably in the range of from 12 to 20 carbon atoms. Preferably, in said compounds of formula (IV) and (II), there are at least 4 carbon atoms, more preferably at least 6 carbon atoms, and even more preferably in the range of from 8 to 14 carbon atoms connected directly between the carbonyl group and the oxygen atom derived from the hydroxyl group.

In the compounds of formula (IV) and (II), the optional substituents in the group A are preferably selected from hydroxy, halo or alkoxy groups, more preferably C 1-4 alkoxy groups.

The hydroxyl group in the hydroxycarboxylic acids of formula (II) is preferably a secondary hydroxyl group.

Examples of suitable hydroxycarboxylic acids are 9-hydroxystearic acid, 10- hydroxystearic acid, 12-hydroxy stearic acid, 12-hydroxy-9-oleic acid (ricinoleic acid), 6- hydroxycaproic acid, preferably 12-hydroxy stearic acid. Commercial 12-hydroxystearic acid (hydrogenated castor oil fatty acid) normally contains up to 15% wt of stearic acid and other non-hydroxycarboxylic acids as impurities and can conveniently be used without further admixture to produce a polymer of molecular weight about 1000-2000.

Where the non-hydroxycarboxylic acid is introduced separately to the reaction, the proportion which is required in order to produce a polymer or oligomer of a given molecular weight can be determined either by simple experiment or by calculation by the person skilled in the art.

The group (-0-A-CO-) in the compounds of formula (IV) and (II) is preferably a 12- oxystearyl group, 12-oxyoleyl group or a 6-oxycaproyl group. Preferred polyhydroxycarboxylic acids of formula (IV) for reaction with amine include poly(hydroxystearic acid) and poly(hydroxyoleic acid).

The amines which react with polyhydroxycarboxylic acids of formula (IV) to form poly(hydroxycarboxylic acid) amide intermediates may include those defined in US

5,855,629.

For example, various amines and their preparations are described in US 3,275,554, US 3,438,757, US 3,454,555, US 3,565,804, US 3,755,433 and US 3,822,209 which disclosures are herein incorporated by reference.

The amine reactant is preferably a diamine, a triamine or a polyamine. Preferred amine reactants are diamines selected from ethylenediamine, N,N-dimethyl-l,3-propanediamine, triamines and polyamines selected from dietheylenetriamine, triethylenetetramine, tetraethylenepentamine, pentaethylenehexamine and tris(2-aminoethyl)amine.

The amidation between the amine reactant and the poly(hydroxycarboxylic acid) of formula (I) may be carried out according to methods known to those skilled in the art, by heating the poly(hydroxycarboxylic acid) with the amine reactant, optionally in a suitable hydrocarbon solvent such as toluene or xylene, and azeotroping off the formed water. Said reaction may be carried out in the presence of a catalyst such as p-toluenesulfonic acid, zinc acetate, zirconium naphthenate or tetrabutyl titanate.

The poly(hydroxycarboxylic acid) amide intermediate formed from reaction of the amine and the poly(hydroxycarboxylic acid) of formula (IV) is reacted with an acid or a quaternizing agent to form a salt derivative, according to well-known methods.

Acids that may be used to form the salt derivative may be selected from organic or inorganic acids. Said acids are conveniently selected from carboxylic acids, nitrogen- containing organic and inorganic acids, sulfur-containing organic or inorganic acids (such as sulfuric acid, methanesulfonic acid and benzenesulfonic acid).

Quaternizing agents that may be used to form the salt derivative may be selected from dimethylsulfuric acid, a dialkyl sulfate having from 1 to 4 carbon atoms, an alkyl halide such as methyl chloride, methyl bromide, aryl halide such as benzyl chloride. In a preferred embodiment, the quaternizing agent is a sulfur-containing quaternizing agent, in particular dimethylsulfuric acid or an dialkyl sulfate having from 1 to 4 carbon atoms. The quaternizing agent is preferably dimethyl sulfate.

Quaternization is a well-known method in the art. For example, quaternization using dimethyl sulfate is described in US 3,996,059, US 4,349,389 and GB 1373660.

Poly(hydroxycarboxylic acid) amide salt derivatives that are preferred in the present invention are those which each have a TBN (total base number) value of less than 10 mg KOH/g, as measured by ASTM D 4739. More preferably, the poly(hydroxycarboxylic acid) amide salt derivatives each have a TBN value of less than 5 mg KOH/g, most preferably 2 mg KOH/g or less, as measured by ASTM D 4739.

The ionic liquid comprising treatment fluid may be injected into a production well, into an injection well, into the hydrocarbon production system or in any other manner known to one of ordinary skill in the art. The treatment fluid may be injected at one or more locations and more than one different treatment fluid may be injected together or separately in different locations or at different times.

The method of the present invention reduces or inhibits the formation of foam as shown in the following illustrative examples.

Examples

Example 1

Example 1 demonstrates the ability of a poly(hydroxycarboxylic acid) amide salt derivative to reduce foaming. Two samples of oil were tested to determine the amount of foam generated when air was passed through the sample. The first sample (Sample A) was untreated, but the second sample (Sample B) was treated with 1000 ppm of a poly(hydroxycarboxylic acid) amide salt derivative. Air was passed through Sample A at a rate of 10 cc/s for 15 seconds and then the air flow was stopped. For Sample B, air was passed through the sample at a rate of 20 cc/s for 15 seconds and then the air flow was stopped. The air flow for Sample B was doubled to 20 cc/s because no foam was observed when the air was passed through at 10 cc/s. The total volume of each sample and the foam volume of each sample at different times are shown in Table 1. Table 1

Example 2

Example 2 demonstrates the ability of an alkyl ethoxylate phosphate salt to reduce foaming. Two samples of crude oil were tested to determine how long it would take for the oil to expand to three expansions (i.e., sufficient foam was generated to increase the volume of the oil by a factor of 3). The first sample was untreated oil. It took 0.9 minutes for the oil to reach three expansions. The second sample was the same oil, but with 1000 ppmw of an alkyl ethoxylate phosphate salt. It took 3.0 minutes for the treated oil to reach three expansions. This shows that the alkyl ethoxylate phosphate salt reduces the amount of foam formed under given conditions.