Jupyter notebooks for working through DICE.jl scenarios.
To get things installed and ready, you'll need to set up the project. Do this via the following commands:
$ git clone [email protected]:Libbum/DICE.jl-notebooks.git
$ cd DICE.jl-notebooks
$ julia
julia> ]
(v1.1) pkg> activate .
(DICE.jl-notebooks) pkg> instantiate
(DICE.jl-notebooks) pkg> precompile
$ jupyter lab
The final command can also be jupyter notebook
if you don't have lab
installed.
At the moment, the notebooks are mostly comparisons of DICE.jl to the GAMS versions of DICE they correspond to.
Source code and output of each GAMS run can be found in the GAMS
folder for you to run and compare yourself if you have a license to do so.
✔️ v2013R Vanilla sees a 1:1 correspondence with the GAMS output, thus can be used interchangeably at present.
✔️ The v2013R Rocky Road version is also verified. There are a few deviations from 1:1 here, since GAMS is using truncated 32bit floats, whereas DICE.jl used 64bit floats. Additionally, there are bugs in the GAMS version of the Stern
and SternCalibrated
scenarios. We consider patched versions of both runs here, they can be found in the GAMS
directory.
✔️ v2016R beta is 1:1 with GAMS.
✔️ v2016R2 is 1:1 with GAMS.