Adapt Retreat
Agent Based Model where regions are agents
As flooding events happen over time, Agents decide whether to adapt or retreat
There are two versions of the model:
- Toy: Toy model
- Numeric: Model populated with numbers from CIAM for all 29 DIVA coastal regions of Ireland
To run toy model: python3 src/toy/toy.py arg1 arg2 arg3
, where
arg1
: number of regionsarg2
: probability of flood in fraction termsarg3
: probability of action in fraction terms
To run numeric model: python3 src/numeric_a/ar.py arg1
, where
arg1
: beta, perception factor
To run numeric model in a diagnostic mode that enables plotting for a selected region: python3 src/numeric_b/ar.py GEV arg1
, where
arg1
: region number (i.e. select region)
The develop branch contains files in development not yet in mainstream workflow, or relevant supporting information