Debris reach and street closure¶
quakecascade.debris carries building damage onto the street network. It answers three questions
in order: which buildings can drop debris on which roads, how likely each road is to receive
debris, and, for one collapse realisation, which roads no longer let a vehicle through. Every
distance is in metres. When a GeoDataFrame or GeoSeries carries a CRS it must be a projected
metric CRS (crs.require_metric), and buildings, roads and debris must share it: inputs in
different CRSs raise CRSError instead of being measured against each other. Plain Shapely
arrays carry no CRS, so their unit is the caller's.
Reach: a bound without a coefficient¶
Debris cannot land farther from the footprint than the building is tall. With distance \(d\) from footprint to road centreline, carriageway width \(w\) and building height \(H\), building \(i\) reaches road \(r\) when
Without widths (\(w = 0\)) the distance is measured to the geometry itself (centreline, or a road
polygon edge). reach_pairs runs one vectorised STRtree dwithin query and returns one row per
pair with distance_m (to the centreline) and clearance_m (to the carriageway edge). A corner
building appears once for each road it reaches, so pair counts are not building counts.
A building without a finite positive height is not dropped, because a road beside it would then
read as free of debris. It is paired, with height_m NaN, with every road within
unknown_height_reach_m, a reach you state as soon as one such building exists. There is no
default taken from the data, because one implausible height in an inventory would then set the
reach of every building without one. The bound is stored in
pairs.attrs["unknown_height_reach_m"], and such buildings are counted in
pairs.attrs["buildings_without_height"].
Debris pressure¶
For road \(r\) with reaching buildings \(B_r\) and complete-damage probabilities \(p_i\) (Hazus complete state):
\(P_r\) (p_any_collapse) treats collapses as independent and every reaching collapse as landing
on the carriageway, so it is an upper bound on the probability that debris reaches the road. It
saturates on dense streets with many reaching buildings; \(D_r\) (expected_per_100m, expected
collapses per 100 m of road) keeps a usable ranking for clearance priority. Neither is a closure
forecast.
debris_status |
Meaning | Values |
|---|---|---|
computed |
every reaching building has a probability | computed |
partial |
some reaching buildings lack one, or a building of unknown height may also reach the road | computed from the known ones: lower bounds of the full-information value |
no_damage |
no reaching building has one | NaN |
no_height |
only buildings of unknown height may reach the road | NaN |
empty |
no building reaches the road | 0, a true zero |
A possible reacher of unknown height whose complete-damage probability is exactly 0 adds no
uncertainty and is not counted; reaching_without_height counts the others.
Debris extent¶
Ported from the PlanX seismic engine with the arithmetic unchanged:
with footprint area \(A\) (m²) and released-material fraction \(f \in [0, 1]\). The radius scales
linearly with \(f\), which over-states rather than under-states a pile in a screening model. The
mass multiplies the solid volume, so \(\gamma\) is the density of the void-free material. A
rubble bulk density, which already includes the voids, belongs with the pile volume
(\(M = \gamma_{bulk} V_p\)); used as \(\gamma\) it understates the mass by the factor \(1 - e\).
material_factor(states, factors) maps damage states to \(f\) from a table the caller supplies.
| Parameter | Symbol | Unit | Default | Range and source |
|---|---|---|---|---|
debris_factor / k |
\(k\) | – | required | about 0.15–0.67: 0.15–0.5 falling with height, simulated envelope 0.57 (Wang et al., 2020); 1/2–2/3 of height in GB/T 51327 (as reported by Zheng et al., 2025) |
solid_volume_ratio |
\(\rho_s\) | – | required | no verified source (PlanX screening value 0.3) |
void_ratio |
\(e\) | – | required | no verified source; rubble piles are commonly described at 0.3–0.5 |
density_t_m3 |
\(\gamma\) | t/m³ | required | density of the solid, void-free material; no verified source (PlanX screening value 1.8) |
factors (material fraction per state) |
\(f\) | – | required | no calibrated values; PlanX used the ordering 0 / 0 / 0.10 / 0.35 / 1.0 |
closed_share |
\(s^*\) | – | required | no verified source; the IP3 screening study used 0.50 |
clear_width_m |
\(w_c\) | m | required | local operational choice (vehicle width plus margin) |
| road class widths | \(w\) | m | required mapping | local design standards; no table ships with the package |
Goretti and Sarli (2006) give a probabilistic road-blockage framework, not a \(k\)-times-height rule, and are not the source of \(k\).
Corridor blockage¶
debris_envelope grows each collapsed footprint by \(r_i\) (square caps, mitred joins with limit 2,
as in the PlanX tool). corridor_blockage buffers each centreline by \(w_r/2\) (round caps) into a
corridor \(C_r\) and measures
Overlapping piles are unioned per road, so shared ground is counted once. A road with zero width
has no corridor: blockage_status = "no_width" and a NaN share. A collapsed building without a
usable height has no pile of known size. unknown_height_envelope grows its footprint by
\(k\,H_u\,f\), with \(H_u\) the same unknown_height_reach_m bound. Areas passed as uncertain
(for example the envelopes of buildings whose damage state could not be computed) count the
same way. A corridor such debris touches reads partial when known debris already covers part
of it (the share is a lower bound, and closed reflects the known debris only). When no known
debris covers it, the share is NaN, with no_height or no_damage, as in debris_pressure.
Navigable core¶
A blocked share does not say whether a vehicle still passes. navigable_core applies a
morphological opening: erode the open corridor by \(w_c/2\) and regrow it by the same amount, so
every part narrower than \(w_c\) disappears, including the thin sliver left beside a pile. The
opening runs at \(w_c/2\) minus a 1 mm geometric tolerance (width_tolerance_m), so that a space
exactly as wide as the vehicle does not collapse to a line. navigable_roads does this per road
on \(C_r \setminus \bigcup_i D_i\) and marks a road passable when one connected part of the core
touches both centreline end points. With round-capped corridors an undisturbed road is passable
exactly when \(w_r \ge w_c\). Narrower roads get navigable_status = "narrower_than_clear_width"
(zero-width ones no_width), so a closure that the debris did not cause is visible as such. A
road touched by the uncertain areas (debris of unknown extent) reads partial, and its
passable is then an upper bound.
closed_road_ids(frame) returns the road_id of roads closed by debris: closed in a
blockage frame, or not passable with status computed or partial in a navigable frame.
impassable_road_ids(frame) returns the roads a vehicle of width \(w_c\) could not use even
before the event. A before/after comparison has to drop those from both networks, as
cascade.run does; otherwise they would count as event closures. Ids are the caller's id column
or array, else the row order, and are meant for RoadNetwork.without(edge_ids).
Applicability¶
- The reach bound is physical; the spread factor \(k\) that sharpens it is not calibrated for any building stock. Run the closure steps for a bracket of \(k\) values.
- Per-road corridors ignore junction geometry; a pile at a junction counts on each road it covers.
- Closure is evaluated for one collapse realisation. Repeat over sampled realisations (e.g. from correlated damage samples) for closure frequencies.
Example¶
import numpy as np
from shapely.geometry import LineString, box
from quakecascade import debris
buildings = [box(0, 8, 10, 18), box(0, 12, 10, 22), box(40, 6, 50, 16)]
heights = np.array([10.0, 10.0, 10.0])
roads = [LineString([(-50, 0), (100, 0)])]
pairs = debris.reach_pairs(buildings, heights, roads) # buildings 0 and 2 reach
pressure = debris.debris_pressure([0.2, 0.1, 0.5], pairs, road_length_m=[150.0])
print(pressure[["p_any_collapse", "expected_per_100m", "debris_status"]])
# p_any_collapse = 1 - 0.8 * 0.5 = 0.6
collapsed = np.array([False, False, True])
blockage = debris.corridor_blockage(buildings, roads, collapsed, heights_m=heights, k=0.5,
closed_share=0.5, road_widths_m=10.0)
piles = debris.debris_envelope(buildings, collapsed, heights, k=0.5)
passable = debris.navigable_roads(roads, piles, road_widths_m=10.0, clear_width_m=3.0)
print(blockage[["blocked_share", "closed"]], passable[["passable"]])
print(debris.closed_road_ids(passable)) # [] : 6 m stays clear beside the pile
References¶
- FEMA (2024). Hazus Earthquake Model Technical Manual, Hazus 6.1. Federal Emergency Management Agency, Washington, DC.
- Goretti, A., & Sarli, V. (2006). Road network and damaged buildings in urban areas: short and long-term interaction. Bulletin of Earthquake Engineering, 4(2), 159–175. doi:10.1007/s10518-006-9004-3
- Wang, W., Zhang, N., Wang, L., Wang, Z., & Ma, D. (2020). A study of influence distance and road safety avoidance distance from postearthquake building debris accumulation. Advances in Civil Engineering, 2020, 7034517. doi:10.1155/2020/7034517
- Zheng, X., Hou, Y., Cheng, J., Xu, S., & Wang, W. (2025). Rapid damage assessment and Bayesian-based debris prediction for building clusters against earthquakes. Buildings, 15(9),
- doi:10.3390/buildings15091481