- Climate model for my Earth Systems 2020/2021 unit, written in R.
- It's very much not a useful or realistic model outside of this context, but provides an interesting example of me putting unneeded effort into what should have been a fairly simple coursework project.
- To run the model, execute the
10Combined.rfile, which imports all other files - It's designed to be used in RStudio/vs-code, and includes the requesite project files for both
- No libraries are required for the default configuration, although
ggplot2is required for graph drawing - By default, when executed the model will 11 times with a series of different configurations. To modify these, edit the
runMultipleModels()list in6Interface.r. It will also create a table with the columns that were required for the unit, as well as a number of other outputs that vary on a yearly basis over the run of the model. - Chart drawing is disabled by default, but if required two example
ggplot2charts are included at the bottom of6Interface.r - Default config variables can be found in
4Config.rand are documented there. All variables in theCONFIGlist can be modified on a per-run basis when usingrunMultipleModels()by passing a override table. It is recommended to keeprunYearsandstartYearconstant for comparison purposes, but it will still run if these are changed