Library/Social sciences
Community resilience after disasters
This model simulates how a small community of households recovers after a localized disaster (e.g., a flood, earthquake, or storm).
Category: Social Sciences Status: Illustrative and uncalibrated. This is a teaching model, not a scientifically validated result.
Overview
This model simulates how a small community of households recovers after a localized disaster (e.g., a flood, earthquake, or storm). The key idea is that resilience — a household's capacity to cope and recover — is not fixed. It erodes when a household is damaged, and it recovers over time, faster when the household is connected to intact local infrastructure.
Mechanisms
1. Disaster trigger. At tick 0, a circular zone of radius disaster-radius is destroyed. All patches in the zone lose their infrastructure, and all households on those patches are damaged (resilience drops to 30% of its previous value).
2. Household recovery. Each tick, every household's resilience moves toward 100 at a base rate of 2%. If the household is connected to intact infrastructure (patch infrastructure > 50), the recovery rate increases by 3%. If a household is damaged and not being helped, it loses an additional 5% of its remaining resilience gap each tick.
3. Mutual aid. Households with resilience > 60 can help a neighboring household that needs help (resilience < 40). The helper loses 5 resilience; the helped household gains 8.
4. Responders. Responders move toward the nearest damaged household and, when close, boost that household's resilience by 15. They also repair destroyed infrastructure on their current patch at repair-speed points per tick.
5. Infrastructure. Destroyed patches lose 2 infrastructure points per tick (degradation). When a patch's infrastructure reaches 100, it is no longer considered destroyed. Households on patches with infrastructure > 50 are "connected" and recover faster.
6. Absorbing state. A household whose resilience reaches 0 is "lost" (shown in dark red). It no longer recovers or helps others. Ticks continue after all households have reached an absorbing state so the plot can show the full trajectory.
Controls
| Widget | Range | Default | Meaning | |---|---|---|---| | initial-households | 10–100 | 50 | Number of households in the community | | initial-responders | 1–20 | 5 | Number of emergency responders | | disaster-radius | 2–8 | 4 | Radius (in patches) of the disaster zone | | repair-speed | 1–20 | 5 | Infrastructure points restored per tick by a responder |
Monitors and Plots
- Households resilient (>60): count of households with resilience above 60.
- Households lost (resilience=0): count of households that have been completely overwhelmed.
- Avg resilience: mean resilience across all surviving households.
- Plot: three pens tracking resilient households (green), lost households (red), and average resilience (blue) over time.
Assumptions and Limitations
- The world is a small toroidal grid (41×41 patches) with a bounded population (≤100 households, ≤20 responders).
- Resilience is a single scalar (0–100) that abstracts over many real-world factors (income, social capital, physical damage, etc.).
- The disaster is a single circular event at tick 0; there is no secondary damage, no new disasters, and no migration.
- Responders are identical and unlimited in capacity; they do not fatigue.
- Infrastructure is a single value per patch; there is no network topology.
- All parameters are illustrative and not calibrated to any real disaster. The model is intended for teaching and exploration, not prediction.
How to Use
1. Press Setup to place households and responders and reset the clock. 2. Adjust the sliders if you want a different community size, responder count, disaster size, or repair speed. 3. Press Go to run the simulation. The disaster triggers at tick 0; watch the plot to see how the community's resilience evolves. 4. Press Setup again to reset and try a different configuration.
- Field
- Social sciences
- Model file
Community-resilience-after-disasters-e9eb645e2d80.nlogox· 45 KB- Controls
initial-households,initial-responders,disaster-radius,repair-speed- Reporters
resilient-count,lost-count,avg-resilience- Procedures
setup,go,trigger-disaster,recolor,resilient-count,lost-count,avg-resilience,recolor-household- Experiment
- none pinned in this file
- Documentation
- 5/7 · 583 words in the Info tab