ANALYTICAL DETERMINATION OF DISSOLVED GAS CONCENTRATION IN WATER PIPELINES
20240053317 ยท 2024-02-15
Inventors
- Mohamed Ahmed Saad Mahmoud (Dammam, SA)
- Ahmed Hamad Salman (Riyadh, SA)
- Hassan Yahiya Al-Malki (Dammam, SA)
Cpc classification
International classification
Abstract
To analytically determine concentration of dissolved gases in a water pipeline, a water sample is drawn from a source carrying water with dissolved gas, through a water source port of a four-way valve. The water sample is flowed from the water source port towards a syringe port of the valve and into a syringe fluidically coupled to the syringe port to hold the water sample. Inert gas is drawn through an inert gas port of the valve from an inert gas source and is flowed from the inert gas port towards the syringe port and into the syringe. A mixture of the water sample and the inert gas is flowed from the syringe port towards an analyzer port of the valve and into an analyzer fluidically coupled to the analyzer port.
Claims
1. A method comprising: drawing, from a source carrying water with dissolved gases produced during oil and gas production, a water sample through a water source port of a four-way valve fluidically coupled to the water source; flowing the water sample from the water source port towards a syringe port and into a syringe fluidically coupled to the syringe port, the syringe configured to hold the water sample, wherein flowing the water sample comprises avoiding an inert gas port and an analyzer port of the four-way valve; drawing, from an inert gas source fluidically coupled to the inert gas port, inert gas; flowing the inert gas from the inert gas port towards the syringe port and into the syringe, wherein flowing the inert gas comprises avoiding the water source port and the analyzer port; and flowing a mixture of the water sample and the inert gas from the syringe port towards the analyzer port and into an analyzer fluidically coupled to the analyzer port, wherein flowing the mixture comprises avoiding the water source port and the inert gas port.
2. The method of claim 1, further comprising, after flowing the mixture of the water sample and the inert gas into the analyzer, determining, by the analyzer, a concentration of dissolved gases in the water sample using the mixture of the water sample and the inert gas.
3. The method of claim 2, wherein determining the concentration of dissolved gases comprises determining a mole fraction of each dissolved gas.
4. The method of claim 3, wherein the analyzer is a gas chromatography analyzer, wherein the method further comprises, before determining the concentration of dissolved gases in the water sample, calibrating the gas chromatography analyzer.
5. The method of claim 1, further comprising, after flowing the inert gas into the syringe and before flowing the mixture of the water sample and the inert gas into the analyzer, holding the mixture in the syringe for a duration to achieve gas equilibrium of the mixture in the syringe.
6. The method of claim 5, wherein the duration is between 45 minutes and one hour.
7. The method of claim 1, wherein the water with dissolved gases flows through the source at a temperature, wherein the method further comprises, before flowing the water sample into the syringe, heating the water sample to a temperature equal to the temperature at which the water with dissolved gases flows through the source.
8. The method of claim 1, wherein the method further comprises, before flowing the water sample into the syringe, filtering suspended solids in the water sample.
9. A system comprising: a four-way valve comprising: a syringe port fluidically coupled to a source carrying water with dissolved gases produced during oil and gas production, a water source port fluidically coupled to a syringe configured to hold the water sample, an inert gas port fluidically coupled to an inert gas source, and an analyzer port; a controller connected to the four-way valve, the controller comprising: one or more computer systems, and a computer-readable medium storing instructions executable by the one or more computer systems to control the four-way valve to perform operations comprising: drawing a water sample through the water source port, flowing the water sample from the water source port to the syringe port while avoiding the inert gas port and the analyzer port, wherein the water sample is flowed to the syringe, after the water sample is flowed to the syringe, drawing inert gas from the inert gas source and flowing the inert gas to the syringe port and into the syringe while avoiding the water source port and the analyzer port, and flowing a mixture of the water sample and the inert gas from the syringe port towards the analyzer port; and an analyzer fluidically coupled to the analyzer port, the analyzer configured to receive the mixture of the water sample and the inert gas and to determine a concentration of dissolved gases in the water sample using the mixture of the water sample and the inert gas.
10. The system of claim 9, wherein the analyzer is a gas chromatography analyzer.
11. The system of claim 10, wherein the gas chromatography analyzer is configured to determine a mole fraction of each dissolved gas.
12. The system of claim 9, wherein the water with dissolved gases flows through the source at a temperature, wherein the system further comprises a heater configured to heat the water sample to a temperature equal to the temperature at which the water with dissolved gases flows through the source.
13. The system of claim 9, further comprising a filter configured to filter suspended solids in the water sample before the water sample is flowed to the syringe.
14. The system of claim 9, wherein the inert gas is helium, wherein the system comprises a helium tank comprising helium and fluidically coupled to the inert gas port.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0018]
[0019]
[0020]
[0021]
[0022] Like reference numbers and designations in the various drawings indicate like elements.
DETAILED DESCRIPTION
[0023] This disclosure describes sample handling and test techniques to determine the concentration of dissolved gases in water. The water can be flowed in oil and gas water pipelines in, for example, water supply and water injection pipelines, utility plants and sewage treatment units. Dissolved gases can include oxygen, hydrogen sulfide, methane and carbon dioxides. Knowing the concentration of such gases can support production operations as well as preventative maintenance such as corrosion protection and plant integrity.
[0024] The techniques described here can be implemented to accurately determine the concentration of dissolved gases. The techniques are free of interference of other presented chemicals in the water pipelines such as corrosion inhibitors and scale inhibitors in addition to oil content. The techniques can be implemented as a single method that can analyze different types of dissolved gases. Implementing the techniques described in this disclosure can reduce human error associated with test kits that use color comparators and can also reduce exposure to toxic gases like hydrogen sulfide. The selectivity of the techniques reduces interference from oil field chemicals such as corrosion inhibitors or scale inhibitors. The techniques can reduce the amount of time needed to determine concentrations of the gases (e.g., in under 15 minutes) without any sample pre-treatment.
[0025]
[0026] The flow system 100 includes a four-way valve 102 that is configured to direct flow from different sources to different destinations. The valve 102 includes four portsa syringe port 104, a water source port 106, an inert gas port 108 and an analyzer port 110. The valve 102 includes fluid flow pathways that connect each port to every other port. The valve 102 includes mechanisms (e.g., stoppers, balls) using which fluid flow through the valve 102 can be controlled. For example, the mechanisms allow flow from one port to any other port, while avoiding flow through or to the two remaining ports. The flow system 100 includes a controller 112 that includes one or more computer systems and a computer-readable medium (e.g., a non-transitory computer-readable medium) storing instructions executable by the one or more computer systems to perform certain operations. In some implementations, the controller 112 can be implemented as software, hardware, firmware, electronic circuitry or any combination of them with or without the one or more computer systems and the computer-readable medium to perform operations described here. The controller 112 is connected to the valve 102 and can control valve operations. For example, the controller 112 can transmit signals to activate or deactivate the mechanisms using which fluid flow through the valve 102 is controlled. By doing so, the controller 112 can cause the valve 1022 flow fluid between one fourth and another port, while avoiding flow through or to the two remaining ports.
[0027] In some implementations, the syringe port 104 is fluidically connected to a syringe 114. As described below, the syringe 114 can hold a water sample with dissolved gases. The water source port 106 is fluidically connected to a water source 116, which, as described earlier, can be a pipeline on a flowline through which water with dissolved gases flows. The inert gas port 108 is fluidically coupled to an inert gas source 118. For example, the inert gas source 118 is a cylinder filled with inert gas such as helium or nitrogen. The analyzer port 110 is fluidically coupled to an analyzer 120 that is configured to receive fluids including the water sample and to determine a concentration of dissolved gases in the water sample using the received fluids. In some implementations, the analyzer 120 is a gas chromatography analyzer, which can receive fluids through the analyzer port 110, analyze the water sample for dissolved gases, and output results of the analysis as chromatograms.
[0028]
[0029] In some implementations, a filter 122 is used to filter any suspended solids in the water sample drawn through the water source port 106. In some implementations, a heater 124 is implemented to heat the water sample to a temperature that is equal to a temperature at which the water flows through the water source 116.
[0030]
[0031] When a predetermined volume of inert gas has been drawn or flowed into the syringe 114, the inert gas flow is stopped. In some implementations, a volume of the inert gas drawn or flowed into the syringe 114 is equal to the volume of the water sample drawn into the syringe 114. For example, where the volume of the water sample is 50 mL, the volume of the inert gas is also 50 mL. After the inert gas has been flowed into the syringe 114, the mixture of the inert gas and the water sample are held in the syringe 114 for a duration to achieve gas equilibrium of the mixture in the syringe 114. For example, the controller 112 transmits signals to close the syringe port 104 to prevent leakage of the fluids in the syringe 114 back into the valve 102. The duration to achieve gas equilibrium depends on the volume of the water sample and the volume of the inert gas. For example, for a 50 mL water sample-50 mL inert gas mixture, the duration to achieve gas equilibrium is about 45 minutes.
[0032]
[0033] In some implementations, the analyzer 120 (e.g., a gas chromatography analyzer) determines the concentration of dissolved gases in the water sample by determining a mole fraction of each dissolved gas. For example, the analyzer 120 can implement the following calculations for each dissolved gas.
[0034] For carbon dioxide (CO.sub.2), the equilibrium between CO.sub.2 present in the gas phase, CO.sub.2(g), with dissolved carbon dioxide, CO.sub.2(aq), is described by the following reaction.
CO.sub.2(g)CO.sub.2(aq)
[0035] The equilibrium constant is 1/K.sub.H, where K.sub.H is called the Henry's law constant:
K.sub.HP.sub.CO2(g)mCO.sub.2(aq)
[0036] In the above equation, P.sub.CO2(g) is the partial pressure of carbon dioxide in the gas phase and mCO.sub.2(aq) is the molar concentration of carbon dioxide and water.
P.sub.CO21=X.sub.CO2PTotal
[0037] In the above equation, X is the mole fraction of carbon dioxide.
[0038] For hydrogen sulfide (H.sub.2S), the equilibrium between H.sub.2S present in the gas phase (H.sub.2S(g)) with dissolved hydrogen sulfide (H.sub.2S(aq)) is described by the following reaction.
H.sub.2S(g)H.sub.2S(aq)
[0039] The equilibrium constant is 1/K.sub.H, where K.sub.H is called the Henry's law constant:
K.sub.HP.sub.H2S(g)/mH.sub.2S.sub.(aq)
[0040] In the above equation, P.sub.CO2(g) is the partial pressure of carbon dioxide in the gas phase and mCO.sub.2(aq) is the molar concentration of carbon dioxide and water.
P.sub.H2S1=X.sub.H2SPTotal
[0041] In the above equation, X is the mole fraction of hydrogen sulfide.
[0042] For oxygen (O.sub.2), the equilibrium between O.sub.2 present in the gas phase (O.sub.2(g)) with dissolved hydrogen sulfide (O.sub.2(aq)) is described by the following reaction.
O.sub.2(g)O.sub.2(aq)
[0043] The equilibrium constant is 1/K.sub.H, where K.sub.H is called the Henry's law constant:
K.sub.HP.sub.O2(g)/m O.sub.2(aq)
[0044] In the above equation, P.sub.CO2(g) is the partial pressure of carbon dioxide in the gas phase and mCO.sub.2(aq) is the molar concentration of carbon dioxide and water.
P.sub.O21=X.sub.O2PTotal
[0045] In the above equation, X is the mole fraction of oxygen.
[0046] Similar calculations can be implemented to determine the mole fractions of other dissolved gases.
[0047] Subsequently or in parallel, Dalton's law of partial pressure of gas can be used to determine the partial pressure of each dissolved the gas in the water sample. Dalton's law of partial pressure is shown in the equation below.
P.sub.gas=n.sub.gasRT/V
[0048] In the Dalton's law equation, P gas represents partial pressure of a gas, V represents volume, n g as represents number of Moles of gas, R represents the general gas constant and T represents temperature (in Kelvin).
[0049] Henry's law is represented by the equation below.
C=P/K.sub.H
[0050] In the Henry's law equation, C is concentration in Molar and P is the partial pressure calculated from the Dalton's law equation.
[0051] In some implementations, a pressure sensor and a temperature sensor can each be coupled to the flow pathway through which the water sample is drawn into the valve 102. The total pressure (P in Henry's Law) and temperature (T in Dalton's law) can be measured using the pressure sensor than the temperature sensor, respectively. Each sensor can transmit the measured value to the controller 112.
[0052] The calculations described in this disclosure can be implemented by the controller 112 or a controller (not shown) deployed in the analyzer 120. Alternatively or in addition, the calculations described in this disclosure can be distributed between the controller 112 and the controller deployed in the analyzer 120. For example, the controller deployed in the analyzer 120 can perform all the data correlation and transfer the final concentration in parts per million (ppm) to the controller 112. Alternatively, the un-normalized concentrations of each gas type can be calculated by the controller deployed in the analyzer 120 and transferred to the controller 112, which can convert the results to ppm. Examples of concentrations and ppm values of dissolved gases in a water sample are shown in the tables below.
TABLE-US-00001 partial pressure Concentra- CO.sub.2 mole (Mole fraction CO.sub.2 Mol. tion of CO.sub.2/ fraction KH total pressure*) C = P/KH Weight 100 ml % CO.sub.2 ppm 0.2985 29.41 0.067136638 0.00228 44 0.00512 51.88
TABLE-US-00002 partial pressure Concentra- H.sub.2S mole (Mole fraction H.sub.2S Mol. tion of H.sub.2S/ fraction KH total pressure*) C = P/KH Weight 100 ml % H.sub.2S ppm 0.02625 10 0.005902 0.000590 34.1 0.001553 17.31
TABLE-US-00003 partial pressure Concentra- O.sub.2 mole (Mole fraction O.sub.2 Mol. tion of O.sub.2/ fraction KH total pressure*) C = P/KH Weight 100 ml % O.sub.2 ppm 0.318222 700 0.0716 0.00010 15.99 0.000611 6.39
TABLE-US-00004 partial pressure Concentra- CH.sub.4 mole (Mole fraction CH.sub.4 Mol. tion of CH.sub.4/ fraction KH total pressure*) C = P/KH Weight 100 ml % CH.sub.4 ppm 0.38537 714 0.08665 0.00012 16.0 0.00076 7.58
[0053] In some implementations, the analyzer 120 (e.g., the gas chromatography analyzer) can be calibrated before determining the concentration of dissolved gases in the water sample. For example, the analyzer 120 can be calibrated using the National Institute of Standardization (NIST) traceable reference gas standard for the various dissolved gases including oxygen, carbon dioxide, methane, hydrogen sulfide and balanced with nitrogen or hydrocarbons. In another calibration technique, two different concentrations of all the gases can be determined to have linear calibration curve to cover all the detection limits. In a further calibration technique, the gases can be calibrated in mole percentage units.
[0054]
[0055] In operation, a water sample can be obtained from a water source (not shown) similar to the water source 116 (
[0056]
[0057] In some implementations, an online filter 312 is positioned within the thermal jacket 308 and fluidically coupled to the flow components to receive the water sample from the water source 302. The online filter 308 filters any suspended solids in the water sample and flows the suspended solids to drain 314 through flow components 316. Positioned within the thermal jacket 308 is a four-way valve 318, which is substantially similar to the valve 102 (
[0058] The online system 300 described with reference to
[0059]
[0060] Thus, particular implementations of the subject matter have been described. Other implementations are within the scope of the following claims.