Skip to content

CRAFTY-ABM/CRAFTY_CoBRA_Demo

Repository files navigation

CRAFTY CoBRA Demonstration Model

Configuration

The out-of-the-box configuration is:

  • startTick: 2000
  • endTick: 2013
  • world: NEEU (North East European Union)
  • scenario: setA
  • FRs: COF_Cereal, NCOF_Cereal, COF_Livestock, NCOF_Livestock, CConf_Cereal, NCConf_Cereal, CConf_Livestock, NCConf_Livestock, Forester
  • BTs: Pseudo, NonAdopter_EE_Cluster1, NonAdopter_EE_Cluster2, NonAdopter_EE_Cluster3, NonAdopter_EE_Cluster4, NonAdopter_EE_Cluster5, Adopter_EE_Cluster1, Adopter_EE_Cluster2, Adopter_EE_Cluster3, Adopter_EE_Cluster4, Adopter_EE_Cluster5, Adopter_EE_Cluster6
  • Preferences: WAttitude, WSubjectiveNorm, WPBC, THRESHOLD
  • Capitals: Cprod, Fprod, Infra, Lprod, Nat, Econ
  • Services: Meat, Cereal, Recreation, Timber, OF_Meat, OF_Cereal

Run

Right click the file './config/launcher/CraftyCoBRA_Demonstration.launch' and choose 'Run as...' > Note: you need to substitute the project name first (see above)!

ReleaseToLinuxCluster

This ant script facilitates the transfer of model configuration data to e.g. a linux cluster. The '-FS' version of the script assumes you have mapped the cluster file system to a network drive of your local file system (see here for Eddie)

Some Notes

  • CRAFTY-CoBRA supports parallel processing of regions which requires MPI to be present and mpi.jar in the Java classpath. If MPI is not present, mpi.jar must be excluded from the Java classpath. CRAFTY-CoBRA will then issue a warning (No MPI in classpath!) which can be ignored.

  • CRAFTY-CoBRA currently issues a number of warnings from LEventbus. They basically mean that decision making processes are triggered, but no actual decision for that trigger configured. In most cases the warnings can be ignored.

Post-Processing

The folder ./config/R contains templates to aggregate and visualise simulation output data with R. See crafty wiki for details.


If you have any further questions don't hesitate to contact Sascha.Holzhauer@ed.ac.uk

About

Demonstration model for CRAFTY CoBRA

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published