{"id":9,"date":"2019-02-20T22:20:24","date_gmt":"2019-02-20T22:20:24","guid":{"rendered":"https:\/\/ogle-lab.nau.edu\/?page_id=9"},"modified":"2019-08-22T09:06:06","modified_gmt":"2019-08-22T16:06:06","slug":"models","status":"publish","type":"page","link":"https:\/\/ogle-lab.nau.edu\/index.php\/models\/","title":{"rendered":"Models\/Code"},"content":{"rendered":"<div class=\"title\">\n<h2>DETECT Model:<\/h2>\n<\/div>\n<div class=\"about\"><img decoding=\"async\" class=\"alignright\" src=\"https:\/\/ogle-lab.nau.edu\/images\/ModelsandCode\/DETECT\/DETECT_main_Fig1.png\" alt=\"\" \/><img decoding=\"async\" loading=\"lazy\" class=\"alignright wp-image-413\" src=\"https:\/\/ogle-lab.nau.edu\/wp-content\/uploads\/2019\/08\/DETECT_model_concept.jpg\" alt=\"\" width=\"400\" height=\"712\" srcset=\"https:\/\/ogle-lab.nau.edu\/wp-content\/uploads\/2019\/08\/DETECT_model_concept.jpg 647w, https:\/\/ogle-lab.nau.edu\/wp-content\/uploads\/2019\/08\/DETECT_model_concept-168x300.jpg 168w, https:\/\/ogle-lab.nau.edu\/wp-content\/uploads\/2019\/08\/DETECT_model_concept-575x1024.jpg 575w, https:\/\/ogle-lab.nau.edu\/wp-content\/uploads\/2019\/08\/DETECT_model_concept-375x668.jpg 375w\" sizes=\"(max-width: 400px) 100vw, 400px\" \/>The DETECT model simulates CO<sub>2<\/sub>\u00a0production by roots and microbes at 100 0.01-m depth intervals at 6-hourly time increments, but it is flexible enough to accommodate finer or coarser depth and time intervals. The backbone of DETECT is a partial differential equation (PDE) model motivated by diffusion theory, and solved numerically. In Ryan et al. (2018) and Samuels-Crow et al. (2018), we used the DETECT model to simulate time- and depth-varying soil CO<sub>2<\/sub>\u00a0concentration and CO<sub>2<\/sub>\u00a0production rates and time-varying surface soil CO<sub>2<\/sub>\u00a0efflux (<i>R<sub>soil<\/sub><\/i>) over a 183-day growing season in a mixed-grass prairie. The model is driven by environmental data collected at the Prairie Heating and CO<sub>2<\/sub>\u00a0Enrichment (PHACE) experiment near Cheyenne, Wyoming. PHACE data were also used to derive realistic parameter values associated with the submodels for CO<sub>2<\/sub>\u00a0production and diffusivity, and additional data were used to qualitatively evaluate model predictions.<\/p>\n<p>The PDE that underlies the DETECT model (v1.0) accounts for time- and depth-varying CO<sub>2<\/sub>\u00a0diffusivity and CO<sub>2<\/sub>\u00a0production by root and microbial respiration. We used a pair of PDEs, one describing the soil CO<sub>2<\/sub>derived from root respiration (subscripted with\u00a0<i>R<\/i>), and the other for CO<sub>2<\/sub>\u00a0derived from microbial respiration (<i>M<\/i>) such that for\u00a0<i>K<\/i>\u00a0=\u00a0<i>R<\/i>\u00a0or\u00a0<i>M<\/i>:<br \/>\n<img decoding=\"async\" src=\"https:\/\/ogle-lab.nau.edu\/models_and_data\/DETECT_Model\/Equation1_v2.png\" alt=\"\" \/><br \/>\n<i>c<sub>K<\/sub><\/i>(<i>z<\/i>,<i>t<\/i>) is CO<sub>2<\/sub>\u00a0concentration (mg CO<sub>2<\/sub>\u00a0m<sup>-3<\/sup>), D<sub>gs<\/sub>(<i>z<\/i>,<i>t<\/i>) is the effective diffusivity of CO<sub>2<\/sub>\u00a0through the soil (m<sup>2<\/sup>\/s), and S<sub>K<\/sub>(<i>z<\/i>,<i>t<\/i>) is the source (or production) term (mg CO<sub>2<\/sub>\u00a0m<sup>-3<\/sup>) all of which vary by depth\u00a0<i>z<\/i>(meters) and time\u00a0<i>t<\/i>\u00a0(hours). Total soil CO<sub>2<\/sub>\u00a0and total CO<sub>2<\/sub>\u00a0production are given as <i>c<\/i>(<i>z<\/i>,<i>t<\/i>) =\u00a0<i>c<sub>M<\/sub><\/i>(<i>z<\/i>,<i>t<\/i>) +\u00a0<i>c<sub>R<\/sub><\/i>(<i>z<\/i>,<i>t<\/i>) and\u00a0<i>S<\/i>(<i>z<\/i>,<i>t<\/i>) =\u00a0<i>S<sub>M<\/sub><\/i>(<i>z<\/i>,<i>t<\/i>) +\u00a0<i>S<sub>R<\/sub><\/i>(<i>z<\/i>,<i>t<\/i>), respectively.<\/p>\n<h3>Model Download:<\/h3>\n<p><a href=\"https:\/\/ogle-lab.nau.edu\/models_and_data\/DETECT_Model\/DETECT_Model_v1.tar.gz\">DETECT_Model_v1.tar.gz<\/a><\/p>\n<h3>Instructions:<\/h3>\n<p>The Model Download file above includes the DETECT v1.0 manual along with all the scripts and input data necessary to run the model using parameter values and environmental driving data from the Wyoming PHACE site.<\/p>\n<p><i>File Description:<\/i><br \/>\n<i>ScriptFile.m<\/i>\u00a0&#8212; This file will run the DETECT model and save all outputs. It is currently set up to run the model based on the PHACE site parameters and driving data and must be modified based on the manual&#8217;s instructions to run it with user data. In order to run the PHACE site example, simply open and run this file.<\/p>\n<p><i>SourceTerm.m<\/i>\u00a0&#8212; This file is a Matlab function that calculates microbial and root respiration (and total production).<\/p>\n<p><i>DETECTmodel.m<\/i>\u00a0&#8212; This file is a Matlab function that calculated diffusivity and uses it, along with production calculated by the SourceTerm function, to calculate soil respiration.<\/p>\n<p><i>Inputs\\PHACE6hourly.mat<\/i>\u00a0&#8212; This file is the 6-hourly input data from the PHACE site. This file was made using the \\Data_6hourly_Creator.m and the PHACE data (included as .csv files).<\/p>\n<p><i>Outputs\\<\/i>\u00a0&#8212; This folder includes the output from running ScriptFile.m based on the PHACE data<\/p>\n<p><i>Plots\\ &#8212; Rsoil_timeseries.m<\/i>\u00a0and\u00a0<i>soilCO2_timeseries.m<\/i>\u00a0make time series plots of DETECT model output from the PHACE site along with measurements from the site as in figures 2 and 5 of Ryan et al. (2018).<\/p>\n<h3>JGR Example<\/h3>\n<p><a href=\"https:\/\/ogle-lab.nau.edu\/models_and_data\/DETECT_Model\/JGR_example.tar.gz\">JGR_example.tar.gz<\/a><\/p>\n<h3>Instructions:<\/h3>\n<p>The JGR Example directory includes driving data model output for each of the six simulation experiments described in Samuels-Crow et al. (2018). For convenience, we have included select driving data (e.g., soil moisture and temperature) in both the driving data and output files. The ReadMe file (included in the directory) provides further details about the contents of each file along with instructions for running DETECT using the driving data files.<\/p>\n<h3>References:<\/h3>\n<ul>\n<li>Ryan, E., Ogle, K., Kropp, H., Samuels-Crow, K., Carrillo, Y., and Pendall, E. (2018). Modelling soil CO<sub>2<\/sub>\u00a0production and transport with dynamic source and diffusion terms: Testing the steady-state assumption using DETECT v1.0. Geoscientific Model Development. https:\/\/doi.org\/10.5194\/gmd-2017-223\u00a0<a href=\"https:\/\/www.geosci-model-dev-discuss.net\/gmd-2017-223\/\" target=\"_blank\" rel=\"noopener noreferrer\">abstract<\/a><\/li>\n<\/ul>\n<ul>\n<li>Samuels-Crow, K., Ryan, E., Pendall, E., Ogle, K. (2018). Temporal coupling of subsurface and surface soil CO<sub>2<\/sub>\u00a0fluxes: Insights from a non-steady state model and cross-wavelet coherence analysis, Journal of Geosphysical Research &#8211; Biogeosciences. DOI:10.1002\/2017JG004207<a href=\"https:\/\/agupubs.onlinelibrary.wiley.com\/doi\/abs\/10.1002\/2017JG004207\" target=\"blank\" rel=\"noopener noreferrer\">abstract<\/a><\/li>\n<\/ul>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>DETECT Model: The DETECT model simulates CO2\u00a0production by roots and microbes at 100 0.01-m depth intervals at 6-hourly time increments, but it is flexible enough to accommodate finer or coarser depth and time intervals. The backbone of DETECT is a partial differential equation (PDE) model motivated by diffusion theory, and solved numerically. In Ryan et &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/ogle-lab.nau.edu\/index.php\/models\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Models\/Code&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":[],"_links":{"self":[{"href":"https:\/\/ogle-lab.nau.edu\/index.php\/wp-json\/wp\/v2\/pages\/9"}],"collection":[{"href":"https:\/\/ogle-lab.nau.edu\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/ogle-lab.nau.edu\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/ogle-lab.nau.edu\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ogle-lab.nau.edu\/index.php\/wp-json\/wp\/v2\/comments?post=9"}],"version-history":[{"count":5,"href":"https:\/\/ogle-lab.nau.edu\/index.php\/wp-json\/wp\/v2\/pages\/9\/revisions"}],"predecessor-version":[{"id":414,"href":"https:\/\/ogle-lab.nau.edu\/index.php\/wp-json\/wp\/v2\/pages\/9\/revisions\/414"}],"wp:attachment":[{"href":"https:\/\/ogle-lab.nau.edu\/index.php\/wp-json\/wp\/v2\/media?parent=9"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}