PSHA Tool

Probabilistic Seismic Hazard Analysis | by Albert Pamonag
psha.apeconsultancy.net

Modules

ModuleDescription
DeclusteringRemove aftershocks using Gardner-Knopoff windows
Completeness AnalysisMagnitude-time density with completeness thresholds
Gutenberg-RichterRecurrence parameter estimation (a, b-value) via MLE
UHS GeneratorInterpolate Sa from OpenQuake hazard curves
DSHADeterministic Seismic Hazard Analysis
Deaggregation3D magnitude-distance-epsilon contribution
Response SpectrumSmoothed design spectrum + BSDS Level I
Return PeriodPOE / lambda / MRP conversions
Spectra PlotterOverlay and envelope multiple spectra

Quick Start

  1. Upload earthquake catalog in Declustering
  2. Run Completeness and Gutenberg-Richter
  3. Upload OpenQuake outputs in UHS Generator and Deaggregation
  4. Generate design spectra in Response Spectrum
  5. Check the QAQC Log for audit trail

Declustering - Gardner-Knopoff Method

Remove aftershocks from earthquake catalog. Compare original vs declustered side-by-side.

Upload earthquake catalog CSV (time, latitude, longitude, depth, mag)

Completeness Analysis

Magnitude-time density analysis by depth class with completeness step curves.

Upload declustered catalog CSV (time, mag, depth)

Gutenberg-Richter Recurrence

Estimate a-value and b-value using Maximum Likelihood Estimation.

Upload declustered catalog CSV

Uniform Hazard Spectrum (UHS) Generator

Interpolate spectral accelerations from OpenQuake hazard curve CSVs.

Upload hazard curve CSVs (multiple files)

Deterministic Seismic Hazard Analysis (DSHA)

Calculate ground motion for maximum magnitude from fault sources.

Upload fault source CSV (fault_name, max_magnitude, distance_km)

Deaggregation Explorer

3D magnitude-distance-epsilon contribution from OpenQuake output.

Upload OpenQuake deaggregation CSV

Response Spectrum - Smoothed Design

Generate smoothed spectrum and compare with BSDS Level I.

Return Period Calculator

Convert between POE, Annual Exceedance Rate, and Mean Return Period.

Common Return Periods

ScenarioLambdaMRP (yr)
10% in 50 yr0.002107475
2% in 50 yr0.0004042475
5% in 50 yr0.001026975
10% in 75 yr0.001405712
2% in 75 yr0.0002703712
50% in 30 yr0.02310543

Spectra Plotter - Overlay / Envelope

Upload spectra CSV files (multiple)

Change Log

PSHA Tool by Albert Pamonag

v1.1.0 (2026-03-29)

v1.0.0 (2026-03-29) - Initial Release

Planned