Calculating Torque & Drag¶
- torque_drag.calc(trajectory, dimensions, densities=None, case='all', fric=None, wob=0, tbit=0, torque_calc=False)[source]¶
Function to generate the torque and drag profiles. Model Source: SPE-11380-PA
- Parameters
trajectory – a trajectory object from well_profile library
dimensions – dict for dimensions {‘pipe’: {‘od’, ‘id’, ‘length’, ‘shoe’}, ‘odAnn’}
densities – dict for densities {‘rhof’: 1.3, ‘rhod’: 7.8}
case – “lowering”, “static”, “hoisting” or “all”
fric – num or list. sliding friction coefficient between DP-wellbore. default: 0.24
tbit – torque on bit, kN*m
wob – weight on bit, kN
torque_calc – boolean, include torque calculation
- Returns
object with drag force and torque in kN and kN*m
>>> import well_profile
>>> import torque_drag
>>> well = well_profile.load('trajectory1.xlsx')
>>> dimensions = {'od_pipe': 4.5, 'id_pipe': 4, 'length_pipe': 2200, 'od_annular': 5}
>>> result = torque_drag.calc(well, dimensions, case='all', torque_calc=True, wob=50, tbit=50)
>>> result.plot(plot_case='Force').show()
>>> result.plot(plot_case='Torque').show()
Drag Force¶
>>> print(result.force['lowering']))
[372.2971700118521, 368.13599093625027, 363.97481186064846, ...]
>>> print(result.force['static']))
[422.85963348870627, 418.69845441310446, 414.53727533750265, ...]
>>> print(result.force['hoisting']))
[486.97807188086904, 482.81689280526723, 478.6557137296654, ...]
Torque¶
>>> print(result.torque['lowering']))
[52.88965056700336, 52.88965056700336, 52.88965056700336, ...]
>>> print(result.torque['static']))
[53.24879605055506, 53.24879605055506, 53.24879605055506, ...]
>>> print(result.torque['hoisting']))
[53.66437608286427, 53.66437608286427, 53.66437608286427, ...]

