The total stresses at the fault depth are the gradients times the depth: the vertical stress Sv, and SHmax and Shmin in the horizontal plane, SHmax at its azimuth east of north. The effective stress is the total stress minus the pore pressure (Biot coefficient 1). Each fault plane's normal comes from its strike and dip (dip to the right of the strike); the traction on it gives the effective normal stress σn′ and the shear stress τ.
Slip tendency is τ/σn′ (Morris, Ferrill and Henderson 1996), dilation tendency (σ1 − σn)/(σ1 − σ3) (Ferrill et al. 1999). The Coulomb failure stress is τ − μσn′ − c; a pore-pressure rise ΔP on the fault raises it by μΔP. The pressure rise to slip is σn′ − (τ − c)/μ, or σn′ if the fault would open first. The Monte Carlo draws 500 members: each stress and the pore pressure scaled by a normal factor, the SHmax azimuth shifted, and each fault's friction drawn, from the spreads you give.
It assumes a uniform stress field and flat fault planes, and that only the pore pressure on the fault changes. It leaves out the stress changes injection and cooling cause in the rock around the well (poroelastic and thermal), rate-and-state friction, and earthquake magnitudes; so a pressure drop (depletion) never destabilises a fault here, though it can in reality. Everything runs in the browser.
By KAI Water & Energy (Kampala, Uganda). Reviewed 28 November 2026. A first look for planning: a hydrogeologist confirms every drilling decision.