lifelines¶
Buried pipeline repairs from PGV.
quakecascade.lifelines
¶
Buried pipeline damage from peak ground velocity (Hazus wave-propagation model).
Repair rate for brittle pipe from seismic wave propagation (Hazus 6.1 Earthquake Model Technical Manual, FEMA 2024, pipeline damage algorithms, after O'Rourke & Ayala, 1993):
Ductile pipe takes 0.3 times the brittle rate. Hazus splits wave-propagation repairs into 80 % leaks and 20 % breaks. Pipe of unknown material is never scored as zero and never guessed: its repairs are reported as a range from "all ductile" (low) to "all brittle" (high).
Ground-failure (permanent ground deformation) damage is not modelled here: it needs PGD, which a ground-motion scenario does not provide.
RR_COEFFICIENT
module-attribute
¶
Brittle-pipe repair-rate coefficient (repairs/km per (cm/s)^2.25). Hazus 6.1 Earthquake Model Technical Manual (FEMA 2024), potable-water pipeline damage algorithms (wave propagation), after O'Rourke & Ayala (1993).
HAZUS_DUCTILE_FACTOR
module-attribute
¶
Ductile-pipe multiplier on the brittle repair rate; same source.
HAZUS_PGV_LEAK_SHARE
module-attribute
¶
Share of wave-propagation (PGV) repairs that are leaks; the rest are breaks. Hazus 6.1 Earthquake Model Technical Manual (FEMA 2024), pipeline damage states (wave propagation: 80 % leaks / 20 % breaks; ground failure: 20 % / 80 %).
MATERIAL_CLASSES
module-attribute
¶
Pipe material classes accepted in the material column.
pipeline_repair_rate
¶
Hazus wave-propagation repair rate for brittle pipe, repairs per km.
RR = 0.0001 * PGV**2.25 with PGV in cm/s (Hazus 6.1 Earthquake Model
Technical Manual, FEMA 2024, after O'Rourke & Ayala, 1993,
doi:10.1061/(ASCE)0733-9410(1993)119:9(1490)). Multiply by
HAZUS_DUCTILE_FACTOR for ductile pipe. NaN stays NaN; negative
PGV raises.
material_class
¶
Map material codes to ductile / brittle / unknown.
The code lists are the caller's (inventories use local codes). Matching
is case- and whitespace-insensitive; anything in neither list, including
missing values, is unknown. Hazus lists ductile iron, steel and PVC
as ductile and cast iron, asbestos cement and concrete as brittle; any
other material (polyethylene, for example) is the caller's call.
length_by_class
¶
Pivot segment lengths into ductile / brittle / unknown km columns.
by groups the segments (e.g. a grid-cell id); without it one row is
returned. A segment without a usable length (NaN, infinite or negative)
cannot be scored and is never counted as 0 km: it is left out of the km
columns and counted in segments_without_length, which
repairs turns into a partial (or no_length) status. A
segment whose by key is missing belongs to no group; such segments
are dropped and counted in attrs["segments_without_group"].
repairs
¶
repairs(
length_km,
pgv_cms,
ductile_factor=HAZUS_DUCTILE_FACTOR,
leak_share=HAZUS_PGV_LEAK_SHARE,
)
Expected pipe repairs per unit (e.g. grid cell) with an unknown-material range.
with brittle repair rate \(RR\) (pipeline_repair_rate),
lengths \(L_b, L_d, L_u\) (km) of brittle, ductile and unknown pipe
and ductile factor \(f_d\).
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
length_km
|
mapping or DataFrame
|
|
required |
pgv_cms
|
scalar or array - like
|
PGV (cm/s) per unit, broadcast against the lengths. NaN -> |
required |
ductile_factor
|
float
|
Ductile multiplier, default 0.3 (Hazus 6.1 Earthquake Model Technical Manual, FEMA 2024, pipeline damage algorithms). |
HAZUS_DUCTILE_FACTOR
|
leak_share
|
float
|
Leak share of PGV repairs, default 0.8 (Hazus: wave propagation gives 80 % leaks, 20 % breaks). |
HAZUS_PGV_LEAK_SHARE
|
Returns:
| Type | Description |
|---|---|
DataFrame
|
|