8
A Simulink library for Drilling Modeling, Simulation and Control 16 th November 2021 Rajat Dixit Wells Engineer (Drilling Mechanics) โ€“ ExxonMobil

A Simulink Library for Drilling Modeling, Simulation, and

  • Upload
    others

  • View
    10

  • Download
    0

Embed Size (px)

Citation preview

A Simulink library for Drilling Modeling, Simulation and Control

16th November 2021

Rajat Dixit

Wells Engineer (Drilling Mechanics) โ€“ ExxonMobil

โžข Drilling Industry has substantially improved performance based on knowledge from physics-based,

statistical, and empirical models of systems to support Surveillance & Dysfunctions diagnosis

โžข Most models and source code have been recreated multiple times, which requires significant effort

and energy with step-wise improvements only

โžข Open-source community proposes, an Industry-wide coalition of industry and academic leaders to

support open-source drilling and encourage reuse of continuously improving models

o Open-source repository will ramp up the continuously improving automation efforts including planning, BHA design,

Real-time Rig Surveillance and post well analysis

o Subject Matter Experts can save valuable time in selecting & choosing the right model for mitigating the

dysfunction & avoid time in re-producing the mistakes of predecessors

o A given industry model component can be profiled using quantitative metrics over the various benchmark problems

o The Vision additionally includes the integration of Hydraulic & Hole-cleaning, Managed pressure drilling (MPD)

regime models along with drill-string dynamics

โžข An Open Source subcommittee within the SPE Drilling Systems Automation Technical Section

(DSATS) has already been formed

Open Source Drill-string Dynamics Modeling: Why??

3

Accuracy

Robustness

Execution duration

Drilling Industry Major Modeling Challenges

Effect of Control Systems on Vibrations

Effect of hole-angle, curvature &

BHAs

Drilling in Interbedded

formations & HFTO

Expectations

High fidelity Robust models to support Drilling Surveillance

Publications in renowned Industry wide Journals & SPE Conferences

Industry wide collaboration to plug-in innovative ideas & resolve Challenging

drilling problems

ExxonMobil Drill-string Dynamics Simulator

Coupled Multi-Elements Axial-Torsional Drill-string Dynamics Model โ€“ Axial Motion Schematic

Input parameters โ€“

m = Mass of Drill-string elements

๐‘˜๐‘Ž(1) = axial stiffness of element - 1

๐‘๐‘Ž(1) = axial damping coefficient of element - 1

๐‘˜๐‘Ž(๐‘) = axial stiffness of element - N

๐‘๐‘Ž(๐‘) = axial damping coefficient of element - N

๐‘๐‘๐‘–๐‘ก_๐‘Ž๐‘ฅ๐‘–๐‘Ž๐‘™ = bit damper (axial motion)

๐‘‰๐‘œ = surface Axial Velocity

0 = reference topmost fixed position

1 = reference position of element - 1

2 = reference position of element - 2

N-1 = reference position of element - N-1

N = reference position of element - N

Output parameters โ€“

๐‘1 ๐‘ก = displacement of element with mass ๐‘š1

๐‘2 ๐‘ก = displacement of element with mass ๐‘š2

๐‘๐‘โˆ’1 ๐‘ก = displacement of element with mass ๐‘š๐‘โˆ’1

๐‘๐‘ ๐‘ก = displacement of element with mass ๐‘š๐‘

0

1

2

N-1

N

๐‘˜๐‘Ž(1)

๐‘˜๐‘Ž(2)

๐‘š1

๐‘š2

๐‘š๐‘โˆ’1

๐‘š๐‘

๐‘˜๐‘Ž(3)

๐‘๐‘Ž(3)

๐‘˜๐‘Ž(๐‘)

๐‘๐‘Ž(๐‘)

Z (๐‘ก)

๐‘1 (๐‘ก)

๐‘2 (๐‘ก)

๐‘๐‘โˆ’1 (๐‘ก)

๐‘๐‘ (๐‘ก)

๐‘‰0

๐‘0 (๐‘ก)

๐‘๐‘๐‘–๐‘ก_๐‘Ž๐‘ฅ๐‘–๐‘Ž๐‘™ ร— แˆถ๐‘๐‘ + ๐‘˜๐‘Š๐‘‚๐ต ร— ๐ท๐‘‚๐ถ๐‘0 = เถฑ๐‘‰0 ๐‘‘๐‘ก

๐น๐‘โˆ’1,๐‘๐‘’๐‘ก ๐น๐‘Ÿ๐‘–๐‘๐‘ก๐‘–๐‘œ๐‘›(๐‘‰+๐ถ)

๐น3 (๐ถ๐‘œ๐‘ข๐‘™)

๐‘๐‘Ž(2)

๐น๐‘ (๐ถ๐‘œ๐‘ข๐‘™)

๐น๐‘ ๐‘๐‘’๐‘ก ๐น๐‘Ÿ๐‘–๐‘๐‘ก๐‘–๐‘œ๐‘›(๐‘‰+๐ถ)

๐น2 (๐ถ๐‘œ๐‘ข๐‘™)

๐‘๐‘Ž(1)

๐น1 (๐ถ๐‘œ๐‘ข๐‘™๐‘œ๐‘š๐‘)

๐น1 (๐‘‰๐‘–๐‘ ๐‘๐‘œ๐‘ข๐‘ )

๐น2 ๐‘๐‘’๐‘ก ๐น๐‘Ÿ๐‘–๐‘๐‘ก๐‘–๐‘œ๐‘›(๐‘‰+๐ถ)

๐น๐‘โˆ’1 (๐ถ๐‘œ๐‘ข๐‘™)

Drill-string Schematic

Topdrive

TopdriveROP Control Mode at Topdrive

Governing Equations:

โ€ข ๐‘ญ๐‘ฐ๐’๐’†๐’“๐’•๐’Š๐’‚ + ๐‘ญ๐‘บ๐’‘๐’“๐’Š๐’๐’ˆ + ๐‘ญ๐‘ญ๐’“๐’Š๐’„๐’•๐’Š๐’๐’ (๐‘ช๐’๐’–๐’๐’๐’Ž๐’ƒ+๐‘ฝ๐’Š๐’”๐’„๐’๐’–๐’”) + ๐‘ญ๐‘ญ๐’๐’“๐’Ž๐’‚๐’•๐’Š๐’๐’ ๐‘น๐’†๐’‚๐’„๐’•๐’Š๐’๐’ = ๐ŸŽ

โ€ข ๐‘ป๐‘ธ๐‘ฐ๐’๐’†๐’“๐’•๐’Š๐’‚ + ๐‘ป๐‘ธ๐‘บ๐’‘๐’“๐’Š๐’๐’ˆ + ๐‘ป๐‘ธ๐‘ญ๐’“๐’Š๐’„๐’•๐’Š๐’๐’ (๐‘ช๐’๐’–๐’๐’๐’Ž๐’ƒ+๐‘ฝ๐’Š๐’”๐’„๐’๐’–๐’”) + ๐‘ป๐‘ธ๐‘ญ๐’๐’“๐’Ž๐’‚๐’•๐’Š๐’๐’ ๐‘น๐’†๐’‚๐’„๐’•๐’Š๐’๐’ = ๐ŸŽ

โ€ข ๐‘ญ๐‘ญ๐’๐’“๐’Ž๐’‚๐’•๐’Š๐’๐’ ๐‘น๐’†๐’‚๐’„๐’•๐’Š๐’๐’ = ๐‘พ๐‘ถ๐‘ฉ๐’…๐’๐’˜๐’๐’‰๐’๐’๐’†

โ€ข ๐‘ป๐‘ธ๐‘ญ๐’๐’“๐’Ž๐’‚๐’•๐’Š๐’๐’ ๐‘น๐’†๐’‚๐’„๐’•๐’Š๐’๐’ = ๐‘ป๐‘ธ๐’…๐’๐’˜๐’๐’‰๐’๐’๐’†

โ€ข ๐‘พ๐‘ถ๐‘ฉ๐’…๐’๐’˜๐’๐’‰๐’๐’๐’† = ๐‘ญ๐‘ญ๐’๐’“๐’Ž๐’‚๐’•๐’Š๐’๐’ ๐‘น๐’†๐’‚๐’„๐’•๐’Š๐’๐’ ๐‘ช๐’–๐’•๐’•๐’Š๐’๐’ˆ ๐‘ช๐’๐’Ž๐’‘๐’๐’๐’†๐’๐’• + ๐‘ญ๐‘ญ๐’๐’“๐’Ž๐’‚๐’•๐’Š๐’๐’ ๐‘น๐’†๐’‚๐’„๐’•๐’Š๐’๐’ ๐‘ญ๐’“๐’Š๐’„๐’•๐’Š๐’๐’๐’‚๐’ ๐‘ช๐’๐’Ž๐’‘๐’๐’๐’†๐’๐’•

โ€ข ๐‘ญ๐‘ญ๐’๐’“๐’Ž๐’‚๐’•๐’Š๐’๐’ ๐‘น๐’†๐’‚๐’„๐’•๐’Š๐’๐’ ๐‘ช๐’–๐’•๐’•๐’Š๐’๐’ˆ ๐‘ช๐’๐’Ž๐’‘๐’๐’๐’†๐’๐’• = ๐’Œ๐‘พ๐‘ถ๐‘ฉ ร— ๐‘ซ๐‘ถ๐‘ช

Where,๐’Œ๐‘พ๐‘ถ๐‘ฉ = ๐‘ญ๐’“๐’‚๐’„๐’•๐’Š๐’๐’ ๐’๐’‡ ๐‘ฉ๐’Š๐’• ๐‘ช๐’–๐’•๐’•๐’Š๐’๐’ˆ ๐’‡๐’๐’“๐’„๐’† ร— ๐ŸŽ. ๐Ÿ“ ร— ๐‘ช๐‘ช๐‘บ ร— ๐Ÿ๐Ÿ“๐ŸŽ๐ŸŽ โˆ— ๐Ÿ’. ๐Ÿ’๐Ÿ“ ร—๐Ÿ

๐‘ซ๐‘ถ๐‘ช๐’”๐’”ร—

๐‘ฉ๐’Š๐’•โˆ’๐‘ซ๐’Š๐’‚

๐Ÿ๐Ÿ.๐Ÿ๐Ÿ“

โ€ข ๐‘ป๐‘ธ๐’…๐’๐’˜๐’๐’‰๐’๐’๐’† = ๐’Œ๐‘ป๐‘ธ ร—๐‘ซ๐‘ถ๐‘ช

Where, ๐’Œ๐‘ป๐‘ธ =๐’Œ๐‘พ๐‘ถ๐‘ฉ

๐‘ญ๐’“๐’‚๐’„๐’•๐’Š๐’๐’ ๐’๐’‡ ๐‘ฉ๐’Š๐’• ๐‘ช๐’–๐’•๐’•๐’Š๐’๐’ˆ ๐’‡๐’๐’“๐’„๐’†ร— ๐‘ฉ๐’Š๐’•_๐’…๐’Š๐’‚ ร—

ฮผ๐‘น๐’๐’„๐’Œ

๐Ÿ‘

โ€ข ฮผ๐‘น๐’๐’„๐’Œ = ๐’‡(๐‘ช๐‘ช๐‘บ) (Linear Empirical correlation as per lab tests)

Axial & Torsional Coupled Drill-string Dynamics: Depth of Cut Based Model

โ€ข Axial & Torsional Mode of Drill-string dynamics are coupled using

downhole Depth of Cut in the Governing Equations

โ€ข ฮผ๐‘น๐’๐’„๐’Œ is a function of Rock Strength ranging from 0โ€“60000 Psi

โ€ข Static normal forces taken from gravity loads

โ€ข Stribeck Friction Model with Trapped Torque and Axial

Strains

โ€ข Fully Coupled axial/rotational friction model

โ€ข ๐น๐‘“ = opposite direction of net motion

o Forward, zero, and reverse rotation

o Up, zero, downward motion

Drill String Friction Model

7

SPE-199678-MS: Without Viscous Friction

Current Model with Stribeck Effect: Coulomb + Viscous Friction

Inclusion of Viscous Friction along with Dynamic Coulomb Friction

๐‘จ๐’•, ยต๐‘บ๐’•๐’‚๐’•๐’Š๐’„ = ๐ŸŽ. ๐Ÿ‘ยต๐‘ซ๐’š๐’๐’‚๐’Ž๐’Š๐’„ = ๐ŸŽ. ๐Ÿ๐Ÿ“

๐‘ช๐‘ฝ๐’Š๐’”๐’„๐’๐’–๐’” = ๐Ÿ•๐Ÿ“๐ŸŽ๐ŸŽ๐‘ต โˆ’ ๐’”๐’†๐’„

๐’Ž

๐‘ฝ๐‘บ๐’•๐’“๐’Š๐’ƒ๐’†๐’„๐’Œโˆ’๐‘ช๐’“๐’Š๐’•๐’Š๐’„๐’‚๐’ = ๐ŸŽ. ๐ŸŽ๐Ÿ‘๐’Ž

๐’”๐’†๐’„

โ€ข ๐‘ญ๐‘ต๐’๐’“๐’Ž๐’‚๐’ = ๐‘ฉ๐’‡ ร—๐‘ด๐‘ฌ๐’๐’†๐’Ž๐’†๐’๐’• ร— ๐’ˆ ร— ๐’”๐’Š๐’๐œฝ

โ€ข ๐๐’†๐’‡๐’‡๐’†๐’„๐’•๐’Š๐’—๐’† = ๐๐’…๐’š๐’๐’‚๐’Ž๐’Š๐’„ + ๐๐’”๐’•๐’‚๐’•๐’Š๐’„ โˆ’ ๐๐’…๐’š๐’๐’‚๐’Ž๐’Š๐’„ ร— ๐’†โˆ’

๐‘บ๐’๐’Š๐’…๐’Š๐’๐’ˆ ๐‘ฝ๐’†๐’๐’๐’„๐’Š๐’•๐’š๐‘น๐’†๐’”๐’–๐’๐’•๐’‚๐’๐’•๐‘ฝ๐‘ช๐‘บ

โ€ข ๐‘ญ๐‘ญ๐’“๐’Š๐’„๐’•๐’Š๐’๐’ (๐‘ช๐’๐’–๐’๐’๐’Ž๐’ƒ+๐‘ฝ๐’Š๐’”๐’„๐’๐’–๐’”) = ๐‘ญ๐‘ช๐’๐’–๐’๐’๐’Ž๐’ƒ ๐‘ญ๐’“๐’Š๐’„๐’•๐’Š๐’๐’ + ๐‘ญ๐‘ฝ๐’Š๐’”๐’„๐’๐’–๐’” ๐‘ญ๐’“๐’Š๐’„๐’•๐’Š๐’๐’

Mud-motor Integrated Drill-string Dynamics Model

ฮธ0 = เถฑฯ‰0 ๐‘‘๐‘ก

๐‘ธ๐‘ท๐’–๐’Ž๐’‘

โˆ†๐‘ƒ๐‘€๐‘œ๐‘ก๐‘œ๐‘Ÿ= ๐‘“(๐‘‡๐‘„๐‘€๐‘œ๐‘ก๐‘œ๐‘Ÿ_๐‘‚๐‘ข๐‘ก๐‘๐‘ข๐‘ก)

๐‘…๐‘ƒ๐‘€๐‘น๐’๐’•๐’๐’“ ๐’˜.๐’“.๐’•.๐‘บ๐’•๐’‚๐’•๐’๐’“ = ๐‘“(๐‘„๐น๐‘™๐‘œ๐‘ค)

๐‘น๐‘ท๐‘ด๐‘ฉ๐’Š๐’• = ๐‘น๐‘ท๐‘ด๐‘ด๐’๐’•๐’๐’“ ๐‘ถ๐’–๐’•๐’‘๐’–๐’•

๐‘น๐‘ท๐‘ด๐‘น๐’๐’•๐’๐’“

= ๐‘ช๐Ÿ ร— ๐‘ญ๐’๐’๐’˜๐‘น๐’‚๐’•๐’† ร— ๐Ÿ + ๐‘ช๐Ÿ ร— ๐‘ป๐‘ธ + ๐‘ช๐Ÿ‘ ร— ๐‘ป๐‘ธ๐Ÿ

โˆ†๐‘ท๐‘ถ๐’–๐’•๐’‘๐’–๐’•= ๐‘ช๐Ÿ’ ร— ๐‘ป๐‘ธ๐‘ฉ๐’Š๐’• + ๐‘ป๐‘ธ๐‘ณ๐’๐’˜๐’†๐’“ ๐‘ฉ๐‘ฏ๐‘จ

๐‘ช๐Ÿ =๐‘น๐’†๐’—

๐’ˆ๐’‚๐’๐’๐’๐’(๐‘น๐‘ท๐‘ฎ)

๐‘ช๐Ÿ, ๐‘ช๐Ÿ‘ = ๐…๐ซ๐จ๐ฆMud-motor Rated Specifications๐‘ช๐Ÿ, ๐‘ช๐Ÿ‘ = ๐…๐ซ๐จ๐ฆ ๐…๐ฅ๐จ๐ฐ ๐๐ž๐ซ๐Ÿ๐จ๐ซ๐ฆ๐š๐ง๐œ๐ž ๐‚๐ก๐š๐ซ๐ญ (๐‘๐๐Œ,๐“๐,๐),

Value of ๐‘ช๐Ÿ, ๐‘ช๐Ÿ‘ will be negative to account for RPM

decay as TQ increases. Currently taking their values

to be 0

๐‘ช๐Ÿ’ =)๐‘ด๐’‚๐’™.๐‘ถ๐’‘๐’†๐’“๐’‚๐’•๐’Š๐’๐’ˆ โˆ†๐‘ท(๐‘บ๐’•๐’‚๐’๐’ ๐‘ท๐’“๐’†๐’”๐’”๐’–๐’“๐’†

)๐‘ป๐‘ธ ๐’‚๐’• ๐‘ด๐’‚๐’™.๐‘ถ๐’‘๐’†๐’“๐’‚๐’•๐’Š๐’๐’ˆ โˆ†๐‘ท (๐‘บ๐’•๐’‚๐’๐’ ๐‘ป๐‘ธ

๐‘๐‘ก(1)๐‘˜๐‘ก(1)

๐‘˜๐‘ก(2)

๐œƒ1(๐‘ก)

๐œƒ2 (๐‘ก)

๐ฝ1

๐ฝ2

๐œƒ0(๐‘ก)

ฯ‰0

๐‘‡๐‘„๐ท๐‘œ๐‘ค๐‘›โ„Ž๐‘œ๐‘™๐‘’ = ๐‘˜๐‘‡๐‘„ ร— ๐ท๐‘‚๐ถ

๐‘‡๐‘„1 (๐ถ๐‘œ๐‘ข๐‘™๐‘œ๐‘š๐‘)

๐‘‡๐‘„2 (๐ถ๐‘œ๐‘ข๐‘™)๐‘๐‘ก(2)

๐‘‡๐‘„2 ๐‘๐‘’๐‘ก ๐น๐‘Ÿ๐‘–๐‘๐‘ก๐‘–๐‘œ๐‘›(๐‘‰+๐ถ)

๐‘‡๐‘„1 ๐‘๐‘’๐‘ก ๐น๐‘Ÿ๐‘–๐‘๐‘ก๐‘–๐‘œ๐‘›(๐‘‰+๐ถ)

๐‘ธ๐‘ด๐’–๐’…โˆ’๐‘ท๐’–๐’Ž๐’‘๐’”

๐‘ƒ๐ท๐‘€ ๐‘…๐‘œ๐‘ก๐‘œ๐‘Ÿ

โˆ†๐‘ท๐‘ด๐’๐’•๐’๐’“

๐œƒ๐‘†๐‘ก๐‘Ž๐‘ก๐‘œ๐‘Ÿ (๐‘ก)

๐‘ท๐‘ซ๐‘ด ๐‘บ๐’•๐’‚๐’•๐’๐’“

๐‘˜๐‘ก(3)

๐‘๐‘ก(3)

๐‘‡๐‘„3 ๐‘๐‘’๐‘ก ๐น๐‘Ÿ๐‘–๐‘๐‘ก๐‘–๐‘œ๐‘›(๐‘‰+๐ถ)

๐‘‡๐‘„3 (๐ถ๐‘œ๐‘ข๐‘™)

๐Ž๐‘น๐’๐’•๐’๐’“ ๐’˜.๐’“.๐’• ๐‘บ๐’•๐’‚๐’•๐’๐’“

๐Ž๐’Ž๐’๐’•๐’๐’“_๐‘ถ๐’–๐’•๐’‘๐’–๐’•

๐‘‡๐‘„๐ท๐‘œ๐‘ค๐‘›โ„Ž๐‘œ๐‘™๐‘’

๐Ž๐‘บ๐’•๐’‚๐’•๐’๐’“

๐œƒ๐‘…๐‘œ๐‘ก๐‘œ๐‘Ÿ (๐‘ก)

Assumptions for Mud-motor integrated model:

โ€ข ๐Ž๐’Ž๐’๐’•๐’๐’“_๐‘ถ๐’–๐’•๐’‘๐’–๐’• = ๐Ž๐‘บ๐’•๐’‚๐’•๐’๐’“+ ๐Ž๐‘น๐’๐’•๐’๐’“ ๐’˜.๐’“.๐’• ๐‘บ๐’•๐’‚๐’•๐’๐’“ Also, ๐‘ฝ๐‘จ๐’™๐’Š๐’‚๐’ ๐‘น๐’๐’•๐’๐’“ = ๐‘ฝ๐‘จ๐’™๐’Š๐’‚๐’ ๐‘บ๐’•๐’‚๐’•๐’๐’“โ€ข Fluid Compressibility effects is not accounted in the model yet

Drill-string Dynamics Simulator Features - Verified & Validated

โ€ข Number of Drill-string Elements (Segregation into Drill-pipes, HWDP, Collars & Downhole Mud-motor Elements)

โ€ข Flexibility to choose different Topdrive ROP & RPM Input function (Constant, Ramp or Step)

โ€ข Rock-strength (Numerically Stable solution for as high as 60000 Psi Rock Strength)

โ€ข Number of Bit-blades (Symmetrical or Asymmetrical Blade positioning)

โ€ข Drill-pipe, HWDP, Collar & Bit/Hole size elements flexibility

โ€ข Tripping In/Out of hole, Drilling & Back-reaming operations

โ€ข Torque & Drag sensitivity testing using Side-forces (Well-path inclination dependent)

โ€ข Tracking of Drilling Vs Tripping phase (Hole-depth Vs Bit Depth Position Tracker)

โ€ข Independent Rotary & Axial Motion (SO/PU operations)

โ€ข Pipe ID/OD & Tool joint accounting

โ€ข Inclusion & Exclusion capability of Noise effects while Drilling

โ€ข Selection flexibility for Open & Cased Hole Friction Factor

โ€ข Stribeck Friction effect (Accounting of Exponential Non-linear Static to Dynamic Coulomb Friction Transition)

โ€ข Net frictional force accounting for borehole friction (Coulomb + Viscous)

โ€ข Well-bore inclination Angle (Well trajectory)

โ€ข Mud-Pumps Flow Rate (to feed Mud-motor input RPM)

โ€ข Slide & Rotate mode of drilling with Mud-motor (Flexibility of placing Mud-motor at different positions in BHA)

โ€ข Pipe Rocking phenomenon in Slide mode of drilling with Mud-motor

โ€ข Motor Back-off Event testing capability in Slide Mode (with drilled depths having interbedded formations)

โ€ข Low Friction Stabilizer & Lubrication trials testing capability