An inferred biomass biogeochemical model of Mystic Lake.
- by: Scott W Olesen (swo@mit.edu)
- development page: http://github.com/swo/mystic
- main page: http://almlab.mit.edu/mystic.html
- Matlab (developed with version 8)
- Python (developed with version 2.7)
$ git clone http://github.com/almlab/mystic.git
analysis/
: Tool for plotting timecourses and the profiles for rates and concs.bin/
: Main matlab scripts.simulation/
: Scripts for running the model with easily-adjustable parameters and displaying the output.lake.cfg
: Configuration for the simulation.README.md
: This file.
To run the model,
- Update
lake.cfg
with the desired parameters. - Under
simulation
, usewrite_default_values_script.py
to createrun_interactive_defaults.m
, which supplies the values inlake.cfg
tointeractive.m
. - In Matlab, run
run_interactive.m
. This requires thebin/
folder to be on Matlab's path. If running in the terminal, you can use theset_matlab_path.py
script to do this. - The output of the simulation is stored in
concs_history
andrates_history
variables. You can write them to files usingbin/write_data_to_files.m
.
To make timecourses and end-time plots for all the rates and chemical concentrations, copy the desired history.mat
data file to analysis/
and run analysis/profiles/pipeline.sh
.