MONITORING FLUID FLOW THROUGH A PIPELINE IN A CONTEXT OF MUD VOLUME BALANCE
A method for monitoring fluid flow through a pipeline includes receiving wellbore input data related to a wellbore. The method also includes determining a reaming state of a drillstring in the wellbore based upon the wellbore input data. The method also includes receiving pipeline input data corresponding to the fluid flow through the pipeline. The fluid flows from the wellbore into the pipeline. The method also includes determining a reaming compensation based upon the reaming state and the pipeline input data. The reaming compensation ignores variations in the pipeline input data that are due to movement of the drillstring in the wellbore. The method also includes adjusting an alarm threshold in response to the reaming compensation.
Mud flow-out paddle values are used to measure a fluid flow rate coming out of a wellbore annulus during drilling. More particularly, the values are used to monitor the fluid flow in a pipeline in a context of mud volume balance. Conventionally, a lookback median filter is applied on tumbling windows of the values. However, the size of the tumbling windows is constrained to a narrow window. In addition, the lookback median filter is sensitive to noise and may compromise the resolution of the data. Therefore, what is needed is an improved system and method for monitoring fluid flow through a pipeline in a context of mud volume balance.
SUMMARYA method for monitoring fluid flow through a pipeline is disclosed. The method includes receiving wellbore input data related to a wellbore. The method also includes determining a reaming state of a drillstring in the wellbore based upon the wellbore input data. The method also includes receiving pipeline input data corresponding to the fluid flow through the pipeline. The fluid flows from the wellbore into the pipeline. The method also includes determining a reaming compensation based upon the reaming state and the pipeline input data. The reaming compensation ignores variations in the pipeline input data that are due to movement of the drillstring in the wellbore. The method also includes adjusting an alarm threshold in response to the reaming compensation.
A computing system is also disclosed. The computing system includes one or more processors and a memory system. The memory system includes one or more non-transitory computer-readable media storing instructions that, when executed by at least one of the one or more processors, cause the computing system to perform operations. The operations include receiving wellbore input data. The wellbore input data includes a block position (BPOS) of a rig over a wellbore. The operations also include determining a reaming state of a drillstring in the wellbore based upon the input data. The reaming state is determined based upon the BPOS. The reaming state includes not reaming indicating that the drillstring is stationary in the wellbore, reaming up indicating that the drillstring is moving up in the wellbore, or reaming down indicating that the drillstring is moving down in the wellbore. The operations also include receiving pipeline input data corresponding to fluid flowing in a pipeline. The fluid flows from the wellbore into the pipeline. The pipeline input data includes mud flow-out paddle values (MFOP) that are measured in the pipeline. The operations also include filtering the pipeline input data to produce filtered data. Filtering the pipeline input data includes applying a centered sliding median filter to the MFOP. The operations also include determining a reaming compensation based upon the reaming state and the filtered data. The reaming compensation ignores variations in the filtered data that are due to movement of the drillstring in the wellbore. The operations also include adjusting an alarm threshold in response to the reaming compensation. Adjusting the alarm threshold includes increasing the alarm threshold when the reaming state is reaming down. The alarm threshold is adjusted proportionally to a speed at which the drillstring moves in the wellbore.
A non-transitory computer-readable medium is also disclosed. The medium stores instructions that, when executed by one or more processors of a computing system, cause the computing system to perform operations. The operations include receiving wellbore input data. The wellbore input data includes a block position (BPOS) of a rig over a wellbore. The operations also include determining (1) a minimum of the BPOS during a monitoring phase, (2) a block velocity (BVEL), and (3) a median of the BVEL over a predetermined time period. The minimum of the BPOS, the BVEL, and the median of the BVEL are determined based upon the BPOS. The BVEL includes a 10-second lookback two-point derivative of the BPOS. The operations also include determining a reaming state of a drillstring in the wellbore based upon the input data. The reaming state is determined based upon the BPOS. The reaming state is determined at a plurality of different time and/or depth intervals in the wellbore based upon the minimum of the BPOS, the BVEL, and the median of the BVEL. The reaming state includes not reaming indicating that the drillstring is stationary in the wellbore, reaming up indicating that the drillstring is moving up in the wellbore, or reaming down indicating that the drillstring is moving down in the wellbore. The operations also include receiving pipeline input data corresponding to fluid flowing in a pipeline. The fluid flows from the wellbore into the pipeline. The pipeline input data includes mud flow-out paddle values (MFOP) that are measured in the pipeline. The operations also include filtering the pipeline input data to produce filtered data. Filtering the pipeline input data includes applying a centered sliding median filter to the MFOP. The centered sliding median filter provides an increased filter window size in comparison to a lookback median filter that is applied on tumbling windows. The centered sliding median filter is less sensitive to noise without compromising resolution in comparison to the lookback median filter applied on tumbling windows. The operations also include determining a reaming compensation based upon the reaming state and the filtered data. The reaming compensation ignores variations in the filtered data that are due to movement of the drillstring in the wellbore. The operations also include adjusting an alarm threshold in response to the reaming compensation. Adjusting the alarm threshold comprises increasing the alarm threshold when the reaming state is reaming down. The alarm threshold is not adjusted when the reaming state is not reaming or reaming up. The alarm threshold is adjusted proportionally to a speed at which the drillstring moves in the wellbore. The alarm threshold is adjusted independently of a rate of rotation of the drillstring in the wellbore.
It will be appreciated that this summary is intended merely to introduce some aspects of the present methods, systems, and media, which are more fully described and/or claimed below. Accordingly, this summary is not intended to be limiting.
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments of the present teachings and together with the description, serve to explain the principles of the present teachings. In the figures:
Reference will now be made in detail to embodiments, examples of which are illustrated in the accompanying drawings and figures. In the following detailed description, numerous specific details are set forth in order to provide a thorough understanding of the invention. However, it will be apparent to one of ordinary skill in the art that the invention may be practiced without these specific details. In other instances, well-known methods, procedures, components, circuits, and networks have not been described in detail so as not to unnecessarily obscure aspects of the embodiments.
It will also be understood that, although the terms first, second, etc. may be used herein to describe various elements, these elements should not be limited by these terms. These terms are only used to distinguish one element from another. For example, a first object or step could be termed a second object or step, and, similarly, a second object or step could be termed a first object or step, without departing from the scope of the present disclosure. The first object or step, and the second object or step, are both, objects or steps, respectively, but they are not to be considered the same object or step.
The terminology used in the description herein is for the purpose of describing particular embodiments and is not intended to be limiting. As used in this description and the appended claims, the singular forms “a,” “an” and “the” are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will also be understood that the term “and/or” as used herein refers to and encompasses any possible combinations of one or more of the associated listed items. It will be further understood that the terms “includes,” “including,” “comprises” and/or “comprising,” when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. Further, as used herein, the term “if” may be construed to mean “when” or “upon” or “in response to determining” or “in response to detecting,” depending on the context.
Attention is now directed to processing procedures, methods, techniques, and workflows that are in accordance with some embodiments. Some operations in the processing procedures, methods, techniques, and workflows disclosed herein may be combined and/or the order of some operations may be changed.
System OverviewIn the example of
In an example embodiment, the simulation component 120 may rely on entities 122. Entities 122 may include earth entities or geological objects such as wells, well data (e.g., used for calibration of rock and fluid properties), surfaces, bodies, reservoirs, etc. In the system 100, the entities 122 can include virtual representations of actual physical entities that are reconstructed for purposes of simulation. The entities 122 may include entities based on data acquired via sensing, observation, etc. (e.g., the seismic data 112 and other information 114). An entity may be characterized by one or more properties (e.g., a geometrical pillar grid entity of an earth model may be characterized by a porosity property). Such properties may represent one or more measurements (e.g., acquired data), calculations, etc.
In an example embodiment, the simulation component 120 may operate in conjunction with a software framework such as an object-based framework. In such a framework, entities may include entities based on pre-defined classes to facilitate modeling and simulation. A commercially available example of an object-based framework is the MICROSOFT® .NET® framework (Redmond, Washington), which provides a set of extensible object classes. In the .NET® framework, an object class encapsulates a module of reusable code and associated data structures. Object classes can be used to instantiate object instances for use in by a program, script, etc. For example, borehole classes may define objects for representing boreholes based on well data.
In the example of
As an example, the simulation component 120 may include one or more features of a simulator such as the ECLIPSE™ reservoir simulator (SLB, Houston Texas), the INTERSECT™ reservoir simulator (SLB, Houston Texas), etc. As an example, a simulation component, a simulator, etc. may include features to implement one or more meshless techniques (e.g., to solve one or more equations, etc.). As an example, a reservoir or reservoirs may be simulated with respect to one or more enhanced recovery techniques (e.g., consider a thermal process such as SAGD, etc.).
In an example embodiment, the management components 110 may include features of a commercially available framework such as the PETREL® seismic to simulation software framework (SLB, Houston, Texas). The PETREL® framework provides components that allow for optimization of exploration and development operations. The PETREL® framework includes seismic to simulation software components that can output information for use in increasing reservoir performance, for example, by improving asset team productivity. Through use of such a framework, various professionals (e.g., geophysicists, geologists, and reservoir engineers) can develop collaborative workflows and integrate operations to streamline processes. Such a framework may be considered an application and may be considered a data-driven application (e.g., where data is input for purposes of modeling, simulating, etc.).
In an example embodiment, various aspects of the management components 110 may include add-ons or plug-ins that operate according to specifications of a framework environment. For example, a commercially available framework environment marketed as the OCEAN® framework environment (SLB, Houston, Texas) allows for integration of add-ons (or plug-ins) into a PETREL® framework workflow. The OCEAN® framework environment leverages .NET® tools (Microsoft Corporation, Redmond, Washington) and offers stable, user-friendly interfaces for efficient development. In an example embodiment, various components may be implemented as add-ons (or plug-ins) that conform to and operate according to specifications of a framework environment (e.g., according to application programming interface (API) specifications, etc.).
As an example, a framework may include features for implementing one or more mesh generation techniques. For example, a framework may include an input component for receipt of information from interpretation of seismic data, one or more attributes based at least in part on seismic data, log data, image data, etc. Such a framework may include a mesh generation component that processes input information, optionally in conjunction with other information, to generate a mesh.
In the example of
As an example, the domain objects 182 can include entity objects, property objects and optionally other objects. Entity objects may be used to geometrically represent wells, surfaces, bodies, reservoirs, etc., while property objects may be used to provide property values as well as data versions and display parameters. For example, an entity object may represent a well where a property object provides log information as well as version information and display information (e.g., to display the well as part of a model).
In the example of
In the example of
As mentioned, the system 100 may be used to perform one or more workflows. A workflow may be a process that includes a number of worksteps. A workstep may operate on data, for example, to create new data, to update existing data, etc. As an example, a workstep may operate on one or more inputs and create one or more results, for example, based on one or more algorithms. As an example, a system may include a workflow editor for creation, editing, executing, etc. of a workflow. In such an example, the workflow editor may provide for selection of one or more pre-defined worksteps, one or more customized worksteps, etc. As an example, a workflow may be a workflow implementable in the PETREL® software, for example, that operates on seismic data, seismic attribute(s), etc. As an example, a workflow may be a process implementable in the OCEAN® framework. As an example, a workflow may include one or more worksteps that access a module such as a plug-in (e.g., external executable code, etc.).
Monitoring Fluid Flow Through a Pipeline in a Context of Mud Volume BalanceThe present disclosure includes a mud volume balance (MVB) flow-out method that is configured to automatically detect abnormally high flow paddle values when the total input flow is stable (e.g., including booster flow if it is present). The actual monitoring phase may be delayed (e.g., by 5 minutes) after the total input flow becomes stable. This is to absorb the transient period during which the flow-out is not expected to be stable yet even though the input flow is stable already. During riser-less operations, the alarm may be disabled.
This operation applies a median filter on a centered sliding window. In an example, the window size is 60 seconds. Therefore, the output of this operation may be delayed by 30 seconds compared to the input.
Processing-related delays may not appear when looking at historical results, except at the very end of the signal. In this example, the last 30 seconds of filtered flow-out may not be visible at the end of the well. For such preprocessing steps, the output timestamps may be aligned with the original input timestamps, as operations may not be composable otherwise. In general, processing-related delay information may be delivered as an additional channel for analysis and troubleshooting purposes.
Monitoring and Reaming DetectionThese operations may not introduce any delay. In other words, the output information may match with the timestamp and/or event time of the last added input point, and the resulting output point may be delivered right after the input point is added in the input stream.
MonitoringThe flow-out signal may be impacted by the drill string movements while reaming. More particularly, a suction effect happens when the drill string is pulled upwards, causing the flow-out to decrease. In addition, a pressure wave travels down the annulus and displaces fluid upward when the drillstring is pushed downward, causing the flow out to increase. The greater the magnitude of the string speed, the greater the impact on flow-out. To compensate for these effects, a reaming detection algorithm may perform a segmentation of the block height signal.
Three distinct states/regimes may be identified:
-
- 1. not reaming
- 2. reaming up
- 3. reaming down
To define the transitions from one state to the other, several temporary values may be determined: block velocity (BVEL), a median of the block velocity (BVEL_MED), and/or a minimum of a block position (MinBPOS). In an example, BVEL may be defined as the 10 seconds lookback two-points derivative of the BPOS signal. In an example, BVEL_MED may be defined as the lookback BVEL median over the last 30 secs. In an example, MinBPOS may be defined as the minimum BPOS value encountered during a monitoring phase.
The default state is “not reaming”. If the current BPOS value is within a predetermined distance (e.g., 10 cm) of MinBPOS, “not reaming” is enforced. When the current BVEL exceeds BVEL_MED*3+5 cm/s, the condition for entering the reaming up regime is met. When reaming up, a reaming down state or a pump stop may occur.
When a reaming down state is expected to occur, and when the current BVEL falls below −5 cm/s+BVEL_MED/3, the condition for entering the reaming down regime may be satisfied. When reaming down, to reach MinBPOS and/or max depth within the monitoring period (e.g., this may lead to a transition to the “not reaming” state), a change of direction, leading to the reaming up regime if the reaming up entering criteria is met, and not reaming otherwise. In another embodiment, when reaming down, the pumps may stop the monitoring and reset the reaming detection state machine.
In the reaming up regime, if BVEL becomes negative, but the reaming down entering condition is not met, the system may go in the “not reaming” regime, still expecting a reaming down to come. In the reaming down regime, if BVEL becomes positive, it may go in the “reaming up” regime, also expecting a reaming down to come.
Combining OperationIf the input monitoring state is “not monitoring”, then this step does not produce any additional information. The following assumes a “monitoring” state. The computation retains a rolling minimum of filtered flow-out points over each monitoring period, following an “ascending minima” algorithm. At any point in time, the “current minimum” (=the latest minimum point in the ascending minima buffer) may be the “reference point”. It contains the flow-out value from which the increase is tracked. If the current filtered flow-out value exceeds the reference value by more than an absolute delta of 0.05 (or 5%), an alarm may be triggered.
Damping of Local DecreasesTo decrease the frequency of untimely alarm triggers that happen when the flow-out remains too close to the threshold value, a double threshold/hysteresis trigger may be implemented. In an example, a threshold of 0.05 (or 5%) may be used to trigger the alarm on, and a threshold of 0.01 (or 1%) may be used to trigger the alarm off. Therefore, when an alarm is switched off, this causes the flow-out signal to be at least 0.04 (or 4%) apart from the triggering threshold. Also, it has been observed that the flow-out sometimes stabilizes in two steps. Therefore, to avoid a continuous alarm on after the last step increase, the current reference point may be ignored if the alarm is in “on” state. The next reference point being used is its successor in the current rolling minimum sequence. Although alarms may appear to have a short duration when looking at historical results, they may not last less than 5 minutes in real-time, as explained below.
Special Processing when ReamingIf the reaming regime is different from “not reaming”, the combining operation may follow specific processing rules:
-
- 1. If just entered a reaming up phase, a reaming down may be expected at some point and:
- I. Some information is kept in memory until a reaming down phase is encountered:
- a. The alarm threshold
- b. The flow-out value just before entering this reaming up phase
- II. New information is aggregated while streaming in reaming up regime:
- a. The minimum flow encountered during this reaming up phase
- b. The maximum reaming up speed/BVEL during this reaming UP phase
- I. Some information is kept in memory until a reaming down phase is encountered:
- 2. While remaining in the reaming up phase, the minimum flow II.a and maximum speed II.b are updated while streaming.
- 3. If just entered a reaming down phase, the items memorized and aggregated during the reaming up phase may be used to build a small model whose goal is to adjust the alarm threshold in order to compensate for the expected flow increase during the reaming down phase, in function of the current BVEL value.
- 4.While remaining in the reaming down phase, the threshold may be adjusted according to the model built in step 3. The model gives an upper bound for the current maximum expected flow considering what was observed during the reaming up phase, and the alarm threshold is adjusted in consequence.
- 1. If just entered a reaming up phase, a reaming down may be expected at some point and:
This operation gathers the outputs from the “monitoring and reaming” operation and the “combining operation”. When the “monitoring and reaming” operation returns a “not monitoring” state, an alarm “off” may be returned early (e.g., independently of the delay introduced by the flow-out filtering step). Otherwise, the alarm result from the “combining operation” may be returned, and it can be either off or on.
Alarm MergingThe kind of state segmentation used to qualify the reaming regime may be avoided as well, as it may be fragile and ill-adapted to some shapes of BPOS variations. There may be a different way to build an approximation of a linear or quasi-linear filter modelling the impact of the drill string movements on the flow-out in a more continuous fashion (e.g., the same way the monitoring domain may be extended not to rely on TOTAL_FLOW_STATE segmentation). Also, it may be beneficial to take advantage of the flow-out filtering delay to take more time to produce a more accurate result.
In addition, “controls engineering” and “data science” and/or “machine learning” methodologies used to solve “grey box system identification” problems may be beneficial for this kind of computation. This may be used to continuously approximate the flow-out “expected response” depending on the inputs having an impact on it, and help to build more simple, general, predictable, and robust models.
The return flow sensor may provide a first warning of a kick, particularly in gas prone areas. The volume of a gas kick at bottom of the wellbore may be less than the limit of resolution for the pit level sensors. The return flow from the well may increase with no change in pump rate when the pumping rate (i.e., flow rate in) is constant. The flow rate out from the wellbore 1110 may be equal to the flow rate into the wellbore 1110 using quantitative flow rate measuring equipment (e.g., FLAG) and may show a steady trend with no abnormal deviations on the qualitative equipment (e.g., flow paddle, flow show indicator). If there is an increase in the flow rate out, it may be indicative of formation fluid flowing into the wellbore 1110. Invading fluids are generally lighter than mud. This further reduces the bottom hole pressure (BHP) and may cause more formation fluid to flow into the wellbore 1110.
In a gas influx, the size of the gas bubbles increases as they move up the well, which may increase flow rate out (and pit gain). This may result in a further reduction of the bottom hole pressure, providing more favorable conditions for the formation fluid to flow into the wellbore 1110. This may cause the drilling fluid to flow from the wellbore 1110 into the low pressured zone (e.g., depleted zone), resulting in mud losses or lost circulation/lost returns. Mud losses or lost returns may also occur when drilling into a fractured zone. Mud losses or lost returns may cause the reduction of hydrostatic column length in the annulus, which in turn reduces the BHP. Formation pressures of the zones drilled earlier, which initially was lower than BHP, may now become higher than BHP and may start flowing into wellbore 1110. This may result in an increase in the flow rate out. The flow rate out (i.e., return flow from the wellbore 1110) when the pumps are off (e.g., during a pipe connection or a flow check) should result in no return flow from the wellbore 1110, as nothing is pumped into it. If the wellbore 1110 continues to flow when the pumps are off, it may mean that the formation fluid is flowing into the wellbore 1110. The BHP pressures may be higher during circulating (e.g., BHP=ECD) than when the pumps are off (e.g., BHP=ESD)
Exemplary MethodThe method 1300 may include receiving wellbore input data, as at 1305. The wellbore input data may include a block position (BPOS) of a rig over a wellbore 1110. An example of the wellbore input data may be seen in
The method 1300 may also include determining a minimum of the BPOS during a monitoring phase, a block velocity (BVEL), and/or a median of the BVEL over a predetermined time period (e.g., 30 seconds), as at 1310. Examples of these parameters may be seen in
The method 1300 may also include determining a reaming state of a drillstring 1120 in the wellbore 1110 based upon the input data, as at 1315. An example of the reaming state(s) may be seen in
The method 1300 may also include receiving pipeline input data corresponding to fluid flowing in a pipeline 1130, as at 1320. An example of the pipeline input data may be seen in
The method 1300 may also include filtering the pipeline input data to produce filtered data, as at 1325. An example of the pipeline input data may also be seen in
The method 1300 may also include determining a reaming compensation based upon the reaming state and the pipeline input data (e.g., the filtered data), as at 1330. The reaming compensation ignores variations in the filtered data (MFOP) that are due to movement of the drillstring 1120 in the wellbore 1110.
The method 1300 may also include adjusting an alarm threshold in response to the reaming compensation, as at 1335. An example of the reaming compensation and/or the adjusted alarm threshold may be seen in
In an embodiment, the compensated alarm threshold may be built empirically from the uncompensated one and is subject to change because it may not be backed by any strong theoretical model. When reaming up, the compensated alarm threshold may be frozen (i.e., remain constant). More particularly, it remains equal to the uncompensated alarm threshold right before entering the reaming up regime. When reaming down, an offset may first be determined. The offset may be proportional to the current BVEL, and may be added to a computed base alarm threshold. The current base alarm threshold may be the maximum of: (1) the last known uncompensated alarm threshold right before going into the preceding reaming up regime and/or (2) the last known uncompensated alarm threshold right before going into the preceding reaming up regime, plus the maximum loss in flow observed during the preceding reaming up regime. In the end, the final compensated alarm threshold may be the maximum of both uncompensated and compensated alarm thresholds.
The method 1300 may also include displaying the wellbore input data, the pipeline input data, the filtered data, the reaming compensation, and/or the adjusted alarm threshold, as at 1340.
The method 1300 may also include triggering the alarm in response to the filtered data exceeding the adjusted alarm threshold, as at 1345.
The method 1300 may also include performing an action in response to the alarm being triggered, as at 1350. The action may be or include generating and/or transmitting a signal (e.g., using a computing system) that recommends, instructs, or causes a physical action to occur in the wellbore and/or pipeline. The action may also or instead include performing the physical action. The physical action may include selecting where to drill the wellbore (or a new wellbore) 1110, drilling the wellbore, varying a weight and/or torque on a drill bit that is drilling the wellbore, varying a drilling trajectory of the wellbore, varying a concentration and/or flow rate of a fluid pumped into the wellbore, or the like. The action may also or instead include actuating a pump or a valve to change the flow rate or pressure of the fluid flowing through the pipeline 1130.
Exemplary Computing SystemIn some embodiments, the methods of the present disclosure may be executed by a computing system.
A processor may include a microprocessor, microcontroller, processor module or subsystem, programmable integrated circuit, programmable gate array, or another control or computing device.
The storage media 1406 may be implemented as one or more computer-readable or machine-readable storage media. Note that while in the example embodiment of
In some embodiments, computing system 1400 contains one or more de-risking module(s) 1408. In the example of computing system 1400, computer system 1401A includes the de-risking module 1408. In some embodiments, a single de-risking module may be used to perform some aspects of one or more embodiments of the methods disclosed herein. In other embodiments, a plurality of de-risking modules may be used to perform some aspects of methods herein.
It should be appreciated that computing system 1400 is merely one example of a computing system, and that computing system 1400 may have more or fewer components than shown, may combine additional components not depicted in the example embodiment of
Further, the steps in the processing methods described herein may be implemented by running one or more functional modules in information processing apparatus such as general purpose processors or application specific chips, such as ASICs, FPGAs, PLDs, or other appropriate devices. These modules, combinations of these modules, and/or their combination with general hardware are included within the scope of the present disclosure.
Computational interpretations, models, and/or other interpretation aids may be refined in an iterative fashion; this concept is applicable to the methods discussed herein. This may include use of feedback loops executed on an algorithmic basis, such as at a computing device (e.g., computing system 1400,
The foregoing description, for purposes of explanation, has been described with reference to specific embodiments. However, the illustrative discussions above are not intended to be exhaustive or limiting to the precise forms disclosed. Many modifications and variations are possible in view of the above teachings. Moreover, the order in which the elements of the methods described herein are illustrated and described may be re-arranged, and/or two or more elements may occur simultaneously. The embodiments were chosen and described in order to best explain the principles of the disclosure and its practical applications, to thereby enable others skilled in the art to best utilize the disclosed embodiments and various embodiments with various modifications as are suited to the particular use contemplated.
Claims
1. A method for monitoring fluid flow through a pipeline, the method comprising:
- receiving wellbore input data related to a wellbore;
- determining a reaming state of a drillstring in the wellbore based upon the wellbore input data;
- receiving pipeline input data corresponding to the fluid flow through the pipeline, wherein the fluid flows from the wellbore into the pipeline;
- determining a reaming compensation based upon the reaming state and the pipeline input data, wherein the reaming compensation ignores variations in the pipeline input data that are due to movement of the drillstring in the wellbore; and
- adjusting an alarm threshold in response to the reaming compensation.
2. The method of claim 1, wherein the wellbore input data comprises a block position (BPOS) of a rig over the wellbore.
3. The method of claim 2, wherein the reaming state is determined based upon the BPOS.
4. The method of claim 2, further comprising determining a minimum of the BPOS, a block velocity (BVEL), a median of the BVEL, or a combination thereof, wherein the reaming state is determined based upon the minimum of the BPOS, the BVEL, the median of the BVEL, or the combination thereof.
5. The method of claim 1, wherein the reaming state comprises not reaming indicating that the drillstring is stationary in the wellbore, reaming up indicating that the drillstring is moving up in the wellbore, or reaming down indicating that the drillstring is moving down in the wellbore.
6. The method of claim 1, wherein the pipeline input data comprises mud flow-out paddle values (MFOP) that are measured in the pipeline.
7. The method of claim 6, further comprising filtering the pipeline input data to produce filtered data, wherein filtering the pipeline input data comprises applying a centered sliding median filter to the MFOP, and wherein the reaming compensation is also based upon the filtered data.
8. The method of claim 1, wherein adjusting the alarm threshold comprises increasing the alarm threshold when the reaming state is reaming down.
9. The method of claim 1, wherein the alarm threshold is adjusted proportionally to a speed at which the drillstring moves in the wellbore.
10. The method of claim 1, wherein the alarm threshold is adjusted independently of a rate of rotation of the drillstring in the wellbore.
11. A computing system, comprising:
- one or more processors; and
- a memory system comprising one or more non-transitory computer-readable media storing instructions that, when executed by at least one of the one or more processors, cause the computing system to perform operations, the operations comprising: receiving wellbore input data, wherein the wellbore input data comprises a block position (BPOS) of a rig over a wellbore; determining a reaming state of a drillstring in the wellbore based upon the input data, wherein the reaming state is determined based upon the BPOS, and wherein the reaming state comprises not reaming indicating that the drillstring is stationary in the wellbore, reaming up indicating that the drillstring is moving up in the wellbore, or reaming down indicating that the drillstring is moving down in the wellbore; receiving pipeline input data corresponding to fluid flowing in a pipeline, wherein the fluid flows from the wellbore into the pipeline, wherein the pipeline input data comprises mud flow-out paddle values (MFOP) that are measured in the pipeline; filtering the pipeline input data to produce filtered data, wherein filtering the pipeline input data comprises applying a centered sliding median filter to the MFOP; determining a reaming compensation based upon the reaming state and the filtered data, and wherein the reaming compensation ignores variations in the filtered data that are due to movement of the drillstring in the wellbore; and adjusting an alarm threshold in response to the reaming compensation, wherein adjusting the alarm threshold comprises increasing the alarm threshold when the reaming state is reaming down, and wherein the alarm threshold is adjusted proportionally to a speed at which the drillstring moves in the wellbore.
12. The computing system of claim 11, further comprising determining a minimum of the BPOS, a block velocity (BVEL), a median of the BVEL, or a combination thereof based upon the BPOS.
13. The computing system of claim 12, wherein the reaming state is determined at a plurality of different time and/or depth intervals in the wellbore based upon the minimum of the BPOS, the BVEL, and/or the median of the BVEL.
14. The computing system of claim 11, wherein the centered sliding median filter provides an increased filter window size in comparison to a lookback median filter that is applied on tumbling windows, and wherein the centered sliding median filter is less sensitive to noise without compromising resolution in comparison to the lookback median filter applied on tumbling windows.
15. The computing system of claim 11, wherein the alarm threshold is not adjusted when the reaming state is not reaming or reaming up.
16. A non-transitory computer-readable medium storing instructions that, when executed by one or more processors of a computing system, cause the computing system to perform operations, the operations comprising:
- receiving wellbore input data, wherein the wellbore input data comprises a block position (BPOS) of a rig over a wellbore;
- determining (1) a minimum of the BPOS during a monitoring phase, (2) a block velocity (BVEL), and (3) a median of the BVEL over a predetermined time period, wherein the minimum of the BPOS, the BVEL, and the median of the BVEL are determined based upon the BPOS, and wherein the BVEL comprises a 10-second lookback two-point derivative of the BPOS;
- determining a reaming state of a drillstring in the wellbore based upon the wellbore input data, wherein the reaming state is determined based upon the BPOS, wherein the reaming state is determined at a plurality of different time and/or depth intervals in the wellbore based upon the minimum of the BPOS, the BVEL, and the median of the BVEL, and wherein the reaming state comprises not reaming indicating that the drillstring is stationary in the wellbore, reaming up indicating that the drillstring is moving up in the wellbore, or reaming down indicating that the drillstring is moving down in the wellbore;
- receiving pipeline input data corresponding to fluid flowing in a pipeline, wherein the fluid flows from the wellbore into the pipeline, wherein the pipeline input data comprises mud flow-out paddle values (MFOP) that are measured in the pipeline;
- filtering the pipeline input data to produce filtered data, wherein filtering the pipeline input data comprises applying a centered sliding median filter to the MFOP, wherein the centered sliding median filter provides an increased filter window size in comparison to a lookback median filter that is applied on tumbling windows, and wherein the centered sliding median filter is less sensitive to noise without compromising resolution in comparison to the lookback median filter applied on tumbling windows;
- determining a reaming compensation based upon the reaming state and the filtered data, and wherein the reaming compensation ignores variations in the filtered data that are due to movement of the drillstring in the wellbore; and
- adjusting an alarm threshold in response to the reaming compensation, wherein adjusting the alarm threshold comprises increasing the alarm threshold when the reaming state is reaming down, wherein the alarm threshold is not adjusted when the reaming state is not reaming or reaming up, wherein the alarm threshold is adjusted proportionally to a speed at which the drillstring moves in the wellbore, and wherein the alarm threshold is adjusted independently of a rate of rotation of the drillstring in the wellbore.
17. The non-transitory computer-readable medium of claim 16, wherein the operations further comprise displaying the filtered data and the adjusted alarm threshold.
18. The non-transitory computer-readable medium of claim 16, wherein the operations further comprise triggering the alarm in response to the filtered data exceeding the adjusted alarm threshold.
19. The non-transitory computer-readable medium of claim 18, wherein the operations further comprise performing an action in response to the alarm being triggered.
20. The non-transitory computer-readable medium of claim 19, wherein the action comprises generating or transmitting a signal that recommends, instructs, or causes a physical action to occur in the wellbore and/or the pipeline.
Type: Application
Filed: May 2, 2025
Publication Date: Nov 5, 2026
Inventors: Maxime Vey (Montpellier), Damien Lecha (Montpellier), Dieter Knoll (Montpellier), Bertrand Chevallier (Montpellier), Laurent Vallet (Montpellier), Xin Li (Montpellier), Lalarukh Qureshi (Montpellier), Graeme Paterson (Beijing), Pavel Gutarov (Montpellier), Antoine Vaslin (Muscat)
Application Number: 19/197,073