Skip to content

Cascade parameters

cascade.CascadeParams holds the scenario and every choice the cascade makes. A field without a default has no citable default value and must be stated. A field defaulting to None belongs to an optional stage: when that stage runs and the field is still None, cascade.run raises TypeError instead of assuming a value. The manifest records every field.

Scenario

Field Type, unit Required Meaning Guidance
run_id str yes name stored in the manifest free text
magnitude float, Mw yes moment magnitude a fault model, a historical event, or groundmotion.wells_coppersmith_magnitude_from_length
mechanism "SS", "NS", "RS" yes style of faulting (ASB2014) strike-slip, normal, reverse
time_of_day "2am", "2pm", "5pm" yes Hazus casualty scenario time "2am": most people at home

Damage

Field Type, unit Required Meaning Guidance
design_levels sequence of "pre", "low", "moderate", "high" yes Hazus design levels at which damage is computed the levels that could apply to the stock
chain_level one of design_levels yes the level that drives debris, closure and everything after the most plausible level, then rerun at the others
default_height "L", "M", "H" or None when a building of a height-split type has no storey count Hazus height class assumed for it a stated choice; the buildings it applies to are flagged height_assumed
occupancy_rate float, default 1.0 no households per dwelling unit (Hazus Section 13) 1.0 is the neutral value, an upper bound on displaced households
shelter_alpha float, default 1.0 no Hazus Eq. 13-5 shelter modifier 1.0 is neutral: every displaced person seeks public shelter (upper bound)

Collapse draw, debris and closure

Field Type, unit Required Meaning Guidance
collapse_mode "independent", "between_event", "fully_correlated" yes correlation of the sampled collapse realisation "between_event" shares the between-event residual, the realistic middle case
collapse_seed int yes seed of that draw vary it, or use cascade.realisations
debris_k float yes debris spread factor: share of height thrown horizontally 0.15–0.67 in the literature (Wang et al. 2020; GB/T 51327); not calibrated, so bracket it
closed_share float in (0, 1] yes blocked share of a corridor at which the road closes no verified source (0.5 in earlier screening studies); bracket it
clear_width_m m yes clear width a vehicle needs (navigable-core test) the widest vehicle that must pass, plus a margin
closure_rule "blockage", "navigable", "either" yes which test closes roads "either": closed if either test fails
unknown_height_reach_m m or None when a building has no usable height reach assumed for such buildings a stated choice, e.g. the height of the tallest building that may lack one

Network and access

Field Type, unit Required Meaning Guidance
road_speeds_kmh mapping class → km/h yes free-flow speed per road class classes not listed are not routed (use this to drop footpaths)
max_snap_m m yes farthest a unit, facility or site may lie from a network node a property of the data, e.g. 100–250 m; farther points are reported, never moved
worse_tol_s s yes change in travel time below which a unit's isolation status is same e.g. 30–60 s
access_limit_s s or None no times above it count as unreachable in the isolation status e.g. a response-time standard
fca_threshold_s s yes 2SFCA catchment size e.g. 10–30 min for hospitals
fca_decay one of access.DECAY_KINDS yes distance decay inside the catchment "gaussian" is Dai (2010); "cumulative" is the original 2SFCA
fca_param float or None when the decay kind needs one the kind's parameter (β, σ, exponent, midpoint) must be positive

Monte Carlo bands

Field Type, unit Required Meaning Guidance
mc_runs int or None no number of simulations for the city bands; None skips the stage a few hundred
mc_seed int or None when mc_runs is set seed of the bands
mc_modes sequence, default all three no correlation modes of the bands keep all three: they bracket the real correlation

Allocation

Required only when inputs.sites is given.

Field Type, unit Meaning Guidance
n_depots int number of depots the p-median picks the number you can staff and stock
unreachable_penalty_s s cost charged for an unreachable unit–site pair in the p-median e.g. a multiple of the longest finite travel time; state it in the report
m2_per_person m² usable area per sheltered person (site capacity) Sphere (2018) shelter standard: ≥ 3.5 m² covered living space; open assembly areas use much smaller values
depot_max_cost_s s or None farthest pair the capacity balance accepts e.g. a walking or driving limit

Ranking

Field Type, unit Required Meaning Guidance
topsis_weights mapping or None yes (None stated explicitly means equal weights) criterion weights expected complete damage, severe casualties, public shelter, post-event access
partial_units "exclude" (default), "scale", "lower_bound" no how units whose buildings were not all computed enter ranking and shelter "exclude" assumes nothing; see the tutorial

Lifelines

Required only when inputs.pipes is given.

Field Type Meaning
pipe_ductile sequence of str material codes of ductile pipe in your inventory (Hazus: ductile iron, steel, PVC)
pipe_brittle sequence of str material codes of brittle pipe (Hazus: cast iron, asbestos cement, concrete)

Any other code counts as unknown material, and the repairs are reported as a range from "all ductile" to "all brittle".