Automated Fluid System
Patent Information
- Application Number
- SA522431707
- Authority / Receiving Office
- SA · SA
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2022-02-20
- Publication Date
- 2024-03-26
- Estimated Expiration
- 2040-08-18
Abstract
Description
AUTOMATED FLUID SYSTEM Full Description Background of the Invention The present disclosure relates to drilling fluid systems for boreholes. More specifically, the disclosure relates to methods and systems for monitoring and / or controlling the composition of a drilling fluid. Subsurface wells, such as those for exploiting hydrocarbon or geothermal resources, are typically created by rotary drilling. In rotary drilling operations, the rotary cutting head or drill bit is rotated and driven into the ground either by mechanical torque or by fluid pressure from the drilling fluid. The drilling fluid also includes other functions, such as lubricating the cutting head and keeping it cool, transporting rock debris to the surface, and preventing formation fluids from entering the borehole. Figure 1 shows a simplified schematic diagram of a drilling rig 1. Rig 1 includes a drill string 2 that extends down into the drill hole 3 and terminates in the drill bit 8. The gap between the drill string 2 and the walls of the drill holeDrilling 3 is annulus 3b. A fluid system is connected to drill string 2, which includes a pump 5 configured to draw drilling fluid from mud pit 6. The drilling fluid is driven by pump 5 up the standpipe 7 and then down the drill string 2. The drilling fluid exits the drill string 2 at the drill bit 8 and passes over hole 3 through annulus 3b. The drilling fluid is then driven along a flow line 9 to a shale shaker 4, which separates the solids from the drilling fluid and returns the fluid to mud pit 6 for recirculation. Drilling fluids can be water-based, non-water-based, or air-based, and in each case include a variety of additives. The chemical composition of the drilling fluid determines its physical properties, which in turn affect drilling efficiency. Therefore, the composition of the drilling fluid must be carefully controlled. In commercial drilling operations, the drilling fluid engineer's responsibility is to monitor the composition of the drilling fluid by taking fluid samples at regular intervals (for example, once every six hours). The fluid engineer thenDrilling involves determining which additives (if any) are required and the desired amount of each. The drilling fluid engineer mixes the additives with the drilling fluid to provide the desired fluid properties. The addition of additives to a drilling fluid is referred to as dosing. The correct chemical dosing regimen for maintaining or modifying the composition of a drilling fluid is highly subjective and depends in part on the experience and ability of the person managing it. Consequently, interpretation is subject to many cognitive biases and depends on the level of experience and training of the drilling fluid engineer. WO 1A2017129523 relates to a method and system for automatically adjusting drilling mud properties with a mud recirculation system on a drilling rig for drilling a subsurface wellbore. WO 2A2011095600 relates to methods for conducting well operations, namely, methods for conducting drilling operations. The document also relates to drilling fluid control and to devices and systems for implementing these methods. The present invention seeks to solve, mitigate, or provide a useful alternative to the above problems. General description of the invention According to the first aspect, it wasProviding a method for controlling the composition of a drilling fluid. The method may include receiving measurements of drilling fluid properties. The method may also include determining the concentration of each of a plurality of drilling fluid components. The concentration may be determined by inputting the measured properties into a fluid model that relates the drilling fluid properties to the concentrations of each of the components. The method may also include determining a desired concentration for each of the plurality of drilling fluid components. The desired concentration is determined by inputting the desired drilling fluid properties into the fluid model. The method may also include determining the amount of one or more additives to be added to the drilling fluid to achieve the desired concentration for each of the plurality of components. Optionally, determining the desired concentration for each of the plurality of drilling fluid components includes randomly selecting the concentration of each of the plurality of drilling fluid components and using the fluid model to estimate drilling fluid properties that include the randomly selected concentrations. The method may also include comparing the desired drilling fluid properties with estimated drilling fluid properties that include the randomly selected concentrations. The method may also include determining a drilling fluid composition that has the propertiesThe method closely matches the desired properties by repeatedly performing random selections of the concentration of each of the drilling fluid components, using a fluid model to estimate the drilling fluid properties that include the randomly selected concentrations, and comparing the desired drilling fluid properties with the estimated drilling fluid properties that include the randomly selected concentrations. Optionally, determining the concentration of each of the drilling fluid components may include estimating the concentration of one of the drilling fluid components using a mass balance equation. The method may also include solving the mass balance equation using an estimated amount of one of the drilling fluid components that was depleted during the drilling operation. The method may also include estimating the amount of one of the drilling fluid components that was depleted using a depletion model that relates the depletion of the components to one or more drilling process variables. The method may also include updating the depletion coefficient of the depletion model based on measurements of one or more variables made during the drilling operation. The method may also include solving the mass balance equation usingThe known quality of an additive added to a drilling fluid during a drilling operation. Determining the concentration of each of the drilling fluid component groups may also include determining a candidate concentration group for each of the drilling fluid component groups by inputting the measured properties into the fluid model and excluding a candidate concentration incompatible with the estimated concentration. The one or more additives may include any one or more of the following: a viscosifier; a filtration control polymer; an encapsulating polymer; an inhibitor; an extended inhibitor; a lubricant; a formation stabilizer; a bridging solid; pore plugging additives; temperature stabilizers; a hardness contamination treatment; a pH control additive; and / or a biocidal additive. The one or more additives may include a polysaccharide. The one or more additives may include any one or more of the following:of guar gum, xanthan gum, starch, pre-gelatinized starch, cellulose, carboxymethyl cellulose including polyanionic carboxymethyl cellulose, hydroxyethyl cellulose, and locust bean. The method may further include measuring the properties of the drilling fluid using one or more sensors on the drilling rig. The sensors may include sensors configured to measure any one or more of the following properties: rheology (e.g., shear rate, shear stress, and / or viscosity); fluid density; temperature; chloride concentration; cation concentration; cation species; pH; fluid filtration; oil, water, and / or solid concentration; particle size distribution; alkalinity (e.g., carbonate versus bicarbonate); amine. It will be understood that there are examples of sensors thatcan be used, and other types of sensors can also be used. The properties may include one or more of: viscosity; density; rheological property; filtration data; measured concentration of one or more ions; measured concentration of one or more chemicals; and filtration / fluid loss. Additionally or alternatively, the properties may include funnel viscosity, plastic viscosity, thixotropic index, yield point, gel strength, electrical stability, and encapsulation rates. The method may also include controlling a chemical dosing apparatus to add the specified amount of one or more additives to the drilling fluid. In accordance with any other aspect, a controller is provided for controlling the drilling fluid composition. The controller may include one or more processors. The controller may include a medium readable by a processor.A processor-readable medium stores instructions which, when executed by one or more processors, cause the controller to execute a method as described herein. In accordance with any other aspect, the drilling rig is provided including a controller as described herein. Optionally, the drilling rig may also include one or more sensors configured to measure properties of a drilling fluid. The sensors may be configured to provide the measured properties to the controller. The drilling rig may include a chemical dosing device for adding the specified amount of one or more additives to the drilling fluid. In accordance with any other aspect, a processor-readable medium is provided including instructions which, when executed by one or more processors, cause the one or more processors to execute a method as described herein. In accordance with yet another aspect, a computer program is provided including instructions which, when executed by a computer, cause the computer to execute a method as described herein. Brief description of the drawings Embodiments will now be described, by way of example, of reference to the accompanying figures, wherein similar elements are indicated usingThe reference meanings are the same, and wherein: Figure 1 is a simplified schematic diagram of a conventional drilling rig; Figure 2 is a simplified schematic diagram of a drilling rig according to the present disclosure; Figure 3 is a flow chart of a method for controlling a drilling fluid composition; Figure 4 is a flow chart of a method for determining a drilling fluid composition; and Figure 5 is a flow chart of a method for determining a drilling fluid composition. Detailed Description: Now returning to Figure 2, the drilling rig 10 according to the present disclosure is illustrated. Drilling rig 10 is similar to drilling rig 1, wherein equivalent properties 2 to 9 are numbered 12 to 19. Drilling rig 10 is also provided with a sensor array 24 and a chemical dosing device 22. Both the sensor array 24 and the dosing device 22 are controlled by a controller 20. The sensor array 24 includes one or more sensors for monitoring properties (e.g., physical and chemical properties) of the drilling fluid. In some embodiments, the sensor array 24 includes at least one sensor configured to detect physical properties of the drilling fluid directly in the mud hole 16. Alternatively or additionally, the sensor array 24 may be configured to extractSamples from the mud hole 16 are monitored or tested by a sensor. In other examples (not shown in FIG. 2) of the present disclosure, the sensor array 24 may include one or more sensors located at a different location within the system. For example, one of the sensors of the sensor array 24 may be in the flow line 19, integrated into the dosing device 22, in one of the feed chutes feeding the dosing device 22 or pump 15, in the standpipe 17, and / or in the drill hole 13. A combination of different sensors may be used. The dosing device 22 is configured to add one or more additives to the drilling fluid. In FIG. 2, the dosing device 22 is illustrated connected and configured to dose the drilling fluid passing through the chute to the pump 15. Alternatively, the dosing device 22 may be disposed at any other location in the system. For example, the dosing device 22 may be configured to dispense and discharge additives directly into the drilling fluid in the mud hole 16, or into the drill hole 13. The controller 20 may include one or more processors operationally coupled to the memory ((not shown in Figure 2). The memory may include instructions which, when executed by one or more processors, expedite any processor to execute any of the disclosed methods. The controller 20 is configured to receive sensor data from the sensor array 24 and to control the dosing device 22 in response to the sensor data. For example, the controller 20 may include one or more interfaces through which sensor data may be received from the sensor array 24, and through which instructions and / or data may be transmitted to control the dosing device 22. The operation of the controller 20 is described by reference to Figures 3 to 5 below. Figure 3 is a schematic diagram illustrating a method implemented by the drilling rig 10, and more specifically by the drilling rig controller 20. The controller 20 is configured to receive drilling fluid property measurements and responds by modifying the fluid composition in real time. Sensor data is received at frame 301. For example, sensor data is received from the sensor array 24. The sensor data can be any property of the drilling fluid measured by the array.Sensor data, such as physical or chemical properties. Sensor data may include any one or more of the following: viscosity; density; rheological properties; leaching data; measured concentration of one or more ions; measured concentration of one or more chemicals; filtration / fluid loss; drilling mud viscosity; plastic viscosity; variable rheological index; pour point; gel strength; dielectric stability; encapsulation rates; or any other measurable physical or chemical property. Sensor data are entered into a fluid model at frame 303. The fluid model relates the drilling fluid properties to the concentrations of each of a plurality of drilling fluid components. The fluid model may include a set of equations, wherein each equation relates the drilling fluid property to the concentrations of one or more drilling fluid components and, optionally, to one or more other drilling fluid properties. For the purposes of explanation, the fluid model equation can take the following form: propertyx = A*concentration1 + B*concentration2 + C*property + D*log(propertyz) + E*(concentration2)2 + F where: property x, property y, property z are the values of three fluid properties.Physical or chemical drilling equations; A, B, C, D, and E are equivalents; and concentration 1 and concentration 2 are the concentrations of two components of the drilling fluid. It will be understood that the above equation is intended to help the reader understand the nature of the fluid model. In reality, the fluid model comprises many equations, any of which can be in any form different from those shown. The fluid model is calculated from laboratory data relating various drilling fluid compositions and measured physical and chemical properties. The fluid model may be calculated by regression analysis to determine the relationship of a particular drilling fluid property to other drilling fluid properties and to the concentrations of drilling fluid components. In some embodiments, the fluid model may be updated based on live feeds from the system to improve its accuracy. The actual composition of the drilling fluid is then determined at frame 305. This controller 20 ideally includes solving the fluid model equations, when the sensor data received at frame 301 is entered into the equations at frame 303. The result of this calculation allows the controller 20 to determine the composition of the drilling fluid. This can be expressed asRegarding the composition of the drilling fluid, such as the concentration of each of the drilling fluid components. An exemplary embodiment of frame 305 is discussed in more detail below, in relation to Figure 4. At frame 307, the desired drilling fluid properties are received. For example, a user (such as a drilling fluid engineer) enters the desired drilling fluid properties. The user may enter the desired properties via the control device 20. This may be accomplished via a computer and user interface, or other suitable device. Other examples of desired fluid properties may include viscosity, rheological index, density, or any other physical or chemical property mentioned herein. The required fluid properties are then entered into the fluid model at frame 309. The required drilling fluid composition is then determined at frame 311. This controller 20 ideally includes solving the fluid model equations, when the required fluid properties obtained at frame 307 are entered into the equations at frame 309. The result of this calculation allows the controller 20 to determine a drilling fluid composition that may satisfy the required fluid properties entered. This can be expressed asThe desired drilling fluid formulation is determined by the concentration of each of the drilling fluid components. The controller 20 may identify multiple drilling fluid formulations that may achieve the same or similar fluid properties. The controller 20 may automatically determine that one of the possible drilling fluid formulations is optimal and may automatically select it as the desired drilling fluid formulation. Alternatively, the controller 20 may allow the user to select a formulation from among multiple possible drilling fluid formulations. The controller 20 may be configured to identify and notify the user regarding the strengths and weaknesses of particular formulations. For example, the controller may identify and / or compare the cheapest formulation that has the desired properties to the formulation that meets the desired properties, the formulation that requires the fewest chemical additions, or other user-selectable criteria. The controller 20 compares the actual composition of the drilling fluid with the desired composition of the drilling fluid at frame 313. The controller is thus capable of determining whether the actual composition is the same as, or different from,...the desired composition. Based on this comparison, the dosing system is determined at frame 315. The dosing system includes one or more additives that can be added to the drilling fluid to change the actual composition of the drilling fluid to match the desired composition of the drilling fluid. When the actual and desired compositions at frame 313 are compared and found to be the same, the dosing system may indicate that no additives are required to be added to the drilling fluid. If the actual composition is found to contain a fluid property that is too high or low compared to the desired composition, the control device 20 may adjust the dosing system. The dosing system is transmitted to the dosing device 22 at frame 317. The system may be transmitted by any suitable method, including wired or wireless connections. Upon receiving the dosing system, the dosing device 22 adds one or more additives to the drilling fluid to change the composition of the drilling fluid to match the desired concentration of the drilling fluid. If it is determined that the actual and desired compositions are consistent at frame 313, no changes will be made.The dosing system will not execute frame 317. Process 319 is then repeated. If necessary, a delay may be implemented before the process is repeated. The user-entered trajectory, as shown by frames 307, 309, and 311, is shown to be executed in parallel (and optionally simultaneously) with the sensor data trajectory as shown by frames 301, 303, and 305. The system may be operated to execute the user-entered trajectory before or after the sensor data trajectory. The process may be operated so that the user-entered trajectory and the sensor data trajectory are repeated at the same or different periodic intervals. For example, the process may be repeated so that the sensor data trajectory is repeated with a first iteration, which could be time-based, such as every 5 or 10 minutes. The process may be repeated so that the user-entered trajectory is repeated with a second iteration, or in response to other variables, or a combination thereof. The second iteration could be hourly or daily. Another variable could include the depth of the drill hole or the response to the rock being drilled, for example. As shown above, the model is calculatedThe fluid is experimentally verified from laboratory data by testing the fluid properties of a wide range of drilling fluid formulations. In conventional drilling operations, the large number of additives would prohibit such testing. However, the present inventors have found that drilling fluid additives such as Pure-Bore® and Pure-Bore LV® can be used in place of many conventional drilling fluid additives to perform multiple functions (e.g., viscosity modification, shear thinning, drag reduction, shale encapsulation, etc.). Thus, the overall composition of the drilling fluid is simplified, and the fluid model equations can be solved more easily. It will be understood that the invention is not intended to be limited to drilling fluid systems incorporating Pure-Bore® and Pure-Bore LV®, but rather exemplifies the effectiveness of the system. As an alternative to using Pure-Bore® or Pure-Bore LV®, conventional drilling fluid additives can be mixed in predetermined ratios to perform multiple functions, thereby reducing the amount of testing required. Now returning to Figure 4, an ideal model of any process will be explained.305 To determine the actual composition of the drilling fluid in more detail, Figure 4 outlines a process by which Monte Carlo analysis can be used to determine the composition of a drilling fluid. First, a random value (e.g., total content, concentration, etc.) is chosen for the drilling fluid component at frame 401. The components can be any possible component or any combinations of components. For example, the concentration of each of a set of drilling fluid components can be chosen randomly. The random value is entered into the fluid model at frame 403. The fluid model is the same as the fluid model used in the process as described above with reference to Figure 3. Next, the properties of the drilling fluid at frame 405 are estimated based on the randomly chosen value. This controller 20 ideally includes solving the fluid model equations, when a random value is chosen at frame 401 and entered into the equations at frame 403. The result of this calculation allows the controller 20 to estimate the properties of a drilling fluid that has components including the concentrations chosen randomly at frame 401. The estimated fluid properties are compared with the measured fluid properties atFrame 407. More specifically, the estimated fluid properties at frame 405 are compared with the fluid properties derived or directly measured from the sensor array 24 at frame 301. The controller 20 then determines whether the measured and estimated fluid properties agree at frame 408. If the fluid properties do not agree, a new random value for the drilling fluid component is selected at frame 417. Frame 417 is essentially the same as frame 401. The new random value may not be entirely random, as it may exclude previously selected values to avoid duplication. The new value is entered into the fluid model at frame 403, and the process is repeated. This process can be expected to be repeated several times before the estimated fluid properties agree with the measured fluid properties. If the estimated drilling fluid properties 410 do not match those observed and measured from the drilling fluid, a candidate formulation 411 is selected. Since fluid properties result from a number of interrelated factors and components, multiple random formulations can provide the drilling fluid with the estimated fluid properties thatare consistent with the measured drilling fluid properties. Therefore, a second check is performed to filter out low-probability candidate drilling fluid formulations. To determine whether a candidate formulation is feasible, the mass balance of the drilling fluid system is analyzed at frame 413, which is further described by reference to Figure 5. The control device includes 20 records of the initial fluid formulation and all fluid additives. It will be able to reject infeasible candidate formulations 415 (i.e., impossible or low-probability). When a candidate formulation is rejected, a new random value or concentration of the drilling fluid component is selected at frame 417, and the process is repeated. If the mass balance analysis indicates that the candidate composition is feasible (i.e., likely and highly probable), then the candidate composition is considered to be the actual composition of the drilling fluid at frame 419. Overall, the process is repeated several times until a series of randomly selected concentration values satisfy both the comparison against the observed physical properties 407 of the drilling fluid and the mass balance analysis 413. The actual composition is then compared against the desired composition.As previously explained, returning to Figure 5, we explain in more detail how the mass balance analysis 413 is performed. The mass balance analysis 413 uses a fluid depletion model, which is derived from the known rates of fluid component loss when drilling through specific rock formations. Since drilling is performed at excessive pressure, there is an expected rate of water loss into the surrounding formation. Rock formations also absorb certain components or additives from the drilling fluid, which results in the gradual depletion of specific components. The depletion model can thus be calculated from the known depletion rates for each component and the observed rock formations being drilled. As illustrated with the fluid model above, the depletion model can be an empirical model derived from test data. The depletion model can also be a multivariate linear equation. A depletion model may consist of a set of equivalents that are used in combination with one or more drilling process variables to predict the depletion rate of one or more of theDrilling Fluid Components. The depletion model thus relates the depletion of a drilling fluid component to one or more drilling process variables. The depletion model can be used to estimate the amount of a drilling fluid component that has been depleted. Values are entered into the mass balance equation at frame 501. The mass balance equation has the following form: mass current = mass initial + mass added - mass depleted. The mass balance equation relates the current mass of a given component in the drilling fluid (mass current) to the initial mass of that component in the drilling fluid (mass initial), the mass of that component that was added to the drilling fluid (mass added), and the estimated mass of that component that was depleted during drilling (mass depleted). Thus, values entered into the mass balance equation at frame 501 can include a known initial composition of the drilling fluid, historical data on the mass of one or more additives that were added to the drilling fluid after the initial composition of the drilling fluid (e.g., as a result of the operation performed at frame 317), and an estimated depletion of one or more components. Can be calculatedEstimated depletion using a depletion model and measurements of drilling process variables. It will be understood that there is a mass balance equation for each component of the drilling fluid, and that frame 501 may include inputting values into each of the mass balance equations. The mass balance equation is used to estimate the concentration of a component of the drilling fluid at frame 503. More specifically, the mass balance equation is solved to estimate the mass current of any component in the drilling fluid. The concentration of the components and their estimated mass current can then be estimated. The concentration of several components of the drilling fluid can be estimated in a similar manner, by solving the corresponding mass balance equation for each component. Each estimated concentration is then compared to a corresponding filter concentration at frame 505. The filter concentration is the concentration of a particular component of a candidate drilling fluid composition, which is determined in frames 401 to 411 for the process illustrated by reference to FIG. 4. The controller 20 then evaluates whether the estimated concentration corresponds to the filter concentration. If the estimated concentration agrees with the nominated concentration of all components of the drilling fluid 509, the nominated formulation is then confirmed asActual composition of drilling fluid at frame 419. Alternatively, if any of the estimated concentrations 507 do not match the corresponding candidate concentration, another analysis is performed whereby the controller 20 evaluates whether the candidate composition is feasible at frame 513. If the difference between the candidate composition and the estimated composition is greater than the acceptable margin of error, then it is concluded that the candidate concentration is incorrect at frame 515. The margin of error may be set by the system or may be selectable by any user, e.g., to allow for fine-tuning of the system by the user. The process is then repeated by randomly selecting a new concentration of the drilling fluid component 417 as described previously and with reference to Figure 4. However, if the difference between the estimated and candidate compositions is within an acceptable margin of error, then the actual drilling fluid composition is considered to have been correctly determined. The difference between the estimated and candidate compositions is determined to be the result of a corrected depletion model or out of sync with the drilling process progressing. Therefore, the exhaustion model is then updated at the frame.517. As the drilling process continues, the drill string and drill bit will pass through new rock formations, and depletion rates vary depending on the rock being drilled. Therefore, as drilling continues, the depletion model is refined and continuously updated, improving the overall accuracy of the mass balance analysis. The mass balance analysis 413 then automatically adapts itself to changing borehole conditions. As previously described, the necessary operations are performed by the controller 20 to derive the dosing system for the dosing device 22 that implements it. Depending on the required frequency, the process can be executed continuously to provide real-time monitoring of the drilling fluid composition and borehole conditions. The system can thus react much faster than current systems that rely on analysis and human intervention. By reacting faster, the drilling fluid can be maintained at optimal operating conditions for a greater proportion of the time. Drilling efficiency is more effectively improved. Furthermore, by avoiding excessive dosing of certain additives, operating costs are reduced. The methods can be implementeddisclosed by instructions stored on a medium readable by a processor. The processor-readable medium can be: read-only memory (including programmable read-only memory (PROM), electrically programmable read-only memory (EPROM), or electrically erasable programmable read-only memory (EEPROM)); random access memory; flash memory; an electrical signal, electromagnetic signal, or optical signal; a magnetic storage medium, optical storage medium, or magneto-optical storage medium; one or more processor registers; or any other type of processor-readable medium. In alternative embodiments, the present disclosure can be implemented as control logic in hardware, firmware, software,software or any combination thereof. The device may be implemented by dedicated hardware, such as one or more application-specific integrated circuits (ASICs) or suitably connected discrete logic gates. A suitable hardware description language may be used to implement the method described herein by the dedicated hardware. It will be understood that the invention has been described above by way of example, and that modifications to the details may be made in the perspective of the invention. Sequence List: A Start B No C Yes D Drilling Fluid Mass Balance Analysis E On Composition Useful 307 Receive Required Fluid Properties 301 Receive Sensor Data 309 Input Required Fluid Properties to Fluid Model 303 Input Sensor Data Fluid Model 311 Determine Required Drilling Fluid Composition 305 Determine Actual Drilling Fluid Composition 313 Compare Actual Composition with Desired Composition 315 Determine Dosing System 317 Send Dosing System to Dosing Discharge Device 401 Select a Random Value from Drilling Fluid 417 Select a Random Value for Drilling Fluid Component 403 Input the Selected ValueIn the fluid model 405, estimate the drilling fluid properties 407. Compare the estimated fluid properties with the measured fluid properties 408. Do the properties agree? 411. Filter the identified drilling fluid composition 19. The actual drilling fluid composition is determined 417. Choose a new concentration for the drilling fluid component 515. Filter the composition incorrectly 513. Is the filtered concentration feasible? 517. Update the depletion model 501. Input a value into the mass balance equation 503. Estimate the component concentration using the mass balance equation 505. Compare the estimated concentration with the filtered concentration 517. Update the depletion model
Claims
<h2 style=";text-align:left;direction:ltr">Claims 1. A method for controlling the composition of a drilling fluid, comprising: receiving measurements of drilling fluid properties; determining the concentration of each of a plurality of drilling fluid components, by inputting the measured properties into a fluid model that relates the drilling fluid properties to the concentrations of each of the components; determining a desired concentration of each of the plurality of drilling fluid components, by inputting the desired drilling fluid properties into a fluid model; and determining the amount of one or more additives to be added to the drilling fluid to achieve the desired concentration of each of the plurality of components.
2. A method according to claim 1, wherein determining the desired concentration of each of the plurality of drilling fluid components: randomly selecting the concentration of each of the plurality of drilling fluid components; and using the fluid model to estimate the drilling fluid properties that include the randomly selected concentrations. 3.<h2 style=";text-align:left;direction:ltr">A method according to claim 2, further comprising: comparing the desired drilling fluid properties with estimated drilling fluid properties comprising the randomly selected concentrations.
4. A method according to claim 3, further comprising: determining a drilling fluid composition that has properties that most closely match the desired properties by repeatedly performing random concentration selections of each of the plurality of drilling fluid components; using a fluid model to estimate the drilling fluid properties comprising the randomly selected concentrations; and comparing the desired drilling fluid properties with estimated drilling fluid properties comprising the randomly selected concentrations.
5. A method according to any of the foregoing claims, wherein determining the concentration of each of the plurality of drilling fluid components comprises: estimating the concentration of one of the drilling fluid components using a mass balance equation. 6.<h2 style=";text-align:left;direction:ltr">A method according to claim 5, further comprising: solving a mass balance equation using an estimated amount of a drilling fluid component that was depleted during the drilling operation.
7. A method according to claim 6, further comprising: estimating the amount of a drilling fluid component that was depleted using a depletion model relating the depletion of the components to one or more drilling operation variables.
8. A method according to claim 7, further comprising: updating a depletion coefficient of the depletion model based on measurements of one or more variables made during the drilling operation.
9. A method according to claim 5, further comprising: solving a mass balance equation using a known quality of an additive added to the drilling fluid during the drilling operation. 10.<h2 style=";text-align:left;direction:ltr">A method according to claim 5, wherein determining the concentration of each of the plurality of drilling fluid components further comprises: determining a plurality of candidate concentrations for each of the plurality of drilling fluid components by entering the measured properties into a fluid model; and excluding a candidate concentration incompatible with the estimated concentration.
11. A method according to claim 1, wherein one or more additives include a polysaccharide.
12. A method according to claim 1, further comprising: measuring the properties of the drilling fluid using one or more sensors on the drilling rig (10).
13. A method according to claim 12, wherein the properties include one or more of: viscosity; density; rheological property; filtrate data; measured concentration of one or more ions; measured concentration of one or more chemicals; and filtration / fluid loss. 14.<h2 style=";text-align:left;direction:ltr">A method according to claim 1, further comprising: controlling a chemical dosing apparatus (22) for adding the specified amount of one or more additives to the drilling fluid.
15. A controller (20) for controlling the composition of the drilling fluid, the controller comprising: one or more processors; and a processor-readable medium storing instructions which, when executed by the one or more processors, cause the controller to execute a method according to any of the preceding claims.
16. A drilling rig (10) comprising a controller (20) according to claim 15. 17.<h2 style=";text-align:left;direction:ltr">The drilling rig (10) according to claim 16, further comprising: one or more sensors (24) adapted to measure properties of a drilling fluid, and to provide the measured properties to a controller (20); and / or a chemical dosing apparatus (22) for adding the specified amount of one or more additives to the drilling fluid.
18. A processor-readable medium comprising instructions which, when executed by the one or more processors, cause the one or more processors to execute a method according to claim 1.
