XRF Measurements of Multiphase Oilfield Fluids

By converting drilling fluid into a high-viscosity paste with carbon black, the method stabilizes XRF measurements, addressing phase separation and sedimentation issues, enhancing the accuracy of elemental analysis and enabling precise drilling fluid adjustments.

SA1020244947B1Active Publication Date: 2026-09-14SCHLUMBERGER TECHNOLOGY BV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
SA1020244947
Authority / Receiving Office
SA · SA
Patent Type
Patents
Current Assignee / Owner
Filing Date
2024-09-05
Publication Date
2026-09-14
Estimated Expiration
2044-09-05

AI Technical Summary

Technical Problem

Existing drilling fluid analysis methods struggle with phase separation and sedimentation during X-ray fluorescence (XRF) spectroscopy measurements, leading to inaccurate elemental composition determination and inefficient drilling operations.

Method used

Converting drilling fluid into a high-viscosity paste by mixing it with a viscosity-modifying agent like carbon black to stabilize the sample, allowing for stable XRF measurements under vacuum, which prevents phase separation and sedimentation, thereby improving the accuracy of elemental analysis.

Benefits of technology

The method enhances the stability and accuracy of XRF measurements, enabling longer measurement times and improved detection of trace elements, facilitating precise adjustments to drilling fluid composition and process parameters.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 1EDBD47E-C277-4667-BFB2-D8BD2B9C868B
    Figure 1EDBD47E-C277-4667-BFB2-D8BD2B9C868B
  • Figure 45917FDC-E375-4E56-98DD-DFAEF0847F85
    Figure 45917FDC-E375-4E56-98DD-DFAEF0847F85
  • Figure 60C64D84-C038-4B7B-BD48-E5D85A419332
    Figure 60C64D84-C038-4B7B-BD48-E5D85A419332
Patent Text Reader

Abstract

The present invention relates to a method for estimating the elemental composition of a multiphase oilfield fluid, which involves obtaining a sample of the multiphase oilfield fluid; mixing the sample with a viscosity modifying agent to convert the sample into a high-viscosity paste; introducing the high-viscosity paste into a chamber of an X-Ray Fluorescence (XRF) Spectroscopy apparatus; using the XRF apparatus to perform an XRF measurement of the high-viscosity paste; and evaluating the X-Ray Fluorescence (XRF) Spectroscopy measurement to estimate the elemental composition of the multiphase oilfield fluid obtained. Figure 1.
Need to check novelty before this filing date? Find Prior Art

Description

Figure 1 depicts a illustrative drilling rig 20 that includes a system 150 for performing X-ray fluorescence (XRF) spectroscopy measurements of the drilling fluid used during the drilling process. The drilling rig 20 can be positioned over an aquifer formation (not shown). The rig may include, for example, a hoist and a lifting device (also not shown) for raising and lowering the drill string 30, which, as shown, extends into the wellbore 40 and includes, for example, a drill bit 32 and one or more downhole measuring instruments 38 (for example, a log-while-drill instrument or a gauge-while-drill instrument). Suitable drilling systems, for example, including drilling, guiding, data logging, and other downhole instruments, are well-known in the field. The drilling rig 20 also includes a surface system 50 to control the flow (or circulation) of the drilling fluid 35 used on the rig (for example, the one used to drill the wellbore 40). In the illustrative drilling rig, the drilling fluid 35 is pumped down the well (as shown in 62) via a conventional mud pump 57. The drilling fluid 35 can be pumped, for example, through a pipe 58 and mud hoses 59 on its way to the drill string 30. The drilling fluid 35 typically exits the drill string 30 at or near the drill bit 32 (for example, via the drill bit jets) and creates an upward flow 64 of mud through the annular space of the wellbore 42 (the annular space between the drill string and the wellbore wall). The drilling fluid 35 then flows through a return channel 52 and solids control equipment 55 (such as a shale shaker) to a mud pit 56 (or a mud pit system including multiple mud pits).It is clear that the terms drilling fluid and mud are used here synonymously. The circulating drilling fluid (35) is designed to perform several functions during drilling, one of which is to carry drill cuttings to the surface (in an upflow flow, 64). Cuttings are typically removed from the return mud via a shale shaker (55) (or other similar solids control equipment) in the return channel (e.g., just before the drilling mud, 56). The drilling fluid is generally reused and recirculated downhole. Formation gases released during drilling may also travel to the surface in the circulating drilling fluid. These gases are typically removed from the fluid, for example, via a gas remover or gas retainer (54) located in or near an overhead tubing tank (53) located just before the shale shaker (55) in the illustration. Cuttings and gases are typically inspected at the surface to evaluate the formation layers through which the wellbore is being drilled. The drilling rig 20 also includes a system 150 for performing X-ray fluorescence (XRF) spectroscopy measurements on the drilling fluid used during the drilling process. System 150 can be deployed in almost any single location or group of locations within the surface system 50, for example, along the return channel 52, between the shale shaker 55 and the mud hole 56 as illustrated, in fluid contact with the mud hole 56, or along a pipe 58 or mud hose 59. The configurations shown are not limited in this respect. As illustrated in more detail below in relation to Figures 2 and 3, System 150 can be configured to receive a sample of drilling fluid, prepare the sample for X-ray fluorescence (XRF) spectroscopy evaluation, and perform XRF measurements on the prepared sample. While Figure 1 depicts a land-based drilling rig, it would be reasonable to assume that the models shown are equally well-suited for both land-based and offshore platforms. As those with a basic understanding of the subject know, offshore platforms typically consist of a platform deployed above a riser pipe extending from the seabed to the surface. The drill string runs down from the platform, through the riser pipe, and into the wellbore via a blowout preventer (BOP) located on the seabed. The models shown are not limited in these respects. Figure 2 describes a flow diagram of one of the illustrative methods 100 for estimating the elemental composition of a multiphase oilfield fluid used in wellbore drilling or well completion. The method involves receiving (or acquiring) a sample of oilfield fluid at 102. The sample can include a drilling fluid sample obtained from almost anywhere in the surface system 50, for example, from a return pipe 52, a shale shaker 55, a mud hole 56, a standpipe 58, or a mud hose 59 (Figure 1), or an oilfield fluid sample from a high gravity solids (HGS) extraction system or a dewatering system, as described in more detail below in relation to Figure 6. The oilfield fluid sample is mixed with a viscosity-modifying agent, including a powder with a high surface area such as carbon black, to convert the sample into a high-viscosity paste (or paste-like sample) at 104.The paste (including the fluid sample and viscosity-modifying agent) is then introduced into an X-ray fluorescence (XRF) spectroscopy apparatus at 106°C, for example, in a pre-prepared sample holder. XRF measurements are performed at 108°C and evaluated at 110°C to estimate the elemental composition of the multiphase fluid. It should be noted that estimating the elemental composition of a multiphase fluid does not necessarily involve determining the amount of each element in the fluid, but can simply involve determining whether a particular element is present above the detection limit or estimating the amount (or an increase or decrease from a previous measurement) of one or more elements in the fluid. Continuing with reference to Figure 2, it will become clear that mixing a drilling fluid sample with a viscosity modifier significantly increases the sample's viscosity, thereby preventing (or significantly delaying or slowing down) phase separation and the sedimentation of high-density components in the fluid. It will be evident that solids sedimentation in a multiphase fluid is a kinetic process, and the addition of a viscosity modifier aims to reduce the sedimentation rate (or velocity) of the solids. Reducing the sedimentation velocity can be achieved, for example, by increasing the fluid viscosity at low shear rates and / or by subjecting the fluid to a high yield stress. In illustrative models, viscosities greater than about 100 Pascals, or 10 Pascals s⁻¹ s⁻¹ at shear rates as low as 1 s⁻¹, may be sufficient to prevent sedimentation in drilling fluid within the time frame required to obtain an X-ray fluorescence (XRF) spectroscopy measurement (e.g., greater than about 200 pressures, or greater than about 500 pressures, or greater than about 1000 pressures).In terms of yield stress, a yield stress greater than about 10 Pa may be sufficient to prevent settling in the drilling fluid within the time frame required to obtain an X-ray fluorescence (XRF) spectroscopy measurement (e.g., greater than about 20 Pa, or greater than about 50 Pa, or greater than about 100 Pa). In illustrative models, a sufficient quantity of high-surface-area powder is added to the sample to transform it into a paste. The amount of powder added to a drilling fluid sample generally depends on the mass (or volume) of the sample, the type of fluid, and the type of powder used. In illustrative models where the high-surface-area powder is carbon black, the amount of powder may range from a weight ratio of 10 parts powder to 1 part oilfield fluid (10:1) to a weight ratio of 1 part powder to approximately 100 parts oilfield fluid (1:100). For example, in some applications, it may be advantageous to provide a high dilution factor to evaluate highly concentrated elements or elements with partially overlapping peaks. In these models, a weight ratio in the range of approximately 10 parts powder to 1 part oilfield fluid (10:1) to approximately 1 part powder to approximately 1 part oilfield fluid (1:1) may be characteristic. In other example applications, it may be beneficial to use as little powder as possible to obtain a paste with a sufficiently high viscosity so that the original oilfield fluid sample is not excessively diluted.In these models, weight ratios ranging from approximately 1 part powder to approximately 1 part oilfield fluid (1:1) to approximately 1 part powder to approximately 100 parts oilfield fluid (1:100) can be characteristic (e.g., from approximately 1:2 to approximately 1:50, from approximately 1:3 to approximately 1:19, or from approximately 1:3 to approximately 1:9). In other example applications, for instance, where the oilfield fluid has a high initial viscosity, weight ratios ranging from approximately 1 part powder to approximately 20 parts oilfield fluid (1:20) to approximately 1 part powder to approximately 100 parts oilfield fluid (1:100) can be characteristic. It is understood, of course, that the oilfield fluid and the viscosity-modifying agent can be mixed by volume. An average person skilled in this field will easily be able to convert weight ratios to volume ratios or volume ratios to weight ratios based on the oilfield fluid densities and the viscosity adjustment factor. A viscosity-modifying agent can include almost any suitable powder, for example, carbon black, fumed silica, alumina, and other powders. Carbon black, especially carbon black with a high surface area, can be usefully used, as small amounts of carbon black can significantly increase the viscosity of the sample and promote paste formation. Furthermore, carbon black (which consists almost entirely of carbon) is not usefully detectable by X-ray fluorescence (XRF) spectroscopy and therefore does not affect the estimated elemental composition of the drilling fluid. Of course, it is understood that carbon black can contain trace impurities. These impurities can be ignored in some processes. In other processes, it may be useful to measure the X-ray fluorescence (XRF) spectroscopy spectrum of the carbon black and subtract (or otherwise account for) any impurities in the subsequent spectra obtained from the paste samples. It can be understood that almost any suitable carbon black can be used, for example, with a surface area ranging from about 80 m² / g to about 1000 m² / g. While carbon black with a higher surface area may be advantageous in that a smaller quantity of carbon black is required to achieve a high-viscosity paste, the models shown are not explicitly limited in this respect. With further reference to Figure 2, useful models for Method 100 can be automated or semi-automated. For example, a drilling fluid sample can be automatically pumped from a flow line or from the mud hole (Figure 1) into a blender. The amount of carbon black (or other powder) can be automatically measured in the blender either before or after receiving the drilling fluid sample and then automatically blended with the powder. After blending, the high-viscosity paste can be automatically injected (or otherwise transferred) into a sample cup (or sample holder), which can then be automatically transferred to an X-ray fluorescence (XRF) spectroscopy chamber for measurement. The XRF measurement can be operated automatically or manually, and the corresponding spectrum(s) can be saved and evaluated on a computer. Estimating the composition of an oilfield fluid (e.g., drilling fluid) can allow for adjustments to the fluid composition (or other drilling parameters). For example, increased amounts of potassium, aluminum, silicon, and possibly thorium and / or uranium in the drilling fluid may indicate an increased mud concentration or a higher mud index. In response, an automated (or manual) command may be generated to increase the amount of shale inhibitor and encapsulated material in the drilling fluid. A command may also be generated to increase the flow rate of the drilling fluid and / or reduce the bit weight. Decreased barium levels may indicate the loss of high-gravity solids (HGS) during drilling. The driller may choose to add more barite to the drilling fluid or investigate the loss and evaluate other remedial actions. Furthermore, increased amounts of sodium and chlorine may indicate that the wellbore is entering a saline formation. Appropriate drilling additives for saline formations may be added to the drilling fluid.Figure 3 illustrates an example of a 150 system model for performing X-ray fluorescence (XRF) spectroscopy measurements on oilfield fluid in use during drilling operations. In the model shown, the blender (or blender) 160 is in fluid contact with a mud hole, reservoir, or fluid flow line, for example, including the return channel 52, the uppipe 58, the mud hose 59, or the flow line between the shale shaker 55 and the mud hole 56 (Figure 1). The blender 160 is in additional fluid contact with the carbon black tank (or other powder with a high surface area) 170 and the X-ray fluorescence (XRF) spectroscopy sample distributor 180. A drilling fluid sample can be drawn into or received in the blender 160 by opening valve 162 and closing valve 164.Carbon black can be added to the blender 160 from the carbon black tank by opening the metering element 172, including, for example, a valve, a drill, an Archimedes screw, a centrifuge, a twin centrifuge, a solid shaker, or any other solid powder metering device. The blender can be configured to shear its contents, thereby converting the drilling fluid carbon black sample mixture into a high-viscosity slurry or paste. The resulting paste can be transferred to the sample dispenser 180 by opening valve 166. The dispenser can include a motorized syringe 182 configured to dispense a predetermined volume of paste into the sample holder 185. The sample holder can include a set of sample cups 187, placed, for example, in a rotating drum. Individual samples can be rotated (one at a time) through an X-ray fluorescence (XRF) spectroscopy 190 to obtain the corresponding XRF measurements. Naturally, it would be advisable to flush the system 150 (or parts of it), for example, with a base oil to prevent cross-contamination between measurements. Continuing with reference to Figure 3, the XRF 190 instrument can incorporate virtually any suitable XRF instrument, including, for example, a portable device such as the Epsilon 1 available from Malvern® Instruments. In illustrative models, the XRF 190 instrument may include a vacuum pump and vacuum sample chamber for performing XRF measurements under vacuum (or low pressure), an X-ray tube, a silicon drift detector, corresponding electronics, and a temperature controller to regulate the sample chamber temperature. The X-ray Fluorescence (XRF) Spectroscopy 190 instrument may be combined with a sample rotor for automated or semi-automated measurements. Continuing with Figures 2 and 3, it will become clear that converting oilfield fluid into a paste, as described above, can offer several advantages. For example, converting the fluid into a paste can enable XRF measurements under vacuum (or extremely low pressure), allowing for the more accurate measurement of lighter elements such as sodium (Na) and magnesium (Mg). Furthermore, converting the fluid into a paste can allow for longer measurement times (since pastes do not settle or separate in any other way), thereby improving the signal-to-noise ratio of the measurement and the corresponding accuracy of elemental determination (especially for detecting and quantifying trace elements such as nickel, chromium, cobalt, thorium, and / or uranium). Converting drilling fluid into a paste can also enable the development and use of robust and customized calibration procedures. Figures 4a and 4b (collectively, Figure 4) depict portions of the X-ray fluorescence (XRF) spectra obtained from a drilling fluid sample (4a) and a paste sample (4b) obtained by mixing the drilling fluid sample with carbon black as described above. The drilling fluid sample was a water-based fluid containing 40 percent barite by weight. The sample was mixed to maintain an even distribution of barite in the fluid. The sample was then transferred to a beaker, and XRF spectra were obtained at 0, 7, 14, 21, 60, 67, and 120 minutes after the sample was transferred to the beaker. The barium peak (barium La1) for each of these spectra is illustrated in Figure 4a. Note that the height of the barium peak increases significantly with time, indicating barite deposition at the bottom of the sample beaker. The paste sample was prepared by mixing 4 wt. parts of drilling fluid with 1 wt. part of carbon black to form the paste. X-ray fluorescence (XRF) spectroscopy spectra of the paste sample were obtained at an initial time, on that day, and on those two days. The barium peak (La1) for each of these spectra is shown in Figure 4b. Note that the barium peak is very stable over time, indicating that the drilling fluid has been stabilized in the paste sample. Figure 5 depicts a barium peak height versus time (in minutes) graph for four different paste samples. In this demonstration, each of the four paste samples contained a water-based drilling fluid containing barite with a density of 14 lb / gal (1.68 g / cm³) (HydraGlyde® available from Schlumberger) mixed with carbon black. The mixed samples contained 5 wt%, 10 wt%, 15 wt%, and 20 wt% carbon black (wt ratios of 1:19, 1:9, 1:5.7, and 1:4). The viscosity of the mixed samples increased markedly with increasing carbon black content. The third and fourth samples (containing 15 wt% and 20 wt% carbon black, respectively) were thick and paste-like (with very high viscosity ratios). These samples showed stable (constant) barium peak elevations for at least 15 minutes, indicating the absence of barite particle precipitation.The second sample (containing 10 wt% carbon black) was a highly viscous liquid and exhibited nearly constant barium peak heights (the peak height increased by approximately 1–2 percent, or about 300 counts, over 17 minutes). The first sample (containing 5 wt% carbon black) was a medium-viscosity liquid and exhibited unstable barium peak heights (indicating barite precipitation in the drilling fluid). The barium peak height increased by approximately 135 counts per minute, from about 19,500 to about 21,800 counts over 17 minutes (an increase of about 12 percent). Based on the above, it is clear that blending carbon black with the drilling fluid sample to form a paste can significantly improve the stability of X-ray fluorescence (XRF) spectroscopy measurements. Figures 6a and 6b (collectively, Figure 6) depict portions of the measured XRF spectra (XRF measurements) obtained from paste samples containing drilling fluids and carbon black mixtures. Each paste sample was prepared by mixing 9 wt. parts of drilling fluid with 1 wt. part of carbon black to form the paste. To obtain the spectra shown in Figure 6a, four water-based drilling fluids containing barite at 15, 25, 33, and 40 wt. The corresponding paste samples were prepared and evaluated for the X-ray fluorescence (XRF) spectra shown. Note that, as expected, the height of the barium La1 peak increased with increasing barite content in the drilling fluid. To obtain the spectra shown in Figure 6b, four water-based drilling fluids were prepared containing 15, 25, 33, and 40 percent by weight of American Petroleum Institute (API) mud, respectively. The corresponding paste samples (by mixing 9 parts by weight of drilling fluid with 1 part by weight of carbon black) were prepared and evaluated for the X-ray fluorescence (XRF) spectra shown. Note that, as expected, the height of the silicon Ka1 peak increases with increasing barite content in the drilling fluid. As shown in Figures 5 and 6, the peak height of an element (e.g., barium or silicon) depends on both the element concentration in the drilling fluid and the relative amount of carbon black used to form the paste (the peak height generally increases with increasing element concentration in the drilling fluid and generally decreases with increasing amount of carbon black in the paste). As shown in Figures 4 and 5, the measured peak height of an element is stable over time for pastes containing sufficient carbon black (e.g., with a viscosity high enough to prevent settling). It would be beneficial to obtain reliable calibration values ​​for such paste samples. For example, calibration could be achieved by evaluating a number of paste samples containing known concentrations of different drilling fluid components (known element concentrations) and developing correlations between the observed peak heights (or subpeak areas) and the known concentrations.These calibration values ​​may include Compton peak normalization or Compton / Rayleigh peak ratios, as is commonly known to those with average skill. The models shown are not limited to any particular calibration or calibration methodology. It is worth noting that the models described are not explicitly limited to the evaluation of drilling fluids, but can be applied to virtually any multiphase oilfield fluid, for example, drilling fluids, reservoir drilling fluids, completion fluid, produced water, recycled water, or wastewater. In such illustrative applications, a sample of the multiphase oilfield fluid is first mixed with a viscosity-modifying powder such as carbon black to transform the multiphase fluid into a paste (e.g., as illustrated above in relation to Figure 2). The paste is then evaluated using X-ray fluorescence (XRF) spectroscopy to determine the elemental composition of the multiphase fluid (the entire fluid, including its various phases). Figure 7 describes a process diagram of 200 as an example of a drilling fluid dewatering process (e.g., water-based drilling fluids (WBM)) including the extraction of high-density solids (HSG) (e.g., mainly large particles and high-density solids such as barite) and the removal of low-gravity solids (LGS) (e.g., mainly very small particles and low-density solids such as silica and clay) of an illustrative drilling fluid. In the example shown, drilling fluid flows into mud pit 202 (or mud pit system) from solids control equipment 204 (e.g., shale shaker) where it can be adjusted or changed before being pumped downhole at 206. Drilling fluid is received from mud pit 202 into HSG recovery system 210, for example, via flow line 212 and pump 214 (e.g., centrifugal pump).The drilling fluid received via the centrifuge is pumped to extract high-gravity solids (HGS) 216, which has been prepared to remove a portion of the HGS (e.g., barite) from the drilling fluid. The extracted HSG (centrifuge) is then returned to the mud hole as described in 218. The supernatant 219 (also referred to here as the dewatering fluid) can be transferred to the dewatering system 220 (which may or may not include a storage tank 222). If a storage tank is not available, a pipe connecting the centrifuge 216 to the dewatering system 220 is used to transfer the supernatant 219. As described in more detail below, the HSG 210 extraction system can optionally include one or more X-ray fluorescence (XRF) spectroscopy systems 250. As used here, the term high gravity solids (HGS) refers to dense solids, such as barite, calcium carbonate, and / or hematite, added to drilling fluid to increase its density. HGS is also commonly referred to in the field as a weighting agent and often has a density exceeding 4 g / cm³. As used here, the term low gravity solids (LGS) refers to dispersed, low-density solids not retained in solids control shakers, such as finely milled drilling mud, drilling fragments, and / or added mud (e.g., bentonite mud). Those with even a basic understanding of the field will recognize that the HSG 210 recovery system may be configured to remove HSG from drilling fluid (in a centrifuge), leaving the low gravity solids (LGS) in the supernatant.For example, the drilling fluid flow rate and centrifuge rotation rate can be adjusted (optimized) so that the centrifuge primarily (or mostly) removes HSG. Therefore, in many operations, the drilling fluid in the drying storage tank 222 generally contains LSG (and a small amount of HSG). Drilling fluid in storage tank 222 can be transferred to mixer 224 (e.g., stationary mixer or blender). Water and one or more chemical additives in aqueous solutions, such as a coagulant and / or acid, can be added to the mixer as described in 226. After mixing the additive(s), the drilling fluid 228 can be pumped through a centrifuge to remove the water 230, which has been prepared to concentrate and remove low-gravity solids (LGS) (and any remaining high-gravity solids (HGS)) in 232. As described, one or more polymer additives 229 (water-soluble flocculant agents) can be injected into the drilling fluid prior to centrifugation, often with some retention time in the tube or tank to allow them to increase their effectiveness and promote particle agglomeration / coagulation and separation in the centrifuge.The supernatant from the centrifuge 230 (also referred to as the clean concentrate product) can then be transferred to the retention tank 234, where it can be optionally treated, diluted, etc. before being recycled back into the mud pit 202, or it can be considered excess and disposed of from the process 235. As also described in more detail below, the dewatering system 220 can optionally include one or more X-ray fluorescence (XRF) spectroscopy systems 250. Continuing with reference to Figure 6, fluid samples can be obtained at almost any suitable location in a high gravity solids extraction (HGS)210 system and / or dewatering system 220, mixed with a powder with a high surface area such as carbon black to convert the sample into a high viscosity paste and evaluate it using X-ray fluorescence (XRF) spectroscopy as described above in relation to Figure 2. In the illustrative models, a fluid sample can be obtained from the supernatant of the high gravity solids extraction (HGS)216 centrifuge (dewatering fluid sample).The acquired X-ray fluorescence (XRF) spectroscopy spectra can then be evaluated, for example, for the presence of barium, manganese, iron, or calcium, to indicate the amount of high-gravity solids (HGS) (e.g., barite, hematite, manganese oxide, or in some cases calcium carbonate, calcium / magnesium carbonate, or other high-specific-density solids that can be used in drilling fluid) remaining in the supernatant (e.g., to determine the effectiveness of the HGS extraction process). It should be understood that high concentrations of HGS in the supernatant may indicate an inefficient HGS extraction process, while low concentrations of high-gravity solids (HGS) in the supernatant may indicate an effective HGS extraction process.Furthermore, it will also be estimated that the drilling fluid flow rate through the centrifuge and the centrifuge rotation rate can be adjusted in response to X-ray fluorescence (XRF) spectroscopy measurements. In other demonstration models, a fluid sample (or other fluid sample) can be obtained from the supernatant of a 230 dewatering centrifuge (clean concentrate output fluid sample). The acquired X-ray fluorescence (XRF) spectra can then be evaluated, for example, for the presence of calcium, magnesium, silicon, aluminum, thorium, uranium, etc., to indicate the amount of low-gravity solids (LGS) (e.g., composition minerals, silica, feldspar, and clay) remaining in the supernatant (e.g., to determine the effectiveness of the LGS removal process). It should be understood that high concentrations of low-gravity solids (LGS) in the supernatant may indicate an inefficient dewatering process, while low concentrations of LGS in the supernatant may indicate an effective dewatering process.Furthermore, it will also be estimated that the drilling fluid flow rate through the centrifuge, the centrifuge rotation rate, and the mass of chemical additives (e.g., flocculant or coagulant) added to the mixer can be adjusted in response to X-ray fluorescence (XRF) spectroscopy measurements. With further reference to Figure 7, X-ray fluorescence (XRF) spectroscopy measurements can be used to evaluate the presence of a coagulant in the supernatant. In some dewatering processes, the coagulant may include aluminum sulfate, aluminum chloride, or polyaluminum chloride. In such processes, recycling aluminum into the drilling mud may be undesirable, as this can negatively affect the viscosity of the drilling mud. X-ray fluorescence (XRF) spectroscopy measurements of the supernatant from a 230 dewatering centrifuge can be used to evaluate the presence of aluminum in the stream, and this measurement can be used to control the amount of coagulant and flocculant added to the mixer.Those skilled in this field will understand that choosing the right level of aluminum residue means balancing the amount of low gravity solids (LGS) that are returned to the hole with the removal of solids and other chemicals present in the drilling mud through the coagulation and flocculation process, which is best optimized for each drilling fluid, process, and platform, as required. As noted above, drilling fluid samples can be obtained at almost any suitable location in the high-gravity solids (HGS) extraction system 210 and / or the dewatering system 220. Other suitable locations may include, for example, the centrifugal inlets and outlets of the HGS extraction centrifuge 216 and the dewatering centrifuge 230, as well as the mud hole return line 202. It is known that obtaining drilling fluid samples from both the centrifugal inlets and outlets and the supernatant from centrifuges 216 and 230 can usefully enable the determination (estimation) of the mass balance of each centrifuge. Such a mass balance can determine the centrifuge's effectiveness in removing high-gravity solids (HGS) and low-gravity solids (LGS) from the drilling fluid. Figure 8 depicts a volumetric graph of the percentage of low-gravity solids (LGS) on the vertical axis versus the percentage of high-gravity solids (HGS) on the horizontal axis for an illustrative dewatering process. The original drilling fluid from the mud tank is shown at 302. As shown at 310, HGS extraction centrifuges 216 separate the original drilling fluid into centrifuge 312, which contains a high percentage of high-gravity solids (HGS), and supernatant 314, which contains a low percentage of HGS. As described above, the centrifuge 312 can be extracted (returned to the mud pit) while the supernatant is transferred to the dewatering system 220. As described at 320, the dewatering centrifuges 230 separate the fluid 314 into a centrifuge 322 containing a high percentage of low gravity solids (LGS) and a supernatant 324 containing a low percentage of LGS and high gravity solids (HGS).As described above, the supernatant 324 can be extracted during centrifuge disposal (including low gravity solids (LGS)). The combination of centrifuge extraction 312 and supernatant 324 is illustrated in 334 and involves a 50 percent reduction in low gravity solids (LGS) (12 percent by volume to 6 percent by volume) at the expense of a 5 percent reduction in high gravity solids (HGS) (10 percent by volume to 9.5 percent by volume). With further reference to Figure 7, it will become clear that X-ray fluorescence (XRF) spectroscopy measurements can be performed automatically or semi-automatedly, for example, as illustrated above in relation to Figures 2 and 3. In these models, the XRF 250 measurement systems may be similar to (or even essentially identical to) the X-ray fluorescence (XRF) spectroscopy 150 measurement system described in Figure 3. Furthermore, such automated or semi-automated XRF measurements can be used to automate or semi-automate the high-gravity solids (HGS) extraction and dewatering processes illustrated in Figure 7. In one demonstration where XRF measurements are performed on the supernatant of a centrifuge for HGS extraction, the peak height or peak area of ​​a predefined peak (or peaks) in the XRF spectra can be evaluated and used to control the drilling fluid flow rate to the centrifuge and / or the centrifuge rotation rate. For example, when X-ray fluorescence (XRF) spectra indicate that the amount of HGS is above a certain threshold, the centrifuge rotation rate can be increased or the drilling fluid flow rate to the centrifuge can be decreased to improve centrifuge efficiency. In another demonstration, X-ray fluorescence (XRF) spectroscopy measurements are performed on the supernatant of a dewatering centrifuge. The peak height or peak area of ​​a predefined peak (or peaks) can be evaluated in the XRF spectra and used to control the drilling fluid flow rate into the centrifuge and / or the centrifuge rotation rate. For example, when the XRF spectra indicate that the amount of low-gravity solids (LGS) is above a certain threshold, the centrifuge rotation rate can be increased or the drilling fluid flow rate decreased to improve centrifuge efficiency. Similarly, when the XRF spectra indicate that the amount of aluminum is above a certain threshold, the amount of coagulant added to the mixer can be reduced and / or the amount of flocculant increased.Of course, it would be appreciated that the models shown are not limited to these illustrative automated applications. While Figure 7 illustrates the dewatering process for water-based drilling fluids (WBMs), it is understood that a similar process can be used for oil-based reverse emulsion drilling fluids, where the floating fluid streams obtained in centrifuges are brine-in-oil emulsions. Furthermore, a similar process can be used for direct emulsion drilling fluids, where the floating fluid streams obtained in centrifuges are oil-in-water emulsions. Control of high-gravity solids (HGS) and low-gravity solids (LGS) in both streams can be improved by performing X-ray fluorescence (XRF) spectroscopy and chemical compositional analysis of the different streams using the sample preparation and analysis methodologies described here. It will be understood that the current discovery includes numerous models. These models include, but are not limited to, the following. In a prototype, a method for estimating the elemental composition of a multiphase oilfield fluid involves obtaining a sample of the multiphase oilfield fluid; mixing the sample with a viscosity-modifying agent to convert the sample into a high-viscosity paste; introducing the high-viscosity paste into a chamber of an X-Ray Fluorescence Spectroscopy (XRF) apparatus; using the XRF apparatus to perform an XRF measurement of the high-viscosity paste; and evaluating the XRF measurement to estimate the elemental composition of the obtained multiphase oilfield fluid. A second model can include the first model, where the sample obtained includes a sample of drilling fluid used in the process of drilling a well hole. A third model could include the second model, which also involves adjusting the actual composition of the drilling fluid in a mud pit in response to the elemental composition that was estimated. A fourth model could include any of the first three models, where the viscosity modifier includes carbon black. A fifth model can include any of the models from the first to the fourth, where the sample of the multiphase oilfield fluid is automatically obtained from a flow line, mud pit, or reservoir; the obtained sample is automatically mixed with a viscosity modifier to convert the obtained sample into a high-viscosity paste; and the high-viscosity paste is automatically distributed into a sample cup and transferred to the X-ray Fluorescein (XRF) Spectroscopy instrument chamber to perform the XRF measurement procedure. A sixth model could include any of the models from the first to the fifth, as the XRF measurement evaluation also includes: developing a correlation between peak height or sub-peak area in X-ray fluorescence spectroscopy (XRF) measurement and element concentration in a multiphase oilfield fluid; and evaluating peak height or sub-peak area in XRF measurement with correlation to estimate the elemental composition of the multiphase oilfield fluid. Model VII may include any of Models I through VII, where the multiphase oilfield fluid is a dewatering fluid obtained from a high gravity solids (HGS) extraction system in the drilling fluid dewatering process; and the XRF measurement assessment also includes an XRF measurement assessment of at least one of barium, manganese, iron, or calcium to estimate the amount of HGS in the dewatering fluid. The eighth model could include the seventh model, which also includes adjusting an operational parameter of the HGS extraction system in response to the estimated amount of high gravity solids (HGS) in the dewatering fluid. Model 9 may include any of Models 1-8, where the multiphase oilfield fluid is a clean concentrate product fluid obtained from a low gravity solids (LGS) removal system in the drilling fluid water removal process; and the X-ray fluorescence (XRF) spectroscopy measurement evaluation also includes the XRF measurement evaluation of at least one of calcium, magnesium, silicon, aluminum, thorium, or uranium to estimate the amount of low gravity solids (LGS) in the clean concentrate product fluid. The tenth model could include the ninth model, which also includes setting an operational parameter for the LGS removal system in response to the estimated amount of low gravity solids (LGS) in the clean concentrate output fluid. In Model 11, a system for estimating the elemental composition of a multiphase oilfield fluid includes a fluid inlet port set up to receive a sample of the multiphase oilfield fluid; a mixer set up to mix the received sample with carbon black to convert the received sample into a high-viscosity paste; an X-Ray Fluorescence (XRF) Spectroscopy sample holder set up to receive the high-viscosity paste; an XRF measuring instrument set up to perform XRF measurement of the high-viscosity paste; and a processor set up to evaluate the XRF measurement for estimating the elemental composition of the multiphase oilfield fluid. The twelfth model could include the eleventh model, which also includes a container holding carbon black prepared for transferring the carbon black to the mixer. The thirteenth model can include any of the eleventh to twelfth models, which also includes a paste dispenser designed to transfer the high-viscosity paste to the sample holder; and a conveyor that includes a set of sample holders. The fourteenth model may include the thirteenth model, in which the mixer is configured to automatically receive the sample of multiphase oilfield fluid and carbon black and to automatically mix the received sample and the received carbon black to convert the received sample into a high-viscosity paste; and the paste dispenser is configured to automatically transfer the high-viscosity paste to the sample holder. Model 15 can include any of models 11 through 14, where the processor incorporates a correlation between peak height or subpeak area in X-ray fluorescence (XRF) spectroscopy and element concentration in a multiphase oilfield fluid; the processor is also configured to evaluate peak height or subpeak area in XRF with correlation to estimate the elemental composition of the multiphase oilfield fluid. In model 16, a method for evaluating a multiphase dewatering fluid involves obtaining a sample of the multiphase dewatering fluid from a high gravity solids (HGS) extraction system or a low gravity solids (LGS) removal system (low gravity solids in a dewatering process); mixing the obtained sample with carbon black to convert the obtained sample into a paste; and performing X-ray fluorescence (XRF) spectroscopy of the paste to estimate the elemental composition of the dewatering fluid. Model 17 may include Model 16, in which the multiphase dewatering fluid is obtained from the HGS extraction system; and X-ray fluorescence (XRF) spectroscopy may also be included to assess the XRF measurement of at least one of barium, manganese, iron, or calcium to estimate the amount of high gravity solids (HGS) in the multiphase dewatering fluid. Model 18 could include Model 17, which also includes setting an operational parameter of the centrifuge in the high gravity solids (HGS) extraction system in response to the estimated amount of HGS in the dewatering fluid. Model 19 may include any of the models 16 to 18, in which a multiphase dewatering fluid is obtained from a low gravity solids (LGS) removal system; and XRF measurement also includes an XRF measurement evaluation of at least one of calcium, magnesium, silicon, aluminum, thorium, or uranium to estimate the amount of low gravity solids (LGS) in the multiphase dewatering fluid. The twentieth model could include the nineteenth model, which also includes setting an operational parameter of the centrifuge in the low gravity solids (LGS) removal system in response to the estimated amount of LGS in the multiphase dewatering fluid. Although X-ray fluorescence (XRF) spectroscopy measurements of multiphase oilfield fluids have been described in detail, it is understood that many changes, substitutions and alterations can be made here without going out of the spirit and scope of detection as defined by the attached protective elements.