A model input data management and analysis tool for MESSAGEix.
To start using the open source Python package d2ix, you must to ensure that your environment is equipped with the MESSAGEix requirements (Python 3.6 via Anaconda, GAMS and Java) as described in the README instructions found alongside the MESSAGEix repository. Once all requirements are fulfilled, the cloned or forked d2ix repository can be installed. To install d2ix:
-
Install Python via Anaconda. We recommend the latest version, e.g., Python 3.7+.
-
Install GAMS. Importantly:
- Check the box labeled
Use advanced installation mode
- Check the box labeled
Add GAMS directory to PATH environment variable
on the Advanced Options page.
- Check the box labeled
-
Open a command prompt and type
conda env create -f environment.yml
-
To use
d2ix
, you need to activate thed2ix
environment each time. On Windows:activate d2ix
A introductory tutorial is provided for d2ix in the repository under https://github.com/tum-ewk/d2ix/tutorial.ipynb
.