https://github.com/libbum/dice.jl-notebooks
Jupyter notebooks for working through DICE.jl examples
https://github.com/libbum/dice.jl-notebooks
Last synced: 4 months ago
JSON representation
Jupyter notebooks for working through DICE.jl examples
- Host: GitHub
- URL: https://github.com/libbum/dice.jl-notebooks
- Owner: Libbum
- License: mit
- Created: 2018-06-11T09:37:38.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2022-05-25T04:52:10.000Z (about 4 years ago)
- Last Synced: 2025-03-18T23:45:08.931Z (over 1 year ago)
- Language: Jupyter Notebook
- Size: 2.45 MB
- Stars: 2
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# DICE.jl-notebooks
Jupyter notebooks for working through [DICE.jl](https://github.com/Libbum/DICE.jl) scenarios.
# Usage
To get things installed and ready, you'll need to set up the project.
Do this via the following commands:
```bash
$ git clone git@github.com: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.
# Status
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.