Skip to content
Initial
Python
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Annular_Velocity.py
Brine_density_temp_corr.py
CCI.py
Drill_Collar_Weight.py
HP_Pump_Output.py
eq_dia.py
pfit.py
pressure_drop_drill_string.py
pressure_to_break_gel_strength.py
readme.md

readme.md

##Simple Oil Drilling Calculations

Bunch of scripts (more to come, I hope) for calculations used in oil drilling. Calculations are, mostly, based on the book "Formulas and Calculations for Drilling, Production and Workover" by William C. Lyons Ph.D. P.E., Thomas Carter, Norton J. Lapeyrouse.

##Annular_Velocity.py

Calculates annular velocity of the fluid while pumping. Three main factors affecting annular velocity are size of hole (bigger ID), size of drill pipe (smaller OD) and pump rate. This post will show you how to calculate annular velocity in feet per minute with different formulas.

##Brine_density_temp-corr.py

Higher wellbore temperature will reduce the brine density more. The calculation demonstrates how to determine brine weight to mix on surface in order to get required brine density at a wellbore condition.

##CCI.py

Calculates Cutting Carrying Index, which indicates quality of hole cleaning.

##Drill_Collar_Weight.py

Drill collar provides weight to the bit for drilling and keep the drill string from buckling. Additionally, drill pipe should not run in compression because it can get seriously damaged.

##eq_dia.py

Calculates equivalent diameter of pipe string, based on length and diameter of composing runs. Can be useful, sometimes.

##pressure_drop_drill_string.py

Calculates pressure drop through Drill String.

##pressure_to_break_gel_strength.py

Calculates required pressure to break gel strength after mud being in static condition (loss of circulation).

##pfit.py

Calculates pressure required to perform Formation Integrity Test (FIT).

##HP_Pump_Output.py

Calculates output of Duplex or Triplex HP Mud Pump, for given Efficiency.

Units

All units are in *oilfield system - psi, feet, inch. Calculations can not be used in other unit system, without correction for units.

###NOTE

You are using these scripts on YOUR OWN RISK. Scripts are not replacement for simulations run by well control companies.

(c) D. Djokic, 2015

You can’t perform that action at this time.