Recovering gaseous hydrocarbons as fuel on site

11814591 · 2023-11-14

Assignee

Inventors

Cpc classification

International classification

Abstract

A method of recovering gaseous hydrocarbons from tank headspace as fuel on-site includes flowing a hydrocarbon gas composition from headspace of a tank fed by a secondary separator into a compressor to form a compressed mixture. The method includes flowing the compressed mixture into a cooling unit to cool the compressed mixture, to form a cooled composition including liquid hydrocarbons. The method includes flowing the cooled composition to a buffer tank to form a buffered fuel composition. The method includes removing a fuel gas composition from headspace of the buffer tank. The method also includes combusting the fuel gas composition as an on-site fuel.

Claims

1. A method of recovering gaseous hydrocarbons from tank headspace as fuel on-site, the method comprising: flowing a hydrocarbon gas composition from headspace of a tank fed by a secondary separator into a compressor to form a compressed mixture, wherein the secondary separator accepts a crude liquid hydrocarbon input stream from a primary separator, wherein the primary separator comprises a crude hydrocarbon input stream and comprises an output stream comprising the crude liquid hydrocarbon stream that is inputted to the secondary separator; flowing the compressed mixture into a cooling unit to cool the compressed mixture, to form a cooled composition comprising liquid hydrocarbons; flowing the cooled composition to a buffer tank to form a buffered fuel composition; removing a fuel gas composition from headspace of the buffer tank; and combusting the fuel gas composition as an on-site fuel.

2. The method of claim 1, wherein combusting the fuel gas composition as an on-site fuel comprises flowing the fuel gas composition to an on-site fuel system, using the fuel gas composition to heat the primary separator, to heat the secondary separator, as a flare pilot, as gas assist, in an auxiliary internal combustion device for heat or power, or a combination thereof.

3. The method of claim 1, wherein flowing the hydrocarbon gas composition from the headspace of the tank fed by the secondary separator into the compressor comprises flowing the hydrocarbon gas composition from the headspace of the tank fed by the secondary separator to a flame arrestor and flowing the hydrocarbon gas composition from the flame arrestor into the compressor.

4. The method of claim 1, comprising operating the buffer tank at a pressure of 25 psi to 300 psi (172-2068 kPa) and at a temperature that is less than or equal to 20° C. above ambient temperature.

5. The method of claim 1, further comprising monitoring a liquid level in the buffer tank, a temperature in the buffer tank, a pressure in the buffer tank, a pressure in the tank fed by the secondary separator, a temperature of the cooled composition exiting the compressor, or a combination thereof.

6. The method of claim 1, wherein the tank comprises an outlet in an upper portion thereof that is fluidly connected to an emergency pressure release valve.

7. The method of claim 1, wherein the tank comprises an outlet in an upper portion thereof feeding to a back pressure regulator value that is fluidly connected to a flare.

8. The method of claim 1, wherein the tank comprises a fuel gas outlet in an upper portion thereof through which the fuel gas composition is flowed, wherein the fuel gas outlet flows to a regulator valve that controllably flows the fuel gas composition to one or more combustors in which the combusting of the fuel gas composition as an on-site fuel is performed.

9. The method of claim 8, wherein the regulator valve regulates the flow of the fuel gas composition to the one or more combustors at 5 psi to 20 psi (34-138 kPa).

10. The method of claim 8, wherein the fuel gas outlet flows to a solenoid valve in series with the regulator valve, wherein the solenoid valve controllably flows the fuel gas composition to one or more combustors in which the combusting of the fuel gas composition as an on on-site fuel is performed.

11. The method of claim 1, wherein the tank comprises a drain in a lower portion thereof, wherein the drain comprises a drain valve that is fluidly connected to a produced water tank.

12. The method of claim 1, further comprising using a processor configured to monitor a liquid level in the buffer tank, a temperature in the buffer tank, a pressure in the buffer tank, a pressure in the tank fed by the secondary separator, a temperature of the cooled composition exiting the compressor, or a combination thereof.

13. The method of claim 12, wherein the processor is configured to be: responsive to determining a level transmitter in a lower portion of the buffer tank is immersed in water, cause water to be at least partially drained from the buffer tank; responsive to determining a level transmitter in an upper portion of the buffer tank is immersed, cause a variable frequency drive on the compressor to run at a lower speed or to shut off; responsive to determining that a pressure transducer or pressure transmitter in an upper portion of the tank fed by the secondary separator is detecting a pressure above a predetermined pressure threshold, cause the variable frequency drive on the compressor to run at a lower speed or to shut off, responsive to determining that the pressure transducer or pressure transmitter in the upper portion of the tank fed by the secondary separator is detecting a pressure below a predetermined pressure threshold, cause the variable frequency drive on the compressor to maintain speed or to run at a higher speed; responsive to determining that a temperature transducer or temperature transmitter measuring temperature of the compressed mixture exiting the compressor is detecting a temperature above a compressed mixture temperature setpoint, cause the variable frequency drive on the compressor to slow or stop; or a combination thereof.

14. The method of claim 1, wherein the hydrocarbon gas composition from the headspace of the tank has a pressure of 0.01 psi (0.1 kPa) to 2 psi (14 kPa).

15. The method of claim 1, further comprising flowing the hydrocarbon gas composition from the headspace of the tank to a primary recovery separator, and flowing the hydrocarbon gas composition from the primary recovery separator to the compressor.

16. The method of claim 1, wherein the compressor comprises an oilless compressor, wherein the oilless compressor comprises a crankcase that is free of oil that contacts material being compressed and is free of oil lubrication that requires regular changings.

17. The method of claim 1, wherein the compressed mixture has a pressure of 100 psi (689 kPa) to 500 psi (3447 kPa) and a temperature of 100° C. to 300° C., and wherein the cooled composition has a pressure of 100 psi (689 kPa) to 500 psi (3447 kPa) and a temperature of 0° C. to 80° C.

18. The method of claim 1, wherein the fuel gas composition is less than or equal to 17 mol % oxygen.

19. A method of recovering gaseous hydrocarbons from tank headspace as fuel on-site, the method comprising: flowing a hydrocarbon gas composition from headspace of a tank fed by a separator into a compressor to form a compressed mixture, wherein the separator accepts a crude hydrocarbon input stream and outputs a crude liquid hydrocarbon stream to the tank; flowing the compressed mixture into a cooling unit to cool the compressed mixture, to form a cooled composition comprising liquid hydrocarbons; flowing the cooled composition to a buffer tank to form a buffered fuel composition; removing a fuel gas composition from headspace of the buffer tank; and combusting the fuel gas composition as an on-site fuel.

20. An apparatus for recovering gaseous hydrocarbons from tank headspace as fuel on-site, the apparatus comprising: a compressor that accepts a hydrocarbon gas composition from headspace of a tank fed by a secondary separator, wherein the secondary separator accepts a crude liquid hydrocarbon input stream from a primary separator, wherein the primary separator comprises a crude hydrocarbon input stream and comprises an output stream that comprises the crude liquid hydrocarbon stream that is inputted to the secondary separator; a cooling unit that accepts the compressed mixture from the compressor and that forms a cooled composition comprising liquid hydrocarbons; a flowline from the cooling unit for flowing the cooled composition to a buffer tank to form a buffered fuel composition; and an outlet from headspace of the buffer tank that outputs a fuel gas composition for use as an on-site fuel.

Description

BRIEF DESCRIPTION OF THE FIGURES

(1) The drawings illustrate generally, by way of example, but not by way of limitation, various aspects of the present invention.

(2) FIG. 1 illustrates a method and apparatus for recovering gaseous hydrocarbons from tank headspace as fuel on-site, in accordance with various aspects.

(3) FIG. 2A illustrates a method and apparatus for recovering gaseous hydrocarbons from tank headspace as fuel on-site, in accordance with various aspects.

(4) FIG. 2B illustrates a method and apparatus for recovering gaseous hydrocarbons from tank headspace as fuel on-site, in accordance with various aspects.

(5) FIG. 3 illustrates a method and apparatus for recovering gaseous hydrocarbons as fuel on-site, in accordance with various aspects.

(6) FIG. 4 illustrates a method and apparatus for recovering gaseous hydrocarbons as fuel on-site, in accordance with various aspects.

(7) FIG. 5 illustrates a method and apparatus for recovering gaseous hydrocarbons as fuel on-site, in accordance with various aspects.

DETAILED DESCRIPTION OF THE INVENTION

(8) Reference will now be made in detail to certain aspects of the disclosed subject matter. While the disclosed subject matter will be described in conjunction with the enumerated claims, it will be understood that the exemplified subject matter is not intended to limit the claims to the disclosed subject matter.

(9) Throughout this document, values expressed in a range format should be interpreted in a flexible manner to include not only the numerical values explicitly recited as the limits of the range, but also to include all the individual numerical values or sub-ranges encompassed within that range as if each numerical value and sub-range is explicitly recited. For example, a range of “about 0.1% to about 5%” or “about 0.1% to 5%” should be interpreted to include not just about 0.1% to about 5%, but also the individual values (e.g., 1%, 2%, 3%, and 4%) and the sub-ranges (e.g., 0.1% to 0.5%, 1.1% to 2.2%, 3.3% to 4.4%) within the indicated range. The statement “about X to Y” has the same meaning as “about X to about Y,” unless indicated otherwise. Likewise, the statement “about X, Y, or about Z” has the same meaning as “about X, about Y, or about Z,” unless indicated otherwise.

(10) In this document, the terms “a,” “an,” or “the” are used to include one or more than one unless the context clearly dictates otherwise. The term “or” is used to refer to a nonexclusive “or” unless otherwise indicated. The statement “at least one of A and B” or “at least one of A or B” has the same meaning as “A, B, or A and B.” In addition, it is to be understood that the phraseology or terminology employed herein, and not otherwise defined, is for the purpose of description only and not of limitation. Any use of section headings is intended to aid reading of the document and is not to be interpreted as limiting; information that is relevant to a section heading may occur within or outside of that particular section.

(11) In the methods described herein, the acts can be carried out in any order without departing from the principles of the invention, except when a temporal or operational sequence is explicitly recited. Furthermore, specified acts can be carried out concurrently unless explicit claim language recites that they be carried out separately. For example, a claimed act of doing X and a claimed act of doing Y can be conducted simultaneously within a single operation, and the resulting process will fall within the literal scope of the claimed process.

(12) The term “about” as used herein can allow for a degree of variability in a value or range, for example, within 10%, within 5%, or within 1% of a stated value or of a stated limit of a range, and includes the exact stated value or range. The term “substantially” as used herein refers to a majority of, or mostly, as in at least about 50%, 60%, 70%, 80%, 90%, 95%, 96%, 97%, 98%, 99%, 99.5%, 99.9%, 99.99%, or at least about 99.999% or more, or 100%. The term “substantially free of” as used herein can mean having none or having a trivial amount of, such that the amount of material present does not affect the material properties of the composition including the material, such that about 0 wt % to about 5 wt % of the composition is the material, or about 0 wt % to about 1 wt %, or about 5 wt % or less, or less than or equal to about 4.5 wt %, 4, 3.5, 3, 2.5, 2, 1.5, 1, 0.9, 0.8, 0.7, 0.6, 0.5, 0.4, 0.3, 0.2, 0.1, 0.01, or about 0.001 wt % or less, or about 0 wt %.

(13) Method of Recovering Gaseous Hydrocarbons from Tank Headspace as Fuel On-Site.

(14) Various aspects of the present invention provide a method of recovering gaseous hydrocarbons from tank headspace as an on-site fuel. The method can include flowing a hydrocarbon gas composition from headspace of a tank into a compressor to form a compressed mixture. The tank can be fed by a secondary separator. The secondary separator can accept a crude liquid hydrocarbon input stream from a primary separator. The primary separator can include a crude hydrocarbon input stream and can include an output stream including the crude liquid hydrocarbon stream that is inputted to the secondary separator. The method can include flowing the compressed mixture into a cooling unit to cool the compressed mixture, to form a cooled composition including liquid hydrocarbons. The method can include flowing the cooled composition to a buffer tank to form a buffered fuel composition. The method can include removing a fuel gas composition from headspace of the buffer tank. The method can also include combusting the fuel gas composition as an on-site fuel.

(15) The crude hydrocarbon input stream can be any suitable hydrocarbon input stream. For example, the crude hydrocarbon input stream can be from an oil well. The oil well can be at an on-shore oil recovery or production facility or an off-shore oil recovery or production facility. The crude hydrocarbon input stream can have any suitable pressure, such as a pressure of 10 psi (70 kPa) to 500 psi (3447 kPa), or 50 psi (345 kPa) to 100 psi (689 kPa).

(16) The primary separator can be any suitable separator that performs separation on the crude hydrocarbon input stream. The primary separator accepts the crude hydrocarbon input stream and outputs a crude hydrocarbon liquid stream and a crude hydrocarbon gaseous stream (e.g., sales and/or flare gas). The primary separator can also optionally output a water stream. The primary separator can include a two-phase separator (e.g., having liquid and gaseous outputs) or a three-phase separator (e.g., having a water output, a liquid hydrocarbon output, and a gaseous output). The primary separator can be heated (e.g., a heater-treater). The primary separator can be unheated (e.g., free-water-knockout (FWKO)). The primary separator can include a separator column. The primary separator can include a level sensor (e.g., a float-style level detector) to detect a height of liquid such as water and/or hydrocarbons. The primary separator can be operated at a pressure greater than 50 psi, such as 50-500 psi.

(17) The hydrocarbon gas composition from the headspace of the tank is rich gas that is rich in ethane, propane, and butane, and has less than 50 mole % methane (e.g., 1 to <50 mole % methane). The hydrocarbon gas composition can have any suitable oxygen concentration, such as an oxygen concentration of 0 mole % to 20 mole % oxygen, or 1 mole % to 15 mole %, or 3 mole % to 6 mole %, or less than or equal to 20 mole % and greater than or equal to 0 mole %, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, or 19 mole % oxygen. In various aspects, the hydrocarbon gas composition is less than 10 mole % methane, up to 90 mole % ethane, propane, butane, and pentane, and up to 10 mole % of hydrocarbons heavier than pentane. The hydrocarbon gas composition from the headspace of the tank can have any suitable pressure, such as 0.01 psi (0.1 kPa) to 2 psi (14 kPa), or 0.1 psi (1 kPa) to 2 psi (14 kPa).

(18) The method can optionally include flowing the hydrocarbon gas composition from the headspace of the tank to a primary recovery separator. The method can include flowing the hydrocarbon gas from the primary recovery separator to the compressor. The primary recovery separator can include a two-phase separator or a three-phase separator. The primary recovery separator can include a heated separator or an unheated separator. The primary recovery separator can include a scrubber. The primary recovery separator can condense liquids from the hydrocarbon gas composition, can remove water from the hydrocarbon gas composition, or a combination thereof. The primary recovery separator can provide a low point to knock-out moisture and other condensate prior to compression. Liquids (e.g., hydrocarbons and water) can drain from the bottom of the primary recovery separator. The primary recovery separator can include a level sensor to detect a height of liquid such as water and/or hydrocarbons. The method can include flowing a gaseous hydrocarbon stream from the primary recovery separator (e.g., sales and/or flare gas). The primary recovery separator can optionally include a hydrocarbon gas output that can include oxygen that is removed from the tank vapors.

(19) The compressor can include any suitable type of compressor. The compressor can include a piston compressor, a scroll compressor, or a combination thereof. The compressor can include an oilless compressor. The oilless compressor can include a crankcase that is free of oil that contacts material being compressed and is free of oil lubrication that requires regular changings. The method can be free of compression via a compressor that includes oil that contacts material being compressed and/or that includes oil lubrication that requires regular changings. The compressed mixture formed by the compressor can have any suitable pressure, such as a pressure of 100 psi (689 kPa) to 500 psi (3447 kPa), or 200 psi (1379 kPa) to 300 psi (2068 kPa). The compressed mixture formed by the compressor can have any suitable temperature, such as a temperature of 100° C. to 300° C., or 125° C. to 175° C.

(20) The cooling unit can be any suitable cooling unit that cools the compressed mixture. The cooling unit can include a heat exchanger, a refrigeration unit, an aftercooler, or a combination thereof. The cooling unit can include an air-cooled heat exchanger, a water-cooled heat exchanger, or a combination thereof. The cooling unit can include an air-cooled heat exchanger. The cooled composition can have any suitable pressure, such as a pressure of 100 psi (689 kPa) to 500 psi (3447 kPa), or 200 psi (1379 kPa) to 300 psi (2068 kPa). The cooled composition can have any suitable temperature that is less than the temperature of the compressed mixture formed by the compressor, such as a temperature of 0° C. to 80° C., or 10° C. to 40° C., or within 10° C. of ambient temperature.

(21) The recovering of the liquid hydrocarbons from the cooling unit for use as fuel-on site can optionally include separating the liquid hydrocarbons from any gaseous hydrocarbons and/or water in the cooled composition. The method can include flowing the cooled composition including liquid hydrocarbons to a secondary recovery separator, and flowing the cooled composition to the buffer tank can include flowing a liquid hydrocarbon stream from the secondary recovery separator to the buffer tank. The secondary recovery separator can be any suitable separator. The secondary recovery separator can include a two-phase separator or a three-phase separator. The secondary recovery separator can include a heated separator or an unheated separator. The secondary recovery separator can include a separator column. The secondary recovery separator can include a level sensor to detect a height of liquid such as water and/or hydrocarbons. The method can include flowing a water stream from the secondary recovery separator. The method can include flowing a gaseous hydrocarbon stream from the secondary recovery separator (e.g., sales or flare gas).

(22) Various aspects include a primary recovery separator with no secondary recovery separator. Various aspects include a secondary recovery separator with no primary recovery separator. Various aspects include both a primary recovery separator and a secondary recovery separator.

(23) The secondary separator accepts the crude liquid hydrocarbon stream from the primary separator, and outputs a liquid hydrocarbon stream and a gaseous hydrocarbon stream (e.g., rich gas). The liquid hydrocarbon stream is fed to the tank. The liquid hydrocarbon stream can be fed directly to the tank. The liquid hydrocarbon stream can be fed indirectly to the tank; for example, the liquid hydrocarbon stream can be fed to the primary separator which can perform separation operations on the liquid hydrocarbon stream before feeding it to the tank. The secondary separator can be any suitable separator. For example, the secondary separator can include a two-phase separator or a three-phase phase separator. The secondary separator can include a heated separator or an unheated separator. The secondary separator can include a heater-treater or a vapor recovery tower (VRT). The secondary separator can include a heater-treater. The secondary separator can operate at any suitable pressure, and can feed the tank at any suitable pressure, such as a pressure of 5 psi (34 kPa) to 80 psi (552 kPa), or 20 psi (138 kPa) to 50 psi (344 kPa).

(24) The fuel gas composition can include natural gas. The fuel gas composition can include methane, ethane, propane, butane, pentane, hydrocarbons having 6 or more carbon atoms, or a combination thereof. The fuel gas composition can include <10% methane, up to 90% ethane, propane, butane, and pentane, and up to 10% hydrocarbons heavier than pentane. The fuel gas composition can have less than 10 ppm oxygen, such as greater than or equal to 0, 0.001, 0.01, or 0.1 ppm oxygen and less than or equal to 10 ppm, 9, 8, 7, 6, 5, 4, 3, 2, 1, or 0.5 ppm oxygen. The fuel gas composition can have an oxygen concentration of 0 mole % to 20 mole % oxygen, or 0 mol % to 17 mole %, or 1 mole % to 15 mole %, or 3 mole % to 12 mole %, or less than or equal to 20 mole % and greater than or equal to 0 mole %, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, or 19 mole % oxygen.

(25) The method includes combusting the fuel gas composition as an on-site fuel. Herein, the fuel gas composition can be referred as recovered by virtue of its combustion as fuel on-site. As used herein, “on-site” means at the same oil well, production facility, or recovery facility as the primary separator is located. Combusting the fuel gas composition as an on-site fuel can include flowing the fuel gas composition to an on-site fuel system. Combusting the fuel gas composition as an on-site fuel can include using the fuel gas composition to heat the primary separator, to heat the secondary separator, as a flare pilot, as gas assist (e.g., introduction of extra gas near flare tip, such as to eliminate smoke from a low-flow lazy flame at the flare), in an auxiliary internal combustion device for heat or power, or a combination thereof. Combusting the fuel gas composition as an on-site fuel includes using the fuel gas composition to heat the primary separator and/or the secondary separator.

(26) Flowing the hydrocarbon gas composition from the headspace of the tank fed by the secondary separator into the compressor can include flowing the hydrocarbon gas composition from the headspace of the tank fed by the secondary separator to a flame arrestor and flowing the hydrocarbon gas composition from the flame arrestor into the compressor. The flame arrester can prevent a fire in the flowline from crossing into the tank (i.e., flashback to the tank). While tank vapors contain air/oxygen and are normally outside of explosive limits, unforeseen circumstances could result in a gas/air mixture that is within the range in which vapors could ignite; the flame arrestor prevents ignition from reaching the tank. The method can include monitoring a temperature of the compressed mixture, and shutting down the compressor if the temperature of the compressed mixture rises above a compressed mixture temperature setpoint; such a protocol can, for example, be used to prevent ignition of the composition in the compressor. The temperature setpoint can be any suitable temperature, such as 300-400° F. (149-204° C.), or 350° F. (177° C.), or less than 400° F. and greater than or equal to 300° F., 305, 310, 315, 320, 325, 330, 335, 340, 345, 350, 355, 360, 365, 370, 375, 380, 385, 390, or 395° F.

(27) Flowing the hydrocarbon gas composition from the headspace of the tank fed by the secondary separator into the compressor can include flowing the hydrocarbon gas composition from the headspace of the tank fed by the secondary separator into (i.e., through) a filter and flowing the hydrocarbon from the filter into the compressor. The filter can eliminate or reduce fine particles from entering the compressor, which can cause premature wear of the compressor, such as wear of piston/cylinder surfaces or valve seals.

(28) Any suitable proportion of on-site fuel needs can be satisfied by the combusting of the fuel gas composition. For example, 100% of on-site fuel needs can be satisfied by the combusting of the fuel gas composition, or 10-90%, or 50-90%, or less than or equal to 100% and greater than or equal to 1%, 2, 3, 4, 5, 10, 15, 20, 25, 30, 35, 40, 45, 50, 55, 60, 65, 70, 75, 80, 85, 90, or 95%. For example, 100% of fuel needs of the primary separator and/or the secondary separator can be satisfied by the combusting of the fuel gas composition as an on-site fuel, or 10-90%. In some embodiments, a portion of the on-site fuel needs, or a portion of the fuel needs of the primary separator and/or the secondary separator, can be satisfied by the combustion of fuels other than the fuel gas composition as on-site fuels.

(29) The buffered fuel composition in the buffer tank can include the fuel gas composition and a fuel liquid composition. The fuel gas composition can be located within an upper portion of the buffer tank, and the fuel liquid composition can be located in a lower portion of the buffer tank. As fuel gas composition is removed from the buffer tank, the resulting reduction of pressure can cause a portion of the fuel liquid composition to volatilize, restoring the removed fuel gas composition and restoring the pressure of the buffer tank. Removing the fuel gas composition from the headspace of the buffer tank can include allowing the fuel gas composition to flow from the headspace of the buffer tank under pressure provided by the buffer tank, such as without assistance from a pump or compressor. The buffer tank can be operated (e.g., maintained during use) at any suitable pressure, such as a 25 psi to 300 psi (172-2068 kPa), 25 psi to 150 psi (172-1034 kPa), or less than or equal to 220 psi and greater than or equal to 25 psi, 30, 40, 50, 60, 70, 80, 90, 100, 110, 120, 130, 140, 150, 160, 170, 180, 190, 200, 210, 220, 230, 240, 250, 260, 270, 280, or 290 psi. The buffer tank can be operated (e.g., maintained during use) at any suitable temperature, such as a temperature of equal to or less than 20° C. above ambient temperature, equal to or less than 15° C. above ambient temperature, or equal to or less than 10° C. above ambient temperature, or equal or less than 5° C. above ambient temperature, wherein ambient temperature can be −40° C. to 38° C., or less than or equal to 38° C. and greater than or equal to −40° C., −35, −30, −25, −20, −15, −10, −5, 0, 5, 10, 15, 20, 25, 30, or 35° C. The buffer tank can have any suitable capacity, such as a capacity of 250 gallons to 10,000 gallons (˜1,000 L to ˜40,000 L), or 500 gallons to 1,000 gallons (˜1,500 L to ˜4,000 L). The method can include monitoring a liquid level in the buffer tank, a temperature in the buffer tank, a pressure in the buffer tank, a pressure in the tank fed by the secondary separator, a temperature of the cooled composition exiting the compressor, or a combination thereof.

(30) The buffer tank can include an outlet in an upper portion thereof that is fluidly connected to an emergency pressure release valve. The buffer tank can include an outlet in an upper portion thereof feeding to a back pressure regulator value that is fluidly connected to a flare. The buffer tank can include a fuel gas outlet in an upper portion thereof through which the fuel gas composition is flowed. The fuel gas outlet can flow to a regulator valve that controllably flows the fuel gas composition to one or more combustors in which the combusting of the fuel gas composition as an on-site fuel is performed. The regulator valve can regulate the flow of the fuel gas composition to the one or more combustors at any suitable pressure, such as 5 psi to 20 psi (34-138 kPa), or 10 psi to 15 psi (69-103 kPa), or equal to or less than 20 psi and greater than or equal to 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, or 19 psi. The fuel gas outlet can flow to a solenoid valve that controllably flows the fuel gas composition to one or more combustors in which the combusting of the fuel gas composition as an on on-site fuel is performed. The fuel gas outlet can flow to a solenoid valve and a regulator valve in series that controllably flow the fuel gas composition to one or more combustors in which the combusting of the fuel gas composition as an on-site fuel is performed. In various embodiments, the fuel gas outlet can be fluidly connected to the solenoid valve and regulator valve in series to controllably flow the fuel gas composition to one or more combustors, and also fluidly connected to the back pressure regulator value that is fluidly connected to the flare. The tank can include a drain in a lower portion thereof, wherein the drain includes a drain valve that is fluidly connected to a produced water tank.

(31) The method can include using a processor configured to monitor a liquid level in the buffer tank, a temperature in the buffer tank, a pressure in the buffer tank, a pressure in the tank fed by the secondary separator, a temperature of the cooled composition exiting the compressor, or a combination thereof. The processor can be a component of a programmable logic controller. Monitoring the liquid level in the buffer tank can include monitoring a level transmitter in a lower portion of the buffer tank and monitoring a level transmitter in an upper portion of the buffer tank. The level transmitter in the lower portion of the buffer tank can monitor a level of water in the tank, and the level transmitter in the upper portion of the buffer tank can monitor a level of water or hydrocarbon liquids in the buffer tank. Monitoring the pressure in the buffer tank can include monitoring a pressure transducer or pressure transmitter in an upper portion of the buffer tank (e.g., in the headspace of the buffer tank). Monitoring the pressure in the tank fed by the secondary separator can include monitoring a pressure transducer or pressure transmitter in an upper portion of the tank fed by the secondary separator. The processor can be configured to: responsive to determining a level transmitter in a lower portion of the buffer tank is immersed, indicating that water is at or above the level transmitter in the lower portion of the buffer tank, cause water to be drained from the buffer tank or signal an operator to perform draining of water from the buffer tank; responsive to determining a level transmitter in an upper portion of the buffer tank is immersed, cause a variable frequency drive on the compressor to run at a lower speed or to shut off, responsive to determining that a pressure transducer or pressure transmitter in an upper portion of the tank fed by the secondary separator is detecting a pressure above a predetermined pressure threshold, cause the variable frequency drive on the compressor to run at a lower speed or to shut off, responsive to determining that the pressure transducer or pressure transmitter in the upper portion of the tank fed by the secondary separator is detecting a pressure below a predetermined pressure threshold, cause the variable frequency drive on the compressor to maintain speed or to run at a higher speed; responsive to determining that a temperature transducer or temperature transmitter measuring temperature of the compressed mixture exiting the compressor is detecting a temperature above a compressed mixture temperature setpoint, cause a variable frequency drive on the compressor to slow or stop; or a combination thereof.

(32) In various aspects of the method or apparatus of the present invention, the speed of the compressor can be automatically controlled to maintain a setpoint pressure at the pressure transducer or pressure transmitter in the upper portion of the tank fed by the secondary separator. If flow from the tank fed by the secondary separator overwhelms the capacity of the compressor, gas can be flared through tank mechanical controls and the compressor can be allowed to run at maximum speed. If the pressure detected in the tank fed by the secondary separator drops below the setpoint pressure, the compressor is caused to slow or shut off until the detected pressure returns to the setpoint pressure. The emergency pressure relief valve can be used to prevent over-pressurizing of the buffer tank (e.g., 80% of maximum pressure rating of buffer tank, such as 80% of 250 psi). The back pressure regulator can be redundant relative to the emergency pressure relief valve and can be set to a lower pressure than the emergency pressure relief valve (e.g., 75% or less of maximum pressure rating of buffer tank, such as 75% of 250 psi). In the event of fuel gas demand being less than the fuel supply from the compressor, the pressure can increase in the buffer tank until the back pressure valve opens. While pressure is maintained by the back pressure value, the tank can fill with liquid until the level transmitter in an upper portion of the buffer tank (e.g., which can float in water and liquids lighter than water) is immersed, and then the compressor can be caused to run at a lower speed or to shut off. In the event of fuel gas demand being greater than the fuel supply from the compressor, the pressure can decrease in the buffer tank, and the liquid level can decrease in the buffer tank. When a low pressure setpoint is detected by a pressure transducer or pressure transmitter in an upper portion of the buffer tank (e.g., in the headspace of the buffer tank), the solenoid valve can be caused to close until pressure in the buffer tank rises above the low pressure setpoint. In the event the buffer tank has sufficient water that the water rises to the level transmitter in the lower portion of the buffer tank, the system can automatically open a valve on the drain of the buffer tank, or an operator can open the valve, to lower the lever of water in the buffer tank until it is below the height of the level transmitter in the lower portion of the buffer tank. If water is detected by the level transmitter in the upper portion of the buffer tank, the compressor can be caused to shut down.

(33) Apparatus for Recovering Gaseous Hydrocarbons from Tank Headspace as Fuel On-Site.

(34) Various aspects of the present invention provide an apparatus for performing aspects of the method of the present invention for recovering gaseous hydrocarbons from tank headspace as fuel on-site. The apparatus can be any suitable apparatus that can perform the method described herein. For example, the apparatus can include a compressor that accepts a hydrocarbon gas composition from headspace of a tank fed by a secondary separator. The secondary separator can accept a crude liquid hydrocarbon input stream from a primary separator. The primary separator can include a crude hydrocarbon input stream and include an output stream that includes the crude liquid hydrocarbon stream that is inputted to the secondary separator. The apparatus can include a cooling unit that accepts the compressed mixture from the compressor and that forms a cooled composition including liquid hydrocarbons. The apparatus can include a flowline from the cooling unit for flowing the cooled composition to a buffer tank to form a buffered fuel composition. The apparatus can also include an outlet from headspace of the buffer tank that outputs a fuel gas composition for use as an on-site fuel. The apparatus, including the primary separator, secondary separator, compressor, cooler, optional primary recovery separator, optionally secondary recovery separator, buffer tank, or a combination thereof, can include can one or more suitable features as disclosed herein with respect to the method of the present invention for recovering gaseous hydrocarbons from tank headspace.

(35) The apparatus can optionally further include a primary recovery separator that accepts the hydrocarbon gas composition from headspace of the tank fed by the secondary separator and that flows the hydrocarbon gas composition from the primary recovery separator to the compressor.

(36) The apparatus can optionally further include a secondary recovery separator that accepts the cooled composition including the liquid hydrocarbons and the outputs the recovered liquid hydrocarbon stream to the buffer tank.

(37) FIG. 1 illustrates a method and apparatus for recovering gaseous hydrocarbons from tank headspace as fuel on-site, in accordance with various aspects. Apparatus 100 includes crude hydrocarbon input stream 105 which is fed to primary separator 110. The primary separator 110 outputs crude liquid hydrocarbon stream 111. The primary separator 110 optionally outputs hydrocarbon gas stream 112 (first stage gas). The primary separator 110 optionally outputs water stream 113. The crude liquid hydrocarbon stream 111 is fed to secondary separator 120. The secondary separator 120 outputs liquid hydrocarbon stream 121. The secondary separator 120 optionally outputs hydrocarbon gas stream 122 (second stage gas). The secondary separator 120 optionally outputs water stream 123. Water streams 113 and 123 can be combined and sent to a tank for storage and or treatment. Liquid hydrocarbon stream 121 is fed to tank 130. A hydrocarbon gas composition (headspace gas) 132 is flowed from the headspace of tank 130 into an apparatus 140 for recovering gaseous hydrocarbons from tank headspace according to the present invention. Apparatus 140 outputs recovered liquid hydrocarbon stream 141 to a buffer tank (not shown). Various aspects of apparatus 140 are illustrated in detail in FIGS. 3 and 4.

(38) FIG. 2A illustrates a method and apparatus for recovering gaseous hydrocarbons from tank headspace as fuel on-site, in accordance with various aspects. Apparatus 200 includes crude hydrocarbon input stream 205 which is fed to primary separator 210. In other aspects, separator 210 can be a secondary separator. The primary separator 210 outputs crude liquid hydrocarbon stream 211. The primary separator 210 outputs hydrocarbon gas stream 212 (first stage gas). The primary separator 210 optionally outputs water stream 213. Crude liquid hydrocarbon stream 211 is fed to tank 230. A hydrocarbon gas composition (headspace gas) 232 is flowed from the headspace of tank 230 into an apparatus 240 for recovering gaseous hydrocarbons from tank headspace according to the present invention. Apparatus 240 outputs recovered liquid hydrocarbon stream 241 to a buffer tank (not shown). Various aspects of apparatus 240 are illustrated in detail in FIGS. 3 and 4.

(39) FIG. 2B illustrates an embodiment of the apparatus 200 shown in FIG. 2A including additional features. FIG. 2B illustrates a method and apparatus for recovering gaseous hydrocarbons from tank headspace as fuel on-site, in accordance with various aspects. Apparatus 200 includes crude hydrocarbon input stream 205 which is fed to primary separator 210. In other aspects, separator 210 can be a secondary separator. The primary separator 210 outputs crude liquid hydrocarbon stream 211. The primary separator 210 outputs hydrocarbon gas stream 212 (first stage gas). The primary separator 210 optionally outputs water stream 213. The primary separator outputs hydrocarbon gas stream 210. The hydrocarbon gas stream 212 is fed to compressor 215, which generates a compressed gas stream 216. Compressed gas stream 216 is fed to secondary separator 220 which outputs liquid hydrocarbon stream 221. Secondary separator 220 can also optionally output hydrocarbon gas and water streams (not shown). Liquid hydrocarbon stream 221 is combined with crude hydrocarbon input stream 205. The primary separator outputs liquid hydrocarbon stream 221 which is fed to tank 230. The liquid hydrocarbon stream 221 is thereby fed to the tank 230 by first passing through (and having separatory operations performed thereon in) primary separator 210. A hydrocarbon gas composition (headspace gas) 232 is flowed from the headspace of tank 230 into an apparatus 240 for recovering gaseous hydrocarbons from tank headspace according to the present invention. Apparatus 240 outputs recovered liquid hydrocarbon stream 241 to a buffer tank (not shown). Various aspects of apparatus 240 are illustrated in detail in FIGS. 3 and 4.

(40) FIG. 3 illustrates a method and apparatus for recovering gaseous hydrocarbons as fuel on-site, in accordance with various aspects. Apparatus 300 includes compressor 310, which is fed by the hydrocarbon gas composition (headspace gas) 305. The compressor outputs compressed mixture 311, which is fed to cooling unit 320. Cooling unit 320 forms a cooled composition including liquid hydrocarbons 321.

(41) FIG. 4 illustrates a method and apparatus for recovering gaseous hydrocarbons as fuel on-site, in accordance with various aspects. Apparatus 400 includes a primary recovery separator 410, which is fed by the hydrocarbon gas composition (headspace gas) 405. Primary recovery separator outputs hydrocarbon gas composition 411. Primary recovery separator can optionally output water stream 413 and hydrocarbon gas stream 412. Hydrocarbon gas composition 411 is fed to compressor 420, which forms compressed mixture 421. The compressed mixture is fed to cooling unit 430, which forms cooled composition 431 including liquid hydrocarbons. The cooled composition including liquid hydrocarbons 431 is fed to secondary recovery separator 440. Secondary recovery separator 440 forms a liquid composition including the liquid hydrocarbons 441, which is fed to a buffer tank (not shown). Secondary recovery separator 440 optionally forms hydrocarbon gas stream 442 and water stream 443.

(42) FIG. 5 illustrates a method and apparatus for recovering gaseous hydrocarbons as fuel on-site, in accordance with various aspects. In apparatus 500, a hydrocarbon gas composition (headspace gas) is flowed from the headspace of tank 530 (corresponding to tanks 140 and 240 in FIGS. 1, 2A, and 2B) into flame arrestor 505, and then into primary recovery separator 510. The primary recovery separator 510 outputs a hydrocarbon gas composition to filter 515 which outputs the filtered stream to compressor 520, which forms a compressed mixture. The compressed mixture is fed to check valve 525 (which can prevent reverse flow) and then to cooling unit 531, which forms a cooled composition including liquid hydrocarbons that is fed to buffer tank 535. The buffer tank 535 can include an outlet 536 in an upper portion thereof that is fluidly connected to an emergency pressure release valve 540. The buffer tank 535 can include a fuel gas outlet 541 in an upper portion thereof feeding to a back pressure regulator value 545 that is fluidly connected to a flare. The buffer tank can include a fuel gas outlet 541 in an upper portion thereof through which the fuel gas composition is flowed. The fuel gas outlet 541 can flow to a regulator valve 550 that controllably flows the fuel gas composition to one or more combustors in which the combusting of the fuel gas composition as an on-site fuel is performed. The regulator valve 550 can regulate the flow of the fuel gas composition to the one or more combustors at any suitable pressure, such as 5 psi to 20 psi (34-138 kPa), or 10 psi to 15 psi (69-103 kPa), or equal to or less than 20 psi and greater than or equal to 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, or 19 psi. The fuel gas outlet can flow to a solenoid valve 555 that controllably flows the fuel gas composition to one or more combustors in which the combusting of the fuel gas composition as an on on-site fuel is performed. The fuel gas outlet can flow to a solenoid valve 555 and a regulator valve 550 in series that controllably flow the fuel gas composition to one or more combustors in which the combusting of the fuel gas composition as an on-site fuel is performed. The tank can include a drain 560 in a lower portion thereof, wherein the drain includes a drain valve 561 that is fluidly connected to a produced water tank.

(43) The method can include using a processor 565 configured to monitor a liquid level in the buffer tank 535, a temperature in the buffer tank 535, a pressure in the buffer tank 535, a pressure in the tank 530 fed by the secondary separator, a temperature of the cooled composition exiting the compressor 520, or a combination thereof. The processor 565 can be a component of a programmable logic controller. Monitoring the liquid level in the buffer tank 535 can include monitoring a level transmitter 570 in a lower portion of the buffer tank and monitoring a level transmitter 575 in an upper portion of the buffer tank (e.g., in the headspace of the buffer tank). Monitoring the pressure in the buffer tank can include monitoring a pressure transducer or pressure transmitter 580 in an upper portion of the buffer tank. Monitoring the pressure in the tank 530 fed by the secondary separator can include monitoring a pressure transducer or pressure transmitter 585 in an upper portion of the buffer tank.

(44) The processor 565 can be configured to: responsive to determining a level transmitter 575 in an upper portion of the buffer tank is immersed (e.g., with hydrocarbon liquid or water), to cause the variable frequency drive 595 on the compressor 520 to slow or stop the compressor, and to optionally provide an operator alert; responsive to determining a level transmitter 570 in a lower portion of the buffer tank is immersed with water, to provide an operator alert and/or to automatically open valve 561; responsive to determining a pressure transducer or pressure transmitter 585 in upper portion of the tank fed by the secondary separator (e.g., in the headspace of the tank) is above a pressure setpoint, to cause a variable frequency drive 595 on the compressor 520 to start or speed up the compressor; responsive to determining that a pressure transducer or pressure transmitter 585 in an upper portion of the tank fed by the secondary separator (e.g., in the headspace of the tank) is below a pressure setpoint, to cause a variable frequency drive 595 on the compressor 520 to slow down or stop the compressor; responsive to determining that a pressure transducer or pressure transmitter 580 in an upper portion of the buffer tank 535 is detecting a pressure above a predetermined pressure threshold, cause the solenoid valve 555 to at least partially open to start or increase a flow the fuel gas composition to the one or more combustors that perform the combustion of the fuel gas composition as an on-site fuel; responsive to determining that the pressure transducer or pressure transmitter 580 in the upper portion of the buffer tank 535 is detecting a pressure below a predetermined pressure threshold, cause the solenoid valve 555 to at least partially close to stop or decrease a flow of the fuel gas composition to the one or more combustors that perform the combustion of the fuel gas composition as an on-site fuel; responsive to determining that a temperature transducer or temperature transmitter 590 measuring temperature of the compressed mixture exiting the compressor 520 is detecting a temperature above a compressed mixture temperature setpoint, cause a variable frequency drive 595 on the compressor 520 to slow or stop the compressor; or a combination thereof.

(45) The terms and expressions that have been employed are used as terms of description and not of limitation, and there is no intention in the use of such terms and expressions of excluding any equivalents of the features shown and described or portions thereof, but it is recognized that various modifications are possible within the scope of the aspects of the present invention. Thus, it should be understood that although the present invention has been specifically disclosed by specific aspects and optional features, modification and variation of the concepts herein disclosed may be resorted to by those of ordinary skill in the art, and that such modifications and variations are considered to be within the scope of aspects of the present invention.

EXEMPLARY ASPECTS

(46) The following exemplary aspects are provided, the numbering of which is not to be construed as designating levels of importance:

(47) Aspect 1 provides a method of recovering gaseous hydrocarbons from tank headspace as fuel on-site, the method comprising:

(48) flowing a hydrocarbon gas composition from headspace of a tank fed by a secondary separator into a compressor to form a compressed mixture, wherein the secondary separator accepts a crude liquid hydrocarbon input stream from a primary separator, wherein the primary separator comprises a crude hydrocarbon input stream and comprises an output stream comprising the crude liquid hydrocarbon stream that is inputted to the secondary separator;

(49) flowing the compressed mixture into a cooling unit to cool the compressed mixture, to form a cooled composition comprising liquid hydrocarbons;

(50) flowing the cooled composition to a buffer tank to form a buffered fuel composition;

(51) removing a fuel gas composition from headspace of the buffer tank; and

(52) combusting the fuel gas composition as an on-site fuel.

(53) Aspect 2 provides the method of Aspect 1, wherein combusting the fuel gas composition as an on-site fuel comprises flowing the fuel gas composition to an on-site fuel system.

(54) Aspect 3 provides the method of any one of Aspects 1-2, wherein combusting the fuel gas composition as an on-site fuel comprises using the fuel gas composition to heat the primary separator, to heat the secondary separator, as a flare pilot, as gas assist, in an auxiliary internal combustion device for heat or power, or a combination thereof.

(55) Aspect 4 provides the method of any one of Aspects 1-3, wherein combusting the fuel gas composition as an on-site fuel comprises using the fuel gas composition to heat the primary separator and/or the secondary separator.

(56) Aspect 5 provides the method of any one of Aspects 1-4, wherein flowing the hydrocarbon gas composition from the headspace of the tank fed by the secondary separator into the compressor comprises flowing the hydrocarbon gas composition from the headspace of the tank fed by the secondary separator to a flame arrestor and flowing the hydrocarbon gas composition from the flame arrestor into the compressor.

(57) Aspect 6 provides the method of Aspect 5, further comprising monitoring a temperature of the compressed mixture, and shutting down the compressor if the temperature of the compressed mixture rises above a compressed mixture temperature setpoint.

(58) Aspect 7 provides the method of Aspect 6, wherein the temperature setpoint is 300-400° F. (149-204° C.).

(59) Aspect 8 provides the method of Aspect 6, wherein the temperature setpoint is 350° F. (177° C.).

(60) Aspect 9 provides the method of any one of Aspects 1-8, wherein flowing the hydrocarbon gas composition from the headspace of the tank fed by the secondary separator into the compressor comprises flowing the hydrocarbon gas composition from the headspace of the tank fed by the secondary separator into a filter and flowing the hydrocarbon from the filter into the compressor.

(61) Aspect 10 provides the method of any one of Aspects 1-9, wherein 100% of on-site fuel needs are satisfied by the combusting of the fuel gas composition as an on-site fuel.

(62) Aspect 11 provides the method of any one of Aspects 1-10, wherein on-site fuel needs are satisfied by a combination of the combusting of the fuel gas composition as an on-site fuel and combustion of other fuels as an on-site fuel.

(63) Aspect 12 provides the method of any one of Aspects 1-11, wherein 100% of fuel needs of the primary separator and/or the secondary separator are satisfied by the combusting of the fuel gas composition as an on-site fuel.

(64) Aspect 13 provides the method of any one of Aspects 1-12, wherein on-site fuel needs of the primary separator and/or the secondary separator are satisfied by a combination of the combusting of the fuel gas composition as an on-site fuel and combustion of other fuels as an on-site fuel.

(65) Aspect 14 provides the method of any one of Aspects 1-13, wherein the buffered fuel composition in the buffer tank comprises the fuel gas composition and a fuel liquid composition.

(66) Aspect 15 provides the method of any one of Aspects 1-14, comprising operating the buffer tank at a pressure of 25 psi to 300 psi (172-2068 kPa).

(67) Aspect 16 provides the method of any one of Aspects 1-15, comprising operating the buffer tank at a pressure of 25 psi to 150 psi (172-1034 kPa).

(68) Aspect 17 provides the method of any one of Aspects 1-16, comprising operating the buffer tank at a temperature of equal to or less than 20° C. above ambient temperature.

(69) Aspect 18 provides the method of any one of Aspects 1-17, comprising operating the buffer tank at a temperature of equal to or less than 10° C. above ambient temperature.

(70) Aspect 19 provides the method of any one of Aspects 1-18, wherein the buffer tank has a capacity of 1,000 L to 40,000 L.

(71) Aspect 20 provides the method of any one of Aspects 1-19, wherein the buffer tank has a capacity of 1,500 L to 4,000 L.

(72) Aspect 21 provides the method of any one of Aspects 1-20, further comprising monitoring a liquid level in the buffer tank, a temperature in the buffer tank, a pressure in the buffer tank, a pressure in the tank fed by the secondary separator, a temperature of the cooled composition exiting the compressor, or a combination thereof.

(73) Aspect 22 provides the method of any one of Aspects 1-21, wherein the tank comprises an outlet in an upper portion thereof that is fluidly connected to an emergency pressure release valve.

(74) Aspect 23 provides the method of any one of Aspects 1-22, wherein the tank comprises an outlet in an upper portion thereof feeding to a back pressure regulator value that is fluidly connected to a flare.

(75) Aspect 24 provides the method of any one of Aspects 1-23, wherein the tank comprises a fuel gas outlet in an upper portion thereof through which the fuel gas composition is flowed.

(76) Aspect 25 provides the method of Aspect 24, wherein the fuel gas outlet flows to a regulator valve that controllably flows the fuel gas composition to one or more combustors in which the combusting of the fuel gas composition as an on-site fuel is performed.

(77) Aspect 26 provides the method of Aspect 25, wherein the regulator regulates the flow of the fuel gas composition to the one or more combustors at 5 psi to 20 psi (34-138 kPa).

(78) Aspect 27 provides the method of Aspect 25, wherein the regulator regulates the flow of the fuel gas composition to the one or more combustors at 10 psi to 15 psi (69-103 kPa).

(79) Aspect 28 provides the method of any one of Aspects 24-27, wherein the fuel gas outlet flows to a solenoid valve that controllably flows the fuel gas composition to one or more combustors in which the combusting of the fuel gas composition as an on on-site fuel is performed.

(80) Aspect 29 provides the method of any one of Aspects 24-28, wherein the fuel gas outlet flows to a solenoid valve and a regulator valve in series that controllably flow the fuel gas composition to one or more combustors in which the combusting of the fuel gas composition as an on-site fuel is performed.

(81) Aspect 30 provides the method of any one of Aspects 1-29, wherein removing the fuel gas composition from the headspace of the buffer tank comprises allowing the fuel gas composition to flow from the headspace of the buffer tank under pressure provided by the buffer tank.

(82) Aspect 31 provides the method of any one of Aspects 1-30, wherein the tank comprises a drain in a lower portion thereof, wherein the drain comprises a drain valve that is fluidly connected to a produced water tank.

(83) Aspect 32 provides the method of any one of Aspects 1-31, further comprising using a processor configured to monitor a liquid level in the buffer tank, a temperature in the buffer tank, a pressure in the buffer tank, a pressure in the tank fed by the secondary separator, a temperature of the cooled composition exiting the compressor, or a combination thereof.

(84) Aspect 33 provides the method of claim 32, wherein a programmable logic controller comprises the processor.

(85) Aspect 34 provides the method of any one of Aspects 32-33, wherein monitoring the liquid level in the buffer tank comprises monitoring a level transmitter in a lower portion of the buffer tank and monitoring a level transmitter in an upper portion of the buffer tank.

(86) Aspect 35 provides the method of any one of Aspects 32-34, wherein monitoring the pressure in the buffer tank comprises monitoring a pressure transducer or pressure transmitter in an upper portion of the buffer tank.

(87) Aspect 36 provides the method of any one of Aspects 32-35, wherein monitoring the pressure in the tank fed by the secondary separator comprises monitoring a pressure transducer or pressure transmitter in an upper portion of tank fed by the secondary separator.

(88) Aspect 37 provides the method of any one of Aspects 32-36, wherein the processor is configured to:

(89) responsive to determining a level transmitter in a lower portion of the buffer tank is immersed in water, cause water to be at least partially drained from the buffer tank;

(90) responsive to determining a level transmitter in an upper portion of the buffer tank is immersed, cause a variable frequency drive on the compressor to run at a lower speed or to shut off;

(91) responsive to determining that a pressure transducer or pressure transmitter in an upper portion of the tank fed by the secondary separator is detecting a pressure above a predetermined pressure threshold, cause the variable frequency drive on the compressor to run at a lower speed or to shut off;

(92) responsive to determining that the pressure transducer or pressure transmitter in the upper portion of the tank fed by the secondary separator is detecting a pressure below a predetermined pressure threshold, cause the variable frequency drive on the compressor to maintain speed or to run at a higher speed;

(93) responsive to determining that a temperature transducer or temperature transmitter measuring temperature of the compressed mixture exiting the compressor is detecting a temperature above a compressed mixture temperature setpoint, cause the variable frequency drive on the compressor to slow or stop; or

(94) a combination thereof.

(95) Aspect 38 provides the method of any one of Aspects 1-37, wherein the crude hydrocarbon input stream is from an oil well at an on-shore oil recovery or production facility.

(96) Aspect 39 provides the method of any one of Aspects 1-37, wherein the crude hydrocarbon input stream is from an oil well at an off-shore oil recovery or production facility.

(97) Aspect 40 provides the method of any one of Aspects 1-39, wherein the crude hydrocarbon input stream has a pressure of 10 psi (70 kPa) to 500 psi (3447 kPa).

(98) Aspect 41 provides the method of any one of Aspects 1-40, wherein the crude hydrocarbon input stream has a pressure of 50 psi (345 kPa) to 100 psi (689 kPa).

(99) Aspect 42 provides the method of any one of Aspects 1-41, wherein the primary separator comprises a two-phase separator or a three-phase separator.

(100) Aspect 43 provides the method of any one of Aspects 1-42, wherein the primary separator comprises a heated separator.

(101) Aspect 44 provides the method of any one of Aspects 1-42, wherein the primary separator comprises an unheated separator.

(102) Aspect 45 provides the method of any one of Aspects 1-44, wherein the primary separator comprises a two-phase separator.

(103) Aspect 46 provides the method of any one of Aspects 1-45, wherein the primary separator comprises the crude liquid hydrocarbon output stream and a crude hydrocarbon gaseous output stream.

(104) Aspect 47 provides the method of any one of Aspects 1-46, wherein the hydrocarbon gas composition from the headspace of the tank comprises methane, ethane, propane, butane, hydrocarbons having 5 or more carbon atoms, or a combination thereof.

(105) Aspect 48 provides the method of any one of Aspects 1-47, wherein the hydrocarbon gas composition from the headspace of the tank is less than 50 mole % methane and is predominantly ethane, propane, and butane.

(106) Aspect 49 provides the method of any one of Aspects 1-48, wherein the hydrocarbon gas composition from the headspace of the tank has a pressure of 0.01 psi (0.1 kPa) to 2 psi (14 kPa).

(107) Aspect 50 provides the method of any one of Aspects 1-49, wherein the hydrocarbon gas composition from the headspace of the tank has a pressure of 0.1 psi (1 kPa) to 2 psi (14 kPa).

(108) Aspect 51 provides the method of any one of Aspects 1-50, further comprising flowing the hydrocarbon gas composition from the headspace of the tank to a primary recovery separator, and flowing the hydrocarbon gas composition from the primary recovery separator to the compressor.

(109) Aspect 52 provides the method of Aspect 51, wherein the primary recovery separator comprises a two-phase separator or a three-phase separator.

(110) Aspect 53 provides the method of any one of Aspects 51-52, wherein the primary recovery separator comprises a heated separator.

(111) Aspect 54 provides the method of any one of Aspects 51-52, wherein the primary recovery separator comprises an unheated separator.

(112) Aspect 55 provides the method of any one of Aspects 51-54, wherein the primary recovery separator comprises a scrubber.

(113) Aspect 56 provides the method of any one of Aspects 51-55, wherein the primary recovery separator condenses liquids from the hydrocarbon gas composition, removes water from the hydrocarbon gas composition, or a combination thereof.

(114) Aspect 57 provides the method of any one of Aspects 1-56, wherein the compressor comprises a piston compressor, a scroll compressor, or a combination thereof.

(115) Aspect 58 provides the method of any one of Aspects 1-57, wherein the compressor comprises an oilless compressor, wherein the oilless compressor comprises a crankcase that is free of oil that contacts material being compressed and is free of oil lubrication that requires regular changings.

(116) Aspect 59 provides the method of any one of Aspects 1-58, wherein the method is free of compression via a compressor that comprises oil that contacts material being compressed and/or that comprises oil lubrication that requires regular changings.

(117) Aspect 60 provides the method of any one of Aspects 1-59, wherein the compressed mixture has a pressure of 100 psi (689 kPa) to 500 psi (3447 kPa).

(118) Aspect 61 provides the method of any one of Aspects 1-60, wherein the compressed mixture has a pressure of 200 psi (1379 kPa) to 300 psi (2068 kPa).

(119) Aspect 62 provides the method of any one of Aspects 1-61, wherein the compressed mixture has a temperature of 100° C. to 300° C.

(120) Aspect 63 provides the method of any one of Aspects 1-62, wherein the compressed mixture has a temperature of 125° C. to 175° C.

(121) Aspect 64 provides the method of any one of Aspects 1-63, wherein the cooling unit comprises a heat exchanger, a refrigeration unit, an aftercooler, or a combination thereof.

(122) Aspect 65 provides the method of any one of Aspects 1-64, wherein the cooling unit comprises an air-cooled heat exchanger, a water-cooled heat exchanger, or a combination thereof.

(123) Aspect 66 provides the method of any one of Aspects 1-65, wherein the cooling unit comprises an air-cooled heat exchanger.

(124) Aspect 67 provides the method of any one of Aspects 1-66, wherein the cooled composition has a pressure of 100 psi (689 kPa) to 500 psi (3447 kPa).

(125) Aspect 68 provides the method of any one of Aspects 1-67, wherein the cooled composition has a pressure of 200 psi (1379 kPa) to 300 psi (2068 kPa).

(126) Aspect 69 provides the method of any one of Aspects 1-68, wherein the cooled composition has a temperature of 0° C. to 80° C.

(127) Aspect 70 provides the method of any one of Aspects 1-69, wherein the cooled composition has a temperature of 10° C. to 40° C.

(128) Aspect 71 provides the method of any one of Aspects 1-70, further comprising flowing the cooled composition comprising liquid hydrocarbons to a secondary recovery separator, wherein flowing the cooled composition to the buffer tank comprises flowing a liquid hydrocarbon stream from the secondary recovery separator to the buffer tank.

(129) Aspect 72 provides the method of Aspect 71, wherein the secondary recovery separator comprises a two-phase separator or a three-phase separator.

(130) Aspect 73 provides the method of any one of Aspects 71-72, wherein the secondary recovery separator comprises a heated separator.

(131) Aspect 74 provides the method of any one of Aspects 71-72, wherein the secondary recovery separator comprises an unheated separator.

(132) Aspect 75 provides the method of any one of Aspects 71-74, wherein the secondary recovery separator comprises a separator column.

(133) Aspect 76 provides the method of any one of Aspects 71-75, wherein the secondary recovery separator comprises a level sensor.

(134) Aspect 77 provides the method of any one of Aspects 71-76, wherein the method further comprises flowing a water stream from the secondary recovery separator.

(135) Aspect 78 provides the method of any one of Aspects 71-77, wherein the method further comprises flowing a gaseous hydrocarbon stream from the secondary recovery separator.

(136) Aspect 79 provides the method of any one of Aspects 1-78, wherein the secondary separator comprises a two-phase separator or a three-phase separator.

(137) Aspect 80 provides the method of any one of Aspects 1-79, wherein the secondary separator comprises a heated separator.

(138) Aspect 81 provides the method of any one of Aspects 1-79, wherein the secondary separator comprises an unheated separator.

(139) Aspect 82 provides the method of any one of Aspects 1-81, wherein the secondary separator comprises a heater-treater or a vapor recovery tower (VRT).

(140) Aspect 83 provides the method of any one of Aspects 1-82, wherein the secondary separator comprises a heater-treater.

(141) Aspect 84 provides the method of any one of Aspects 1-83, wherein the secondary separator feeds the tank at a pressure of 5 psi (34 kPa) to 80 psi (552 kPa).

(142) Aspect 85 provides the method of any one of Aspects 1-84, wherein the secondary separator feeds the tank at a pressure of 20 psi (138 kPa) to 50 psi (344 kPa).

(143) Aspect 86 provides the method of any one of Aspects 1-85, wherein the fuel gas composition comprises natural gas liquids.

(144) Aspect 87 provides the method of any one of Aspects 1-86, wherein the fuel gas composition comprises methane, ethane, propane, butane, pentane, hydrocarbons having 6 or more carbon atoms, or a combination thereof.

(145) Aspect 88 provides the method of any one of Aspects 1-87, wherein the fuel gas composition comprises <10% methane, up to 90% ethane, propane, butane, and pentane, and up to 10% hydrocarbons heavier than pentane.

(146) Aspect 89 provides the method of any one of Aspects 1-88, wherein the fuel gas composition is less than or equal to 17 mole % oxygen.

(147) Aspect 90 provides a method of recovering gaseous hydrocarbons from tank headspace as fuel on-site, the method comprising:

(148) flowing a hydrocarbon gas composition from headspace of a tank fed by a heater-treater into a compressor to form a compressed mixture, wherein the heater-treater accepts a crude liquid hydrocarbon input stream from a two-phase separator, wherein the two-phase separator comprises a crude hydrocarbon input stream and comprises an output stream comprising the crude liquid hydrocarbon stream that is inputted to the heater-treater;

(149) flowing the compressed mixture into a cooling unit to cool the compressed mixture, to form a cooled composition comprising liquid hydrocarbons;

(150) flowing the cooled composition to a buffer tank to form a buffered fuel composition;

(151) removing a fuel gas composition from headspace of the buffer tank; and

(152) combusting the fuel gas composition as an on-site fuel;

(153) or

(154) the method comprising:

(155) flowing a hydrocarbon gas composition from headspace of a tank fed by a separator (e.g., a primary separator or a secondary separator) into a compressor to form a compressed mixture, wherein the separator accepts a crude hydrocarbon input stream and outputs a crude liquid hydrocarbon stream to the tank;

(156) flowing the compressed mixture into a cooling unit to cool the compressed mixture, to form a cooled composition comprising liquid hydrocarbons;

(157) flowing the cooled composition to a buffer tank to form a buffered fuel composition;

(158) removing a fuel gas composition from headspace of the buffer tank; and

(159) combusting the fuel gas composition as an on-site fuel.

(160) Aspect 91 provides an apparatus for performing the method of any one of Aspects 1-90.

(161) Aspect 92 provides an apparatus for recovering gaseous hydrocarbons from tank headspace as fuel on-site, the apparatus comprising:

(162) a compressor that accepts a hydrocarbon gas composition from headspace of a tank fed by a secondary separator, wherein the secondary separator accepts a crude liquid hydrocarbon input stream from a primary separator, wherein the primary separator comprises a crude hydrocarbon input stream and comprises an output stream that comprises the crude liquid hydrocarbon stream that is inputted to the secondary separator;

(163) a cooling unit that accepts the compressed mixture from the compressor and that forms a cooled composition comprising liquid hydrocarbons;

(164) a flowline from the cooling unit for flowing the cooled composition to a buffer tank to form a buffered fuel composition; and

(165) an outlet from headspace of the buffer tank that outputs a fuel gas composition for use as an on-site fuel.

(166) Aspect 93 provides the apparatus of Aspect 92, further comprising a primary recovery separator that accepts the hydrocarbon gas composition from headspace of the tank fed by the secondary separator and that flows the hydrocarbon gas composition from the primary recovery separator to the compressor.

(167) Aspect 94 provides the apparatus of any one of Aspects 92-93, further comprising a secondary recovery separator that accepts the cooled composition comprising the liquid hydrocarbons and that outputs a liquid hydrocarbon stream from the secondary recovery separator to the buffer tank.

(168) Aspect 95 provides the apparatus of any one of Aspects 92-94, wherein the outlet from the headspace of the buffer tank outputs the fuel gas composition to one or more on-site combustors that combust the fuel gas composition.

(169) Aspect 96 provides the apparatus of any one of Aspects 92-95, wherein the outlet from the headspace of the buffer tank outputs the fuel gas composition to heat the primary separator, to heat the secondary separator, as a flare pilot, as gas assist, in an auxiliary internal combustion device for heat or power, or a combination thereof.

(170) Aspect 97 provides the method of any one of Aspects 92-96, wherein the apparatus comprises a processor configured to:

(171) responsive to determining a level transmitter in a lower portion of the buffer tank is immersed in water, cause water to be at least partially drained from the buffer tank;

(172) responsive to determining a level transmitter in an upper portion of the buffer tank is immersed, cause a variable frequency drive on the compressor to run at a lower speed or to shut off;

(173) responsive to determining that a pressure transducer or pressure transmitter in an upper portion of the tank fed by the secondary separator is detecting a pressure above a predetermined pressure threshold, cause the variable frequency drive on the compressor to run at a lower speed or to shut off;

(174) responsive to determining that the pressure transducer or pressure transmitter in the upper portion of the tank fed by the secondary separator is detecting a pressure below a predetermined pressure threshold, cause the variable frequency drive on the compressor to maintain speed or to run at a higher speed;

(175) responsive to determining that a temperature transducer or temperature transmitter measuring temperature of the compressed mixture exiting the compressor is detecting a temperature above a compressed mixture temperature setpoint, cause the variable frequency drive on the compressor to slow or stop; or

(176) a combination thereof.

(177) Aspect 98 provides the method or apparatus of any one or any combination of Aspects 1-97 optionally configured such that all elements or options recited are available to use or select from.