Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Frank Errickson authored Jun 8, 2021
1 parent 6742f36 commit ad653fc
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1 +1,36 @@
# MimiFAIRv2.0.jl

This is a work-in-progress respository for a Julia-Mimi implementation of the FAIRv2.0 simple climate model. The model description paper can be found at [FaIRv2.0.0: A Generalized Impulse Response Model for Climate Uncertainty and Future Scenario Exploration](https://gmd.copernicus.org/articles/14/3007/2021/gmd-14-3007-2021.html).

## Running Mimi-FAIRv2.0
To run the model, execute the following code:

```julia
# Load the model code.
include("src/MimiFAIRv2.0.jl")

# Create an instance of Mimi-FAIRv2.0.
m = get_model()

# Run the model.
run(m)

# Access the temperature output.
fair_temps = m[:temperature, :T]

# Explore interactive plots of all the model output.
explore(m)
```

The `get_model()` function currently has the following keyword arguments:

* `emissions_forcing_scenario`: One of the RCMIP scenarios from the original FAIRv2.0 paper. Current options include "ssp119", "ssp126", "ssp245", "ssp370", and"ssp585". The default is "ssp585".
* `start_year`: The model has an option to be initialized at different time periods, however this is only currently set up to start in 1750.
* `end_year`: The model can be run out to 2500 (the default final year).
* `TCR`: The transient climate response (default = 1.79).
* `RWF`: The realized warming fraction, defined as the TCR/ECS ratio (default = 0.552).
* `F2x`: The forcing from a doubling of CO2 (default = 3.759).

\
\
![Python vs. Julia temperature comparison](https://github.com/FrankErrickson/MimiFAIRv2.0.jl/blob/main/data/python_replication_data/Python_Mimi_FAIR2_temperature_comparison.png)

0 comments on commit ad653fc

Please sign in to comment.