Earth4All.jl

Julia implementation of the Earth4All model using the WorldDynamics framework.
Author worlddynamics
Popularity
8 Stars
Updated Last
6 Months Ago
Started In
April 2023

Earth4All.jl

DOI

Repository of the Julia implementation of the Earth4All model using the WorldDynamics framework, based on the April 2023 Vensim version available here (a copy is also available in the vensim_source folder of the current repository).

How to run the model

Prerequisites

Install Julia and clone the repository:

git clone https://github.com/worlddynamics/Earth4All.jl

Setting up the environment

After starting the Julia REPL in the repository folder, we can instantiate the environment by running

julia> using Pkg
julia> Pkg.activate(".")
julia> Pkg.instantiate()

We can then load the Earth4All module and run a scenario (e.g. "Too Little Too Late") with

julia> include("src/Earth4All.jl")
julia> sol = Earth4All.run_tltl_solution()

To obtain the plots of the main variables, we can run

julia> Earth4All.fig_baserun_tltl() # for the Too Little Too Late scenario
julia> Earth4All.fig_baserun_gl() # for the Giant Leap scenario

The plots should look like the two of the first line, instead the ones of the second line are produced with Vensim:

image image
image image

White paper

  • Pierluigi Crescenzi, Aurora Rossi, Emanuele Natale. An open source implementation of the Earth4All integrated assessment model. 2023. hal-04293350

Acknowledgments

This work has been supported by the French government, through the UCAJEDI and UCA DS4H Investments in the Future projects managed by the National Research Agency (ANR) with the reference number ANR-15-IDEX-0001 and ANR-17-EURE-0004.

How to cite this work

This work can be provisionally cited as follows:

@software{pierluigi_crescenzi_2023_8230404,
  author       = {Pierluigi Crescenzi and
                  Aurora Rossi and
                  Emanuele Natale and
                  contributors},
  title        = {Earth4All.jl: an implementation of the Earth4All model in Julia},
  month        = aug,
  year         = 2023,
  publisher    = {Zenodo},
  version      = {v0.1.0},
  doi          = {10.5281/zenodo.8230404},
  url          = {https://doi.org/10.5281/zenodo.8230404}
}