Well Engineering Calculations formula repository
Library of functions that solve a number of O&G scenarios. Simply add it to your projects as import wellengcalc as wec and call the functions as needed. Each function has the units needed to work internally.
I have done my best to validate each of these functions, and will continue throughout 2025 to reverify them. Where possible I have listed the source of each for your own review. There is no guarantee the functions are correct, so please do your due diligence when using these calculations.
If you find errors, please feel free to let me know!
Topics
- VELOCITY, RHEOLOGY, FRICTION EQUATIONS
- DELTA-PRESSURE EQUATIONS
- SETTLING AND TRANSPORT EQUATIONS
- ALPHA BETA PACKING
- GRAVEL PACK SLURRY EQUATIONS
- SANDOUT EQUATIONS
- FRACTURE MECHANICS EQUATIONS
- SURVEY EQUATIONS
- TUBULAR STRESS ANALYSIS EQUATIONS
- PRODUCTION EQUATIONS
- PVT CALCULATIONS
- OTHER EQUATIONS
- MATH FUNCTIONS & USEFUL CONVERSIONS