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:
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 termsTo run numeric model: python3 src/numeric_a/ar.py arg1
, where
arg1
: beta, perception factorTo 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