Wellbore Genius

Trace Fixture Verification

Trace rows captured verbatim from ResultsPanel via the shared buildResultsPanelTraces() helper · generated 5/24/2026, 2:18:59 PM · 7 per-field tolerances

Scenario:
7/7 traces matched
fixture: PASS
MATCH
hydrostatic

Hydrostatic — P_h = 0.052 · ρ · TVD

Static fluid column pressure at TVD using mud weight in ppg.

4784 psi
|Δ| = 0
tol rel=0.01, abs=1
P_h [psi] = 0.052 · ρ [ppg] · TVD [ft]
Inputs (rendered)
  • ρ (mud weight)11.50 ppg
  • TVD8,000 ft
  • constant0.052 psi/(ppg·ft)
Steps (rendered)
  • gradient = 0.052 · 11.50 = 0.5980 psi/ft
  • P_h = 0.5980 · 8,000 = 4784 psi
Recompute check: 0.052 · ρ · TVD → expected 4,784
MATCH
bhp

BHP — P_bh = P_surf + P_h − ΔP_friction

Bottomhole pressure: surface pressure plus hydrostatic minus circulating friction losses.

4784 psi
|Δ| = 0
tol rel=0.01, abs=1
P_bh = P_surf + P_h − ΔP_f
Inputs (rendered)
  • Hydrostatic P_h4784 psi
  • TVD8,000 ft
  • Mud weight11.50 ppg
Steps (rendered)
no intermediate steps
Recompute check: P_h + P_surf (P_surf=0) → expected 4,784
MATCH
bht

BHT — geothermal extrapolation

Bottomhole temperature from surface temperature plus geothermal gradient over TVD.

214 °F
|Δ| = 0
tol rel=0.005, abs=1
T_bh = T_surf + (g_T / 1000) · TVD
Inputs (rendered)
  • TVD8,000 ft
Steps (rendered)
no intermediate steps
Recompute check: solver-derived → expected 214
MATCH
gradient

Pressure gradient — dP/dz

Effective pressure gradient: BHP divided by TVD.

0.598 psi/ft
|Δ| = 0
tol rel=0.005, abs=0.001
dP/dz = P_bh / TVD
Inputs (rendered)
  • P_bh4784 psi
  • TVD8,000 ft
Steps (rendered)
  • 4784 / 8,000 = 0.5980 psi/ft
Recompute check: solver-derived → expected 0.598
MATCH
performance

Effective performance

Composite ballistic performance after depletion penalty and confinement boost.

104.6 %
|Δ| = 0
tol rel=0.005, abs=0.1
η_eff = η_base · (1 − depletion%) · (1 + confinement%)
Inputs (rendered)
  • Energy density6.28 MJ/kg
  • Gas yield21.20 mol/kg
  • Ignition margin279 °C
  • Depletion penalty0.0 %
  • Confinement boost4.6 %
Steps (rendered)
no intermediate steps
Recompute check: solver-derived → expected 104.6
MATCH
depth
secondary

True Vertical Depth (TVD)

Operator-supplied true vertical depth used as the reference column height for hydrostatic, BHP, BHT, and gradient calculations.

8,000 ft
|Δ| = 0.4
tol rel=0.000001, abs=1
TVD [ft] ⇄ TVD [m] = TVD [ft] · 0.3048
Inputs (rendered)
  • TVD (field)8,000 ft
  • TVD (SI)2438 m
Steps (rendered)
no intermediate steps
Recompute check: tvd_m = ft · 0.3048 → expected 2,438.4
MATCH
mudWeight
secondary

Mud weight (carrier density)

Carrier-fluid density driving the hydrostatic head and the slurry rheology baseline.

11.50 ppg
|Δ| = 0.0039
tol rel=0.000001, abs=1
ρ [kg/m³] = ρ [ppg] · 119.8264
Inputs (rendered)
  • ρ (field)11.50 ppg
  • ρ (SI)1378 kg/m³
Steps (rendered)
no intermediate steps
Recompute check: kg/m³ = ppg · 119.8264273 → expected 1,378.0039

Regenerate with bun run verify:trace-fixtures.