Wellbore Genius
Home

Physics Validation Suite

Runs 4 reference scenarios through the well solver and compares each metric against an expected value within an explicit tolerance.

All reference scenarios pass within tolerance.
4/4 scenarios • 12/12 metric checks
Batch run from CSV

CSV must include columns: depthFt, fluidDensityPpg, surfaceTempF, geothermalGradientFperKft, surfacePressurePsi, depletionPsi. Optional columns: label, youngsModulusPsi, poissonRatio, toughnessPsiSqrtIn, sigmaMinPsi, payZoneHeightFt. Each row is run through the well solver and merged with its outputs in the downloaded results.

Upload a CSV or click Run sample to see how the batch runner formats its results and statistics.
Uncertainty analysis (Monte Carlo)

Specify a range and distribution for each input. Each Monte Carlo draw is run through the well solver; the panel reports P5/P10/P50/P90/P95 confidence intervals and histograms for hydrostatic pressure, bottomhole temperature, and bottomhole pressure.

ParameterMeanMinMaxDistribution
Depth (ft)
Fluid density (ppg)
Surface temperature (°F)
Geothermal gradient (°F/kft)
Surface pressure (psi)
Depletion (psi)
Adjust ranges above and click Run to sample.
Optimization wizard

Searches the input ranges with Latin Hypercube or Sobol' low-discrepancy samples, scoring each draw against your objectives. Lower score = better. The convergence plot tracks the best score found so far; the table lists the top candidate parameter sets.

Objectives
OutputModeTarget± ToleranceWeight
psipsi
Output constraints (hard min/max)

No hard constraints. Add one to discard candidates whose output falls outside a required range (e.g. BHP must stay below frac pressure).

Parameter ranges (6 6 varied, 0 locked)
LockParameterMean (locked value)MinMax
Depth (ft)
Fluid density (ppg)
Surface temperature (°F)
Geothermal gradient (°F/kft)
Surface pressure (psi)
Depletion (psi)

Locked parameters are pinned to their mean during optimization; only unlocked parameters are sampled within their min/max range.

Configure objectives and click Run search to begin.
Baseline 12k completion(baseline-12k)
PASS
Depth: 12000 ft
Fluid density: 11.5 ppg
Surface T: 70 °F
Geo gradient: 1.5 °F/kft
Surface P: 500 psi
Depletion: 0 psi
MetricActualExpectedΔToleranceStatus
Hydrostatic pressure (psi)7176.007176.00+0.00±0.10 pass
Bottomhole temperature (°F)88.0088.00+0.00±0.10 pass
Bottomhole pressure (psi)7676.007676.00+0.00±0.10 pass
Deep HP well(deep-hp-18k)
PASS
Depth: 18000 ft
Fluid density: 14.2 ppg
Surface T: 85 °F
Geo gradient: 1.9 °F/kft
Surface P: 2200 psi
Depletion: 0 psi
MetricActualExpectedΔToleranceStatus
Hydrostatic pressure (psi)13291.2013291.20-0.00±0.50 pass
Bottomhole temperature (°F)119.20119.20+0.00±0.10 pass
Bottomhole pressure (psi)15491.2015491.20-0.00±0.50 pass
Heavy-mud intermediate well(heavy-mud-15k)
PASS
Depth: 15000 ft
Fluid density: 16 ppg
Surface T: 55 °F
Geo gradient: 1.2 °F/kft
Surface P: 900 psi
Depletion: 0 psi
MetricActualExpectedΔToleranceStatus
Hydrostatic pressure (psi)12480.0012480.00+0.00±0.50 pass
Bottomhole temperature (°F)73.0073.00+0.00±0.10 pass
Bottomhole pressure (psi)13380.0013380.00+0.00±0.50 pass
Hot extended-reach well(hot-extended-21k)
PASS
Depth: 21000 ft
Fluid density: 9.8 ppg
Surface T: 95 °F
Geo gradient: 2.1 °F/kft
Surface P: 1500 psi
Depletion: 0 psi
MetricActualExpectedΔToleranceStatus
Hydrostatic pressure (psi)10701.6010701.60+0.00±0.50 pass
Bottomhole temperature (°F)139.10139.10+0.00±0.10 pass
Bottomhole pressure (psi)12201.6012201.60+0.00±0.50 pass
Detailed validation results
Per-case, per-metric breakdown with observed (reference) vs predicted (solver), signed Δ, signed log10 Δ, and the explicit pass/fail reason. Per-scenario RMS aggregates appear in each footer row.
Baseline 12k completion(baseline-12k)
PASS
MetricObservedPredictedSigned Δ|Δ|Rel %log10 ΔTolStatusReason
Hydrostatic pressure [psi]7176.007176.00+0.000.00+0.000+0.0000±0.10 passWithin tolerance (|Δ|=0.00e+0 ≤ 0.1)
Bottomhole temperature [°F]88.0088.00+0.000.00+0.000+0.0000±0.10 passWithin tolerance (|Δ|=0.00e+0 ≤ 0.1)
Bottomhole pressure [psi]7676.007676.00+0.000.00+0.000+0.0000±0.10 passWithin tolerance (|Δ|=0.00e+0 ≤ 0.1)
Scenario aggregateRMS Δ 0.0000RMS log10 Δ 0.0000
Deep HP well(deep-hp-18k)
PASS
MetricObservedPredictedSigned Δ|Δ|Rel %log10 ΔTolStatusReason
Hydrostatic pressure [psi]13291.2013291.20-0.000.00-0.000+0.0000±0.50 passWithin tolerance (|Δ|=1.82e-12 ≤ 0.5)
Bottomhole temperature [°F]119.20119.20+0.000.00+0.000+0.0000±0.10 passWithin tolerance (|Δ|=0.00e+0 ≤ 0.1)
Bottomhole pressure [psi]15491.2015491.20-0.000.00-0.000+0.0000±0.50 passWithin tolerance (|Δ|=1.82e-12 ≤ 0.5)
Scenario aggregateRMS Δ 0.0000RMS log10 Δ 0.0000
Heavy-mud intermediate well(heavy-mud-15k)
PASS
MetricObservedPredictedSigned Δ|Δ|Rel %log10 ΔTolStatusReason
Hydrostatic pressure [psi]12480.0012480.00+0.000.00+0.000+0.0000±0.50 passWithin tolerance (|Δ|=0.00e+0 ≤ 0.5)
Bottomhole temperature [°F]73.0073.00+0.000.00+0.000+0.0000±0.10 passWithin tolerance (|Δ|=0.00e+0 ≤ 0.1)
Bottomhole pressure [psi]13380.0013380.00+0.000.00+0.000+0.0000±0.50 passWithin tolerance (|Δ|=0.00e+0 ≤ 0.5)
Scenario aggregateRMS Δ 0.0000RMS log10 Δ 0.0000
Hot extended-reach well(hot-extended-21k)
PASS
MetricObservedPredictedSigned Δ|Δ|Rel %log10 ΔTolStatusReason
Hydrostatic pressure [psi]10701.6010701.60+0.000.00+0.000+0.0000±0.50 passWithin tolerance (|Δ|=0.00e+0 ≤ 0.5)
Bottomhole temperature [°F]139.10139.10+0.000.00+0.000+0.0000±0.10 passWithin tolerance (|Δ|=0.00e+0 ≤ 0.1)
Bottomhole pressure [psi]12201.6012201.60+0.000.00+0.000+0.0000±0.50 passWithin tolerance (|Δ|=0.00e+0 ≤ 0.5)
Scenario aggregateRMS Δ 0.0000RMS log10 Δ 0.0000

Reference scenarios live in src/lib/calibrationScenarioRunner.ts. The same suite runs headlessly via scripts/testCalibrationScenarioRunner.mjs.