Skip to content
/ ar Public

Regions decide whether to Adapt or Retreat to rising sea levels

Notifications You must be signed in to change notification settings

merrickj/ar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 

Repository files navigation

ar

Adapt Retreat

Agent Based Model where regions are agents

As flooding events happen over time, Agents decide whether to adapt or retreat

Versions

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

Running model

To run toy model: python3 src/toy/toy.py arg1 arg2 arg3, where

  • arg1: number of regions
  • arg2: probability of flood in fraction terms
  • arg3: 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)

Develop branch

The develop branch contains files in development not yet in mainstream workflow, or relevant supporting information

About

Regions decide whether to Adapt or Retreat to rising sea levels

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages