event_haz_calc: The subroutine function for hazard curve calculation at a...

event_haz_calcR Documentation

The subroutine function for hazard curve calculation at a site from a given event

Description

This is a subroutine function to calculate the hazard curve (annual exceedance rate curve) at a site from a given event

Usage

event_haz_calc(Mag, AORate, Fault_type, region, periods, IM_mat, Rjb, Vs30, z1)

Arguments

Mag

The magnitude of the event

AORate

The annual occurrence rate of the event

Fault_type

An indicator for fault type : 0 for unspecified fault; 1 for strike-slip fault; 2 for normal fault; 3 for reverse fault.

region

An indicator for region: 0 for global (incl. Taiwan); 1 for California; 2 for Japan; 3 for China or Turkey; 4 for Italy.

periods

An interest period or period arrays (0 for PGA, -1 for PGV)

IM_mat

A vector or a matrix that specifies the IM exceedance levels for hazard curve calculation. If periods length is 1, then IM_mat is a vector; otherwise, IM_mat is a matrix with row number equals to periods length. Each row in IM_mat is the specified IM exceedance levels for each of IM in periods.

Rjb

The Rjb distance from the event to the interest site

Vs30

Shear wave velocity averaged over top 30 m (in m/s). A numeric value.

z1

Basin depth (km): depth from the ground surface to the 1km/s shear-wave horizon. -999 if unknown. A numeric value.

Value

A hazard curve matrix at the given IM levels for the event


wltcwpf/RPSHA documentation built on July 6, 2023, 1:02 a.m.