C++11-Implementation of the Acclimate model by Sven Willner and Christian Otto.
The newest ("price") version of the Acclimate model is described in (please cite when using this code):
- Otto C, Willner SN, Wenz L, Frieler K, Levermann A. (2017). Modeling loss-propagation in the global supply network: The dynamic agent-based model acclimate. Journal of Economic Dynamics and Control. doi:10.1016/j.jedc.2017.08.001.
You need to have CMake installed for compiling the source code (under Ubuntu-like Linux distributions: sudo apt-get install cmake
).
External dependecies:
- NetCDF C
- used for reading and writing of NetCDF files
- Source code: Unidata/netcdf-c
- NLOpt
- used for numerical optimization
- will be built in by default
- Source code: stevengj/nlopt)
- YAML-cpp
- used for reading settings files
- will be built in by default
- Source code: jbeder/yaml-cpp
Further built-in dependecies (included in this repository as subtrees):
- swillner/cmake-modules
- used for compilation
- swillner/cpp-library
- some minor helper functions, e.g. for progress bar
- swillner/netcdfpp
- used for reading and writing NetCDF files
- swillner/settingsnode
- used for reading settings files
Have a look at the CMake documentation of how to invoke CMake on your system. On a system using the make
command, simply run:
mkdir build
cd build
cmake ..
make
Further configuration can be done before running make
e.g. using ccmake ..
.
Multi-regional input-output is used by Acclimate to build-up the baseline economic network. Such data is not included in this repository. In the publications mentioned above the EORA dataset was used.
Acclimate expects a configuration YAML file whose path is given on the commandline when running Acclimate. An example is provided in example/settings.yml
.
For information about the built binary run:
./acclimate -i
This implementation also includes the older "basic" and "demand" versions. These are described in:
- Bierkandt R, Wenz L, Willner SN, Levermann A. (2014). Acclimate - a model for economic damage propagation. Part I: basic formulation of damage transfer within a global supply network and damage conserving dynamics. Environment Systems and Decisions, 34, 507-524. doi:10.1007/s10669-014-9523-4.
- Wenz L, Willner SN, Bierkandt R, Levermann A. (2014). Acclimate - a model for economic damage propagation. Part II: a dynamic formulation of the backward effects of disaster-induced production failures in the global supply network. Environment Systems and Decisions, 34, 525-539. doi:10.1007/s10669-014-9521-6.