Skip to content
Back to skills

Drilling Hydraulics

ASecurity

Sub-skill of drilling: Drilling Hydraulics (+5).

  • 17 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 9, 2026
securitypythongo

Security analysis

A100/100

Scanned September 9, 2026

npx -y skills add vamseeachanta/workspace-hub --skill drilling-hydraulics --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Drilling Hydraulics?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Drilling Hydraulics
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vamseeachanta-drilling-hydraulics/badge)](https://www.skillsdirectory.com/skills/vamseeachanta-drilling-hydraulics)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: drilling-drilling-hydraulics
description: 'Sub-skill of drilling: Drilling Hydraulics (+5).'
version: 1.0.0
category: engineering
type: reference
scripts_exempt: true
---

# Drilling Hydraulics (+5)

## Drilling Hydraulics


```python
# Equivalent Circulating Density (ECD)
ECD = MW + (delta_P_annular / (0.052 * TVD))

# Pressure Loss in Annulus
delta_P = (L * rho * v**2) / (25.8 * (Dh - Dp))

# Bit Hydraulics
HHP = (Q * delta_P_bit) / 1714
HSI = HHP / area_bit
```

## Rate of Penetration


```python
# Bourgoyne-Young Model
ROP = K * exp(a1 + sum(ai * xi))

# Mechanical Specific Energy
MSE = (WOB / area_bit) + (2 * pi * RPM * T) / (60 * area_bit * ROP)
```

## Torque and Drag (Soft String Model)


```python
T = T0 + mu * N * L   # Torque
F = F0 + mu * N * L   # Drag (+ for pulling, - for slack off)
# N is normal force, mu is friction factor
```

## Well Control


```python
# Kill Mud Weight
KMW = original_MW + (SIDPP / (0.052 * TVD))

# Maximum Allowable Annular Surface Pressure
MAASP = (fracture_gradient - MW) * 0.052 * shoe_TVD

# Kick Tolerance
KT = (FG - MW_current) * shoe_TVD / depth_total
```

## Example: ECD Calculation


```python
def calculate_ecd(
    mud_weight_ppg: float,
    annular_pressure_loss_psi: float,
    tvd_ft: float
) -> float:
    """
    Calculate Equivalent Circulating Density.

    Args:

*See sub-skills for full details.*

## Example: Parameter Validation


```python
def validate_drilling_parameters(params: dict) -> None:
    """Validate drilling parameters are within safe ranges."""
    if params['mud_weight'] < params['pore_pressure']:
        raise ValueError("Mud weight below pore pressure — kick risk!")
    if params['mud_weight'] > params['fracture_gradient']:
        raise ValueError("Mud weight above fracture gradient — losses risk!")
    if params['wob'] > params['bit_rating']:
        raise ValueError("WOB exceeds bit rating")
```

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.