Methods & Validation
This page documents every formula, assumption, and constant used by the simulator. Equations are first-order engineering approximations intended for pre-job screening. Validate against lab burn data and site-specific tests before field deployment.
1. Hydrostatic pressure
Standard oilfield formula relating mud weight (in pounds per gallon) and true vertical depth to the column's hydrostatic head.
- = unit-conversion constant (psi·gal·ft⁻¹·lb⁻¹).
- in ppg, in ft, output in psi.
- Bottomhole pressure: .
2. Bottomhole temperature
Linear geothermal gradient applied from the surface temperature.
Where is in °F per 1000 ft. Assumes steady-state thermal equilibrium — circulating temperature during the job will be lower; use a circulating-temperature correction for live runs.
3. Composite formulation properties
Mass-fraction weighted averages over normalized component fractions .
4. Ignition safety margin
⇒ status = unsafe (premature auto-ignition risk). raises a low-margin warning.
5. Thermal derating
Above the binder onset temperature, performance drops linearly until capped at 60% loss.
6. Confinement boost
Logarithmic gain with bottomhole pressure scaled by the formulation's weighted pressure sensitivity, capped at 35%.
The log saturation reflects diminishing returns as fractures pack-off and gas-phase compression dominates beyond ~20 kpsi.
7. Effective performance score
Status thresholds: optimal if and ≤ 2 warnings; acceptable if ; marginal if or ≥ 3 warnings.
8. Component constants & provenance
Each constant below is a literature-anchored approximation. Use the calibration upload to fit your own lab data and override these defaults.
| Component | Role | ΔH (kJ/kg) | Gas (mol/kg) | Tauto (°C) | Tonset (°C) |
|---|---|---|---|---|---|
| Sodium Nitrate (NaNO₃) | oxidizer | 1,900 | 14 | 380 | 308 |
| Flour (organic fuel) | fuel | 16,500 | 38 | 410 | 180 |
| Epoxy Binder | binder | 31,000 | 22 | 450 | 220 |
| Black Powder | energetic | 3,000 | 11 | 300 | 250 |
| Aluminum Powder | fuel | 31,000 | 0 | 660 | 500 |
| Sulfur | fuel | 9,300 | 6 | 232 | 160 |
Reference sources include NIST WebBook (heats of formation), Akhavan "Chemistry of Explosives" 3rd ed. (gas yields, sensitivities), and standard SPE perforating handbooks. Constants should be re-fit per supplier lot — manufacturing variability of ±10% is typical.
9. Validation workflow
- Upload lab burn CSV (depth, BHT, BHP, measured performance %).
- Calibration routine fits per-component multipliers via least-squares against the model output.
- Residuals plotted as model − measured; report R² and RMSE per formulation family.
- Calibrated constants are versioned per team, with provenance (uploaded-by, dataset hash, fit date).