<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD Journal Publishing with OASIS Tables v3.0 20080202//EN" "journalpub-oasis3.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:oasis="http://docs.oasis-open.org/ns/oasis-exchange/table" xml:lang="en" dtd-version="3.0" article-type="research-article">
  <front>
    <journal-meta><journal-id journal-id-type="publisher">GMD</journal-id><journal-title-group>
    <journal-title>Geoscientific Model Development</journal-title>
    <abbrev-journal-title abbrev-type="publisher">GMD</abbrev-journal-title><abbrev-journal-title abbrev-type="nlm-ta">Geosci. Model Dev.</abbrev-journal-title>
  </journal-title-group><issn pub-type="epub">1991-9603</issn><publisher>
    <publisher-name>Copernicus Publications</publisher-name>
    <publisher-loc>Göttingen, Germany</publisher-loc>
  </publisher></journal-meta>
    <article-meta>
      <article-id pub-id-type="doi">10.5194/gmd-15-315-2022</article-id><title-group><article-title>BioRT-Flux-PIHM v1.0: a biogeochemical reactive transport model at the watershed scale</article-title><alt-title>BioRT-Flux-PIHM v1.0: a watershed biogeochemical reactive transport model</alt-title>
      </title-group><?xmltex \runningtitle{BioRT-Flux-PIHM v1.0: a watershed biogeochemical reactive transport model}?><?xmltex \runningauthor{W. Zhi et al.}?>
      <contrib-group>
        <contrib contrib-type="author" corresp="no" rid="aff1">
          <name><surname>Zhi</surname><given-names>Wei</given-names></name>
          
        <ext-link>https://orcid.org/0000-0001-5485-1095</ext-link></contrib>
        <contrib contrib-type="author" corresp="no" rid="aff2">
          <name><surname>Shi</surname><given-names>Yuning</given-names></name>
          
        <ext-link>https://orcid.org/0000-0003-0118-5847</ext-link></contrib>
        <contrib contrib-type="author" corresp="no" rid="aff1">
          <name><surname>Wen</surname><given-names>Hang</given-names></name>
          
        <ext-link>https://orcid.org/0000-0001-7358-1625</ext-link></contrib>
        <contrib contrib-type="author" corresp="no" rid="aff3">
          <name><surname>Saberi</surname><given-names>Leila</given-names></name>
          
        </contrib>
        <contrib contrib-type="author" corresp="no" rid="aff3">
          <name><surname>Ng</surname><given-names>Gene-Hua Crystal</given-names></name>
          
        </contrib>
        <contrib contrib-type="author" corresp="no" rid="aff1">
          <name><surname>Sadayappan</surname><given-names>Kayalvizhi</given-names></name>
          
        </contrib>
        <contrib contrib-type="author" corresp="no" rid="aff1">
          <name><surname>Kerins</surname><given-names>Devon</given-names></name>
          
        </contrib>
        <contrib contrib-type="author" corresp="no" rid="aff1">
          <name><surname>Stewart</surname><given-names>Bryn</given-names></name>
          
        </contrib>
        <contrib contrib-type="author" corresp="yes" rid="aff1">
          <name><surname>Li</surname><given-names>Li</given-names></name>
          <email>lili@engr.psu.edu</email>
        <ext-link>https://orcid.org/0000-0002-1641-3710</ext-link></contrib>
        <aff id="aff1"><label>1</label><institution>Department of Civil and Environmental Engineering, The Pennsylvania State University, State College, PA 16802, USA</institution>
        </aff>
        <aff id="aff2"><label>2</label><institution>Department of Ecosystem Science and Management, The Pennsylvania State University, State College, PA 16802, USA</institution>
        </aff>
        <aff id="aff3"><label>3</label><institution>Department of Earth and Environmental Sciences, University of Minnesota, Twin Cities, MN 55455, USA</institution>
        </aff>
      </contrib-group>
      <author-notes><corresp id="corr1">Li Li (lili@engr.psu.edu)</corresp></author-notes><pub-date><day>17</day><month>January</month><year>2022</year></pub-date>
      
      <volume>15</volume>
      <issue>1</issue>
      <fpage>315</fpage><lpage>333</lpage>
      <history>
        <date date-type="received"><day>22</day><month>May</month><year>2020</year></date>
           <date date-type="rev-request"><day>13</day><month>July</month><year>2020</year></date>
           <date date-type="rev-recd"><day>10</day><month>October</month><year>2021</year></date>
           <date date-type="accepted"><day>4</day><month>November</month><year>2021</year></date>
      </history>
      <permissions>
        <copyright-statement>Copyright: © 2022 </copyright-statement>
        <copyright-year>2022</copyright-year>
      <license license-type="open-access"><license-p>This work is licensed under the Creative Commons Attribution 4.0 International License. To view a copy of this licence, visit <ext-link ext-link-type="uri" xlink:href="https://creativecommons.org/licenses/by/4.0/">https://creativecommons.org/licenses/by/4.0/</ext-link></license-p></license></permissions><self-uri xlink:href="https://gmd.copernicus.org/articles/.html">This article is available from https://gmd.copernicus.org/articles/.html</self-uri><self-uri xlink:href="https://gmd.copernicus.org/articles/.pdf">The full text article is available as a PDF file from https://gmd.copernicus.org/articles/.pdf</self-uri>
      <abstract><title>Abstract</title>

      <p id="d1e167">Watersheds are the fundamental Earth surface functioning units that connect the land to aquatic systems. Many watershed-scale models represent hydrological processes but not biogeochemical reactive transport processes. This has limited our capability to understand and predict solute export, water chemistry and quality, and Earth system response to changing climate and anthropogenic conditions. Here we present a recently developed BioRT-Flux-PIHM (BioRT hereafter) v1.0, a watershed-scale biogeochemical reactive transport model. The model augments the previously developed RT-Flux-PIHM that integrates land-surface interactions, surface hydrology, and abiotic geochemical reactions. It enables the simulation of (1) shallow and deep-water partitioning to represent surface runoff, shallow soil water, and deeper groundwater and of (2) biotic processes including plant uptake, soil respiration, and nutrient transformation. The reactive transport part of the code has been verified against the widely used reactive transport code CrunchTope. BioRT-Flux-PIHM v1.0 has recently been applied in multiple watersheds under diverse climate, vegetation, and geological conditions. This paper briefly introduces the governing equations and model structure with a focus on new aspects of the model. It also showcases one hydrology example that simulates shallow and deep-water interactions and two biogeochemical examples relevant to nitrate and dissolved organic carbon (DOC). These examples are illustrated in two simulation modes of complexity. One is the spatially lumped mode (i.e., two land cells connected by one river segment) that focuses on processes and average behavior of a watershed. Another is the spatially distributed mode (i.e., hundreds of cells) that includes details of topography, land cover, and soil properties. Whereas the spatially lumped mode represents averaged properties and processes and temporal variations, the spatially distributed mode can be used to understand the impacts of spatial structure and identify hot spots of biogeochemical reactions. The model can be used to mechanistically understand coupled hydrological and biogeochemical processes under gradients of climate, vegetation, geology, and land use conditions.</p>
  </abstract>
    </article-meta>
  </front>
<body>
      

<sec id="Ch1.S1" sec-type="intro">
  <label>1</label><title>Introduction</title>
      <p id="d1e179">Watersheds are the fundamental Earth surface units that receive and process water, mass, and energy (Li, 2019; Li et al., 2021; Hubbard et al., 2018). Watershed processes include land-surface interactions that regulate evapotranspiration and discharge as well as water partitioning between shallow soil lateral flow going into streams vs. downward flow and recharge into the deeper subsurface (Fig. 1). Complex biogeochemical interactions occur among soil, water, roots, and microbes along water's flow paths, regulating gas effluxes (e.g., <inline-formula><mml:math id="M1" display="inline"><mml:mrow class="chem"><mml:msub><mml:mi mathvariant="normal">CO</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula>) and solute export (Fatichi et al., 2019; van der Velde et al., 2010; Benettin et al., 2020; Adler et al., 2021).</p>
      <?pagebreak page316?><p id="d1e193">These hydrological and biogeochemical processes determine how Earth surface systems respond to hydroclimatic forcing and human perturbations. Understanding these processes remains challenging due to the complex process interactions. An example is the concentration–discharge (<inline-formula><mml:math id="M2" display="inline"><mml:mi>C</mml:mi></mml:math></inline-formula>–<inline-formula><mml:math id="M3" display="inline"><mml:mi>Q</mml:mi></mml:math></inline-formula>) relationships of solutes  at stream and river outlets. Similar <inline-formula><mml:math id="M4" display="inline"><mml:mi>C</mml:mi></mml:math></inline-formula>–<inline-formula><mml:math id="M5" display="inline"><mml:mi>Q</mml:mi></mml:math></inline-formula> relationships have been observed for some solutes across watersheds under distinct geological and climatic conditions (Godsey et al., 2009; Basu et al., 2010; Moatar et al., 2017; Zarnetske et al., 2018; Godsey et al., 2019), whereas different solutes have shown contrasting patterns in the same watershed (Miller et al., 2017; Herndon et al., 2015; Musolff et al., 2015; Stewart et al., 2021; Zhi et al., 2020b). A general theory that can explain contrasting <inline-formula><mml:math id="M6" display="inline"><mml:mi>C</mml:mi></mml:math></inline-formula>–<inline-formula><mml:math id="M7" display="inline"><mml:mi>Q</mml:mi></mml:math></inline-formula> observations (e.g., flushing vs. dilution behaviors) under diverse watershed characteristics and external conditions remains elusive. The lack of mechanistic understanding presents major roadblocks to forecasting water quality and Earth system dynamics in the future.</p>
      <p id="d1e239">One of the outstanding challenges is the lack of modeling tools that mechanistically link hydrological and biogeochemical processes at the watershed scale. Model development has advanced mostly within the disciplinary boundaries of hydrology and biogeochemistry (Li, 2019). Watershed hydrologic models focus on solving for water storage and fluxes (Fatichi et al., 2016). Reactive transport models (RTMs) have traditionally focused on transport and multi-component biogeochemical reactions mostly in groundwater systems with limited interactions with climate and other surficial conditions (Steefel et al., 2015; Li et al., 2017b). Some integration crossing disciplinary boundaries did occur in recent years. For example, SWAT (Soil and Water Assessment Tool) has a version that couples with the groundwater model MODFLOW and the surface water and groundwater quality model in RT3D (Bailey et al., 2017; Ochoa et al., 2020). CATHY (Catchment Hydrology) includes processes of pesticide decay (Gatel et al., 2019; Scudeler et al., 2016). Hydrologiska Byråns Vattenbalansavdelning (HBV) and the Hydrological Predictions for the Environment (HYPE) have modules that simulate processes relevant to nutrients and contaminants (Lindström et al., 2005, 2010). While these models can simulate processes such as leaching of nutrients from agriculture lands (Lindström et al., 2005, 2010; Bailey et al., 2017), they do not explicitly solve the multi-component reactive transport equations. In other words, reactions are often represented rudimentarily without honoring kinetics and thermodynamics theories in soil biogeochemistry and geochemistry. For example, nutrient leaching is calculated based on empirical equations without explicitly solving reactive transport equations. Reaction rates are represented using first-order decay (Gatel et al., 2019), assuming constant reaction rates that do not change with environmental conditions. Biogeochemical processes however are highly variable with seasonal dynamics and depend on local environments such as substrate availability, soil temperature, and soil moisture (Li et al., 2017a; Davidson and Janssens, 2006). These models therefore cannot capture the temporal variations in environmental factors that regulate soil biogeochemical reactions and stream and water chemistry.</p>
      <p id="d1e242">To fill this model capability need, we augmented the watershed model RT-Flux-PIHM (Bao et al., 2017) into BioRT-Flux-PIHM (BioRT hereafter). Compared to RT-Flux-PIHM, BioRT has two additions. One is the capability of simulating biotic processes including plant uptake of nutrients, soil respiration, and other microbe-mediated redox reactions. Examples include soil respiration that produces <inline-formula><mml:math id="M8" display="inline"><mml:mrow class="chem"><mml:msub><mml:mi mathvariant="normal">CO</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> and dissolved organic carbon (DOC) and nutrient transformation reactions such as nitrification and denitrification. The other is the addition of an optional deeper layer below shallow soil to enable the simulation of interacting deep-water and shallow soil water flow (Fig. 1). Here the deep water is loosely defined as the water below the soil zone, typically in less weathered, fractured subsurface that harbors relatively old and slow-moving groundwater contributing to streams. It is a fundamental component of the hydrologic cycle and water budget. The groundwater–surface-water interactions also modulate land–atmospheric energy exchanges and soil moisture dynamics (Keune et al., 2016). Evidence has been mounting in recent years that deeper water below the shallow soil interacts with streams, introduces water with distinct chemistry, sustains base flow in dry times, and buffers climate variability (Gurdak, 2017; Green, 2016; Taylor et al., 2013). Stream chemistry often reflects distinct chemistry from shallow soil water and deeper groundwater at different times, i.e., the so-called Shallow and Deep Hypothesis (Zhi et al., 2019; Zhi and Li, 2020; Botter et al., 2020). Including the deep-water component thus is essential for understanding mechanisms and predicting dynamics of water quality under changing climate and human conditions.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F1" specific-use="star"><?xmltex \currentcnt{1}?><?xmltex \def\figurename{Figure}?><label>Figure 1</label><caption><p id="d1e259">A conceptual diagram for processes at the watershed scale. Land-surface interactions include processes such as energy balance, solar radiation, and evapotranspiration; hydrological processes partition water between surface runoff, shallow soil water, and deeper water. Soil biogeochemical reactions include abiotic reactions such as weathering (e.g., mineral dissolution and precipitation, ion exchange, surface complexations) and biotic processes such as plant uptake and leaching of nutrients, soil respiration, and other microbe-mediated reactions. These processes are represented in three modules: the Flux module for land-surface interactions, the PIHM module for catchment hydrology, and the BioRT module for biogeochemical reactions. Conceptually the shallow zone is the shallow soil and weathered zone that is more conductive to water flow (e.g., soil lateral flow or interflow). The deep zone refers to the less weathered zone that often harbors the old and slow-flowing groundwater. Reactions can occur in both shallow and deep zones.</p></caption>
        <?xmltex \igopts{width=341.433071pt}?><graphic xlink:href="https://gmd.copernicus.org/articles/15/315/2022/gmd-15-315-2022-f01.png"/>

      </fig>

      <p id="d1e268">This paper introduces the new developments in BioRT. The paper starts with a brief overview of water- and energy-related processes. It then introduces governing equations and reaction kinetics used in BioRT, followed by three examples that illustrate the new capabilities. The examples include the surface water and groundwater interactions, nitrate transformation and transport, and the production and export of DOC. The model can be set up in both spatially lumped or spatially explicit modes. The source code and the examples here are archived on the Zenodo website (<ext-link xlink:href="https://doi.org/10.5281/zenodo.3936073" ext-link-type="DOI">10.5281/zenodo.3936073</ext-link>) and the GitHub website (<uri>https://github.com/Li-Reactive-Water-Group/BioRT-Flux-PIHM</uri>, last access: 23 September 2021).</p>
</sec>
<sec id="Ch1.S2">
  <label>2</label><title>Model overview</title>
      <p id="d1e285">BioRT-Flux-PIHM integrates three modules (Fig. 1). The Flux module is for land-surface processes including surface energy balance, solar radiation, and evapotranspiration (ET) (Shi et al., 2013). The hydrology module PIHM simulates water processes including precipitation, interception, infiltration, recharge, surface runoff, subsurface lateral flow, and deep-water flow (Qu and Duffy, 2007). The BioRT module simulates solute transport and reactions. The abiotic<?pagebreak page317?> reactions included in RT-Flux-PIHM (Bao et al., 2017) are mineral dissolution and precipitation, aqueous and surface complexation, and ion exchange reactions. The newly added reactions include plant uptake of nutrients, soil respiration, and microbe-mediated redox reactions (e.g., carbon decomposition and nutrient transformation).</p>
      <p id="d1e288">The land-surface and hydrology modules solve for soil temperature and water storage, from which water fluxes are calculated for surface runoff and shallow- and deep-water fluxes. The BioRT module uses the calculated soil temperature, water storage, and water fluxes to simulate solute transport (advective and diffusive–dispersive) and biogeochemical reactions in both shallow and deep zones (see governing equations in later sections). The reactions include kinetically controlled (e.g., microbe-mediated redox reaction, mineral dissolution, and precipitation) or equilibrium-controlled ones (e.g., ion exchange, surface complexation (sorption), and aqueous complexation). Users can define the types of reactions to be included and the form of reaction kinetics in input files. The output of BioRT includes the spatial distribution and time series of aqueous and solid concentrations, from which we can infer reaction rates.</p>
      <p id="d1e291">The model can be set up running in either spatially lumped or spatially explicit modes. When running in spatially explicit mode, the simulation domain can be structured as prismatic grids based on topography. Each grid is partitioned into surface and shallow and deep subsurface layers. The surface layer calculates water flow above ground (surface runoff). The shallow zone is loosely defined as the highly permeable subsurface that contrasts the deep zone that is broadly defined as the lower permeability zone beyond the shallow zone. In many places, the shallow zone is the soil zone that is most conductive to water flow (e.g., lateral flow) and is responsive to hydroclimatic forcing. The deep subsurface zone is the less weathered layer that harbors the old groundwater that contributes to stream flow. Note that these definitions differ from those in the hydrology community, which often refers to the shallow soil lateral flow as groundwater, in a way that distinguishes it from the surface runoff (Dingman, 2015). These source waters from different depths of the subsurface often have distinct solid and water chemistry and are dominant at different hydrological conditions at different times of the year, as has been observed in many catchments and watersheds (Brantley et al., 2018; Zhi et al., 2019; Zhi and Li, 2020; Sullivan et al., 2016). The model is flexible for taking inputs from online data portals or local measurements, and it can accommodate low data availability (see the following Sect. 5 for data need and domain setup).</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F2" specific-use="star"><?xmltex \currentcnt{2}?><?xmltex \def\figurename{Figure}?><label>Figure 2</label><caption><p id="d1e297">Hillslope view of the shallow and deep zones and relevant water flows. Streams received water primarily from three water flows: the surface runoff <inline-formula><mml:math id="M9" display="inline"><mml:mrow><mml:mo>(</mml:mo><mml:msub><mml:mi>q</mml:mi><mml:mtext>overland</mml:mtext></mml:msub><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula>, lateral flow from the shallow zone <inline-formula><mml:math id="M10" display="inline"><mml:mrow><mml:mo>(</mml:mo><mml:msubsup><mml:mi>q</mml:mi><mml:mtext>lateral</mml:mtext><mml:mtext>sl</mml:mtext></mml:msubsup><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula>, and the lateral flow that has been recharged and eventually come out from the deeper zone <inline-formula><mml:math id="M11" display="inline"><mml:mrow><mml:mo>(</mml:mo><mml:msubsup><mml:mi>q</mml:mi><mml:mtext>lateral</mml:mtext><mml:mtext>dp</mml:mtext></mml:msubsup><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula>. The symbols “<inline-formula><mml:math id="M12" display="inline"><mml:mi>h</mml:mi></mml:math></inline-formula>”, “<inline-formula><mml:math id="M13" display="inline"><mml:mi>e</mml:mi></mml:math></inline-formula>”, and “<inline-formula><mml:math id="M14" display="inline"><mml:mi>q</mml:mi></mml:math></inline-formula>” denote water storage, evapotranspiration, and water flow, respectively. The superscript letters “sl” and “dp” refer to shallow and deep zones, respectively. The subscript letters “u” and “s” refer to unsaturated and saturated layers, respectively. Detailed equations are in Sect. 3.1 and 3.2. The terms “infil”, “u2s”, and “recharge” refer to infiltration, unsaturated to saturated zones, and recharge.</p></caption>
        <?xmltex \igopts{width=341.433071pt}?><graphic xlink:href="https://gmd.copernicus.org/articles/15/315/2022/gmd-15-315-2022-f02.png"/>

      </fig>

</sec>
<?pagebreak page318?><sec id="Ch1.S3">
  <label>3</label><title>Governing equations and processes</title>
<sec id="Ch1.S3.SS1">
  <label>3.1</label><title>Water equations</title>
      <p id="d1e392">Flux-PIHM simulates surface runoff and a lumped subsurface flux into streams without distinguishing shallow soil water and deeper groundwater flow paths. Mounting evidence has shown that the shallow soil water and deeper groundwater have distinct chemistry and are dominant at different times of the year (Xiao et al., 2021; Zhi and Li, 2020; Zhi et al., 2019). This means that a lumped subsurface flow cannot describe the dynamics of stream chemistry. We therefore added a deeper groundwater zone to simulate deeper water flows that interact with streams (Fig. <xref ref-type="fig" rid="Ch1.F2"/>). Each prismatic element now has three zones in the vertical direction: surface (or above ground) and shallow and deep zones in the subsurface.</p>
      <p id="d1e397">In each prismatic element <inline-formula><mml:math id="M15" display="inline"><mml:mi>i</mml:mi></mml:math></inline-formula>, the shallow zone includes unsaturated and saturated water storage. The unsaturated zone receives water from the surface via infiltration and flows vertically to the saturated zone. The saturated zone flows both vertically to the deep zone (recharge) and laterally to neighboring grids <inline-formula><mml:math id="M16" display="inline"><mml:mi>j</mml:mi></mml:math></inline-formula> or the stream (lateral). The code solves the following equations in the shallow zone:

                <disp-formula specific-use="gather" content-type="numbered"><mml:math id="M17" display="block"><mml:mtable displaystyle="true"><mml:mlabeledtr id="Ch1.E1"><mml:mtd><mml:mtext>1</mml:mtext></mml:mtd><mml:mtd><mml:mrow><mml:mstyle displaystyle="true" class="stylechange"/><mml:msubsup><mml:mi mathvariant="italic">θ</mml:mi><mml:mi>i</mml:mi><mml:mtext>sl</mml:mtext></mml:msubsup><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mi mathvariant="normal">d</mml:mi><mml:msubsup><mml:mi>h</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi mathvariant="normal">u</mml:mi></mml:mrow><mml:mtext>sl</mml:mtext></mml:msubsup></mml:mrow><mml:mrow><mml:mi mathvariant="normal">d</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>=</mml:mo><mml:msub><mml:mi>q</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mtext>inf</mml:mtext></mml:mrow></mml:msub><mml:mo>-</mml:mo><mml:msubsup><mml:mi>q</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mtext>u2s</mml:mtext></mml:mrow><mml:mtext>sl</mml:mtext></mml:msubsup><mml:mo>-</mml:mo><mml:msubsup><mml:mi>e</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi mathvariant="normal">u</mml:mi></mml:mrow><mml:mtext>sl</mml:mtext></mml:msubsup><mml:mspace linebreak="nobreak" width="0.125em"/><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mlabeledtr><mml:mlabeledtr id="Ch1.E2"><mml:mtd><mml:mtext>2</mml:mtext></mml:mtd><mml:mtd><mml:mrow><mml:mstyle class="stylechange" displaystyle="true"/><mml:msubsup><mml:mi mathvariant="italic">θ</mml:mi><mml:mi>i</mml:mi><mml:mtext>sl</mml:mtext></mml:msubsup><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mi mathvariant="normal">d</mml:mi><mml:msubsup><mml:mi>h</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi mathvariant="normal">s</mml:mi></mml:mrow><mml:mtext>sl</mml:mtext></mml:msubsup></mml:mrow><mml:mrow><mml:mi mathvariant="normal">d</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>=</mml:mo><mml:msubsup><mml:mi>q</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mtext>u2s</mml:mtext></mml:mrow><mml:mtext>sl</mml:mtext></mml:msubsup><mml:mo>-</mml:mo><mml:msub><mml:mi>q</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mtext>rechg</mml:mtext></mml:mrow></mml:msub><mml:mo>-</mml:mo><mml:msubsup><mml:mi>e</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi mathvariant="normal">s</mml:mi></mml:mrow><mml:mtext>sl</mml:mtext></mml:msubsup><mml:mo>+</mml:mo><mml:munderover><mml:mo movablelimits="false">∑</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mrow><mml:msub><mml:mi>N</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:munderover><mml:msubsup><mml:mi>q</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow><mml:mtext>sl</mml:mtext></mml:msubsup><mml:mspace linebreak="nobreak" width="0.125em"/><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mlabeledtr></mml:mtable></mml:math></disp-formula>

            where <inline-formula><mml:math id="M18" display="inline"><mml:mrow><mml:msubsup><mml:mi mathvariant="italic">θ</mml:mi><mml:mi>i</mml:mi><mml:mtext>sl</mml:mtext></mml:msubsup></mml:mrow></mml:math></inline-formula> [<inline-formula><mml:math id="M19" display="inline"><mml:mrow class="unit"><mml:msup><mml:mi mathvariant="normal">m</mml:mi><mml:mn mathvariant="normal">3</mml:mn></mml:msup><mml:mspace width="0.125em" linebreak="nobreak"/><mml:mi mathvariant="normal">pore</mml:mi><mml:mspace width="0.125em" linebreak="nobreak"/><mml:mi mathvariant="normal">space</mml:mi><mml:mspace linebreak="nobreak" width="0.125em"/><mml:msup><mml:mi mathvariant="normal">m</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">3</mml:mn></mml:mrow></mml:msup><mml:mspace width="0.125em" linebreak="nobreak"/><mml:mi mathvariant="normal">total</mml:mi><mml:mspace width="0.125em" linebreak="nobreak"/><mml:mi mathvariant="normal">volume</mml:mi></mml:mrow></mml:math></inline-formula>] is the shallow-zone porosity in element <inline-formula><mml:math id="M20" display="inline"><mml:mi>i</mml:mi></mml:math></inline-formula>; <inline-formula><mml:math id="M21" display="inline"><mml:mrow><mml:msubsup><mml:mi>h</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi mathvariant="normal">u</mml:mi></mml:mrow><mml:mtext>sl</mml:mtext></mml:msubsup></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M22" display="inline"><mml:mrow><mml:msubsup><mml:mi>h</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi mathvariant="normal">s</mml:mi></mml:mrow><mml:mtext>sl</mml:mtext></mml:msubsup></mml:mrow></mml:math></inline-formula> [m] are the unsaturated and saturated water storage in the shallow zone, respectively. The storages <inline-formula><mml:math id="M23" display="inline"><mml:mi>h</mml:mi></mml:math></inline-formula> here are the height of soil column with equivalent saturated water, not the height of the pure water (100 % volume) column. That is why porosity is in the equation. For saturation zones, this height is needed to quantify the depths of water tables, and it determines the direction of water flow between neighboring grids. The <inline-formula><mml:math id="M24" display="inline"><mml:mrow><mml:msub><mml:mi>q</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mtext>inf</mml:mtext></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> [<inline-formula><mml:math id="M25" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">m</mml:mi><mml:mspace width="0.125em" linebreak="nobreak"/><mml:msup><mml:mi mathvariant="normal">s</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula>] is the infiltration rate from the surface to the shallow zone; <inline-formula><mml:math id="M26" display="inline"><mml:mrow><mml:msubsup><mml:mi>q</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mtext>u2s</mml:mtext></mml:mrow><mml:mtext>sl</mml:mtext></mml:msubsup></mml:mrow></mml:math></inline-formula> [<inline-formula><mml:math id="M27" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">m</mml:mi><mml:mspace width="0.125em" linebreak="nobreak"/><mml:msup><mml:mi mathvariant="normal">s</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula>] is the vertical flow from the unsaturated layer to the saturated layer in the shallow zone; <inline-formula><mml:math id="M28" display="inline"><mml:mrow><mml:msub><mml:mi>q</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mtext>rechg</mml:mtext></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> [<inline-formula><mml:math id="M29" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">m</mml:mi><mml:mspace width="0.125em" linebreak="nobreak"/><mml:msup><mml:mi mathvariant="normal">s</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula>] is the recharge rate from the shallow zone to the deep zone; <inline-formula><mml:math id="M30" display="inline"><mml:mrow><mml:msubsup><mml:mi>e</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi mathvariant="normal">u</mml:mi></mml:mrow><mml:mtext>sl</mml:mtext></mml:msubsup></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M31" display="inline"><mml:mrow><mml:msubsup><mml:mi>e</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi mathvariant="normal">s</mml:mi></mml:mrow><mml:mtext>sl</mml:mtext></mml:msubsup></mml:mrow></mml:math></inline-formula> [<inline-formula><mml:math id="M32" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">m</mml:mi><mml:mspace linebreak="nobreak" width="0.125em"/><mml:msup><mml:mi mathvariant="normal">s</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula>] are evapotranspiration (ET) from the unsaturated and saturated layer in the shallow zone, respectively; <inline-formula><mml:math id="M33" display="inline"><mml:mrow><mml:msubsup><mml:mi>q</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow><mml:mtext>sl</mml:mtext></mml:msubsup></mml:mrow></mml:math></inline-formula> [<inline-formula><mml:math id="M34" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">m</mml:mi><mml:mspace width="0.125em" linebreak="nobreak"/><mml:msup><mml:mi mathvariant="normal">s</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula>] is the lateral flows in the shallow saturated layer between the element <inline-formula><mml:math id="M35" display="inline"><mml:mi>i</mml:mi></mml:math></inline-formula> and its neighbor element <inline-formula><mml:math id="M36" display="inline"><mml:mi>j</mml:mi></mml:math></inline-formula>; <inline-formula><mml:math id="M37" display="inline"><mml:mrow><mml:msub><mml:mi>N</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> (<inline-formula><mml:math id="M38" display="inline"><mml:mrow><mml:mo>≤</mml:mo><mml:mn mathvariant="normal">3</mml:mn></mml:mrow></mml:math></inline-formula>) is the number of neighbor elements <inline-formula><mml:math id="M39" display="inline"><mml:mi>j</mml:mi></mml:math></inline-formula>. For a prismatic element <inline-formula><mml:math id="M40" display="inline"><mml:mi>i</mml:mi></mml:math></inline-formula>, a boundary cell has one or two neighbors; a non-boundary cell has three neighbors. ET is calculated by the Penman potential evaporation scheme (detailed equations in Shi, 2012). A similar set of water equations for the deep zone are found in the Supplement (Eqs. S1 and S2).</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F3" specific-use="star"><?xmltex \currentcnt{3}?><?xmltex \def\figurename{Figure}?><label>Figure 3</label><caption><p id="d1e945">Biotic and abiotic reactions relevant to the transformation of soil organic matter (SOM). SOM can become stabilized (recalcitrant) through sorption on clay and separation from reactants. Labile OM can decompose into inorganic forms, releasing C, N, and P that further transform into various forms (taken from Li, 2019, with permission from the Mineralogical Society of America).</p></caption>
          <?xmltex \igopts{width=369.885827pt}?><graphic xlink:href="https://gmd.copernicus.org/articles/15/315/2022/gmd-15-315-2022-f03.png"/>

        </fig>

      <p id="d1e955">Infiltration and vertical fluxes from the unsaturated to saturated layer in the shallow zone are based on the Richards equation, in which hydraulic water head <inline-formula><mml:math id="M41" display="inline"><mml:mi>H</mml:mi></mml:math></inline-formula> (i.e., the summation of water storage <inline-formula><mml:math id="M42" display="inline"><mml:mi>h</mml:mi></mml:math></inline-formula> and elevation head <inline-formula><mml:math id="M43" display="inline"><mml:mi>z</mml:mi></mml:math></inline-formula>) and hydraulic conductivity <inline-formula><mml:math id="M44" display="inline"><mml:mi>K</mml:mi></mml:math></inline-formula> determine the fluxes:

                <disp-formula specific-use="gather" content-type="numbered"><mml:math id="M45" display="block"><mml:mtable displaystyle="true"><mml:mlabeledtr id="Ch1.E3"><mml:mtd><mml:mtext>3</mml:mtext></mml:mtd><mml:mtd><mml:mrow><mml:mstyle class="stylechange" displaystyle="true"/><mml:msub><mml:mi>q</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mtext>inf</mml:mtext></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mi>K</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mtext>inf</mml:mtext></mml:mrow></mml:msub><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:msub><mml:mi>H</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mtext>sur</mml:mtext></mml:mrow></mml:msub><mml:mo>-</mml:mo><mml:msubsup><mml:mi>H</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi mathvariant="normal">u</mml:mi></mml:mrow><mml:mtext>sl</mml:mtext></mml:msubsup></mml:mrow><mml:mrow><mml:msub><mml:mi>d</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mtext>inf</mml:mtext></mml:mrow></mml:msub></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mlabeledtr><mml:mlabeledtr id="Ch1.E4"><mml:mtd><mml:mtext>4</mml:mtext></mml:mtd><mml:mtd><mml:mrow><mml:mstyle class="stylechange" displaystyle="true"/><mml:msubsup><mml:mi>q</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mtext>u2s</mml:mtext></mml:mrow><mml:mtext>sl</mml:mtext></mml:msubsup><mml:mo>=</mml:mo><mml:msubsup><mml:mi>K</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi mathvariant="normal">V</mml:mi></mml:mrow><mml:mtext>sl</mml:mtext></mml:msubsup><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:msubsup><mml:mi>H</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi mathvariant="normal">u</mml:mi></mml:mrow><mml:mtext>sl</mml:mtext></mml:msubsup><mml:mo>-</mml:mo><mml:msubsup><mml:mi>H</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi mathvariant="normal">s</mml:mi></mml:mrow><mml:mtext>sl</mml:mtext></mml:msubsup></mml:mrow><mml:mrow><mml:mn mathvariant="normal">0.5</mml:mn><mml:msubsup><mml:mi>d</mml:mi><mml:mi>i</mml:mi><mml:mtext>sl</mml:mtext></mml:msubsup></mml:mrow></mml:mfrac></mml:mstyle><mml:mspace linebreak="nobreak" width="0.125em"/><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mlabeledtr></mml:mtable></mml:math></disp-formula>

            where <inline-formula><mml:math id="M46" display="inline"><mml:mrow><mml:msub><mml:mi>d</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mtext>inf</mml:mtext></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M47" display="inline"><mml:mrow><mml:msubsup><mml:mi>d</mml:mi><mml:mi>i</mml:mi><mml:mtext>sl</mml:mtext></mml:msubsup></mml:mrow></mml:math></inline-formula> [m] are the thickness of infiltration layer and shallow-zone depth, respectively; <inline-formula><mml:math id="M48" display="inline"><mml:mrow><mml:msub><mml:mi>K</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mtext>inf</mml:mtext></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> [<inline-formula><mml:math id="M49" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">m</mml:mi><mml:mspace linebreak="nobreak" width="0.125em"/><mml:msup><mml:mi mathvariant="normal">s</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula>] is the hydraulic conductivity of the infiltration layer, the top 0.1 m of the subsurface that has different conductivity from the rest of subsurface; <inline-formula><mml:math id="M50" display="inline"><mml:mrow><mml:msubsup><mml:mi>K</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi mathvariant="normal">V</mml:mi></mml:mrow><mml:mtext>sl</mml:mtext></mml:msubsup></mml:mrow></mml:math></inline-formula> [<inline-formula><mml:math id="M51" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">m</mml:mi><mml:mspace width="0.125em" linebreak="nobreak"/><mml:msup><mml:mi mathvariant="normal">s</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula>] is the hydraulic conductivity in<?pagebreak page319?> the vertical direction (i.e., weighted average of macropore <inline-formula><mml:math id="M52" display="inline"><mml:mrow><mml:msub><mml:mi>K</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mtext>macV</mml:mtext></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> and soil matrix <inline-formula><mml:math id="M53" display="inline"><mml:mrow><mml:msub><mml:mi>K</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mtext>satV</mml:mtext></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>, Eq. S7); <inline-formula><mml:math id="M54" display="inline"><mml:mrow><mml:msub><mml:mi>H</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mtext>sur</mml:mtext></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> [m] is the surface hydraulic water head (<inline-formula><mml:math id="M55" display="inline"><mml:mrow><mml:mo>=</mml:mo><mml:msub><mml:mi>h</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mtext>sur</mml:mtext></mml:mrow></mml:msub><mml:mo>+</mml:mo><mml:msub><mml:mi>z</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mtext>sur</mml:mtext></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>); <inline-formula><mml:math id="M56" display="inline"><mml:mrow><mml:msubsup><mml:mi>H</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi mathvariant="normal">u</mml:mi></mml:mrow><mml:mtext>sl</mml:mtext></mml:msubsup></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M57" display="inline"><mml:mrow><mml:msubsup><mml:mi>H</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi mathvariant="normal">s</mml:mi></mml:mrow><mml:mtext>sl</mml:mtext></mml:msubsup></mml:mrow></mml:math></inline-formula> [m] are the shallow hydraulic water heads in the unsaturated and saturated layer, respectively. The lateral flow in the shallow saturated layer is calculated using Darcy's law:
            <disp-formula id="Ch1.E5" content-type="numbered"><label>5</label><mml:math id="M58" display="block"><mml:mrow><mml:msubsup><mml:mi>q</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow><mml:mtext>sl</mml:mtext></mml:msubsup><mml:mo>=</mml:mo><mml:msubsup><mml:mi>K</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow><mml:mtext>sl</mml:mtext></mml:msubsup><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:msubsup><mml:mi>H</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi mathvariant="normal">s</mml:mi></mml:mrow><mml:mtext>sl</mml:mtext></mml:msubsup><mml:mo>-</mml:mo><mml:msubsup><mml:mi>H</mml:mi><mml:mrow><mml:mi>j</mml:mi><mml:mo>,</mml:mo><mml:mi>s</mml:mi></mml:mrow><mml:mtext>sl</mml:mtext></mml:msubsup></mml:mrow><mml:mrow><mml:msub><mml:mi>d</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfrac></mml:mstyle><mml:mspace linebreak="nobreak" width="0.125em"/><mml:mo>,</mml:mo></mml:mrow></mml:math></disp-formula>
          where <inline-formula><mml:math id="M59" display="inline"><mml:mrow><mml:msub><mml:mi>d</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> [m] is the distance between the centers of elements <inline-formula><mml:math id="M60" display="inline"><mml:mi>i</mml:mi></mml:math></inline-formula> and <inline-formula><mml:math id="M61" display="inline"><mml:mi>j</mml:mi></mml:math></inline-formula>; <inline-formula><mml:math id="M62" display="inline"><mml:mrow><mml:msubsup><mml:mi>K</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow><mml:mtext>sl</mml:mtext></mml:msubsup></mml:mrow></mml:math></inline-formula> [<inline-formula><mml:math id="M63" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">m</mml:mi><mml:mspace linebreak="nobreak" width="0.125em"/><mml:msup><mml:mi mathvariant="normal">s</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula>] is the harmonic mean of shallow hydraulic conductivity in the horizontal direction between elements <inline-formula><mml:math id="M64" display="inline"><mml:mi>i</mml:mi></mml:math></inline-formula> (<inline-formula><mml:math id="M65" display="inline"><mml:mrow><mml:msubsup><mml:mi>K</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mspace width="0.125em" linebreak="nobreak"/><mml:mi mathvariant="normal">H</mml:mi></mml:mrow><mml:mtext>sl</mml:mtext></mml:msubsup></mml:mrow></mml:math></inline-formula>) and <inline-formula><mml:math id="M66" display="inline"><mml:mi>j</mml:mi></mml:math></inline-formula> (<inline-formula><mml:math id="M67" display="inline"><mml:mrow><mml:msubsup><mml:mi>K</mml:mi><mml:mrow><mml:mi>j</mml:mi><mml:mo>,</mml:mo><mml:mspace width="0.125em" linebreak="nobreak"/><mml:mi mathvariant="normal">H</mml:mi></mml:mrow><mml:mtext>sl</mml:mtext></mml:msubsup></mml:mrow></mml:math></inline-formula>). The interaction between the shallow saturated zone and stream channel also follows Eq. (5), except that the adjacent head is replaced by the level of stream water. Similar to the shallow zone, hydrological equations in the deep zone are detailed in the Supplement (Eqs. S1–S8).</p>
</sec>
<sec id="Ch1.S3.SS2">
  <label>3.2</label><title>Reactive transport equations</title>
      <p id="d1e1541">The governing advection dispersion reaction (ADR) equation for an arbitrary solute <inline-formula><mml:math id="M68" display="inline"><mml:mi>m</mml:mi></mml:math></inline-formula> in an element <inline-formula><mml:math id="M69" display="inline"><mml:mi>i</mml:mi></mml:math></inline-formula> is as follows (Bao et al., 2017):
            <disp-formula id="Ch1.E6" content-type="numbered"><label>6</label><mml:math id="M70" display="block"><mml:mtable rowspacing="0.2ex" class="split" displaystyle="true" columnalign="right left"><mml:mtr><mml:mtd/><mml:mtd><mml:mrow><mml:msub><mml:mi>V</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mi mathvariant="normal">d</mml:mi><mml:mo>(</mml:mo><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mi mathvariant="normal">w</mml:mi><mml:mo>,</mml:mo><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:msub><mml:mi mathvariant="italic">θ</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:msub><mml:mi>C</mml:mi><mml:mrow><mml:mi>m</mml:mi><mml:mo>,</mml:mo><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>)</mml:mo></mml:mrow><mml:mrow><mml:mi mathvariant="normal">d</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:mfrac></mml:mstyle></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd/><mml:mtd><mml:mrow><mml:mspace linebreak="nobreak" width="0.25em"/><mml:mspace width="0.25em" linebreak="nobreak"/><mml:mspace linebreak="nobreak" width="0.25em"/><mml:mo>=</mml:mo><mml:munderover><mml:mo movablelimits="false">∑</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mrow><mml:msub><mml:mi>N</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:munderover><mml:mfenced open="(" close=")"><mml:mrow><mml:msub><mml:mi>A</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:msub><mml:mi>D</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:msub><mml:mi>C</mml:mi><mml:mrow><mml:mi>m</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo>-</mml:mo><mml:msub><mml:mi>C</mml:mi><mml:mrow><mml:mi>m</mml:mi><mml:mo>,</mml:mo><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:msub><mml:mi>d</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>-</mml:mo><mml:msub><mml:mi>q</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:msub><mml:mi>A</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:msub><mml:mi>C</mml:mi><mml:mrow><mml:mi>m</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfenced></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd/><mml:mtd><mml:mrow><mml:mspace width="0.25em" linebreak="nobreak"/><mml:mspace linebreak="nobreak" width="0.25em"/><mml:mspace linebreak="nobreak" width="0.25em"/><mml:mo>+</mml:mo><mml:msub><mml:mi>R</mml:mi><mml:mrow><mml:mi>m</mml:mi><mml:mo>,</mml:mo><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:mspace linebreak="nobreak" width="0.25em"/><mml:mi>m</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>,</mml:mo><mml:mi mathvariant="normal">…</mml:mi><mml:mo>,</mml:mo><mml:mi>n</mml:mi><mml:mi>m</mml:mi><mml:mspace linebreak="nobreak" width="0.125em"/><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
          where <inline-formula><mml:math id="M71" display="inline"><mml:mrow><mml:msub><mml:mi>V</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> [<inline-formula><mml:math id="M72" display="inline"><mml:mrow class="unit"><mml:msup><mml:mi mathvariant="normal">m</mml:mi><mml:mn mathvariant="normal">3</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> total volume] is the total volume of element <inline-formula><mml:math id="M73" display="inline"><mml:mi>i</mml:mi></mml:math></inline-formula>; <inline-formula><mml:math id="M74" display="inline"><mml:mrow><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mi mathvariant="normal">w</mml:mi><mml:mo>,</mml:mo><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> [<inline-formula><mml:math id="M75" display="inline"><mml:mrow class="unit"><mml:msup><mml:mi mathvariant="normal">m</mml:mi><mml:mn mathvariant="normal">3</mml:mn></mml:msup><mml:mspace linebreak="nobreak" width="0.125em"/><mml:mi mathvariant="normal">water</mml:mi><mml:mspace width="0.125em" linebreak="nobreak"/><mml:msup><mml:mi mathvariant="normal">m</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">3</mml:mn></mml:mrow></mml:msup><mml:mspace width="0.125em" linebreak="nobreak"/><mml:mi mathvariant="normal">pore</mml:mi><mml:mspace width="0.125em" linebreak="nobreak"/><mml:mi mathvariant="normal">space</mml:mi></mml:mrow></mml:math></inline-formula>] is soil water saturation; <inline-formula><mml:math id="M76" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">θ</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> [<inline-formula><mml:math id="M77" display="inline"><mml:mrow class="unit"><mml:msup><mml:mi mathvariant="normal">m</mml:mi><mml:mn mathvariant="normal">3</mml:mn></mml:msup><mml:mspace linebreak="nobreak" width="0.125em"/><mml:mi mathvariant="normal">pore</mml:mi><mml:mspace linebreak="nobreak" width="0.125em"/><mml:mi mathvariant="normal">space</mml:mi><mml:mspace width="0.125em" linebreak="nobreak"/><mml:msup><mml:mi mathvariant="normal">m</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">3</mml:mn></mml:mrow></mml:msup><mml:mspace linebreak="nobreak" width="0.125em"/><mml:mi mathvariant="normal">total</mml:mi><mml:mspace width="0.125em" linebreak="nobreak"/><mml:mi mathvariant="normal">volume</mml:mi></mml:mrow></mml:math></inline-formula>] is the porosity; <inline-formula><mml:math id="M78" display="inline"><mml:mrow><mml:msub><mml:mi>C</mml:mi><mml:mrow><mml:mi>m</mml:mi><mml:mo>,</mml:mo><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> [<inline-formula><mml:math id="M79" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">mol</mml:mi><mml:mspace linebreak="nobreak" width="0.125em"/><mml:msup><mml:mi mathvariant="normal">m</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">3</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula> water] is the aqueous concentration of species <inline-formula><mml:math id="M80" display="inline"><mml:mi>m</mml:mi></mml:math></inline-formula>; <inline-formula><mml:math id="M81" display="inline"><mml:mrow><mml:msub><mml:mi>N</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> is the number of fluxes from neighbor element <inline-formula><mml:math id="M82" display="inline"><mml:mi>j</mml:mi></mml:math></inline-formula> for element <inline-formula><mml:math id="M83" display="inline"><mml:mi>i</mml:mi></mml:math></inline-formula>, and <inline-formula><mml:math id="M84" display="inline"><mml:mrow><mml:msub><mml:mi>N</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> is 2 for the unsaturated zone (infiltration, recharge) with only vertical flows and 5 for saturated zone with flux from (or to) the unsaturated zone, from (or to) the deeper zone, and fluxes between <inline-formula><mml:math id="M85" display="inline"><mml:mi>i</mml:mi></mml:math></inline-formula> and three neighbor elements <inline-formula><mml:math id="M86" display="inline"><mml:mi>j</mml:mi></mml:math></inline-formula> in lateral flow directions for non-boundary grids; <inline-formula><mml:math id="M87" display="inline"><mml:mrow><mml:msub><mml:mi>A</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> [<inline-formula><mml:math id="M88" display="inline"><mml:mrow class="unit"><mml:msup><mml:mi mathvariant="normal">m</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula>] is the grid area shared by <inline-formula><mml:math id="M89" display="inline"><mml:mi>i</mml:mi></mml:math></inline-formula> and its neighbor grid <inline-formula><mml:math id="M90" display="inline"><mml:mi>j</mml:mi></mml:math></inline-formula>; <inline-formula><mml:math id="M91" display="inline"><mml:mrow><mml:msub><mml:mi>D</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> [<inline-formula><mml:math id="M92" display="inline"><mml:mrow class="unit"><mml:msup><mml:mi mathvariant="normal">m</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msup><mml:mspace linebreak="nobreak" width="0.125em"/><mml:msup><mml:mi mathvariant="normal">s</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula>] is the hydrodynamic dispersion coefficient (i.e., sum of mechanical dispersion and effective diffusion coefficient) normal to the shared surface <inline-formula><mml:math id="M93" display="inline"><mml:mrow><mml:msub><mml:mi>A</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>; <inline-formula><mml:math id="M94" display="inline"><mml:mrow><mml:msub><mml:mi>d</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> [m] is the distance between the center of <inline-formula><mml:math id="M95" display="inline"><mml:mi>i</mml:mi></mml:math></inline-formula> and its neighbor elements <inline-formula><mml:math id="M96" display="inline"><mml:mi>j</mml:mi></mml:math></inline-formula>; <inline-formula><mml:math id="M97" display="inline"><mml:mrow><mml:msub><mml:mi>q</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> [<inline-formula><mml:math id="M98" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">m</mml:mi><mml:mspace linebreak="nobreak" width="0.125em"/><mml:msup><mml:mi mathvariant="normal">s</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula>] is the flow rate across <inline-formula><mml:math id="M99" display="inline"><mml:mrow><mml:msub><mml:mi>A</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>; <inline-formula><mml:math id="M100" display="inline"><mml:mrow><mml:msub><mml:mi>R</mml:mi><mml:mrow><mml:mi>m</mml:mi><mml:mo>,</mml:mo><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> [<inline-formula><mml:math id="M101" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">mol</mml:mi><mml:mspace width="0.125em" linebreak="nobreak"/><mml:msup><mml:mi mathvariant="normal">s</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula>] is the total rate of kinetically controlled reactions in element <inline-formula><mml:math id="M102" display="inline"><mml:mi>i</mml:mi></mml:math></inline-formula> that involve species <inline-formula><mml:math id="M103" display="inline"><mml:mi>m</mml:mi></mml:math></inline-formula>; <inline-formula><mml:math id="M104" display="inline"><mml:mrow><mml:mi>n</mml:mi><mml:mi>m</mml:mi></mml:mrow></mml:math></inline-formula> is the total number of independent primary species to be solved for reactive transport equations. Equation (6) states that the change in solute mass (the left term) is driven by dispersive transport, advective transport, and reactions (i.e., the first, second, and third right-hand side terms, respectively).</p>
</sec>
<sec id="Ch1.S3.SS3">
  <label>3.3</label><title>Biogeochemical processes and reaction kinetics</title>
<sec id="Ch1.S3.SS3.SSS1">
  <label>3.3.1</label><title>Biogeochemical processes</title>
      <p id="d1e2208">Here we discuss representative biogeochemical processes that involve plants and microbes that can be included in BioRT. BioRT differs from general water quality models that primarily target a few contaminants (e.g., N, P, metals). The framework of BioRT is flexible, and the users can define<?pagebreak page320?> reactions and solutes of interest in the input files. For abiotic reactions such as mineral dissolution and surface complexation or ion exchange, readers are referred to Bao et al. (2017). Generally speaking, shallow soils contain more weathered materials and soil organic matters (SOMs) including roots, leaves, and microbes (Fig. <xref ref-type="fig" rid="Ch1.F3"/>). SOM can be decomposed partially into organic molecules that dissolve in water, i.e., dissolved organic carbon (DOC). It can also become oxidized completely into <inline-formula><mml:math id="M105" display="inline"><mml:mrow class="chem"><mml:msub><mml:mi mathvariant="normal">CO</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula>, which can emit back to the atmosphere in gas form (Davidson, 2006) or transport and enter streams in the form of dissolved inorganic carbon (DIC). With coexisting cations (e.g., Ca, Mg), DIC can precipitate out and become carbonate minerals (e.g., <inline-formula><mml:math id="M106" display="inline"><mml:mrow class="chem"><mml:msub><mml:mi mathvariant="normal">CaCO</mml:mi><mml:mn mathvariant="normal">3</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula>).</p>
      <p id="d1e2235">Organic matter (OM) decomposition releases organic nitrogen (R-<inline-formula><mml:math id="M107" display="inline"><mml:mrow class="chem"><mml:msub><mml:mi mathvariant="normal">NH</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula>), which can further react to become <inline-formula><mml:math id="M108" display="inline"><mml:mrow class="chem"><mml:msubsup><mml:mi mathvariant="normal">NH</mml:mi><mml:mn mathvariant="normal">4</mml:mn><mml:mo>+</mml:mo></mml:msubsup></mml:mrow></mml:math></inline-formula> and other nitrogen forms (<inline-formula><mml:math id="M109" display="inline"><mml:mrow class="chem"><mml:msub><mml:mi mathvariant="normal">N</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula>, <inline-formula><mml:math id="M110" display="inline"><mml:mrow class="chem"><mml:msub><mml:mi mathvariant="normal">N</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub><mml:mi mathvariant="normal">O</mml:mi></mml:mrow></mml:math></inline-formula>, NO, <inline-formula><mml:math id="M111" display="inline"><mml:mrow class="chem"><mml:msubsup><mml:mi mathvariant="normal">NO</mml:mi><mml:mn mathvariant="normal">2</mml:mn><mml:mo>-</mml:mo></mml:msubsup></mml:mrow></mml:math></inline-formula>, <inline-formula><mml:math id="M112" display="inline"><mml:mrow class="chem"><mml:msub><mml:mi mathvariant="normal">NO</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula>) (Fig. 3). The gases can emit back to the atmosphere. Denitrification requires anoxic conditions and occurs less commonly in shallow soils owing to the pervasive presence of <inline-formula><mml:math id="M113" display="inline"><mml:mrow class="chem"><mml:msub><mml:mi mathvariant="normal">O</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> (Sebestyen et al., 2019); denitrification can become important under wet conditions and in <inline-formula><mml:math id="M114" display="inline"><mml:mrow class="chem"><mml:msub><mml:mi mathvariant="normal">O</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula>-depleted groundwater aquifers. Phosphorous (P) can be in organic forms in organic matter, sorbed on fine soil particles, dissolved in water, or in solid forms as P-containing minerals. Transformation of nutrients occurs through various bio-mediated or abiotic reactions. A representative P-containing mineral in the Earth's crust is apatite <inline-formula><mml:math id="M115" display="inline"><mml:mrow class="chem"><mml:msub><mml:mi mathvariant="normal">Ca</mml:mi><mml:mn mathvariant="normal">5</mml:mn></mml:msub><mml:mo>(</mml:mo><mml:msub><mml:mi mathvariant="normal">PO</mml:mi><mml:mn mathvariant="normal">4</mml:mn></mml:msub><mml:msub><mml:mo>)</mml:mo><mml:mn mathvariant="normal">3</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> (F, Cl, OH). Once liberated via rock dissolution, P is biologically assimilated and locked in organic forms. These organic forms have very low solubility, allowing them to bind on and be transported together with soil particles in the form of orthophosphate or pyro-diphosphate.</p>
</sec>
<sec id="Ch1.S3.SS3.SSS2">
  <label>3.3.2</label><title>Reaction kinetics in natural soils</title>
</sec>
<sec id="Ch1.S3.SS3.SSSx1" specific-use="unnumbered">
  <title>Rate dependence on temperature and soil moisture</title>
      <p id="d1e2370">Reactions such as soil respiration and plant uptake typically depend on environmental conditions (temperature or soil moisture). For example, in shallow oxic soils where organic carbon and <inline-formula><mml:math id="M116" display="inline"><mml:mrow class="chem"><mml:msub><mml:mi mathvariant="normal">O</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> are often abundant, the rate law for carbon decomposition can be simplified to the following form assuming microorganism concentrations are relatively constant.
              <disp-formula id="Ch1.E7" content-type="numbered"><label>7</label><mml:math id="M117" display="block"><mml:mrow><mml:mi>r</mml:mi><mml:mo>=</mml:mo><mml:mi>k</mml:mi><mml:mi>A</mml:mi><mml:mi>f</mml:mi><mml:mo>(</mml:mo><mml:mi>T</mml:mi><mml:mo>)</mml:mo><mml:mi>f</mml:mi><mml:mo>(</mml:mo><mml:msub><mml:mi>S</mml:mi><mml:mi mathvariant="normal">w</mml:mi></mml:msub><mml:mo>)</mml:mo><mml:mi>f</mml:mi><mml:mo>(</mml:mo><mml:msub><mml:mi>Z</mml:mi><mml:mi mathvariant="normal">w</mml:mi></mml:msub><mml:mo>)</mml:mo><mml:mspace width="0.125em" linebreak="nobreak"/><mml:mo>,</mml:mo></mml:mrow></mml:math></disp-formula>
            where the reaction rate <inline-formula><mml:math id="M118" display="inline"><mml:mi>r</mml:mi></mml:math></inline-formula> [<inline-formula><mml:math id="M119" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">mol</mml:mi><mml:mspace linebreak="nobreak" width="0.125em"/><mml:msup><mml:mi mathvariant="normal">s</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula>] depends on rate constant <inline-formula><mml:math id="M120" display="inline"><mml:mi>k</mml:mi></mml:math></inline-formula> [<inline-formula><mml:math id="M121" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">mol</mml:mi><mml:mspace linebreak="nobreak" width="0.125em"/><mml:msup><mml:mi mathvariant="normal">m</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:msup><mml:mspace width="0.125em" linebreak="nobreak"/><mml:msup><mml:mi mathvariant="normal">s</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula>], the surface area <inline-formula><mml:math id="M122" display="inline"><mml:mi>A</mml:mi></mml:math></inline-formula> [<inline-formula><mml:math id="M123" display="inline"><mml:mrow class="unit"><mml:msup><mml:mi mathvariant="normal">m</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula>] is a lumped parameter that quantitatively represents SOM content and biomass abundance, <inline-formula><mml:math id="M124" display="inline"><mml:mrow><mml:mi>f</mml:mi><mml:mo>(</mml:mo><mml:mi>T</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M125" display="inline"><mml:mrow><mml:mi>f</mml:mi><mml:mo>(</mml:mo><mml:msub><mml:mi>S</mml:mi><mml:mi mathvariant="normal">w</mml:mi></mml:msub><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> describe the temperature and soil moisture dependence, respectively, <inline-formula><mml:math id="M126" display="inline"><mml:mrow><mml:mi>f</mml:mi><mml:mo>(</mml:mo><mml:msub><mml:mi>Z</mml:mi><mml:mi mathvariant="normal">w</mml:mi></mml:msub><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> can be included to account for the depth distribution of SOM (Seibert et al., 2009), and <inline-formula><mml:math id="M127" display="inline"><mml:mrow><mml:msub><mml:mi>Z</mml:mi><mml:mi mathvariant="normal">w</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> [m] is the water table depth. An example for the depth distribution is <inline-formula><mml:math id="M128" display="inline"><mml:mrow><mml:mi>f</mml:mi><mml:mo>(</mml:mo><mml:msub><mml:mi>Z</mml:mi><mml:mi mathvariant="normal">w</mml:mi></mml:msub><mml:mo>)</mml:mo><mml:mo>=</mml:mo><mml:mi>exp⁡</mml:mi><mml:mo>(</mml:mo><mml:mo>-</mml:mo><mml:msub><mml:mi>Z</mml:mi><mml:mi mathvariant="normal">w</mml:mi></mml:msub><mml:mo>/</mml:mo><mml:msub><mml:mi>b</mml:mi><mml:mi>m</mml:mi></mml:msub><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> (Weiler and McDonnell, 2006), with <inline-formula><mml:math id="M129" display="inline"><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>m</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> as the depth coefficient describing the gradient of SOM content over depth. Users can choose to include either one or all of these dependencies in input or database files.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F4" specific-use="star"><?xmltex \currentcnt{4}?><?xmltex \def\figurename{Figure}?><label>Figure 4</label><caption><p id="d1e2621">Reaction rate dependence. <bold>(a)</bold> Function form of soil temperature dependence and <bold>(b, c)</bold> soil moisture dependence for reaction rates. The <inline-formula><mml:math id="M130" display="inline"><mml:mrow><mml:mi>f</mml:mi><mml:mo>(</mml:mo><mml:mi>T</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> takes the <inline-formula><mml:math id="M131" display="inline"><mml:mrow><mml:msub><mml:mi>Q</mml:mi><mml:mn mathvariant="normal">10</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> form (Eq. 8). The soil moisture factor <inline-formula><mml:math id="M132" display="inline"><mml:mrow><mml:mi>f</mml:mi><mml:mo>(</mml:mo><mml:msub><mml:mi>S</mml:mi><mml:mi mathvariant="normal">w</mml:mi></mml:msub><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> depends on <inline-formula><mml:math id="M133" display="inline"><mml:mrow><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mi mathvariant="normal">w</mml:mi><mml:mo>,</mml:mo><mml:mi mathvariant="normal">c</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M134" display="inline"><mml:mi>n</mml:mi></mml:math></inline-formula> and soil water saturation <inline-formula><mml:math id="M135" display="inline"><mml:mrow><mml:msub><mml:mi>S</mml:mi><mml:mi mathvariant="normal">w</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> (Eq. 9). The soil moisture function can represent three types of behaviors: the threshold behavior (<bold>b</bold>, <inline-formula><mml:math id="M136" display="inline"><mml:mrow><mml:mn mathvariant="normal">0</mml:mn><mml:mo>&lt;</mml:mo><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mi mathvariant="normal">w</mml:mi><mml:mo>,</mml:mo><mml:mi mathvariant="normal">c</mml:mi></mml:mrow></mml:msub><mml:mo>&lt;</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:math></inline-formula>), increase behavior (red in <bold>c</bold>, <inline-formula><mml:math id="M137" display="inline"><mml:mrow><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mi mathvariant="normal">w</mml:mi><mml:mo>,</mml:mo><mml:mi mathvariant="normal">c</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:math></inline-formula>), and decrease behavior (blue in <bold>c</bold>, <inline-formula><mml:math id="M138" display="inline"><mml:mrow><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mi mathvariant="normal">w</mml:mi><mml:mo>,</mml:mo><mml:mi mathvariant="normal">c</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0</mml:mn></mml:mrow></mml:math></inline-formula>). Values of <inline-formula><mml:math id="M139" display="inline"><mml:mrow><mml:mi>n</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:math></inline-formula> lead to a linear threshold dependence of <inline-formula><mml:math id="M140" display="inline"><mml:mrow><mml:msub><mml:mi>S</mml:mi><mml:mi mathvariant="normal">w</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>, while <inline-formula><mml:math id="M141" display="inline"><mml:mrow><mml:mi>n</mml:mi><mml:mo>&lt;</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M142" display="inline"><mml:mrow><mml:mi>n</mml:mi><mml:mo>&gt;</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:math></inline-formula> lead to concave and convex dependences, respectively.</p></caption>
            <?xmltex \igopts{width=384.112205pt}?><graphic xlink:href="https://gmd.copernicus.org/articles/15/315/2022/gmd-15-315-2022-f04.png"/>

          </fig>

      <p id="d1e2835">The temperature dependence follows a <inline-formula><mml:math id="M143" display="inline"><mml:mrow><mml:msub><mml:mi>Q</mml:mi><mml:mn mathvariant="normal">10</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula>-based form (Lloyd and Taylor, 1994; Davidson and Janssens, 2006) as follows:
              <disp-formula id="Ch1.E8" content-type="numbered"><label>8</label><mml:math id="M144" display="block"><mml:mrow><mml:mi>f</mml:mi><mml:mo>(</mml:mo><mml:mi>T</mml:mi><mml:mo>)</mml:mo><mml:mo>=</mml:mo><mml:msubsup><mml:mi>Q</mml:mi><mml:mn mathvariant="normal">10</mml:mn><mml:mrow><mml:mo>(</mml:mo><mml:mi>T</mml:mi><mml:mo>-</mml:mo><mml:mn mathvariant="normal">20</mml:mn><mml:mo>)</mml:mo><mml:mo>/</mml:mo><mml:mn mathvariant="normal">10</mml:mn></mml:mrow></mml:msubsup><mml:mo>,</mml:mo></mml:mrow></mml:math></disp-formula>
            where <inline-formula><mml:math id="M145" display="inline"><mml:mrow><mml:msub><mml:mi>Q</mml:mi><mml:mn mathvariant="normal">10</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> is the relative increase in reaction rates when temperature increases by 10 <inline-formula><mml:math id="M146" display="inline"><mml:mrow class="unit"><mml:msup><mml:mi/><mml:mo>∘</mml:mo></mml:msup><mml:mi mathvariant="normal">C</mml:mi></mml:mrow></mml:math></inline-formula>. Values of <inline-formula><mml:math id="M147" display="inline"><mml:mrow><mml:msub><mml:mi>Q</mml:mi><mml:mn mathvariant="normal">10</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> (Fig. 4a) can vary from 1.0 to 3.0, depending on climatic conditions, substrate availability, and ecosystem type (e.g., grassland, forest) (Davidson et al., 2006; Liu et al., 2017). The mean values are in the range of 1.4 to 2.5 (Zhou et al., 2009; Bracho et al., 2016). The <inline-formula><mml:math id="M148" display="inline"><mml:mrow><mml:msub><mml:mi>Q</mml:mi><mml:mn mathvariant="normal">10</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> value can be specified in the input file.</p>
      <p id="d1e2933">The soil moisture dependence function <inline-formula><mml:math id="M149" display="inline"><mml:mrow><mml:mi>f</mml:mi><mml:mo>(</mml:mo><mml:msub><mml:mi>S</mml:mi><mml:mi mathvariant="normal">w</mml:mi></mml:msub><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> is coded in the following form:
              <disp-formula id="Ch1.E9" content-type="numbered"><label>9</label><mml:math id="M150" display="block"><mml:mfenced open="{" close=""><mml:mtable rowspacing="0.2ex" columnspacing="1em" class="cases" columnalign="left left" framespacing="0em"><mml:mtr><mml:mtd><mml:mrow><mml:msup><mml:mfenced close=")" open="("><mml:mstyle displaystyle="false"><mml:mstyle displaystyle="false"><mml:mfrac style="text"><mml:mrow><mml:msub><mml:mi>S</mml:mi><mml:mi mathvariant="normal">w</mml:mi></mml:msub></mml:mrow><mml:mrow><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mi mathvariant="normal">w</mml:mi><mml:mo>,</mml:mo><mml:mi mathvariant="normal">c</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfrac></mml:mstyle></mml:mstyle></mml:mfenced><mml:mi>n</mml:mi></mml:msup><mml:mo>,</mml:mo></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:msub><mml:mi>S</mml:mi><mml:mi mathvariant="normal">w</mml:mi></mml:msub><mml:mo>≤</mml:mo><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mi mathvariant="normal">w</mml:mi><mml:mo>,</mml:mo><mml:mi mathvariant="normal">c</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msup><mml:mfenced close=")" open="("><mml:mstyle displaystyle="false"><mml:mstyle displaystyle="false"><mml:mfrac style="text"><mml:mrow><mml:mn mathvariant="normal">1</mml:mn><mml:mo>-</mml:mo><mml:msub><mml:mi>S</mml:mi><mml:mi mathvariant="normal">w</mml:mi></mml:msub></mml:mrow><mml:mrow><mml:mn mathvariant="normal">1</mml:mn><mml:mo>-</mml:mo><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mi mathvariant="normal">w</mml:mi><mml:mo>,</mml:mo><mml:mi mathvariant="normal">c</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfrac></mml:mstyle></mml:mstyle></mml:mfenced><mml:mi>n</mml:mi></mml:msup><mml:mo>,</mml:mo></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:msub><mml:mi>S</mml:mi><mml:mi mathvariant="normal">w</mml:mi></mml:msub><mml:mo>&gt;</mml:mo><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mi mathvariant="normal">w</mml:mi><mml:mo>,</mml:mo><mml:mi mathvariant="normal">c</mml:mi></mml:mrow></mml:msub><mml:mo>.</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mfenced></mml:math></disp-formula>
            Here <inline-formula><mml:math id="M151" display="inline"><mml:mrow><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mi mathvariant="normal">w</mml:mi><mml:mo>,</mml:mo><mml:mi mathvariant="normal">c</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> [0 to 1] is the critical soil moisture (saturation) at which rates are highest, and <inline-formula><mml:math id="M152" display="inline"><mml:mi>n</mml:mi></mml:math></inline-formula> is the exponent reflecting the dependence of rates on soil moisture. A typical <inline-formula><mml:math id="M153" display="inline"><mml:mi>n</mml:mi></mml:math></inline-formula> value is 2 (Yan et al., 2018) with a range between 1.2 and 3.0 (Hamamoto et al., 2010), depending on soil structure and texture. As shown in Fig. 4b, the form indicates an intermediate critical soil moisture <inline-formula><mml:math id="M154" display="inline"><mml:mrow><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mi mathvariant="normal">w</mml:mi><mml:mo>,</mml:mo><mml:mi mathvariant="normal">c</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> at which <inline-formula><mml:math id="M155" display="inline"><mml:mrow><mml:mi>f</mml:mi><mml:mo>(</mml:mo><mml:msub><mml:mi>S</mml:mi><mml:mi mathvariant="normal">w</mml:mi></mml:msub><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> reaches its maximum. When <inline-formula><mml:math id="M156" display="inline"><mml:mrow><mml:msub><mml:mi>S</mml:mi><mml:mi mathvariant="normal">w</mml:mi></mml:msub><mml:mo>≤</mml:mo><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mi mathvariant="normal">w</mml:mi><mml:mo>,</mml:mo><mml:mi mathvariant="normal">c</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>, <inline-formula><mml:math id="M157" display="inline"><mml:mrow><mml:mi>f</mml:mi><mml:mo>(</mml:mo><mml:msub><mml:mi>S</mml:mi><mml:mi mathvariant="normal">w</mml:mi></mml:msub><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> increases with <inline-formula><mml:math id="M158" display="inline"><mml:mrow><mml:msub><mml:mi>S</mml:mi><mml:mi mathvariant="normal">w</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>; when <inline-formula><mml:math id="M159" display="inline"><mml:mrow><mml:msub><mml:mi>S</mml:mi><mml:mi mathvariant="normal">w</mml:mi></mml:msub><mml:mo>&gt;</mml:mo><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mi mathvariant="normal">w</mml:mi><mml:mo>,</mml:mo><mml:mi mathvariant="normal">c</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>, <inline-formula><mml:math id="M160" display="inline"><mml:mrow><mml:mi>f</mml:mi><mml:mo>(</mml:mo><mml:msub><mml:mi>S</mml:mi><mml:mi mathvariant="normal">w</mml:mi></mml:msub><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> decreases with <inline-formula><mml:math id="M161" display="inline"><mml:mrow><mml:msub><mml:mi>S</mml:mi><mml:mi mathvariant="normal">w</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> (Fig. 4b). Under the extreme conditions of <inline-formula><mml:math id="M162" display="inline"><mml:mrow><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mi mathvariant="normal">w</mml:mi><mml:mo>,</mml:mo><mml:mi mathvariant="normal">c</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> equaling 0 or 1, <inline-formula><mml:math id="M163" display="inline"><mml:mrow><mml:mi>f</mml:mi><mml:mo>(</mml:mo><mml:msub><mml:mi>S</mml:mi><mml:mi mathvariant="normal">w</mml:mi></mml:msub><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> monotonically increases or decreases (Fig. 4c). The two parameters, <inline-formula><mml:math id="M164" display="inline"><mml:mrow><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mi mathvariant="normal">w</mml:mi><mml:mo>,</mml:mo><mml:mi mathvariant="normal">c</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M165" display="inline"><mml:mi>n</mml:mi></mml:math></inline-formula>, determines the shape of the curve. They can be specified in input or database files. One can also choose not to have temperature or soil moisture dependence by choosing parameters that would lead to the value of the exponent being zero</p>
</sec>
<sec id="Ch1.S3.SS3.SSSx2" specific-use="unnumbered">
  <title>Rate dependence on substrates: Monod kinetics and the biogeochemical redox ladder</title>
      <p id="d1e3295">Deeper groundwater aquifers often experience anoxic conditions that lead to processes such as denitrification or methanogenesis. This can also happen in wetlands or wet soils. Under such conditions, the rates of microbe-mediated redox reactions depend not only on temperature and soil moisture as discussed above, they also depend on concentrations of electron donors and non-oxygen electron acceptors (e.g., nitrate, iron oxides, sulfate) that are often limited under anoxic conditions (Bao et al., 2014; Li, 2019). The order of redox reactions typically follows the biogeochemical redox ladder, which is based on how much microbe can harvest energy by reducing different types of electron acceptors. Monod reaction rate laws are often used for quantifying rates of these redox conditions. These rate laws are detailed in<?pagebreak page321?> Sect. S2 in the Supplement. Users can combine these Monod rate laws and the temperature and soil moisture dependence described above if needed.</p>
</sec>
</sec>
<sec id="Ch1.S3.SS4">
  <label>3.4</label><title>Plant-related processes: root uptake of nitrate as an example</title>
      <p id="d1e3307">Nutrient uptake by plants is complex and remains poorly understood. A variety of plant uptake models exists with varying degrees of complexity (Neitsch et al., 2011; Fisher et al., 2010; Cai et al., 2016). These models are mostly based on a plant growth module or a supply and demand approach that often requires detailed phenological and plant attributes including growth cycle, root age and biomass, nutrient availability, and carbon allocation, in addition to local temperature and soil moisture (Dunbabin et al., 2002; Buysse et al., 1996; Fisher et al., 2010). Without a detailed mechanistic understanding, we assume a simple and operational approach. In Example 2, which we show later, for example, nitrate uptake was modeled with dependence on <inline-formula><mml:math id="M166" display="inline"><mml:mrow class="chem"><mml:msubsup><mml:mi mathvariant="normal">NO</mml:mi><mml:mn mathvariant="normal">3</mml:mn><mml:mo>-</mml:mo></mml:msubsup></mml:mrow></mml:math></inline-formula> concentration, soil temperature and moisture, and rooting density (McMurtrie et al., 2012; Yan et al., 2012; Buljovcic and Engels, 2001).

                <disp-formula specific-use="gather" content-type="numbered"><mml:math id="M167" display="block"><mml:mtable displaystyle="true"><mml:mlabeledtr id="Ch1.E10"><mml:mtd><mml:mtext>10</mml:mtext></mml:mtd><mml:mtd><mml:mrow><mml:mstyle displaystyle="true" class="stylechange"/><mml:msub><mml:mi>r</mml:mi><mml:mtext>uptake</mml:mtext></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mi>k</mml:mi><mml:mtext>uptake</mml:mtext></mml:msub><mml:msub><mml:mi>C</mml:mi><mml:mrow class="chem"><mml:msubsup><mml:mi mathvariant="normal">NO</mml:mi><mml:mn mathvariant="normal">3</mml:mn><mml:mo>-</mml:mo></mml:msubsup></mml:mrow></mml:msub><mml:mi>f</mml:mi><mml:mo>(</mml:mo><mml:mi>T</mml:mi><mml:mo>)</mml:mo><mml:mi>f</mml:mi><mml:mo>(</mml:mo><mml:msub><mml:mi>S</mml:mi><mml:mi mathvariant="normal">w</mml:mi></mml:msub><mml:mo>)</mml:mo><mml:msub><mml:mi>f</mml:mi><mml:mtext>root</mml:mtext></mml:msub><mml:mo>(</mml:mo><mml:msub><mml:mi>d</mml:mi><mml:mi mathvariant="normal">w</mml:mi></mml:msub><mml:mo>)</mml:mo><mml:mspace width="0.125em" linebreak="nobreak"/><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mlabeledtr><mml:mlabeledtr id="Ch1.E11"><mml:mtd><mml:mtext>11</mml:mtext></mml:mtd><mml:mtd><mml:mrow><mml:mstyle class="stylechange" displaystyle="true"/><mml:msub><mml:mi>f</mml:mi><mml:mtext>root</mml:mtext></mml:msub><mml:mo>(</mml:mo><mml:msub><mml:mi>d</mml:mi><mml:mi mathvariant="normal">w</mml:mi></mml:msub><mml:mo>)</mml:mo><mml:mo>=</mml:mo><mml:mi>exp⁡</mml:mi><mml:mfenced close=")" open="("><mml:mfenced close=")" open="("><mml:mrow><mml:mo>-</mml:mo><mml:msub><mml:mi>d</mml:mi><mml:mi mathvariant="normal">w</mml:mi></mml:msub><mml:mo>+</mml:mo><mml:mi mathvariant="italic">δ</mml:mi><mml:mo>/</mml:mo><mml:mi mathvariant="italic">λ</mml:mi></mml:mrow></mml:mfenced></mml:mfenced><mml:mspace width="0.125em" linebreak="nobreak"/><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mlabeledtr></mml:mtable></mml:math></disp-formula>

            where <inline-formula><mml:math id="M168" display="inline"><mml:mrow><mml:msub><mml:mi>k</mml:mi><mml:mtext>uptake</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula> [<inline-formula><mml:math id="M169" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">L</mml:mi><mml:mspace width="0.125em" linebreak="nobreak"/><mml:msup><mml:mi mathvariant="normal">s</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula>] is the nitrate uptake rate, <inline-formula><mml:math id="M170" display="inline"><mml:mrow><mml:msub><mml:mi>f</mml:mi><mml:mtext>root</mml:mtext></mml:msub><mml:mo>(</mml:mo><mml:msub><mml:mi>d</mml:mi><mml:mi mathvariant="normal">w</mml:mi></mml:msub><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> is the normalized rooting density term in the range of 0 to 1 as a function of water depth to the groundwater (<inline-formula><mml:math id="M171" display="inline"><mml:mrow><mml:msub><mml:mi>d</mml:mi><mml:mi mathvariant="normal">w</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>). The rooting term (Eq. 14) was exponentially fitted (<inline-formula><mml:math id="M172" display="inline"><mml:mrow><mml:mi mathvariant="italic">δ</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0.013</mml:mn></mml:mrow></mml:math></inline-formula>, <inline-formula><mml:math id="M173" display="inline"><mml:mrow><mml:mi mathvariant="italic">λ</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0.20</mml:mn></mml:mrow></mml:math></inline-formula>) based on field measurements of root distribution along depth (Hasenmueller et al., 2017). It is common to observe a root density decrease exponentially in forests (López et al., 2001). Other forms of user-tailored plant uptake rate law can be added if needed.</p>
</sec>
</sec>
<sec id="Ch1.S4">
  <label>4</label><title>Numerical scheme and model verification</title>
      <p id="d1e3535">The system of differential equations for water storage (e.g., Eqs. 1 and 2, and S1 and S2) is assembled into a global system of ordinary differential equations (ODEs). It is solved in CVODE (short for C-language Variable-coefficients ODE solver, <uri>https://computing.llnl.gov/projects/sundials/cvode</uri>, last access: 10 January 2021), a numerical ODE solver in the SUite of Nonlinear and Differential/ALgebraic equation Solvers (SUNDIALS) (Hindmarsh et al., 2005). In BioRT, the transport step is first solved with water by the preconditioned Krylov (iterative) method and the generalized minimal residual method (Saad and Schultz, 1986). All primary species in element <inline-formula><mml:math id="M174" display="inline"><mml:mi>i</mml:mi></mml:math></inline-formula> are then assembled in a local matrix and solved iteratively using the Crank–Nicolson and Newton–Raphson methods in CVODE (Bao et al., 2017).</p>
<sec id="Ch1.S4.SSx1" specific-use="unnumbered">
  <title>Model verification</title>
      <p id="d1e3553">The BioRT module has been verified against CrunchTope under different transport and reaction conditions (Figs. S1–S7 in the Supplement). CrunchTope is a widely used subsurface reactive transport model (Steefel and Lasaga, 1994; Steefel et al., 2015) and is often used as a benchmark to verify other reactive transport models. Verification was performed under simplified hydrological conditions with 1-D column and constant flow rates such that it focuses on advection, diffusion, dispersion, and biogeochemical reactions. Specifically, three cases were verified. The phosphorus case that involves kinetics-controlled apatite dissolution and thermodynamics-controlled phosphorous speciation was first tested for solution accuracy of the bulk code that was inherited from the original RT-Flux-PIHM. Soil carbon and nitrogen processes were further verified for solution accuracy of the augmented BioRT module. Table S7 shows an average percent bias and Nash–Sutcliffe efficiency (NSE) of 1.1 % and 0.98,<?pagebreak page322?> indicating a robust performance for a variety of solutes under different transport and reaction conditions. Note NSE ranges from <inline-formula><mml:math id="M175" display="inline"><mml:mrow><mml:mo>-</mml:mo><mml:mi mathvariant="normal">∞</mml:mi></mml:mrow></mml:math></inline-formula> to 1, with <inline-formula><mml:math id="M176" display="inline"><mml:mrow><mml:mtext>NSE</mml:mtext><mml:mo>=</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:math></inline-formula> being the perfect fit (Moriasi et al., 2007).</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F5" specific-use="star"><?xmltex \currentcnt{5}?><?xmltex \def\figurename{Figure}?><label>Figure 5</label><caption><p id="d1e3580">Model structure, input, and output of BioRT-Flux-PIHM. The Flux-PIHM takes in watershed characteristics including topography (digital elevation model, DEM), land cover, shallow- and deep-zone properties, and meteorological forcing time series and solves for water storage and ground and soil temperature. BioRT takes in water- and temperature-related output from Flux-PIHM and additional inputs such as precipitation chemistry and shallow- and deep-water chemistry and biogeochemical kinetics parameters and solves for aqueous and solid concentrations in the shallow and deep zone and stream water. NADP stands for the National Atmospheric Deposition Program.</p></caption>
          <?xmltex \igopts{width=341.433071pt}?><graphic xlink:href="https://gmd.copernicus.org/articles/15/315/2022/gmd-15-315-2022-f05.png"/>

        </fig>

</sec>
</sec>
<sec id="Ch1.S5">
  <label>5</label><title>Model structure, data needs, and domain setup</title>
<sec id="Ch1.S5.SS1">
  <label>5.1</label><title>Model structure</title>
      <p id="d1e3606">The model takes meteorological forcing time series as input and solves for water storage and soil temperature, along with other hydrologic and land-surface states and fluxes (Fig. 5). BioRT reads in the model output of water and temperature from Flux-PIHM and solves biogeochemical reactive transport equations. At the timescale of months to years that are typical for BioRT simulations, alterations in solid phase properties, including porosity, permeability, and reactive surface area, are considered negligible such that hydrological parameters remain constant with time.</p>
</sec>
<sec id="Ch1.S5.SS2">
  <label>5.2</label><title>Data needs</title>
      <p id="d1e3617">The code sets up the model domain based on watershed characteristics including topography, land cover, and shallow- and deep-zone properties (Fig. 5). When the model is used in a spatially distributed form, the model domain is set up using elevation, land cover, soil, and geology maps supplied by the user. A useful data portal is the Geospatial Data Gateway (<uri>https://datagateway.nrcs.usda.gov</uri>, last access: 22 May 2019). Another geospatial data source is HydroTerre (<uri>http://www.hydroterre.psu.edu/</uri>, last access: 22 May 2019), where users can obtain data on elevation, land cover, geology, and soil (Leonard and Duffy, 2013). Meteorological forcing data can be downloaded from the North American Land Data Assimilation Systems Phase 2 (NLDAS-2, <uri>https://ldas.gsfc.nasa.gov/nldas/v2/forcing</uri>, , last access: 22 May 2019). The vegetation forcing, i.e., leaf area index (LAI), can be obtained from MODIS (Moderate Resolution Imaging Spectroradiometer, <uri>https://modis.gsfc.nasa.gov/data</uri>, last access: 22 May 2019). Other vegetation properties (e.g., shading fraction, rooting depth) can be adopted from, for example, the Noah vegetation parameter table embedded in the Weather Research and Forecasting model (WRF; Skamarock and Klemp, 2019). Local measurements from meteorological stations and field campaigns (e.g., land cover, soil, geology) can be used in the model. Initial water and solid phase chemistry can be based on measurements or general knowledge of the simulated sites. The form of reaction rate laws can be defined in the input files and calibrated to reproduce field data. Reaction thermodynamics, mostly equilibrium constants, are from the geochemical database EQ3/6 by default (Wolery, 1992). These reaction parameters can be modified when necessary. The model outputs include aqueous and solid concentrations of shallow and deep zones and stream water.</p>

<?xmltex \floatpos{t}?><table-wrap id="Ch1.T1" specific-use="star"><?xmltex \currentcnt{1}?><label>Table 1</label><caption><p id="d1e3635">Example applications of BioRT-Flux-PIHM.</p></caption><oasis:table frame="topbot"><oasis:tgroup cols="6">
     <oasis:colspec colnum="1" colname="col1" align="left"/>
     <oasis:colspec colnum="2" colname="col2" align="right"/>
     <oasis:colspec colnum="3" colname="col3" align="left"/>
     <oasis:colspec colnum="4" colname="col4" align="left"/>
     <oasis:colspec colnum="5" colname="col5" align="left"/>
     <oasis:colspec colnum="6" colname="col6" align="left"/>
     <oasis:thead>
       <oasis:row>
         <oasis:entry colname="col1">Watershed</oasis:entry>
         <oasis:entry colname="col2">Size</oasis:entry>
         <oasis:entry colname="col3">Model domain</oasis:entry>
         <oasis:entry colname="col4">Modeled</oasis:entry>
         <oasis:entry colname="col5">Reactions (rate laws: <inline-formula><mml:math id="M177" display="inline"><mml:msup><mml:mi/><mml:mi mathvariant="normal">a</mml:mi></mml:msup></mml:math></inline-formula>: TST;</oasis:entry>
         <oasis:entry colname="col6">Reference</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1"/>
         <oasis:entry colname="col2">(<inline-formula><mml:math id="M178" display="inline"><mml:mrow class="unit"><mml:msup><mml:mi mathvariant="normal">km</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula>)</oasis:entry>
         <oasis:entry colname="col3"/>
         <oasis:entry colname="col4">solutes</oasis:entry>
         <oasis:entry colname="col5"><inline-formula><mml:math id="M179" display="inline"><mml:msup><mml:mi/><mml:mi mathvariant="normal">b</mml:mi></mml:msup></mml:math></inline-formula>: Monod based; <inline-formula><mml:math id="M180" display="inline"><mml:msup><mml:mi/><mml:mi mathvariant="normal">c</mml:mi></mml:msup></mml:math></inline-formula>: plant uptake)</oasis:entry>
         <oasis:entry colname="col6"/>
       </oasis:row>
     </oasis:thead>
     <oasis:tbody>
       <oasis:row>
         <oasis:entry colname="col1">Shale Hills</oasis:entry>
         <oasis:entry colname="col2">0.08</oasis:entry>
         <oasis:entry colname="col3">Spatially distributed</oasis:entry>
         <oasis:entry colname="col4">Cl, Mg</oasis:entry>
         <oasis:entry colname="col5">– Chlorite dissolution<inline-formula><mml:math id="M181" display="inline"><mml:msup><mml:mi/><mml:mi mathvariant="normal">a</mml:mi></mml:msup></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col6">Bao et al. (2017),</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">(PA, USA)</oasis:entry>
         <oasis:entry colname="col2"/>
         <oasis:entry colname="col3"/>
         <oasis:entry colname="col4"/>
         <oasis:entry colname="col5">– Illite dissolution<inline-formula><mml:math id="M182" display="inline"><mml:msup><mml:mi/><mml:mi mathvariant="normal">a</mml:mi></mml:msup></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col6">Li et al. (2017)</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1"/>
         <oasis:entry colname="col2"/>
         <oasis:entry rowsep="1" colname="col3"/>
         <oasis:entry rowsep="1" colname="col4"/>
         <oasis:entry rowsep="1" colname="col5">– Cation exchange</oasis:entry>
         <oasis:entry rowsep="1" colname="col6"/>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1"/>
         <oasis:entry colname="col2"/>
         <oasis:entry colname="col3">Spatially distributed</oasis:entry>
         <oasis:entry colname="col4">DOC</oasis:entry>
         <oasis:entry colname="col5">– SOC decomposition<inline-formula><mml:math id="M183" display="inline"><mml:msup><mml:mi/><mml:mi mathvariant="normal">b</mml:mi></mml:msup></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col6">Wen et al. (2020)</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1"/>
         <oasis:entry colname="col2"/>
         <oasis:entry rowsep="1" colname="col3"/>
         <oasis:entry rowsep="1" colname="col4"/>
         <oasis:entry rowsep="1" colname="col5">– DOC sorption</oasis:entry>
         <oasis:entry rowsep="1" colname="col6"/>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1"/>
         <oasis:entry colname="col2"/>
         <oasis:entry colname="col3">Spatially lumped</oasis:entry>
         <oasis:entry colname="col4"><inline-formula><mml:math id="M184" display="inline"><mml:mrow class="chem"><mml:msubsup><mml:mi mathvariant="normal">NO</mml:mi><mml:mn mathvariant="normal">3</mml:mn><mml:mo>-</mml:mo></mml:msubsup></mml:mrow></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col5">– Soil N leaching<inline-formula><mml:math id="M185" display="inline"><mml:msup><mml:mi/><mml:mi mathvariant="normal">b</mml:mi></mml:msup></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col6">This work</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1"/>
         <oasis:entry colname="col2"/>
         <oasis:entry colname="col3"/>
         <oasis:entry colname="col4"/>
         <oasis:entry colname="col5">– Denitrification<inline-formula><mml:math id="M186" display="inline"><mml:msup><mml:mi/><mml:mi mathvariant="normal">b</mml:mi></mml:msup></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col6"/>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1"/>
         <oasis:entry colname="col2"/>
         <oasis:entry colname="col3"/>
         <oasis:entry colname="col4"/>
         <oasis:entry colname="col5">– Plant uptake<inline-formula><mml:math id="M187" display="inline"><mml:msup><mml:mi/><mml:mi mathvariant="normal">c</mml:mi></mml:msup></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col6"/>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">Coal Creek</oasis:entry>
         <oasis:entry colname="col2">53</oasis:entry>
         <oasis:entry colname="col3">Spatially lumped</oasis:entry>
         <oasis:entry colname="col4">DOC, Na</oasis:entry>
         <oasis:entry colname="col5">– SOC decomposition<inline-formula><mml:math id="M188" display="inline"><mml:msup><mml:mi/><mml:mi mathvariant="normal">b</mml:mi></mml:msup></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col6">Zhi et al. (2019)</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">(CO, USA)</oasis:entry>
         <oasis:entry colname="col2"/>
         <oasis:entry colname="col3"/>
         <oasis:entry colname="col4"/>
         <oasis:entry colname="col5">– DOC sorption</oasis:entry>
         <oasis:entry colname="col6"/>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1"/>
         <oasis:entry colname="col2"/>
         <oasis:entry colname="col3"/>
         <oasis:entry colname="col4"/>
         <oasis:entry colname="col5">– Albite dissolution<inline-formula><mml:math id="M189" display="inline"><mml:msup><mml:mi/><mml:mi mathvariant="normal">a</mml:mi></mml:msup></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col6"/>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">Chimborazo</oasis:entry>
         <oasis:entry colname="col2"/>
         <oasis:entry colname="col3">Spatially distributed</oasis:entry>
         <oasis:entry colname="col4">Cl, Na, Ca,</oasis:entry>
         <oasis:entry colname="col5">– Albite dissolution<inline-formula><mml:math id="M190" display="inline"><mml:msup><mml:mi/><mml:mi mathvariant="normal">a</mml:mi></mml:msup></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col6">Saberi et al. (2021)</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">(Ecuador)</oasis:entry>
         <oasis:entry colname="col2"/>
         <oasis:entry colname="col3"/>
         <oasis:entry colname="col4">Mg, <inline-formula><mml:math id="M191" display="inline"><mml:mrow class="chem"><mml:msub><mml:mi mathvariant="normal">SiO</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col5">– Diopside dissolution<inline-formula><mml:math id="M192" display="inline"><mml:msup><mml:mi/><mml:mi mathvariant="normal">a</mml:mi></mml:msup></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col6"/>
       </oasis:row>
     </oasis:tbody>
   </oasis:tgroup></oasis:table><table-wrap-foot><p id="d1e3638">Note: transition state theory (TST) is a classic kinetic rate law for mineral dissolution and precipitation (Brantley et al., 2008) (Eq. S15); SOC stands for soil organic carbon.</p></table-wrap-foot></table-wrap>

<sec id="Ch1.S5.SS2.SSS1">
  <label>5.2.1</label><title>Domain setup: spatially lumped and distributed domains</title>
      <p id="d1e4099">The domain can be set up at different spatial resolutions. A simple domain can be set up with two land grids representing two sides of a watershed connected by one river cell. This setup uses averaged properties without the need for spatial data. Alternatively, a complex domain can be set up to track “hot spots” of biogeochemical reactions using many grids with explicit representation of spatial details (e.g., topographic map, river network, land use map, soil and geology map, mineral distribution). The model domain can be set up using PIHMgis (<uri>http://www.pihm.psu.edu/pihmgis_home.html</uri>, last access: 22 May 2019), a standalone GIS interface for watershed delineation, domain decomposition, and parameter assignment (Bhatt et al., 2014). The same processes (e.g., hydrology, reaction network) can be setup in both types of spatial configurations. Auto-calibration is not built into the model, but a global calibration coefficient approach can be used to reduce parameter dimension and facilitate manual calibration. A typical model application requires 20 to 30 hydrological parameters to be calibrated. These parameters include land-surface parameters (e.g., canopy resistance, surface albedo), soil and geology parameters (e.g., hydraulic conductivity, porosity, Van Genuchten, macropore properties) (Shi et al., 2013). Reaction-related parameters (e.g., reaction rate constant, mineral surface area, <inline-formula><mml:math id="M193" display="inline"><mml:mrow><mml:msub><mml:mi>Q</mml:mi><mml:mn mathvariant="normal">10</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula>, <inline-formula><mml:math id="M194" display="inline"><mml:mrow><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mi mathvariant="normal">w</mml:mi><mml:mo>,</mml:mo><mml:mi mathvariant="normal">c</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>, and <inline-formula><mml:math id="M195" display="inline"><mml:mi>n</mml:mi></mml:math></inline-formula>) are additionally needed for calibration, the number of which depends on the numbers of reactions involved in a particular system.</p>
</sec>
</sec>
</sec>
<sec id="Ch1.S6">
  <label>6</label><title>Model applications</title>
      <p id="d1e4149">The original RT-Flux-PIHM has been applied to understand processes related to the geogenic solutes of Cl and Mg at the Shale Hills watershed and for Na in a watershed on Chimborazo in the Ecuadorian Andes (Table 1). The new BioRT-Flux-PIHM has been demonstrated for understanding the dynamics of DOC and nitrate at Shale Hills and Coal Creek. This section will present one hydrology and two biogeochemical examples in the Susquehanna Shale Hills Critical Zone Observatory (SSHCZO), a small headwater watershed in central Pennsylvania, USA. The mean annual precipitation is approximately 1070 mm and the mean annual temperature is 10 <inline-formula><mml:math id="M196" display="inline"><mml:mrow class="unit"><mml:msup><mml:mi/><mml:mo>∘</mml:mo></mml:msup><mml:mi mathvariant="normal">C</mml:mi></mml:mrow></mml:math></inline-formula> (Brantley et al., 2018). Soil carbon storage and respiration and nitrogen budget and fluxes have been studied in detail (Andrews et al., 2011; Hasenmueller et al., 2015; Weitzman and Kaye, 2018). Modeling work has been conducted to understand hydrological dynamics (Shi et al., 2013; Xiao et al., 2019), transport of the non-reactive tracer Cl, and the weathering-derived solute Mg (Bao et al., 2017; Li et al., 2017a).</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F6" specific-use="star"><?xmltex \currentcnt{6}?><?xmltex \def\figurename{Figure}?><label>Figure 6</label><caption><p id="d1e4166"><bold>(a)</bold> Hydraulic conductivity (<inline-formula><mml:math id="M197" display="inline"><mml:mrow><mml:msub><mml:mi>K</mml:mi><mml:mtext>satH</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula>) contrast controls the proportion of deep groundwater (<inline-formula><mml:math id="M198" display="inline"><mml:mrow><mml:msub><mml:mi>Q</mml:mi><mml:mi mathvariant="normal">G</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>). The cases of high (<inline-formula><mml:math id="M199" display="inline"><mml:mrow><mml:msubsup><mml:mi>K</mml:mi><mml:mtext>satH</mml:mtext><mml:mtext>dp</mml:mtext></mml:msubsup><mml:mo>=</mml:mo><mml:mn mathvariant="normal">2.6</mml:mn></mml:mrow></mml:math></inline-formula> <inline-formula><mml:math id="M200" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">m</mml:mi><mml:mspace linebreak="nobreak" width="0.125em"/><mml:msup><mml:mi mathvariant="normal">d</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula>, red) and low conductivity (<inline-formula><mml:math id="M201" display="inline"><mml:mrow><mml:msubsup><mml:mi>K</mml:mi><mml:mtext>satH</mml:mtext><mml:mtext>dp</mml:mtext></mml:msubsup><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0.22</mml:mn></mml:mrow></mml:math></inline-formula> <inline-formula><mml:math id="M202" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">m</mml:mi><mml:mspace width="0.125em" linebreak="nobreak"/><mml:msup><mml:mi mathvariant="normal">d</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula>, blue) led to 26 % and 5.2 % of annual <inline-formula><mml:math id="M203" display="inline"><mml:mrow><mml:msub><mml:mi>Q</mml:mi><mml:mi mathvariant="normal">G</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> contribution to discharge (<inline-formula><mml:math id="M204" display="inline"><mml:mi>Q</mml:mi></mml:math></inline-formula>), respectively. <bold>(b)</bold> Deep-groundwater fraction as a function of <inline-formula><mml:math id="M205" display="inline"><mml:mrow><mml:msub><mml:mi>K</mml:mi><mml:mtext>satH</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula> contrast between the deep and shallow zone. The upper limit of the deep/shallow <inline-formula><mml:math id="M206" display="inline"><mml:mrow><mml:msub><mml:mi>K</mml:mi><mml:mtext>satH</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula> contrast was set to 1 as most watersheds have smaller <inline-formula><mml:math id="M207" display="inline"><mml:mrow><mml:msub><mml:mi>K</mml:mi><mml:mtext>satH</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula> in the deep zone than in the shallow zone. The two red and blue dots correspond to the two cases in <bold>(a)</bold>.</p></caption>
        <?xmltex \igopts{width=426.791339pt}?><graphic xlink:href="https://gmd.copernicus.org/articles/15/315/2022/gmd-15-315-2022-f06.png"/>

      </fig>

<?xmltex \hack{\newpage}?>
<?pagebreak page323?><sec id="Ch1.S6.SS1">
  <label>6.1</label><title>Example 1: shallow and deep-water interactions</title>
      <p id="d1e4336">The model was set up using the spatially lumped mode with two grids and one river grid characterized by average land cover, soil, and rock properties based on previous work. The model assumed the dominant soil type (Weikert soil) at Shale Hills. The porosity of the deep zone was set to a tenth of the shallow soil porosity based on measurements of the groundwater aquifer (Brantley et al., 2018; Kuntz et al., 2011). In a headwater catchment like Shale Hills where the deep groundwater is most likely sourced from recharge, the deep-groundwater contribution to the stream can be primarily controlled by the hydraulic conductivity (<inline-formula><mml:math id="M208" display="inline"><mml:mrow><mml:msub><mml:mi>K</mml:mi><mml:mtext>satH</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula>) contrast between the deep and shallow zones (i.e., <inline-formula><mml:math id="M209" display="inline"><mml:mrow><mml:msubsup><mml:mi>K</mml:mi><mml:mtext>satH</mml:mtext><mml:mtext>dp</mml:mtext></mml:msubsup><mml:mo>/</mml:mo><mml:msubsup><mml:mi>K</mml:mi><mml:mtext>satH</mml:mtext><mml:mtext>sl</mml:mtext></mml:msubsup></mml:mrow></mml:math></inline-formula>). This is because the <inline-formula><mml:math id="M210" display="inline"><mml:mrow><mml:msub><mml:mi>K</mml:mi><mml:mtext>satH</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula> contrast determines the partitioning of infiltrating water between the shallow lateral flow and<?pagebreak page324?> the downward recharge to the deep zone and then deep-groundwater flow. Two cases of high (red) and low (blue) <inline-formula><mml:math id="M211" display="inline"><mml:mrow><mml:msubsup><mml:mi>K</mml:mi><mml:mtext>satH</mml:mtext><mml:mtext>dp</mml:mtext></mml:msubsup></mml:mrow></mml:math></inline-formula> were set up to showcase the control of <inline-formula><mml:math id="M212" display="inline"><mml:mrow><mml:msub><mml:mi>K</mml:mi><mml:mtext>satH</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula> contrast on deep groundwater (Fig. 6a). By changing the deep zone <inline-formula><mml:math id="M213" display="inline"><mml:mrow><mml:msubsup><mml:mi>K</mml:mi><mml:mtext>satH</mml:mtext><mml:mtext>dp</mml:mtext></mml:msubsup></mml:mrow></mml:math></inline-formula> from 2.6 to 0.22 (<inline-formula><mml:math id="M214" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">m</mml:mi><mml:mspace linebreak="nobreak" width="0.125em"/><mml:msup><mml:mi mathvariant="normal">d</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula>), the annual deep-groundwater (<inline-formula><mml:math id="M215" display="inline"><mml:mrow><mml:msub><mml:mi>Q</mml:mi><mml:mi mathvariant="normal">G</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>) contribution to discharge (<inline-formula><mml:math id="M216" display="inline"><mml:mi>Q</mml:mi></mml:math></inline-formula>) decreased from 26 % to 5.2 %, although the total stream discharge remains the same. This indicates that the changing <inline-formula><mml:math id="M217" display="inline"><mml:mrow><mml:msubsup><mml:mi>K</mml:mi><mml:mtext>satH</mml:mtext><mml:mtext>dp</mml:mtext></mml:msubsup></mml:mrow></mml:math></inline-formula> mostly changes the flow partitioning between the shallow soil flow and deeper groundwater flow into streams.</p>
      <p id="d1e4469">Several additional cases were further tested to examine the relationship between deep-groundwater fraction (%) of discharge and <inline-formula><mml:math id="M218" display="inline"><mml:mrow><mml:msub><mml:mi>K</mml:mi><mml:mtext>satH</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula> contrast. Figure 6b shows that the deep-groundwater fraction rapidly increases with the increasing ratio of <inline-formula><mml:math id="M219" display="inline"><mml:mrow><mml:msubsup><mml:mi>K</mml:mi><mml:mtext>satH</mml:mtext><mml:mtext>dp</mml:mtext></mml:msubsup><mml:mo>/</mml:mo><mml:msubsup><mml:mi>K</mml:mi><mml:mtext>satH</mml:mtext><mml:mtext>sl</mml:mtext></mml:msubsup></mml:mrow></mml:math></inline-formula>, reaching a limit when the <inline-formula><mml:math id="M220" display="inline"><mml:mrow><mml:msub><mml:mi>K</mml:mi><mml:mtext>satH</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula> contrast is sufficiently high. The deep-groundwater contribution to the stream reaches <inline-formula><mml:math id="M221" display="inline"><mml:mrow><mml:mo>∼</mml:mo><mml:mn mathvariant="normal">40</mml:mn></mml:mrow></mml:math></inline-formula> % when <inline-formula><mml:math id="M222" display="inline"><mml:mrow><mml:msubsup><mml:mi>K</mml:mi><mml:mtext>satH</mml:mtext><mml:mtext>dp</mml:mtext></mml:msubsup></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M223" display="inline"><mml:mrow><mml:msubsup><mml:mi>K</mml:mi><mml:mtext>satH</mml:mtext><mml:mtext>sl</mml:mtext></mml:msubsup></mml:mrow></mml:math></inline-formula> are equal. In natural systems, we do see places, for example, karst formations, where groundwater contributes to more than 40 % (Hartmann et al., 2014; Husic, 2018). These places may have higher deeper conductivity than shallow soils due to the development of highly conductive conduits.</p>
</sec>
<sec id="Ch1.S6.SS2">
  <label>6.2</label><title>Example 2: nitrate dynamics in a spatially implicit domain</title>
      <p id="d1e4561">This example focuses on nitrate (<inline-formula><mml:math id="M224" display="inline"><mml:mrow class="chem"><mml:msubsup><mml:mi mathvariant="normal">NO</mml:mi><mml:mn mathvariant="normal">3</mml:mn><mml:mo>-</mml:mo></mml:msubsup></mml:mrow></mml:math></inline-formula>), a dominant dissolved N form in water (Weitzman and Kaye, 2018). The N processes at Shale Hills include atmospheric N deposition, soil N leaching, stream export, denitrification, and plant uptake (Fig. 7). Based on field measurements, the atmospheric deposition at the site is the dominant N input; N export via discharge is only a small fraction (2.5 %) of atmospheric N input. Most deposited N is tightly cycled by plants or lost to the atmosphere via denitrification.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F7"><?xmltex \currentcnt{7}?><?xmltex \def\figurename{Figure}?><label>Figure 7</label><caption><p id="d1e4579">Modeled nitrogen processes in Example 2. Atmospheric N deposition is the major N input; denitrification and plant uptake are the major N loss and sink. Export via discharge only occupies a small fraction.</p></caption>
          <?xmltex \igopts{width=213.395669pt}?><graphic xlink:href="https://gmd.copernicus.org/articles/15/315/2022/gmd-15-315-2022-f07.png"/>

        </fig>

      <p id="d1e4588">The soil N leaching process was represented using a lumped reaction could represent the total rates of reactions including the decomposition of soil organic matter (SOM), nitrification, and rock weathering that generates <inline-formula><mml:math id="M225" display="inline"><mml:mrow class="chem"><mml:msubsup><mml:mi mathvariant="normal">NO</mml:mi><mml:mn mathvariant="normal">3</mml:mn><mml:mo>-</mml:mo></mml:msubsup></mml:mrow></mml:math></inline-formula>. Its rate was assumed to depend on soil temperature and moisture and follows the equation <inline-formula><mml:math id="M226" display="inline"><mml:mrow><mml:msub><mml:mi>r</mml:mi><mml:mtext>leach</mml:mtext></mml:msub><mml:mo>=</mml:mo><mml:mi>k</mml:mi><mml:mi>A</mml:mi><mml:mi>f</mml:mi><mml:mo>(</mml:mo><mml:mi>T</mml:mi><mml:mo>)</mml:mo><mml:mi>f</mml:mi><mml:mo>(</mml:mo><mml:msub><mml:mi>S</mml:mi><mml:mi mathvariant="normal">w</mml:mi></mml:msub><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula>, where <inline-formula><mml:math id="M227" display="inline"><mml:mrow><mml:msub><mml:mi>r</mml:mi><mml:mtext>leach</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula> [<inline-formula><mml:math id="M228" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">mol</mml:mi><mml:mspace width="0.125em" linebreak="nobreak"/><mml:msup><mml:mi mathvariant="normal">s</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula>] is the leaching rate, <inline-formula><mml:math id="M229" display="inline"><mml:mrow><mml:mi>k</mml:mi><mml:mo>=</mml:mo><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">9.7</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula> [<inline-formula><mml:math id="M230" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">mol</mml:mi><mml:mspace linebreak="nobreak" width="0.125em"/><mml:msup><mml:mi mathvariant="normal">m</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:msup><mml:mspace width="0.125em" linebreak="nobreak"/><mml:msup><mml:mi mathvariant="normal">s</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula>] is the leaching rate constant (Regnier and Steefel, 1999), and <inline-formula><mml:math id="M231" display="inline"><mml:mi>A</mml:mi></mml:math></inline-formula> [<inline-formula><mml:math id="M232" display="inline"><mml:mrow class="unit"><mml:msup><mml:mi mathvariant="normal">m</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula>] is the surface area that represents the contact area between substrates and N-transforming microbe. The surface area was calculated based on SOM volume fraction [<inline-formula><mml:math id="M233" display="inline"><mml:mrow class="unit"><mml:msup><mml:mi mathvariant="normal">m</mml:mi><mml:mn mathvariant="normal">3</mml:mn></mml:msup><mml:mspace width="0.125em" linebreak="nobreak"/><mml:msup><mml:mi mathvariant="normal">m</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">3</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula>], specific surface area (SSA, [<inline-formula><mml:math id="M234" display="inline"><mml:mrow class="unit"><mml:msup><mml:mi mathvariant="normal">m</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msup><mml:mspace linebreak="nobreak" width="0.125em"/><mml:msup><mml:mi mathvariant="normal">g</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula>]), substrate density [<inline-formula><mml:math id="M235" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">g</mml:mi><mml:mspace linebreak="nobreak" width="0.125em"/><mml:msup><mml:mi mathvariant="normal">cm</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">3</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula>], and element volume [<inline-formula><mml:math id="M236" display="inline"><mml:mrow class="unit"><mml:msup><mml:mi mathvariant="normal">m</mml:mi><mml:mn mathvariant="normal">3</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula>].</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F8" specific-use="star"><?xmltex \currentcnt{8}?><?xmltex \def\figurename{Figure}?><label>Figure 8</label><caption><p id="d1e4804">Stream nitrate dynamics and fluxes at Shale Hills in Example 2. <bold>(a)</bold> Three simulation scenarios with different processes are demonstrated here: transport only (dashed line, <italic>tran</italic>), <inline-formula><mml:math id="M237" display="inline"><mml:mrow><mml:mtext>transport</mml:mtext><mml:mo>+</mml:mo><mml:mtext>N reaction</mml:mtext></mml:mrow></mml:math></inline-formula> (gray line, <inline-formula><mml:math id="M238" display="inline"><mml:mrow><mml:mtext>tran</mml:mtext><mml:mo>+</mml:mo><mml:mtext>N react</mml:mtext></mml:mrow></mml:math></inline-formula>), <inline-formula><mml:math id="M239" display="inline"><mml:mrow><mml:mtext>transport</mml:mtext><mml:mo>+</mml:mo><mml:mtext>N reaction</mml:mtext><mml:mo>+</mml:mo><mml:mtext>plant uptake</mml:mtext></mml:mrow></mml:math></inline-formula> (thick black line, <inline-formula><mml:math id="M240" display="inline"><mml:mrow><mml:mtext>tran</mml:mtext><mml:mo>+</mml:mo><mml:mtext>N react</mml:mtext><mml:mo>+</mml:mo><mml:mtext>upta</mml:mtext></mml:mrow></mml:math></inline-formula>), where N reactions include both nitrate leaching and denitrification (see Fig. 7); <bold>(b)</bold> nitrate concentration in precipitation and shallow and deep water; <bold>(c)</bold> nitrate fluxes and budget. Note that nitrate leaching was ignored in <bold>(b)</bold> due to its minimal flux as N deposition from rainfall was the dominant input (Weitzman and Kaye, 2018).</p></caption>
          <?xmltex \igopts{width=398.338583pt}?><graphic xlink:href="https://gmd.copernicus.org/articles/15/315/2022/gmd-15-315-2022-f08.png"/>

        </fig>

      <?pagebreak page325?><p id="d1e4885">Denitrification converts <inline-formula><mml:math id="M241" display="inline"><mml:mrow class="chem"><mml:msubsup><mml:mi mathvariant="normal">NO</mml:mi><mml:mn mathvariant="normal">3</mml:mn><mml:mo>-</mml:mo></mml:msubsup></mml:mrow></mml:math></inline-formula> to <inline-formula><mml:math id="M242" display="inline"><mml:mrow class="chem"><mml:msub><mml:mi mathvariant="normal">N</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> gas under anaerobic conditions. Here this process was modeled by the Monod rate law with DOC as the electron donor, <inline-formula><mml:math id="M243" display="inline"><mml:mrow class="chem"><mml:msubsup><mml:mi mathvariant="normal">NO</mml:mi><mml:mn mathvariant="normal">3</mml:mn><mml:mo>-</mml:mo></mml:msubsup></mml:mrow></mml:math></inline-formula> as the electron acceptor, and with an inhibition term <inline-formula><mml:math id="M244" display="inline"><mml:mrow><mml:mi>f</mml:mi><mml:mo>(</mml:mo><mml:mrow class="chem"><mml:msub><mml:mi mathvariant="normal">O</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> (Eq. S13). The reaction rate is
            <disp-formula id="Ch1.E12" content-type="numbered"><label>12</label><mml:math id="M245" display="block"><mml:mtable class="split" rowspacing="0.2ex" displaystyle="true" columnalign="right left"><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi>r</mml:mi><mml:mtext>denitrification</mml:mtext></mml:msub><mml:mo>=</mml:mo></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:mspace linebreak="nobreak" width="0.25em"/><mml:mi>k</mml:mi><mml:mi>A</mml:mi><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:msub><mml:mi>C</mml:mi><mml:mtext>DOC</mml:mtext></mml:msub></mml:mrow><mml:mrow><mml:msub><mml:mi>K</mml:mi><mml:mrow><mml:mi>m</mml:mi><mml:mo>,</mml:mo><mml:mtext>DOC</mml:mtext></mml:mrow></mml:msub><mml:mo>+</mml:mo><mml:msub><mml:mi>C</mml:mi><mml:mtext>DOC</mml:mtext></mml:msub></mml:mrow></mml:mfrac></mml:mstyle><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:msub><mml:mi>C</mml:mi><mml:mrow class="chem"><mml:msubsup><mml:mi mathvariant="normal">NO</mml:mi><mml:mn mathvariant="normal">3</mml:mn><mml:mo>-</mml:mo></mml:msubsup></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:msub><mml:mi>K</mml:mi><mml:mrow><mml:mi>m</mml:mi><mml:mo>,</mml:mo><mml:mrow class="chem"><mml:msubsup><mml:mi mathvariant="normal">NO</mml:mi><mml:mn mathvariant="normal">3</mml:mn><mml:mo>-</mml:mo></mml:msubsup></mml:mrow></mml:mrow></mml:msub><mml:mo>+</mml:mo><mml:msub><mml:mi>C</mml:mi><mml:mrow class="chem"><mml:msubsup><mml:mi mathvariant="normal">NO</mml:mi><mml:mn mathvariant="normal">3</mml:mn><mml:mo>-</mml:mo></mml:msubsup></mml:mrow></mml:msub></mml:mrow></mml:mfrac></mml:mstyle></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd/><mml:mtd><mml:mrow><mml:mo>×</mml:mo><mml:mi>f</mml:mi><mml:mo>(</mml:mo><mml:mrow class="chem"><mml:msub><mml:mi mathvariant="normal">O</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub></mml:mrow><mml:mo>)</mml:mo><mml:mi>f</mml:mi><mml:mo>(</mml:mo><mml:mi>T</mml:mi><mml:mo>)</mml:mo><mml:mi>f</mml:mi><mml:mo>(</mml:mo><mml:msub><mml:mi>S</mml:mi><mml:mi mathvariant="normal">w</mml:mi></mml:msub><mml:mo>)</mml:mo><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
          where <inline-formula><mml:math id="M246" display="inline"><mml:mrow><mml:mi>k</mml:mi><mml:mo>=</mml:mo><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">10</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula> [<inline-formula><mml:math id="M247" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">mol</mml:mi><mml:mspace width="0.125em" linebreak="nobreak"/><mml:msup><mml:mi mathvariant="normal">m</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:msup><mml:mspace linebreak="nobreak" width="0.125em"/><mml:msup><mml:mi mathvariant="normal">s</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula>] is the denitrification rate constant (Regnier and Steefel, 1999) and half-saturation constants <inline-formula><mml:math id="M248" display="inline"><mml:mrow><mml:msub><mml:mi>K</mml:mi><mml:mrow><mml:mi>m</mml:mi><mml:mo>,</mml:mo><mml:mtext>DOC</mml:mtext></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mn mathvariant="normal">15</mml:mn></mml:mrow></mml:math></inline-formula> [<inline-formula><mml:math id="M249" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">µ</mml:mi><mml:mi mathvariant="normal">M</mml:mi></mml:mrow></mml:math></inline-formula>] and <inline-formula><mml:math id="M250" display="inline"><mml:mrow><mml:msub><mml:mi>K</mml:mi><mml:mrow><mml:mi>m</mml:mi><mml:mo>,</mml:mo><mml:mrow class="chem"><mml:msubsup><mml:mi mathvariant="normal">NO</mml:mi><mml:mn mathvariant="normal">3</mml:mn><mml:mo>-</mml:mo></mml:msubsup></mml:mrow></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mn mathvariant="normal">45</mml:mn></mml:mrow></mml:math></inline-formula> [<inline-formula><mml:math id="M251" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">µ</mml:mi><mml:mi mathvariant="normal">M</mml:mi></mml:mrow></mml:math></inline-formula>] (Regnier and Steefel, 1999). For soil N leaching and denitrification, the SSA were, respectively, tuned as <inline-formula><mml:math id="M252" display="inline"><mml:mrow><mml:mn mathvariant="normal">1.6</mml:mn><mml:mo>×</mml:mo><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">6</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M253" display="inline"><mml:mrow><mml:mn mathvariant="normal">7.5</mml:mn><mml:mo>×</mml:mo><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">5</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula> [<inline-formula><mml:math id="M254" display="inline"><mml:mrow class="unit"><mml:msup><mml:mi mathvariant="normal">m</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msup><mml:mspace linebreak="nobreak" width="0.125em"/><mml:msup><mml:mi mathvariant="normal">g</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula>] to reproduce observed stream nitrate dynamics. The calibrated values were orders of magnitude lower than the lab-measured SSA of natural materials (e.g., SOM, <inline-formula><mml:math id="M255" display="inline"><mml:mrow><mml:mn mathvariant="normal">0.6</mml:mn><mml:mo>∼</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:math></inline-formula> <inline-formula><mml:math id="M256" display="inline"><mml:mrow class="unit"><mml:msup><mml:mi mathvariant="normal">m</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msup><mml:mspace linebreak="nobreak" width="0.125em"/><mml:msup><mml:mi mathvariant="normal">g</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula>) (Rutherford et al., 1992). Such discrepancies between calibrated effective reactive surface area (i.e., solid–water contact area) and lab-measured absolute surface area are consistent with observations of field–lab discrepancies in the literature (Li et al., 2014; Heidari et al., 2017; Wen and Li, 2017, 2018). The uptake rate constant was calibrated by constraining the partitioning of N transformation flux between denitrification and plant uptake by the ratio of <inline-formula><mml:math id="M257" display="inline"><mml:mrow><mml:mn mathvariant="normal">1</mml:mn><mml:mo>:</mml:mo><mml:mn mathvariant="normal">5</mml:mn></mml:mrow></mml:math></inline-formula>, a value estimated from field measurements of gaseous N outputs (3.53 <inline-formula><mml:math id="M258" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">kg</mml:mi><mml:mo>-</mml:mo><mml:mi mathvariant="normal">N</mml:mi><mml:mspace linebreak="nobreak" width="0.125em"/><mml:msup><mml:mi mathvariant="normal">ha</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup><mml:mspace linebreak="nobreak" width="0.125em"/><mml:msup><mml:mi mathvariant="normal">yr</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula>) and plant N uptake (18.3 <inline-formula><mml:math id="M259" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">kg</mml:mi><mml:mo>-</mml:mo><mml:mi mathvariant="normal">N</mml:mi><mml:mspace width="0.125em" linebreak="nobreak"/><mml:msup><mml:mi mathvariant="normal">ha</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup><mml:mspace width="0.125em" linebreak="nobreak"/><mml:msup><mml:mi mathvariant="normal">yr</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula>) (Weitzman and Kaye, 2018). The uptake rate constant in the deep zone (<inline-formula><mml:math id="M260" display="inline"><mml:mrow><mml:mo>&gt;</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:math></inline-formula> m in depth) was considered negligible (Hasenmueller et al., 2017). Groundwater nitrate was initialized as 0.43 <inline-formula><mml:math id="M261" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">mg</mml:mi><mml:mspace linebreak="nobreak" width="0.125em"/><mml:msup><mml:mi mathvariant="normal">L</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula>, the average of measured groundwater concentration during 2009/10.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F9" specific-use="star"><?xmltex \currentcnt{9}?><?xmltex \def\figurename{Figure}?><label>Figure 9</label><caption><p id="d1e5378">Attributes of Shale Hills in the spatially distributed mode in Example 3: <bold>(a)</bold> surface elevation, <bold>(b)</bold> soil depth, and <bold>(c)</bold> soil organic carbon (SOC). The surface elevation was generated from lidar topographic data (criticalzone.org/shale-hills/data); soil depths and SOC were interpolated using ordinary kriging based on field surveys (Andrews et al., 2011; Lin, 2006). The SOC distribution in <bold>(c)</bold> was further simplified using the high, uniform SOC (5 % <inline-formula><mml:math id="M262" display="inline"><mml:mrow><mml:mi>v</mml:mi><mml:mo>/</mml:mo><mml:mi>v</mml:mi></mml:mrow></mml:math></inline-formula>) in swales and valley soils based on field survey (Andrews et al., 2011). Swales and valley floor areas were defined based on surface elevation via field survey and a 10 m resolution digital elevation model (Lin, 2006).</p></caption>
          <?xmltex \igopts{width=426.791339pt}?><graphic xlink:href="https://gmd.copernicus.org/articles/15/315/2022/gmd-15-315-2022-f09.png"/>

        </fig>

<sec id="Ch1.S6.SS2.SSSx1" specific-use="unnumbered">
  <title>Temporal nitrate dynamics</title>
      <p id="d1e5416">Three cases were set up to understand and quantify the effects of different processes in determining nitrate dynamics (Fig. 8a). The <italic>transport-only</italic> case (dashed line, tran) simulates nitrate input from precipitation (at <inline-formula><mml:math id="M263" display="inline"><mml:mrow><mml:mn mathvariant="normal">1.4</mml:mn><mml:mo>±</mml:mo><mml:mn mathvariant="normal">0.96</mml:mn></mml:mrow></mml:math></inline-formula> <inline-formula><mml:math id="M264" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">mg</mml:mi><mml:mspace linebreak="nobreak" width="0.125em"/><mml:msup><mml:mi mathvariant="normal">L</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula>, based on the 2009 data of NADP PA42 site) and N transport but without any reactions. It overestimated stream nitrate data (<inline-formula><mml:math id="M265" display="inline"><mml:mrow><mml:mn mathvariant="normal">0.33</mml:mn><mml:mo>±</mml:mo><mml:mn mathvariant="normal">0.39</mml:mn></mml:mrow></mml:math></inline-formula> <inline-formula><mml:math id="M266" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">mg</mml:mi><mml:mspace width="0.125em" linebreak="nobreak"/><mml:msup><mml:mi mathvariant="normal">L</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula>) throughout the year. The  <inline-formula><mml:math id="M267" display="inline"><mml:mrow><mml:mtext>transport</mml:mtext><mml:mo>+</mml:mo><mml:mtext>N reactions</mml:mtext></mml:mrow></mml:math></inline-formula> case (gray line, <inline-formula><mml:math id="M268" display="inline"><mml:mrow><mml:mtext>tran</mml:mtext><mml:mo>+</mml:mo><mml:mtext>N react</mml:mtext></mml:mrow></mml:math></inline-formula>) has denitrification and soil N leaching processes but not plant uptake. These two reactions lowered the nitrate concentration slightly, as these two processes compensate each other in adding and removing nitrate from water. The <inline-formula><mml:math id="M269" display="inline"><mml:mrow><mml:mtext>transport</mml:mtext><mml:mo>+</mml:mo><mml:mtext>N reactions</mml:mtext><mml:mo>+</mml:mo><mml:mtext>uptake</mml:mtext></mml:mrow></mml:math></inline-formula> case (thick black line, <inline-formula><mml:math id="M270" display="inline"><mml:mrow><mml:mtext>tran</mml:mtext><mml:mo>+</mml:mo><mml:mtext>N react</mml:mtext><mml:mo>+</mml:mo><mml:mtext>upta</mml:mtext></mml:mrow></mml:math></inline-formula>) have all processes. It significantly lowered the nitrate concentration, especially in April–May and<?pagebreak page326?> October–December. Nitrate peaks from May to July, exhibiting comparable levels of high nitrate concentration (Fig. 8b). It is noticeable that the three cases almost overlapped at these overestimated short nitrate peaks, suggesting nitrate-rich precipitation may not be routed into the subsurface where denitrification and plant uptake could occur.</p>
      <p id="d1e5537">Although precipitation from April to August accounted for 70 % of the total simulation period, larger storm events in October contributed more to nitrate export. Deeper groundwater had higher nitrate concentration than shallow water because most plant uptake occurred in the shallow zone. The nitrate fluxes into the deeper zone however only contributed 26 % of stream nitrate export at the annual scale, due to the relatively small groundwater contribution (9.5 %) to the stream. Denitrification and plant uptake largely occurred during wet spring with leaves growing. Denitrification peaks often appeared after major storm events because wet conditions facilitate denitrification. Comparing the three outfluxes (Fig. 8c), nitrate export via discharge (red) was negligible compared to denitrification (blue) and plant uptake (green). At the annual scale, stream export accounted for 9.5 %, whereas denitrification and plant uptake took up 15 % and 75 % of deposited <inline-formula><mml:math id="M271" display="inline"><mml:mrow class="chem"><mml:msubsup><mml:mi mathvariant="normal">NO</mml:mi><mml:mn mathvariant="normal">3</mml:mn><mml:mo>-</mml:mo></mml:msubsup></mml:mrow></mml:math></inline-formula>, respectively. In other words, as Nitrate enters this system via precipitation, plant uptake can play a significant role in reducing nitrate level, indicating the precipitated nitrate is tightly cycled in the system.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F10" specific-use="star"><?xmltex \currentcnt{10}?><?xmltex \def\figurename{Figure}?><label>Figure 10</label><caption><p id="d1e5555"><bold>(a)</bold> Temporal dynamics of stream DOC concentration; spatial profiles of <bold>(b)</bold> shallow soil moisture, <bold>(c)</bold> hydrologically connected zones, <bold>(d)</bold> local DOC production rates <inline-formula><mml:math id="M272" display="inline"><mml:mrow><mml:msub><mml:mi>r</mml:mi><mml:mtext>DOC</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula>, and <bold>(e)</bold> shallow-water DOC concentration in May (wet), August (dry), and October (wet after dry) of 2009. The soil DOC and <inline-formula><mml:math id="M273" display="inline"><mml:mrow><mml:msub><mml:mi>r</mml:mi><mml:mtext>DOC</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula> were high in swales and valley with relatively high shallow-water and SOC content. August had the highest shallow-water DOC concentration compared to May and October because most DOC accumulated in zones that are disconnected to the stream.</p></caption>
            <?xmltex \igopts{width=341.433071pt}?><graphic xlink:href="https://gmd.copernicus.org/articles/15/315/2022/gmd-15-315-2022-f10.png"/>

          </fig>

</sec>
</sec>
<sec id="Ch1.S6.SS3">
  <label>6.3</label><title>Example 3: DOC production and export in a spatially distributed domain</title>
      <p id="d1e5610">This example showcases the application of BioRT-Flux-PIHM in a spatially distributed mode. This work has been documented with full details in Wen et al. (2020). Here we only introduce some key features and capabilities in the spatially distributed mode. The Shale Hills catchment was discretized into 535 prismatic land elements and 20 stream segments through PIHMgis based on the topography (Fig. 9a). The heterogeneous distributions of soil depth and solid organic carbon within the domain (Fig. 9b and c) were interpolated through ordinary kriging based on field surveys (Andrews et al., 2011; Lin, 2006). Other soil and mineralogy properties such as hydraulic conductivity, van Genuchten parameters, and ion exchange capacity were spatially distributed following intensive field measurements (Jin and Brantley, 2011; Jin et al., 2010) (<uri>https://criticalzone.org/shale-hills/data/</uri>, last access: 22 May 2019).</p>
<sec id="Ch1.S6.SS3.SSS1">
  <label>6.3.1</label><title>Temporal and spatial patterns of DOC production and export</title>
      <p id="d1e5623">The model outputs followed the general trend of stream DOC measurements with the model evaluation index NSE of 0.55 for monthly DOC concentration (Fig. 10a). NSE values greater than 0.5 are considered good performance for the monthly water quality model (Moriasi et al., 2015). The model reproduced high DOC values (<inline-formula><mml:math id="M274" display="inline"><mml:mrow><mml:mo>∼</mml:mo><mml:mn mathvariant="normal">15</mml:mn></mml:mrow></mml:math></inline-formula> <inline-formula><mml:math id="M275" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">mg</mml:mi><mml:mspace width="0.125em" linebreak="nobreak"/><mml:msup><mml:mi mathvariant="normal">L</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula>) in the dry periods (July–September). The model enabled the identification of reaction hot spots. In May when soil water is relatively abundant, the valley and swales with deeper soils (Fig. 10b) are generally wetter compared to the hillslope and ridgetop, and are hydrologically connected to the stream (Fig. 10b and c). The distribution of local DOC production rate <inline-formula><mml:math id="M276" display="inline"><mml:mrow><mml:msub><mml:mi>r</mml:mi><mml:mtext>DOC</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula> and DOC concentration followed that of SOC (Fig. 10c) and water content (Fig. 10b). Low <inline-formula><mml:math id="M277" display="inline"><mml:mrow><mml:msub><mml:mi>r</mml:mi><mml:mtext>DOC</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula> in relatively dry planar hillslopes and uplands resulted in low soil water DOC. The average stream DOC (<inline-formula><mml:math id="M278" display="inline"><mml:mrow><mml:mo>∼</mml:mo><mml:mn mathvariant="normal">5</mml:mn></mml:mrow></mml:math></inline-formula> <inline-formula><mml:math id="M279" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">mg</mml:mi><mml:mspace linebreak="nobreak" width="0.125em"/><mml:msup><mml:mi mathvariant="normal">L</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula>) reflected soil water DOC in the valley and swales.</p>
      <p id="d1e5703">In August, the hydrologically connected zones with high water content shrank to the vicinity of the stream and riverbed. With high temperature in summer, <inline-formula><mml:math id="M280" display="inline"><mml:mrow><mml:msub><mml:mi>r</mml:mi><mml:mtext>DOC</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula> increased 2-fold from May across the whole catchment while still exhibiting the highest values in the SOC-rich regions. Soil water DOC concentration increased by a factor of 2 because the produced DOC was trapped in low soil moisture areas that were not hydrologically connected to the stream. On the north side with low water content (Fig. 10b), the soil water DOC (<inline-formula><mml:math id="M281" display="inline"><mml:mrow><mml:mo>∼</mml:mo><mml:mn mathvariant="normal">7</mml:mn></mml:mrow></mml:math></inline-formula> <inline-formula><mml:math id="M282" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">mg</mml:mi><mml:mspace linebreak="nobreak" width="0.125em"/><mml:msup><mml:mi mathvariant="normal">L</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula> on average) accumulated more than on the south side (<inline-formula><mml:math id="M283" display="inline"><mml:mrow><mml:mo>∼</mml:mo><mml:mn mathvariant="normal">5</mml:mn></mml:mrow></mml:math></inline-formula> <inline-formula><mml:math id="M284" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">mg</mml:mi><mml:mspace width="0.125em" linebreak="nobreak"/><mml:msup><mml:mi mathvariant="normal">L</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula> on average). The high shallow-water DOC (<inline-formula><mml:math id="M285" display="inline"><mml:mrow><mml:mo>∼</mml:mo><mml:mn mathvariant="normal">10</mml:mn></mml:mrow></mml:math></inline-formula> <inline-formula><mml:math id="M286" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">mg</mml:mi><mml:mspace width="0.125em" linebreak="nobreak"/><mml:msup><mml:mi mathvariant="normal">L</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula>) in the stream vicinity dominated the stream DOC in August.</p>
      <?pagebreak page327?><p id="d1e5799">In October, precipitation wetted the catchment again. The hydrologically connected zones expanded beyond swales and the valley to the upland hillslopes (Fig. 10c). The increase in hydrological connectivity zones favored the mixing of shallow-water DOC sourced from upland hillslopes (low DOC), swales, and valley (high DOC) into streams rather than only from the stream vicinity with high DOC in the dry August, leading to a drop in stream DOC.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F11"><?xmltex \currentcnt{11}?><?xmltex \def\figurename{Figure}?><label>Figure 11</label><caption><p id="d1e5805">Relationships between daily discharge (<inline-formula><mml:math id="M287" display="inline"><mml:mi>Q</mml:mi></mml:math></inline-formula>) and stream DOC concentration. With increasing <inline-formula><mml:math id="M288" display="inline"><mml:mi>Q</mml:mi></mml:math></inline-formula>, stream flow first shifted from the dominance of groundwater with low DOC at very low discharge to the predominance of organic-rich soil water from swales and valley at intermediate discharge. As the discharge increased further, the stream water switched to the dominance of high flow with lower DOC water from planar hillslopes and uplands, resulting in a dilution <inline-formula><mml:math id="M289" display="inline"><mml:mi>C</mml:mi></mml:math></inline-formula>–<inline-formula><mml:math id="M290" display="inline"><mml:mi>Q</mml:mi></mml:math></inline-formula> pattern at high discharge (from Wen et al., 2020, used with permission).</p></caption>
            <?xmltex \igopts{width=213.395669pt}?><graphic xlink:href="https://gmd.copernicus.org/articles/15/315/2022/gmd-15-315-2022-f11.png"/>

          </fig>

</sec>
<sec id="Ch1.S6.SS3.SSS2">
  <label>6.3.2</label><?xmltex \opttitle{$C$--$Q$ patterns}?><title><inline-formula><mml:math id="M291" display="inline"><mml:mi>C</mml:mi></mml:math></inline-formula>–<inline-formula><mml:math id="M292" display="inline"><mml:mi>Q</mml:mi></mml:math></inline-formula> patterns</title>
      <p id="d1e5864">The DOC <inline-formula><mml:math id="M293" display="inline"><mml:mi>C</mml:mi></mml:math></inline-formula>–<inline-formula><mml:math id="M294" display="inline"><mml:mi>Q</mml:mi></mml:math></inline-formula> relationship showed a non-typical pattern with flushing first and transitioning into a dilution pattern, with an overall <inline-formula><mml:math id="M295" display="inline"><mml:mi>C</mml:mi></mml:math></inline-formula>–<inline-formula><mml:math id="M296" display="inline"><mml:mi>Q</mml:mi></mml:math></inline-formula> slope <inline-formula><mml:math id="M297" display="inline"><mml:mrow><mml:mi>b</mml:mi><mml:mo>=</mml:mo><mml:mo>-</mml:mo><mml:mn mathvariant="normal">0.23</mml:mn></mml:mrow></mml:math></inline-formula> (Fig. 11). At low discharges (<inline-formula><mml:math id="M298" display="inline"><mml:mrow><mml:mo>&lt;</mml:mo><mml:mn mathvariant="normal">1.8</mml:mn><mml:mo>×</mml:mo><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">4</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula> <inline-formula><mml:math id="M299" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">m</mml:mi><mml:mspace linebreak="nobreak" width="0.125em"/><mml:msup><mml:mi mathvariant="normal">d</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula>) in the summer dry period, the stream DOC mainly came from the organic-rich swales and valley floor zones with high soil water DOC (Fig. 10e). With discharge increasing in wetter periods (i.e., spring and fall), the contribution from planar hillslopes and uplands with lower DOC concentration increased (Fig. 10e), leading to the dilution of stream DOC.</p>
</sec>
</sec>
</sec>
<sec id="Ch1.S7">
  <label>7</label><title>Discussion</title>
      <p id="d1e5957">BioRT-Flux-PIHM brings the reactive transport modeling capabilities to the watershed scale, enabling the simulation of subsurface shallow and deep flow paths and biogeochemical reactions influenced by hydroclimatic conditions and land-surface interactions. The expanded model capability of simulating bio-mediated processes such as plant uptake, soil respiration, and microbe-mediated redox reactions enables the simulation of carbon and nutrient cycling in the shallow subsurface. The inclusion of the deep-groundwater zone<?pagebreak page328?> allows the exploration of the effects of subsurface structure on hydrological partitioning between shallow soil lateral flow and deep groundwater and their relationships with stream discharge. Although not shown here, the model can also simulate deeper groundwater coming from regional aquifers across the outer boundary. This can be particularly useful for watersheds of higher stream orders, where a large proportion of deep water may come from nearby regional aquifers.</p>
      <p id="d1e5960">The advantage and disadvantages of simple vs. complex models have long been debated in the modeling community (Fatichi et al., 2016; Li et al., 2021; Wen et al., 2021). The computational cost of solving a spatially distributed, nonlinear, multi-component reactive transport model is high, posing challenges for the application of ensemble-based analysis. With additional reactions and transport processes, the model includes more functions (such as reaction kinetic rate laws) and parameters (e.g., reaction rate constants, surface area) than hydrological models. The complexity brings in issues of equifinality, uncertainty, and data demands (Beven, 2006; Kirchner et al., 1996). These issues will persist even though reactive transport models will be constrained by additional chemical data.</p>
      <p id="d1e5963">It is in this spirit of balancing the cost and gain that we present both spatially distributed and lumped modes for the BioRT model (Li et al., 2021). Compared to the distributed version, the spatially implicit model requires less spatial data and is computationally inexpensive. It can assess the average dynamics of water and solute dynamics and focus on the interacting processes without resolving spatial details. The lumped approach can accommodate basins with low data availability, and it can be easier for students to learn. In contrast, spatially explicit representations enable the exploration of the hot spots (e.g., swales and riparian zones with high soil water DOC concentrations in Fig. 10e) and their contribution to stream chemistry at different times. Spatial heterogeneities in watershed properties (e.g., soil types and depth, lithology, vegetation, biomass, and mineralogy) are ubiquitous in natural systems and are challenging to resolve. A general understanding of the linkage between local catchment features and catchment-scale dynamics (e.g., stream concentration dynamics and solute export pattern) is often lacking. The spatially distributed model provides a tool to explore these questions. Ultimately, the choice of the model complexity level depends on research questions that the model is set to answer and the available data. At the end, we all need to balance cost and gain when deciding to use a simple or complex model, striving to be “simple but not simplistic” (Beven and Lane, 2019).</p>
</sec>
<sec id="Ch1.S8" sec-type="conclusions">
  <label>8</label><title>Summary and conclusion</title>
      <p id="d1e5974">This paper introduces the watershed-scale biogeochemical reactive transport code BioRT (short for BioRT-Flux-PIHM). The code integrates processes of land-surface interactions, surface hydrology, and multi-component biogeochemical reactive transport. The new development enables the simulation of (1) biotic reactions including plant uptake, soil respiration, and microbe-mediated redox reactions and (2) surface water interactions with groundwater from a deeper subsurface that still interacts with streams. BioRT has been verified against the widely used reactive transport code CrunchTope for soil carbon, nitrogen, and phosphorus processes. It has been applied to understand carbon, nitrogen, and weathering processes at Shale Hills in Pennsylvania, Coal Creek in Colorado, and the Chimborazo watershed in the Andes in Ecuador. Here we showcase the modeling capability of surface–groundwater interactions and reactive transport processes relevant to nitrate and DOC in Shale Hills in two simulation modes. One is in a spatially lumped mode using averaged properties and another is in a spatially distributed mode with a consideration of spatial heterogeneity. Results show that the deep-groundwater flow that interacts with the stream is primarily controlled by the hydraulic conductivity contrast between the shallow and the deep zones. Biogeochemical reactions in shallow soil primarily determine the stream water chemistry under high-flow conditions. The spatially lumped method with two lumped grids can capture the temporal dynamics of average behavior and mass balance; the spatially distributed running mode can be used to understand the spatial dynamics and to identify hot spots of reactions. The code can be used for biogeochemical reactive transport simulations in watersheds under diverse climate, land cover, and geology conditions.</p>
</sec>

      
      </body>
    <back><notes notes-type="codeavailability"><title>Code availability</title>

      <p id="d1e5981">The current model release (BioRT-Flux-PIHM v1.0) is archived at <ext-link xlink:href="https://doi.org/10.5281/zenodo.3936073" ext-link-type="DOI">10.5281/zenodo.3936073</ext-link> (Zhi et al., 2020a). Documentation, source code, and examples are available in the GitHub repository: <uri>https://github.com/Li-Reactive-Water-Group/BioRT-Flux-PIHM</uri> (last access: 23 September 2021).</p>
  </notes><notes notes-type="dataavailability"><title>Data availability</title>

      <p id="d1e5993">Field data (e.g., discharge, stream chemistry) are archived at Shale Hills data portal: <uri>https://criticalzone.org/dynamic_water/data</uri>  (last access: 22 May 2019) (Shale Hills Data Portal, 2019) or maintained at HydroShare: <uri>https://www.hydroshare.org/group/147</uri> (last access: 22 May 2019) (HydroShare, 2019).</p>
  </notes><app-group>
        <supplementary-material position="anchor"><p id="d1e6002">The supplement related to this article is available online at: <inline-supplementary-material xlink:href="https://doi.org/10.5194/gmd-15-315-2022-supplement" xlink:title="pdf">https://doi.org/10.5194/gmd-15-315-2022-supplement</inline-supplementary-material>.</p></supplementary-material>
        </app-group><notes notes-type="authorcontribution"><title>Author contributions</title>

      <p id="d1e6012">LL conceived the model idea and oversaw the model development. WZ coded the BioRT module, verified the code against the benchmark reactive transport model CrunchTope, and applied and tested the model at Shale Hills watershed. YS developed the deep-groundwater component and integrated the BioRT-Flux-PIHM v1.0 into the MM-PIHM family. WH, LS, KS, DK, BS, and GHCN tested the code during its development and contributed study cases.</p>
  </notes><notes notes-type="competinginterests"><title>Competing interests</title>

      <p id="d1e6018">The contact author has declared that neither they nor their co-authors have any competing interests.</p>
  </notes><notes notes-type="disclaimer"><title>Disclaimer</title>

      <p id="d1e6024">Publisher's note: Copernicus Publications remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.</p>
  </notes><ack><title>Acknowledgements</title><p id="d1e6030">We acknowledge the funding support from the Department of Energy, Subsurface Biogeochemistry Program and National Science Foundation. We appreciate data from the Susquehanna Shale Hills Critical Zone Observatory (SSHCZO) supported by National Science Foundation Grant EAR – 0725019 (Christopher J. Duffy), EAR – 1239285 (Susan L. Brantley), and EAR – 1331726 (Susan L. Brantley). Data were collected in Penn State's Stone Valley Forest, which is funded by the Penn State College of Agriculture Sciences, Department of Ecosystem Science and Management, and managed by the staff of the Forestlands Management Office.</p></ack><notes notes-type="financialsupport"><title>Financial support</title>

      <p id="d1e6035">This research has been supported by the Department of Energy, Subsurface Biogeochemistry Program (grant no. DE-SC0020146) and the National Science Foundation Hydrological Sciences (grant no. EAR-1758795).</p>
  </notes><notes notes-type="reviewstatement"><title>Review statement</title>

      <p id="d1e6041">This paper was edited by Min-Hui Lo and reviewed by three anonymous referees.</p>
  </notes><ref-list>
    <title>References</title>

      <ref id="bib1.bib1"><label>1</label><?label 1?><mixed-citation>Adler, T., Underwood, K., Rizzo, D., Harpold, A., Sterle, G., Li, L., Wen, H., Stinson, L., Bristol, C., Lini, A., Perdrial, N., and Perdrial, J. N.: Drivers of Dissolved Organic Carbon Mobilization from Forested Headwater Catchments: A Multi Scaled Approach, Frontiers in Water, 3, 63, <ext-link xlink:href="https://doi.org/10.3389/frwa.2021.578608" ext-link-type="DOI">10.3389/frwa.2021.578608</ext-link>, 2021.</mixed-citation></ref>
      <ref id="bib1.bib2"><label>2</label><?label 1?><mixed-citation> Andrews, D. M., Lin, H., Zhu, Q., Jin, L., and Brantley, S. L.: Hot spots and hot moments of dissolved organic carbon export and soil organic carbon storage in the Shale Hills catchment, Vadose Zone J., 10, 943–954, 2011.</mixed-citation></ref>
      <ref id="bib1.bib3"><label>3</label><?label 2?><mixed-citation>Bai, J., Zhang, G., Zhao, Q., Lu, Q., Jia, J., Cui, B., and Liu, X.: Depth-distribution patterns and control of soil organic carbon in coastal salt marshes with different plant covers, Sci. Rep.-UK, 6, 34835, <ext-link xlink:href="https://doi.org/10.1038/srep34835" ext-link-type="DOI">10.1038/srep34835</ext-link>, 2016.</mixed-citation></ref>
      <ref id="bib1.bib4"><label>4</label><?label 3?><mixed-citation>Bailey, R., Rathjens, H., Bieger, K., Chaubey, I., and Arnold, J.: SWATMOD-Prep: Graphical User Interface for Preparing Coupled SWAT-MODFLOW Simulations, J. Am. Water Resour. As., 53, 400–410, <ext-link xlink:href="https://doi.org/10.1111/1752-1688.12502" ext-link-type="DOI">10.1111/1752-1688.12502</ext-link>, 2017.</mixed-citation></ref>
      <ref id="bib1.bib5"><label>5</label><?label 4?><mixed-citation>Bao, C., Wu, H., Li, L., Newcomer, D., Long, P. E., and Williams, K. H.: Uranium Bioreduction Rates across Scales: Biogeochemical Hot Moments and Hot Spots during a Biostimulation Experiment at Rifle, Colorado, Environ. Sci. Technol., 48, 10116–10127, <ext-link xlink:href="https://doi.org/10.1021/es501060d" ext-link-type="DOI">10.1021/es501060d</ext-link>, 2014.</mixed-citation></ref>
      <ref id="bib1.bib6"><label>6</label><?label 5?><mixed-citation> Bao, C., Li, L., Shi, Y., and Duffy, C.: Understanding watershed hydrogeochemistry: 1. Development of RT-Flux-PIHM, Water Resour. Res., 53, 2328–2345, 2017.</mixed-citation></ref>
      <ref id="bib1.bib7"><label>7</label><?label 6?><mixed-citation>Basu, N. B., Destouni, G., Jawitz, J. W., Thompson, S. E., Loukinova, N. V., Darracq, A., Zanardo, S., Yaeger, M., Sivapalan, M., Rinaldo, A., and Rao, P. S. C.: Nutrient loads exported from managed catchments reveal emergent biogeochemical stationarity, Geophys. Res. Lett., 37, L23404, <ext-link xlink:href="https://doi.org/10.1029/2010GL045168" ext-link-type="DOI">10.1029/2010GL045168</ext-link>, 2010.</mixed-citation></ref>
      <ref id="bib1.bib8"><label>8</label><?label 7?><mixed-citation>Benettin, P., Fovet, O., and Li, L.: Nitrate removal and young stream water fractions at the catchment scale, Hydrol. Process., 34, 2725–2738, <ext-link xlink:href="https://doi.org/10.1002/hyp.13781" ext-link-type="DOI">10.1002/hyp.13781</ext-link>, 2020.</mixed-citation></ref>
      <ref id="bib1.bib9"><label>9</label><?label 8?><mixed-citation>Beven, K.: How far can we go in distributed hydrological modelling?, Hydrol. Earth Syst. Sci., 5, 1–12, <ext-link xlink:href="https://doi.org/10.5194/hess-5-1-2001" ext-link-type="DOI">10.5194/hess-5-1-2001</ext-link>, 2001.</mixed-citation></ref>
      <ref id="bib1.bib10"><label>10</label><?label 9?><mixed-citation>Beven, K.: A manifesto for the equifinality thesis, J. Hydrol., 320, 18–36, <ext-link xlink:href="https://doi.org/10.1016/j.jhydrol.2005.07.007" ext-link-type="DOI">10.1016/j.jhydrol.2005.07.007</ext-link>, 2006.</mixed-citation></ref>
      <ref id="bib1.bib11"><label>11</label><?label 10?><mixed-citation>
Beven, K. and Lane, S.: Invalidation of Models and Fitness-for-Purpose: A Rejectionist Approach, in: Computer Simulation Validation: Fundamental Concepts, Methodological Frameworks, and Philosophical Perspectives, edited by: Beisbart, C. and Saam, N. J., Springer International Publishing, Cham, 145–171, 2019.</mixed-citation></ref>
      <ref id="bib1.bib12"><label>12</label><?label 11?><mixed-citation>Bhatt, G., Kumar, M., and Duffy, C. J.: A tightly coupled GIS and distributed hydrologic modeling framework, Environ. Modell. Softw., 62, 70–84, <ext-link xlink:href="https://doi.org/10.1016/j.envsoft.2014.08.003" ext-link-type="DOI">10.1016/j.envsoft.2014.08.003</ext-link>, 2014.</mixed-citation></ref>
      <ref id="bib1.bib13"><label>13</label><?label 12?><mixed-citation>Botter, M., Li, L., Hartmann, J., Burlando, P., and Fatichi, S.: Depth of Solute Generation Is a Dominant Control on Concentration-Discharge Relations, Water Resour. Res., 56, e2019WR026695, <ext-link xlink:href="https://doi.org/10.1029/2019WR026695" ext-link-type="DOI">10.1029/2019WR026695</ext-link>, 2020.</mixed-citation></ref>
      <ref id="bib1.bib14"><label>14</label><?label 13?><mixed-citation> Bracho, R., Natali, S., Pegoraro, E., Crummer, K. G., Schädel, C., Celis, G., Hale, L., Wu, L., Yin, H., and Tiedje, J. M.: Temperature sensitivity of organic matter decomposition of permafrost-region soils during laboratory incubations, Soil Biol. Biochem., 97, 1–14, 2016.</mixed-citation></ref>
      <ref id="bib1.bib15"><label>15</label><?label 14?><mixed-citation>
Brantley, S. L., Kubicki, J. D., and White, A. F.: Kinetics of water–rock interaction, Springer, New York, 2008.</mixed-citation></ref>
      <ref id="bib1.bib16"><label>16</label><?label 15?><mixed-citation>Brantley, S. L., White, T., West, N., Williams, J. Z., Forsythe, B., Shapich, D., Kaye, J., Lin, H., Shi, Y. N., Kaye, M., Herndon, E., Davis, K. J., He, Y., Eissenstat, D., Weitzman, J., DiBiase, R., Li, L., Reed, W., Brubaker, K., and Gu, X.: Susquehanna Shale Hills Critical Zone Observatory: Shale Hills in the Context of Shaver's Creek Watershed, Vadose Zone J., 17, 1–19, ARTN 180092, <ext-link xlink:href="https://doi.org/10.2136/vzj2018.04.0092" ext-link-type="DOI">10.2136/vzj2018.04.0092</ext-link>, 2018.</mixed-citation></ref>
      <ref id="bib1.bib17"><label>17</label><?label 16?><mixed-citation> Buljovcic, Z. and Engels, C.: Nitrate uptake ability by maize roots during and after drought stress, Plant Soil, 229, 125–135, 2001.</mixed-citation></ref>
      <ref id="bib1.bib18"><label>18</label><?label 17?><mixed-citation> Buysse, J., Smolders, E., and Merckx, R.: Modelling the uptake of nitrate by a growing plant with an adjustable root nitrate uptake capacity, Plant Soil, 181, 19–23, 1996.</mixed-citation></ref>
      <ref id="bib1.bib19"><label>19</label><?label 18?><mixed-citation>Cai, X., Yang, Z.-L., Fisher, J. B., Zhang, X., Barlage, M., and Chen, F.: Integration of nitrogen dynamics into the Noah-MP land surface model v1.1 for climate and environmental predictions, Geosci. Model Dev., 9, 1–15, <ext-link xlink:href="https://doi.org/10.5194/gmd-9-1-2016" ext-link-type="DOI">10.5194/gmd-9-1-2016</ext-link>, 2016.</mixed-citation></ref>
      <ref id="bib1.bib20"><label>20</label><?label 19?><mixed-citation>Davidson, E. A. and Janssens, I. A.: Temperature sensitivity of soil carbon decomposition and feedbacks to climate change, Nature, 440, 165–173, <ext-link xlink:href="https://doi.org/10.1038/nature04514" ext-link-type="DOI">10.1038/nature04514</ext-link>, 2006.</mixed-citation></ref>
      <ref id="bib1.bib21"><label>21</label><?label 20?><mixed-citation>Davidson, E. A., Janssens, I. A., and Luo, Y.: On the variability of respiration in terrestrial ecosystems: moving beyond <inline-formula><mml:math id="M300" display="inline"><mml:mrow><mml:msub><mml:mi>Q</mml:mi><mml:mn mathvariant="normal">10</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula>, Glob. Change Biol., 12, 154–164, 2006.</mixed-citation></ref>
      <ref id="bib1.bib22"><label>22</label><?label 23?><mixed-citation>
Dingman, S. L.: Physical hydrology, Waveland press, Long Grove, 2015.</mixed-citation></ref>
      <ref id="bib1.bib23"><label>23</label><?label 24?><mixed-citation> Dunbabin, V. M., Diggle, A. J., Rengel, Z., and Van Hugten, R.: Modelling the interactions between water and nutrient uptake and root growth, Plant Soil, 239, 19–38, 2002.</mixed-citation></ref>
      <ref id="bib1.bib24"><label>24</label><?label 25?><mixed-citation> Fatichi, S., Vivoni, E. R., Ogden, F. L., Ivanov, V. Y., Mirus, B., Gochis, D., Downer, C. W., Camporese, M., Davison, J. H., and Ebel, B.: An overview of current applications, challenges, and future trends in distributed process-based models in hydrology, J. Hydrol., 537, 45–60, 2016.</mixed-citation></ref>
      <ref id="bib1.bib25"><label>25</label><?label 26?><mixed-citation>Fatichi, S., Manzoni, S., Or, D., and Paschalis, A.: A Mechanistic Model of Microbially Mediated Soil Biogeochemical Processes: A Reality Check, Global Biogeochem. Cy., 33, 620–648, <ext-link xlink:href="https://doi.org/10.1029/2018gb006077" ext-link-type="DOI">10.1029/2018gb006077</ext-link>, 2019.</mixed-citation></ref>
      <ref id="bib1.bib26"><label>26</label><?label 27?><mixed-citation>Fisher, J., Sitch, S., Malhi, Y., Fisher, R., Huntingford, C., and Tan, S. Y.: Carbon cost of plant nitrogen acquisition: A mechanistic, globally applicable model of plant nitrogen uptake, retranslocation, and fixation, Global Biogeochem. Cy., 24, GB1014, <ext-link xlink:href="https://doi.org/10.1029/2009GB003621" ext-link-type="DOI">10.1029/2009GB003621</ext-link>, 2010.</mixed-citation></ref>
      <ref id="bib1.bib27"><label>27</label><?label 29?><mixed-citation>Gatel, L., Lauvernet, C., Carluer, N., Weill, S., Tournebize, J., and Paniconi, C.: Global evaluation and sensitivity analysis of a physically based flow and reactive transport model on a laboratory experiment, Environ. Modell. Softw., 113, 73–83, <ext-link xlink:href="https://doi.org/10.1016/j.envsoft.2018.12.006" ext-link-type="DOI">10.1016/j.envsoft.2018.12.006</ext-link>, 2019.</mixed-citation></ref>
      <ref id="bib1.bib28"><label>28</label><?label 30?><mixed-citation>Godsey, S. E., Kirchner, J. W., and Clow, D. W.: Concentration–discharge relationships reflect chemostatic characteristics of US catchments, Hydrol. Process., 23, 1844–1864, <ext-link xlink:href="https://doi.org/10.1002/hyp.7315" ext-link-type="DOI">10.1002/hyp.7315</ext-link>, 2009.</mixed-citation></ref>
      <ref id="bib1.bib29"><label>29</label><?label 31?><mixed-citation>Godsey, S. E., Hartmann, J., and Kirchner, J. W.: Catchment chemostasis revisited: Water quality responds differently to variations in weather and climate, Hydrol. Process., 33, 3056–3069, <ext-link xlink:href="https://doi.org/10.1002/hyp.13554" ext-link-type="DOI">10.1002/hyp.13554</ext-link>, 2019.</mixed-citation></ref>
      <ref id="bib1.bib30"><label>30</label><?label 32?><mixed-citation> Grathwohl, P., Rügner, H., Wöhling, T., Osenbrück, K., Schwientek, M., Gayler, S., Wollschläger, U., Selle, B., Pause, M., and Delfs, J.-O.: Catchments as reactors: a comprehensive approach for water fluxes and solute turnover, Environ. Earth Sci., 69, 317–333, 2013.</mixed-citation></ref>
      <ref id="bib1.bib31"><label>31</label><?label 33?><mixed-citation> Green, T. R.: Linking climate change and groundwater, in: Integrated groundwater management, Springer, Cham, 97–141, 2016.</mixed-citation></ref>
      <ref id="bib1.bib32"><label>32</label><?label 1?><mixed-citation>
Guevara Ochoa, C., Medina Sierra, A., Vives, L., Zimmermann, E., and Bailey,
R.: Spatio‐temporal patterns of the interaction between groundwater
and surface water in plains, Hydrol. Process., 34, 1371–1392, 2020.</mixed-citation></ref>
      <ref id="bib1.bib33"><label>33</label><?label 34?><mixed-citation> Gurdak, J. J.: Groundwater: Climate-induced pumping, Nat. Geosci., 10, 71, 2017.</mixed-citation></ref>
      <ref id="bib1.bib34"><label>34</label><?label 35?><mixed-citation>Hamamoto, S., Moldrup, P., Kawamoto, K., and Komatsu, T.: Excluded-volume expansion of Archie's law for gas and solute diffusivities and electrical and thermal conductivities in variably saturated porous media, Water Resour. Res., 46, W06514, <ext-link xlink:href="https://doi.org/10.1029/2009WR008424" ext-link-type="DOI">10.1029/2009WR008424</ext-link>, 2010.</mixed-citation></ref>
      <ref id="bib1.bib35"><label>35</label><?label 38?><mixed-citation>Hartley, I. P., Heinemeyer, A., and Ineson, P.: Effects of three years of soil warming and shading on the rate of soil respiration: substrate availability and not thermal acclimation mediates observed response, Glob. Change Biol., 13, 1761–1770, <ext-link xlink:href="https://doi.org/10.1111/j.1365-2486.2007.01373.x" ext-link-type="DOI">10.1111/j.1365-2486.2007.01373.x</ext-link>, 2007.</mixed-citation></ref>
      <ref id="bib1.bib36"><label>36</label><?label 39?><mixed-citation> Hartmann, J., Lauerwald, R., and Moosdorf, N.: A brief overview of the GLObal RIver CHemistry Database, GLORICH, Proced. Earth Plan. Sc., 10, 23–27, 2014.</mixed-citation></ref>
      <ref id="bib1.bib37"><label>37</label><?label 40?><mixed-citation>Hasenmueller, E. A., Jin, L., Stinchcomb, G. E., Lin, H., Brantley, S. L., and Kaye, J. P.: Topographic controls on the depth distribution of soil <inline-formula><mml:math id="M301" display="inline"><mml:mrow class="chem"><mml:msub><mml:mi mathvariant="normal">CO</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> in a small temperate watershed, Appl. Geochem., 63, 58–69, 2015.</mixed-citation></ref>
      <ref id="bib1.bib38"><label>38</label><?label 41?><mixed-citation> Hasenmueller, E. A., Gu, X., Weitzman, J. N., Adams, T. S., Stinchcomb, G. E., Eissenstat, D. M., Drohan, P. J., Brantley, S. L., and Kaye, J. P.: Weathering of rock to regolith: The activity of deep roots in bedrock fractures, Geoderma, 300, 11–31, 2017.</mixed-citation></ref>
      <ref id="bib1.bib39"><label>39</label><?label 42?><mixed-citation> Heidari, P., Li, L., Jin, L., Williams, J. Z., and Brantley, S. L.: A reactive transport model for Marcellus shale weathering, Geochim. Cosmochim. Ac., 217, 421–440, 2017.</mixed-citation></ref>
      <ref id="bib1.bib40"><label>40</label><?label 43?><mixed-citation>Herndon, E. M., Dere, A. L., Sullivan, P. L., Norris, D., Reynolds, B., and Brantley, S. L.: Landscape heterogeneity drives contrasting concentration–discharge relationships in shale headwater catchments, Hydrol. Earth Syst. Sci., 19, 3333–3347, <ext-link xlink:href="https://doi.org/10.5194/hess-19-3333-2015" ext-link-type="DOI">10.5194/hess-19-3333-2015</ext-link>, 2015.</mixed-citation></ref>
      <ref id="bib1.bib41"><label>41</label><?label 44?><mixed-citation> Hindmarsh, A. C., Brown, P. N., Grant, K. E., Lee, S. L., Serban, R., Shumaker, D. E., and Woodward, C. S.: SUNDIALS: Suite of nonlinear and differential/algebraic equation solvers, ACM T. Math. Software, 31, 363–396, 2005.</mixed-citation></ref>
      <ref id="bib1.bib42"><label>42</label><?label 45?><mixed-citation>Hubbard, S. S., Williams, K. H., Agarwal, D., Banfield, J., Beller, H., Bouskill, N., Brodie, E., Carroll, R., Dafflon, B., and Dwivedi, D.: The East River, Colorado, Watershed: A mountainous community testbed for improving predictive understanding of multiscale hydrological-biogeochemical dynamics, Vadose Zone J., 17, 1–25, <ext-link xlink:href="https://doi.org/10.2136/vzj2018.03.0061" ext-link-type="DOI">10.2136/vzj2018.03.0061</ext-link>, 2018.</mixed-citation></ref>
      <?pagebreak page331?><ref id="bib1.bib43"><label>43</label><?label 46?><mixed-citation>Husic, A.: Numerical modeling and isotope tracers to investigate karst biogeochemistry and transport processes, Doctoral Dissertation, <ext-link xlink:href="https://doi.org/10.13023/etd.2018.322" ext-link-type="DOI">10.13023/etd.2018.322</ext-link>, 2018.</mixed-citation></ref>
      <ref id="bib1.bib44"><label>44</label><?label 1?><mixed-citation>HydroShare: CZO Shale Hills, HydroShare [data set], available at: <uri>https://www.hydroshare.org/group/147</uri>, last access: 22 May 2019.</mixed-citation></ref>
      <ref id="bib1.bib45"><label>45</label><?label 47?><mixed-citation>Jin, L. and Brantley, S. L.: Soil chemistry and shale weathering on a hillslope influenced by convergent hydrologic flow regime at the Susquehanna/Shale Hills Critical Zone Observatory, Appl. Geochem., 26, S51–S56, <ext-link xlink:href="https://doi.org/10.1016/j.apgeochem.2011.03.027" ext-link-type="DOI">10.1016/j.apgeochem.2011.03.027</ext-link>, 2011.</mixed-citation></ref>
      <ref id="bib1.bib46"><label>46</label><?label 48?><mixed-citation>Jin, L. X., Ravella, R., Ketchum, B., Bierman, P. R., Heaney, P., White, T., and Brantley, S. L.: Mineral weathering and elemental transport during hillslope evolution at the Susquehanna/Shale Hills Critical Zone Observatory, Geochim. Cosmochim. Ac., 74, 3669–3691, <ext-link xlink:href="https://doi.org/10.1016/j.gca.2010.03.036" ext-link-type="DOI">10.1016/j.gca.2010.03.036</ext-link>, 2010.</mixed-citation></ref>
      <ref id="bib1.bib47"><label>47</label><?label 49?><mixed-citation>Keune, J., Gasper, F., Goergen, K., Hense, A., Shrestha, P., Sulis, M., and Kollet, S.: Studying the influence of groundwater representations on land surface-atmosphere feedbacks during the European heat wave in 2003, J. Geophys. Res.-Atmos., 121, 13301–13325, <ext-link xlink:href="https://doi.org/10.1002/2016JD025426" ext-link-type="DOI">10.1002/2016JD025426</ext-link>, 2016.</mixed-citation></ref>
      <ref id="bib1.bib48"><label>48</label><?label 50?><mixed-citation>Kirchner, J. W., Hooper, R. P., Kendall, C., Neal, C., and Leavesley, G.: Testing and validating environmental models, Sci. Total Environ., 183, 33–47, <ext-link xlink:href="https://doi.org/10.1016/0048-9697(95)04971-1" ext-link-type="DOI">10.1016/0048-9697(95)04971-1</ext-link>, 1996.</mixed-citation></ref>
      <ref id="bib1.bib49"><label>49</label><?label 51?><mixed-citation>Kuntz, B. W., Rubin, S., Berkowitz, B., and Singha, K.: Quantifying Solute Transport at the Shale Hills Critical Zone Observatory, Vadose Zone J., 10, 843–857, <ext-link xlink:href="https://doi.org/10.2136/vzj2010.0130" ext-link-type="DOI">10.2136/vzj2010.0130</ext-link>, 2011.</mixed-citation></ref>
      <ref id="bib1.bib50"><label>50</label><?label 52?><mixed-citation> Leonard, L. and Duffy, C. J.: Essential terrestrial variable data workflows for distributed water resources modeling, Environ. Modell. Softw., 50, 85–96, 2013.</mixed-citation></ref>
      <ref id="bib1.bib51"><label>51</label><?label 56?><mixed-citation> Li, L.: Watershed reactive transport, Reviews in Mineralogy and Geochemistry, 85, 381–418, 2019.</mixed-citation></ref>
      <ref id="bib1.bib52"><label>52</label><?label 53?><mixed-citation>Li, L., Salehikhoo, F., Brantley, S. L., and Heidari, P.: Spatial zonation limits magnesite dissolution in porous media, Geochim. Cosmochim. Ac., 126, 555–573, <ext-link xlink:href="https://doi.org/10.1016/j.gca.2013.10.051" ext-link-type="DOI">10.1016/j.gca.2013.10.051</ext-link>, 2014.</mixed-citation></ref>
      <ref id="bib1.bib53"><label>53</label><?label 54?><mixed-citation> Li, L., Bao, C., Sullivan, P. L., Brantley, S., Shi, Y., and Duffy, C.: Understanding watershed hydrogeochemistry: 2. Synchronized hydrological and geochemical processes drive stream chemostatic behavior, Water Resour. Res., 53, 2346–2367, 2017a.</mixed-citation></ref>
      <ref id="bib1.bib54"><label>54</label><?label 55?><mixed-citation>Li, L., Maher, K., Navarre-Sitchler, A., Druhan, J., Meile, C., Lawrence, C., Moore, J., Perdrial, J., Sullivan, P., Thompson, A., Jin, L., Bolton, E. W., Brantley, S. L., Dietrich, W. E., Mayer, K. U., Steefel, C. I., Valocchi, A., Zachara, J., Kocar, B., McIntosh, J., Tutolo, B. M., Kumar, M., Sonnenthal, E., Bao, C., and Beisman, J.: Expanding the role of reactive transport models in critical zone processes, Earth-Sci. Rev., 165, 280–301, <ext-link xlink:href="https://doi.org/10.1016/j.earscirev.2016.09.001" ext-link-type="DOI">10.1016/j.earscirev.2016.09.001</ext-link>, 2017b.</mixed-citation></ref>
      <ref id="bib1.bib55"><label>55</label><?label 57?><mixed-citation>Li, L., Sullivan, P. L., Benettin, P., Cirpka, O. A., Bishop, K., Brantley, S. L., Knapp, J. L. A., Meerveld, I., Rinaldo, A., Seibert, J., Wen, H., and Kirchner, J. W.: Toward catchment hydro-biogeochemical theories, WIREs Water, <ext-link xlink:href="https://doi.org/10.1002/wat2.1495" ext-link-type="DOI">10.1002/wat2.1495</ext-link>, 2021.</mixed-citation></ref>
      <ref id="bib1.bib56"><label>56</label><?label 58?><mixed-citation> Lin, H.: Temporal stability of soil moisture spatial pattern and subsurface preferential flow pathways in the Shale Hills Catchment, Vadose Zone J., 5, 317–340, 2006.</mixed-citation></ref>
      <ref id="bib1.bib57"><label>57</label><?label 59?><mixed-citation> Lindström, G., Rosberg, J., and Arheimer, B.: Parameter Precision in the HBV-NP Model and Impacts on Nitrogen Scenario Simulations in the Rönneå River, Southern Sweden, AMBIO, 34, 533–537, 2005.</mixed-citation></ref>
      <ref id="bib1.bib58"><label>58</label><?label 60?><mixed-citation>Lindström, G., Pers, C., Rosberg, J., Strömqvist, J., and Arheimer, B.: Development and testing of the HYPE (Hydrological Predictions for the Environment) water quality model for different spatial scales, Hydrol. Res., 41, 295–319, <ext-link xlink:href="https://doi.org/10.2166/nh.2010.007" ext-link-type="DOI">10.2166/nh.2010.007</ext-link>, 2010.</mixed-citation></ref>
      <ref id="bib1.bib59"><label>59</label><?label 61?><mixed-citation> Liu, Y., Wang, C., He, N., Wen, X., Gao, Y., Li, S., Niu, S., Butterbach-Bahl, K., Luo, Y., and Yu, G.: A global synthesis of the rate and temperature sensitivity of soil nitrogen mineralization: latitudinal patterns and mechanisms, Glob. Change Biol., 23, 455–464, 2017.</mixed-citation></ref>
      <ref id="bib1.bib60"><label>60</label><?label 62?><mixed-citation>Lloyd, J. and Taylor, J. A.: On the Temperature Dependence of Soil Respiration, Funct. Ecol., 8, 315–323, <ext-link xlink:href="https://doi.org/10.2307/2389824" ext-link-type="DOI">10.2307/2389824</ext-link>, 1994.</mixed-citation></ref>
      <ref id="bib1.bib61"><label>61</label><?label 63?><mixed-citation> López, B., Sabaté, S., and Gracia, C.: Vertical distribution of fine root density, length density, area index and mean diameter in a Quercus ilex forest, Tree Physiol., 21, 555–560, 2001.</mixed-citation></ref>
      <ref id="bib1.bib62"><label>62</label><?label 64?><mixed-citation> McMurtrie, R. E., Iversen, C. M., Dewar, R. C., Medlyn, B. E., Näsholm, T., Pepper, D. A., and Norby, R. J.: Plant root distributions and nitrogen uptake predicted by a hypothesis of optimal root foraging, Ecol. Evol., 2, 1235–1250, 2012.</mixed-citation></ref>
      <ref id="bib1.bib63"><label>63</label><?label 65?><mixed-citation>Miller, M. P., Tesoriero, A. J., Hood, K., Terziotti, S., and Wolock, D. M.: Estimating Discharge and Nonpoint Source Nitrate Loading to Streams From Three End-Member Pathways Using High-Frequency Water Quality Data, Water Resour. Res., 53, 10201–10216, <ext-link xlink:href="https://doi.org/10.1002/2017wr021654" ext-link-type="DOI">10.1002/2017wr021654</ext-link>, 2017.</mixed-citation></ref>
      <ref id="bib1.bib64"><label>64</label><?label 67?><mixed-citation> Moatar, F., Abbott, B. W., Minaudo, C., Curie, F., and Pinay, G.: Elemental properties, hydrology, and biology interact to shape concentration-discharge curves for carbon, nutrients, sediment, and major ions, Water Resour. Res., 53, 1270–1287, 2017.</mixed-citation></ref>
      <ref id="bib1.bib65"><label>65</label><?label 68?><mixed-citation> Moriasi, D. N., Arnold, J. G., Van Liew, M. W., Bingner, R. L., Harmel, R. D., and Veith, T. L.: Model evaluation guidelines for systematic quantification of accuracy in watershed simulations, T. Asabe, 50, 885–900, 2007.</mixed-citation></ref>
      <ref id="bib1.bib66"><label>66</label><?label 69?><mixed-citation> Moriasi, D. N., Gitau, M. W., Pai, N., and Daggupati, P.: Hydrologic and water quality models: Performance measures and evaluation criteria, T. Asabe, 58, 1763–1785, 2015.</mixed-citation></ref>
      <ref id="bib1.bib67"><label>67</label><?label 70?><mixed-citation>Musolff, A., Schmidt, C., Selle, B., and Fleckenstein, J. H.: Catchment controls on solute export, Adv. Water Resour., 86, 133–146, <ext-link xlink:href="https://doi.org/10.1016/j.advwatres.2015.09.026" ext-link-type="DOI">10.1016/j.advwatres.2015.09.026</ext-link>, 2015.</mixed-citation></ref>
      <ref id="bib1.bib68"><label>68</label><?label 71?><mixed-citation> Neitsch, S. L., Arnold, J. G., Kiniry, J. R., and Williams, J. R.: Soil and water assessment tool theoretical documentation version 2009, Texas Water Resources Institute, College Station, 2011.</mixed-citation></ref>
      <ref id="bib1.bib69"><label>69</label><?label 73?><mixed-citation>Qu, Y. and Duffy, C. J.: A semidiscrete finite volume formulation for multiprocess watershed simulation, Water Resour. Res., 43, W08419, <ext-link xlink:href="https://doi.org/10.1029/2006WR005752" ext-link-type="DOI">10.1029/2006WR005752</ext-link>, 2007.</mixed-citation></ref>
      <ref id="bib1.bib70"><label>70</label><?label 74?><mixed-citation>Regnier, P. and Steefel, C. I.: A high resolution estimate of the inorganic nitrogen flux from the Scheldt estuary to the coastal North Sea during a nitrogen-limited algal bloom, spring 1995, Geochim. Cosmochim. Ac., 63, 1359–1374, <ext-link xlink:href="https://doi.org/10.1016/s0016-7037(99)00034-4" ext-link-type="DOI">10.1016/s0016-7037(99)00034-4</ext-link>, 1999.</mixed-citation></ref>
      <ref id="bib1.bib71"><label>71</label><?label 75?><mixed-citation> Rutherford, D. W., Chiou, C. T., and Kile, D. E.: Influence of soil organic matter composition on the partition of organic compounds, Environ. Sci. Technol., 26, 336–340, 1992.</mixed-citation></ref>
      <?pagebreak page332?><ref id="bib1.bib72"><label>72</label><?label 76?><mixed-citation> Saad, Y. and Schultz, M. H.: GMRES: A generalized minimal residual algorithm for solving nonsymmetric linear systems, SIAM J. Sci. Stat. Comp., 7, 856–869, 1986.</mixed-citation></ref>
      <ref id="bib1.bib73"><label>73</label><?label 77?><mixed-citation>Saberi, L., Crystal Ng, G. H., Nelson, L., Zhi, W., Li, L., La Frenierre, J., and Johnstone, M.: Spatiotemporal Drivers of Hydrochemical Variability in a Tropical Glacierized Watershed in the Andes, Water Resour. Res., 57, e2020WR028722, <ext-link xlink:href="https://doi.org/10.1029/2020WR028722" ext-link-type="DOI">10.1029/2020WR028722</ext-link>, 2021.</mixed-citation></ref>
      <ref id="bib1.bib74"><label>74</label><?label 78?><mixed-citation>Scudeler, C., Pangle, L., Pasetto, D., Niu, G.-Y., Volkmann, T., Paniconi, C., Putti, M., and Troch, P.: Multiresponse modeling of variably saturated flow and isotope tracer transport for a hillslope experiment at the Landscape Evolution Observatory, Hydrol. Earth Syst. Sci., 20, 4061–4078, <ext-link xlink:href="https://doi.org/10.5194/hess-20-4061-2016" ext-link-type="DOI">10.5194/hess-20-4061-2016</ext-link>, 2016.</mixed-citation></ref>
      <ref id="bib1.bib75"><label>75</label><?label 79?><mixed-citation> Sebestyen, S. D., Ross, D. S., Shanley, J. B., Elliott, E. M., Kendall, C., Campbell, J. L., Dail, D. B., Fernandez, I. J., Goodale, C. L., and Lawrence, G. B.: Unprocessed Atmospheric Nitrate in Waters of the Northern Forest Region in the US and Canada, Environ. Sci. Technol., 53, 3620–3633, 2019.</mixed-citation></ref>
      <ref id="bib1.bib76"><label>76</label><?label 80?><mixed-citation>Seibert, J., Grabs, T., Köhler, S., Laudon, H., Winterdahl, M., and Bishop, K.: Linking soil- and stream-water chemistry based on a Riparian Flow-Concentration Integration Model, Hydrol. Earth Syst. Sci., 13, 2287–2297, <ext-link xlink:href="https://doi.org/10.5194/hess-13-2287-2009" ext-link-type="DOI">10.5194/hess-13-2287-2009</ext-link>, 2009.</mixed-citation></ref>
      <ref id="bib1.bib77"><label>77</label><?label 1?><mixed-citation>Shale Hills Data Portal: Water Data, Shale Hills Data Portal [data set], available at: <uri>https://criticalzone.org/dynamic_water/data</uri>, last access: 22 May 2019.</mixed-citation></ref>
      <ref id="bib1.bib78"><label>78</label><?label 81?><mixed-citation>Shi, Y.: Development of a land surface hydrologic modeling and data assimilation system for the study of subsurface-land surface interaction, Doctoral Dissertation, Penn State University, State College, available at: <uri>https://etda.libraries.psu.edu/files/final_submissions/7621</uri> (last access: 22 May 2019), 2012.</mixed-citation></ref>
      <ref id="bib1.bib79"><label>79</label><?label 82?><mixed-citation> Shi, Y., Davis, K. J., Duffy, C. J., and Yu, X.: Development of a coupled land surface hydrologic model and evaluation at a critical zone observatory, J. Hydrometeorol., 14, 1401–1420, 2013.</mixed-citation></ref>
      <ref id="bib1.bib80"><label>80</label><?label 83?><mixed-citation>
Skamarock, W. and Klemp, J.: A Description of the Advanced Research WRF Model Version 4. Ncar Technical Notes, No, NCAR/TN-556+STR, Boulder, 2019.</mixed-citation></ref>
      <ref id="bib1.bib81"><label>81</label><?label 84?><mixed-citation> Steefel, C., Appelo, C., Arora, B., Jacques, D., Kalbacher, T., Kolditz, O., Lagneau, V., Lichtner, P., Mayer, K. U., and Meeussen, J.: Reactive transport codes for subsurface environmental simulation, Comput. Geosci., 19, 445–478, 2015.</mixed-citation></ref>
      <ref id="bib1.bib82"><label>82</label><?label 85?><mixed-citation> Steefel, C. I. and Lasaga, A. C.: A coupled model for transport of multiple chemical species and kinetic precipitation/dissolution reactions with application to reactive flow in single phase hydrothermal systems, Am. J. Sci., 294, 529–592, 1994.</mixed-citation></ref>
      <ref id="bib1.bib83"><label>83</label><?label 1?><mixed-citation>Stewart, B., Shanley, J. B., Kirchner, J. W., Norris, D., Adler, T., Bristol, C., Harpold AA, Perdrial, J. N., Rizzo, D. M., Sterle, G., Underwood, K. L., Wen, H., and Li, L.: Streams as mirrors: reading subsurface water chemistry from stream chemistry, Water Resour. Res.,  57, e2021WR029931, <ext-link xlink:href="https://doi.org/10.1029/2021WR029931" ext-link-type="DOI">10.1029/2021WR029931</ext-link>, 2021.</mixed-citation></ref>
      <ref id="bib1.bib84"><label>84</label><?label 86?><mixed-citation>Sullivan, P. L., Hynek, S. A., Gu, X., Singha, K., White, T., West, N., Kim, H., Clarke, B., Kirby, E., Duffy, C., and Brantley, S. L.: Oxidative dissolution under the channel leads geomorphological evolution at the Shale Hills catchment, Am. J. Sci., 316, 981–1026, <ext-link xlink:href="https://doi.org/10.2475/10.2016.02" ext-link-type="DOI">10.2475/10.2016.02</ext-link>, 2016.</mixed-citation></ref>
      <ref id="bib1.bib85"><label>85</label><?label 87?><mixed-citation> Taylor, R. G., Scanlon, B., Döll, P., Rodell, M., Van Beek, R., Wada, Y., Longuevergne, L., Leblanc, M., Famiglietti, J. S., and Edmunds, M.: Ground water and climate change, Nat. Clim. Change, 3, 322, 2013.</mixed-citation></ref>
      <ref id="bib1.bib86"><label>86</label><?label 88?><mixed-citation>van der Velde, Y., de Rooij, G. H., Rozemeijer, J. C., van Geer, F. C., and Broers, H. P.: Nitrate response of a lowland catchment: On the relation between stream concentration and travel time distribution dynamics, Water Resour. Res., 46, W11534, <ext-link xlink:href="https://doi.org/10.1029/2010WR009105" ext-link-type="DOI">10.1029/2010WR009105</ext-link>, 2010.</mixed-citation></ref>
      <ref id="bib1.bib87"><label>87</label><?label 90?><mixed-citation>Weiler, M. and McDonnell, J. R. J.: Testing nutrient flushing hypotheses at the hillslope scale: A virtual experiment approach, J. Hydrol., 319, 339–356, <ext-link xlink:href="https://doi.org/10.1016/j.jhydrol.2005.06.040" ext-link-type="DOI">10.1016/j.jhydrol.2005.06.040</ext-link>, 2006.</mixed-citation></ref>
      <ref id="bib1.bib88"><label>88</label><?label 91?><mixed-citation> Weitzman, J. N. and Kaye, J. P.: Nitrogen Budget and Topographic Controls on Nitrous Oxide in a Shale-Based Watershed, J. Geophys. Res.-Biogeo., 123, 1888–1908, 2018.</mixed-citation></ref>
      <ref id="bib1.bib89"><label>89</label><?label 92?><mixed-citation> Wen, H. and Li, L.: An upscaled rate law for magnesite dissolution in heterogeneous porous media, Geochim. Cosmochim. Ac., 210, 289–305, 2017.</mixed-citation></ref>
      <ref id="bib1.bib90"><label>90</label><?label 93?><mixed-citation> Wen, H. and Li, L.: An upscaled rate law for mineral dissolution in heterogeneous media: The role of time and length scales, Geochim. Cosmochim. Ac., 235, 1–20, 2018.</mixed-citation></ref>
      <ref id="bib1.bib91"><label>91</label><?label 94?><mixed-citation>Wen, H., Perdrial, J., Abbott, B. W., Bernal, S., Dupas, R., Godsey, S. E., Harpold, A., Rizzo, D., Underwood, K., Adler, T., Sterle, G., and Li, L.: Temperature controls production but hydrology regulates export of dissolved organic carbon at the catchment scale, Hydrol. Earth Syst. Sci., 24, 945–966, <ext-link xlink:href="https://doi.org/10.5194/hess-24-945-2020" ext-link-type="DOI">10.5194/hess-24-945-2020</ext-link>, 2020.</mixed-citation></ref>
      <ref id="bib1.bib92"><label>92</label><?label 95?><mixed-citation>Wen, H., Brantley, S. L., Davis, K. J., Duncan, J. M., and Li, L.: The Limits of Homogenization: What Hydrological Dynamics can a Simple Model Represent at the Catchment Scale?, Water Resour. Res., 57, e2020WR029528, <ext-link xlink:href="https://doi.org/10.1029/2020WR029528" ext-link-type="DOI">10.1029/2020WR029528</ext-link>, 2021.</mixed-citation></ref>
      <ref id="bib1.bib93"><label>93</label><?label 96?><mixed-citation>
Wolery, T. J.: EQ3/6, a software package for geochemical modeling of aqueous systems: package overview and installation guide (version 7.0), Lawrence Livermore National Lab, 1992.</mixed-citation></ref>
      <ref id="bib1.bib94"><label>94</label><?label 97?><mixed-citation>Xiao, D., Shi, Y., Brantley, S. L., Forsythe, B., DiBiase, R., Davis, K., and Li, L.: Streamflow Generation From Catchments of Contrasting Lithologies: The Role of Soil Properties, Topography, and Catchment Size, Water Resour. Res., 55, 9234–9257, <ext-link xlink:href="https://doi.org/10.1029/2018WR023736" ext-link-type="DOI">10.1029/2018WR023736</ext-link>, 2019.</mixed-citation></ref>
      <ref id="bib1.bib95"><label>95</label><?label 98?><mixed-citation>Xiao, D., Brantley, S. L., and Li, L.: Vertical Connectivity Regulates Water Transit Time and Chemical Weathering at the Hillslope Scale, Water Resour. Res., 57, e2020WR029207, <ext-link xlink:href="https://doi.org/10.1029/2020WR029207" ext-link-type="DOI">10.1029/2020WR029207</ext-link>, 2021.</mixed-citation></ref>
      <ref id="bib1.bib96"><label>96</label><?label 99?><mixed-citation>Yan, Q., Duan, Z., Mao, J., Li, X., and Dong, F.: Effects of root-zone temperature and N, P, and K supplies on nutrient uptake of cucumber (<italic>Cucumis sativus</italic> L.) seedlings in hydroponics, Soil Sci. Plant Nutr., 58, 707–717, 2012.</mixed-citation></ref>
      <ref id="bib1.bib97"><label>97</label><?label 100?><mixed-citation>Yan, Z., Bond-Lamberty, B., Todd-Brown, K. E., Bailey, V. L., Li, S., Liu, C., and Liu, C.: A moisture function of soil heterotrophic respiration that incorporates microscale processes, Nat. Commun., 9, 2562, <ext-link xlink:href="https://doi.org/10.1038/s41467-018-04971-6" ext-link-type="DOI">10.1038/s41467-018-04971-6</ext-link>, 2018.</mixed-citation></ref>
      <ref id="bib1.bib98"><label>98</label><?label 101?><mixed-citation> Zarnetske, J. P., Bouda, M., Abbott, B. W., Saiers, J., and Raymond, P. A.: Generality of hydrologic transport limitation of watershed organic carbon flux across ecoregions of the United States, Geophys. Res. Lett., 45, 11702–11711, 2018.</mixed-citation></ref>
      <ref id="bib1.bib99"><label>99</label><?label 103?><mixed-citation>Zhi, W. and Li, L.: The Shallow and Deep Hypothesis: Subsurface Vertical Chemical Contrasts Shape Nitrate Export Patterns f<?pagebreak page333?>rom Different Land Uses, Environ. Sci. Technol., 54, 11915–11928, <ext-link xlink:href="https://doi.org/10.1021/acs.est.0c01340" ext-link-type="DOI">10.1021/acs.est.0c01340</ext-link>, 2020.</mixed-citation></ref>
      <ref id="bib1.bib100"><label>100</label><?label 102?><mixed-citation>Zhi, W., Li, L., Dong, W., Brown, W., Kaye, J., Steefel, C., and Williams, K. H.: Distinct Source Water Chemistry Shapes Contrasting Concentration-Discharge Patterns, Water Resour. Res., 55, 4233–4251, <ext-link xlink:href="https://doi.org/10.1029/2018wr024257" ext-link-type="DOI">10.1029/2018wr024257</ext-link>, 2019.</mixed-citation></ref>
      <ref id="bib1.bib101"><label>101</label><?label 1?><mixed-citation>Zhi, W., Shi, Y., Wen, H., Saberi, L., Ng, G.-H. C., Sadayappan, K., Kerins, D., Stewart, B., and Li, L.: BioRT-Flux-PIHM-v1.0, v1.0, Zenodo [code], <ext-link xlink:href="https://doi.org/10.5281/zenodo.3936073" ext-link-type="DOI">10.5281/zenodo.3936073</ext-link>, 2020a.
</mixed-citation></ref><?xmltex \hack{\newpage}?>
      <ref id="bib1.bib102"><label>102</label><?label 1?><mixed-citation>Zhi, W., Williams, K. H., Carroll, R. W. H., Brown, W., Dong, W., Devon Kerins, D., and Li, L.: Significant stream chemistry response to temperature variations in a high-elevation mountain watershed, Communications Earth &amp; Environment, 1, 43, <ext-link xlink:href="https://doi.org/10.1038/s43247-020-00039-w" ext-link-type="DOI">10.1038/s43247-020-00039-w</ext-link>, 2020b.</mixed-citation></ref>
      <ref id="bib1.bib103"><label>103</label><?label 104?><mixed-citation>Zhou, T., Shi, P., Hui, D., and Luo, Y.: Global pattern of temperature sensitivity of soil heterotrophic respiration (Q<inline-formula><mml:math id="M302" display="inline"><mml:msub><mml:mi/><mml:mn mathvariant="normal">10</mml:mn></mml:msub></mml:math></inline-formula>) and its implications for carbon-climate feedback, J. Geophys. Res., 114, G02016, <ext-link xlink:href="https://doi.org/10.1029/2008JG000850" ext-link-type="DOI">10.1029/2008JG000850</ext-link>, 2009.</mixed-citation></ref>

  </ref-list></back>
    <!--<article-title-html>BioRT-Flux-PIHM v1.0: a biogeochemical reactive transport model at the watershed scale</article-title-html>
<abstract-html/>
<ref-html id="bib1.bib1"><label>1</label><mixed-citation>
Adler, T., Underwood, K., Rizzo, D., Harpold, A., Sterle, G., Li, L., Wen, H., Stinson, L., Bristol, C., Lini, A., Perdrial, N., and Perdrial, J. N.: Drivers of Dissolved Organic Carbon Mobilization from Forested Headwater Catchments: A Multi Scaled Approach, Frontiers in Water, 3, 63, <a href="https://doi.org/10.3389/frwa.2021.578608" target="_blank">https://doi.org/10.3389/frwa.2021.578608</a>, 2021.
</mixed-citation></ref-html>
<ref-html id="bib1.bib2"><label>2</label><mixed-citation> Andrews, D. M., Lin, H., Zhu, Q., Jin, L., and Brantley, S. L.: Hot spots and hot moments of dissolved organic carbon export and soil organic carbon storage in the Shale Hills catchment, Vadose Zone J., 10, 943–954, 2011.
</mixed-citation></ref-html>
<ref-html id="bib1.bib3"><label>3</label><mixed-citation> Bai, J., Zhang, G., Zhao, Q., Lu, Q., Jia, J., Cui, B., and Liu, X.: Depth-distribution patterns and control of soil organic carbon in coastal salt marshes with different plant covers, Sci. Rep.-UK, 6, 34835, <a href="https://doi.org/10.1038/srep34835" target="_blank">https://doi.org/10.1038/srep34835</a>, 2016.
</mixed-citation></ref-html>
<ref-html id="bib1.bib4"><label>4</label><mixed-citation> Bailey, R., Rathjens, H., Bieger, K., Chaubey, I., and Arnold, J.: SWATMOD-Prep: Graphical User Interface for Preparing Coupled SWAT-MODFLOW Simulations, J. Am. Water Resour. As., 53, 400–410, <a href="https://doi.org/10.1111/1752-1688.12502" target="_blank">https://doi.org/10.1111/1752-1688.12502</a>, 2017.
</mixed-citation></ref-html>
<ref-html id="bib1.bib5"><label>5</label><mixed-citation> Bao, C., Wu, H., Li, L., Newcomer, D., Long, P. E., and Williams, K. H.: Uranium Bioreduction Rates across Scales: Biogeochemical Hot Moments and Hot Spots during a Biostimulation Experiment at Rifle, Colorado, Environ. Sci. Technol., 48, 10116–10127, <a href="https://doi.org/10.1021/es501060d" target="_blank">https://doi.org/10.1021/es501060d</a>, 2014.
</mixed-citation></ref-html>
<ref-html id="bib1.bib6"><label>6</label><mixed-citation> Bao, C., Li, L., Shi, Y., and Duffy, C.: Understanding watershed hydrogeochemistry: 1. Development of RT-Flux-PIHM, Water Resour. Res., 53, 2328–2345, 2017.
</mixed-citation></ref-html>
<ref-html id="bib1.bib7"><label>7</label><mixed-citation> Basu, N. B., Destouni, G., Jawitz, J. W., Thompson, S. E., Loukinova, N. V., Darracq, A., Zanardo, S., Yaeger, M., Sivapalan, M., Rinaldo, A., and Rao, P. S. C.: Nutrient loads exported from managed catchments reveal emergent biogeochemical stationarity, Geophys. Res. Lett., 37, L23404, <a href="https://doi.org/10.1029/2010GL045168" target="_blank">https://doi.org/10.1029/2010GL045168</a>, 2010.
</mixed-citation></ref-html>
<ref-html id="bib1.bib8"><label>8</label><mixed-citation> Benettin, P., Fovet, O., and Li, L.: Nitrate removal and young stream water fractions at the catchment scale, Hydrol. Process., 34, 2725–2738, <a href="https://doi.org/10.1002/hyp.13781" target="_blank">https://doi.org/10.1002/hyp.13781</a>, 2020.
</mixed-citation></ref-html>
<ref-html id="bib1.bib9"><label>9</label><mixed-citation> Beven, K.: How far can we go in distributed hydrological modelling?, Hydrol. Earth Syst. Sci., 5, 1–12, <a href="https://doi.org/10.5194/hess-5-1-2001" target="_blank">https://doi.org/10.5194/hess-5-1-2001</a>, 2001.
</mixed-citation></ref-html>
<ref-html id="bib1.bib10"><label>10</label><mixed-citation>
Beven, K.: A manifesto for the equifinality thesis, J. Hydrol., 320, 18–36, <a href="https://doi.org/10.1016/j.jhydrol.2005.07.007" target="_blank">https://doi.org/10.1016/j.jhydrol.2005.07.007</a>, 2006.
</mixed-citation></ref-html>
<ref-html id="bib1.bib11"><label>11</label><mixed-citation>
Beven, K. and Lane, S.: Invalidation of Models and Fitness-for-Purpose: A Rejectionist Approach, in: Computer Simulation Validation: Fundamental Concepts, Methodological Frameworks, and Philosophical Perspectives, edited by: Beisbart, C. and Saam, N. J., Springer International Publishing, Cham, 145–171, 2019.
</mixed-citation></ref-html>
<ref-html id="bib1.bib12"><label>12</label><mixed-citation>
Bhatt, G., Kumar, M., and Duffy, C. J.: A tightly coupled GIS and distributed hydrologic modeling framework, Environ. Modell. Softw., 62, 70–84, <a href="https://doi.org/10.1016/j.envsoft.2014.08.003" target="_blank">https://doi.org/10.1016/j.envsoft.2014.08.003</a>, 2014.
</mixed-citation></ref-html>
<ref-html id="bib1.bib13"><label>13</label><mixed-citation>
Botter, M., Li, L., Hartmann, J., Burlando, P., and Fatichi, S.: Depth of Solute Generation Is a Dominant Control on Concentration-Discharge Relations, Water Resour. Res., 56, e2019WR026695, <a href="https://doi.org/10.1029/2019WR026695" target="_blank">https://doi.org/10.1029/2019WR026695</a>, 2020.
</mixed-citation></ref-html>
<ref-html id="bib1.bib14"><label>14</label><mixed-citation> Bracho, R., Natali, S., Pegoraro, E., Crummer, K. G., Schädel, C., Celis, G., Hale, L., Wu, L., Yin, H., and Tiedje, J. M.: Temperature sensitivity of organic matter decomposition of permafrost-region soils during laboratory incubations, Soil Biol. Biochem., 97, 1–14, 2016.
</mixed-citation></ref-html>
<ref-html id="bib1.bib15"><label>15</label><mixed-citation>
Brantley, S. L., Kubicki, J. D., and White, A. F.: Kinetics of water–rock interaction, Springer, New York, 2008.
</mixed-citation></ref-html>
<ref-html id="bib1.bib16"><label>16</label><mixed-citation> Brantley, S. L., White, T., West, N., Williams, J. Z., Forsythe, B., Shapich, D., Kaye, J., Lin, H., Shi, Y. N., Kaye, M., Herndon, E., Davis, K. J., He, Y., Eissenstat, D., Weitzman, J., DiBiase, R., Li, L., Reed, W., Brubaker, K., and Gu, X.: Susquehanna Shale Hills Critical Zone Observatory: Shale Hills in the Context of Shaver's Creek Watershed, Vadose Zone J., 17, 1–19, ARTN 180092, <a href="https://doi.org/10.2136/vzj2018.04.0092" target="_blank">https://doi.org/10.2136/vzj2018.04.0092</a>, 2018.
</mixed-citation></ref-html>
<ref-html id="bib1.bib17"><label>17</label><mixed-citation> Buljovcic, Z. and Engels, C.: Nitrate uptake ability by maize roots during and after drought stress, Plant Soil, 229, 125–135, 2001.
</mixed-citation></ref-html>
<ref-html id="bib1.bib18"><label>18</label><mixed-citation> Buysse, J., Smolders, E., and Merckx, R.: Modelling the uptake of nitrate by a growing plant with an adjustable root nitrate uptake capacity, Plant Soil, 181, 19–23, 1996.
</mixed-citation></ref-html>
<ref-html id="bib1.bib19"><label>19</label><mixed-citation> Cai, X., Yang, Z.-L., Fisher, J. B., Zhang, X., Barlage, M., and Chen, F.: Integration of nitrogen dynamics into the Noah-MP land surface model v1.1 for climate and environmental predictions, Geosci. Model Dev., 9, 1–15, <a href="https://doi.org/10.5194/gmd-9-1-2016" target="_blank">https://doi.org/10.5194/gmd-9-1-2016</a>, 2016.
</mixed-citation></ref-html>
<ref-html id="bib1.bib20"><label>20</label><mixed-citation> Davidson, E. A. and Janssens, I. A.: Temperature sensitivity of soil carbon decomposition and feedbacks to climate change, Nature, 440, 165–173, <a href="https://doi.org/10.1038/nature04514" target="_blank">https://doi.org/10.1038/nature04514</a>, 2006.
</mixed-citation></ref-html>
<ref-html id="bib1.bib21"><label>21</label><mixed-citation> Davidson, E. A., Janssens, I. A., and Luo, Y.: On the variability of respiration in terrestrial ecosystems: moving beyond <i>Q</i><sub>10</sub>, Glob. Change Biol., 12, 154–164, 2006.
</mixed-citation></ref-html>
<ref-html id="bib1.bib22"><label>22</label><mixed-citation>
Dingman, S. L.: Physical hydrology, Waveland press, Long Grove, 2015.
</mixed-citation></ref-html>
<ref-html id="bib1.bib23"><label>23</label><mixed-citation> Dunbabin, V. M., Diggle, A. J., Rengel, Z., and Van Hugten, R.: Modelling the interactions between water and nutrient uptake and root growth, Plant Soil, 239, 19–38, 2002.
</mixed-citation></ref-html>
<ref-html id="bib1.bib24"><label>24</label><mixed-citation> Fatichi, S., Vivoni, E. R., Ogden, F. L., Ivanov, V. Y., Mirus, B., Gochis, D., Downer, C. W., Camporese, M., Davison, J. H., and Ebel, B.: An overview of current applications, challenges, and future trends in distributed process-based models in hydrology, J. Hydrol., 537, 45–60, 2016.
</mixed-citation></ref-html>
<ref-html id="bib1.bib25"><label>25</label><mixed-citation> Fatichi, S., Manzoni, S., Or, D., and Paschalis, A.: A Mechanistic Model of Microbially Mediated Soil Biogeochemical Processes: A Reality Check, Global Biogeochem. Cy., 33, 620–648, <a href="https://doi.org/10.1029/2018gb006077" target="_blank">https://doi.org/10.1029/2018gb006077</a>, 2019.
</mixed-citation></ref-html>
<ref-html id="bib1.bib26"><label>26</label><mixed-citation>
Fisher, J., Sitch, S., Malhi, Y., Fisher, R., Huntingford, C., and Tan, S. Y.: Carbon cost of plant nitrogen acquisition: A mechanistic, globally applicable model of plant nitrogen uptake, retranslocation, and fixation, Global Biogeochem. Cy., 24, GB1014, <a href="https://doi.org/10.1029/2009GB003621" target="_blank">https://doi.org/10.1029/2009GB003621</a>, 2010.
</mixed-citation></ref-html>
<ref-html id="bib1.bib27"><label>27</label><mixed-citation> Gatel, L., Lauvernet, C., Carluer, N., Weill, S., Tournebize, J., and Paniconi, C.: Global evaluation and sensitivity analysis of a physically based flow and reactive transport model on a laboratory experiment, Environ. Modell. Softw., 113, 73–83, <a href="https://doi.org/10.1016/j.envsoft.2018.12.006" target="_blank">https://doi.org/10.1016/j.envsoft.2018.12.006</a>, 2019.
</mixed-citation></ref-html>
<ref-html id="bib1.bib28"><label>28</label><mixed-citation> Godsey, S. E., Kirchner, J. W., and Clow, D. W.: Concentration–discharge relationships reflect chemostatic characteristics of US catchments, Hydrol. Process., 23, 1844–1864, <a href="https://doi.org/10.1002/hyp.7315" target="_blank">https://doi.org/10.1002/hyp.7315</a>, 2009.
</mixed-citation></ref-html>
<ref-html id="bib1.bib29"><label>29</label><mixed-citation> Godsey, S. E., Hartmann, J., and Kirchner, J. W.: Catchment chemostasis revisited: Water quality responds differently to variations in weather and climate, Hydrol. Process., 33, 3056–3069, <a href="https://doi.org/10.1002/hyp.13554" target="_blank">https://doi.org/10.1002/hyp.13554</a>, 2019.
</mixed-citation></ref-html>
<ref-html id="bib1.bib30"><label>30</label><mixed-citation> Grathwohl, P., Rügner, H., Wöhling, T., Osenbrück, K., Schwientek, M., Gayler, S., Wollschläger, U., Selle, B., Pause, M., and Delfs, J.-O.: Catchments as reactors: a comprehensive approach for water fluxes and solute turnover, Environ. Earth Sci., 69, 317–333, 2013.
</mixed-citation></ref-html>
<ref-html id="bib1.bib31"><label>31</label><mixed-citation> Green, T. R.: Linking climate change and groundwater, in: Integrated groundwater management, Springer, Cham, 97–141, 2016.
</mixed-citation></ref-html>
<ref-html id="bib1.bib32"><label>32</label><mixed-citation>
Guevara Ochoa, C., Medina Sierra, A., Vives, L., Zimmermann, E., and Bailey,
R.: Spatio‐temporal patterns of the interaction between groundwater
and surface water in plains, Hydrol. Process., 34, 1371–1392, 2020.
</mixed-citation></ref-html>
<ref-html id="bib1.bib33"><label>33</label><mixed-citation> Gurdak, J. J.: Groundwater: Climate-induced pumping, Nat. Geosci., 10, 71, 2017.
</mixed-citation></ref-html>
<ref-html id="bib1.bib34"><label>34</label><mixed-citation> Hamamoto, S., Moldrup, P., Kawamoto, K., and Komatsu, T.: Excluded-volume expansion of Archie's law for gas and solute diffusivities and electrical and thermal conductivities in variably saturated porous media, Water Resour. Res., 46, W06514, <a href="https://doi.org/10.1029/2009WR008424" target="_blank">https://doi.org/10.1029/2009WR008424</a>, 2010.
</mixed-citation></ref-html>
<ref-html id="bib1.bib35"><label>35</label><mixed-citation> Hartley, I. P., Heinemeyer, A., and Ineson, P.: Effects of three years of soil warming and shading on the rate of soil respiration: substrate availability and not thermal acclimation mediates observed response, Glob. Change Biol., 13, 1761–1770, <a href="https://doi.org/10.1111/j.1365-2486.2007.01373.x" target="_blank">https://doi.org/10.1111/j.1365-2486.2007.01373.x</a>, 2007.
</mixed-citation></ref-html>
<ref-html id="bib1.bib36"><label>36</label><mixed-citation> Hartmann, J., Lauerwald, R., and Moosdorf, N.: A brief overview of the GLObal RIver CHemistry Database, GLORICH, Proced. Earth Plan. Sc., 10, 23–27, 2014.
</mixed-citation></ref-html>
<ref-html id="bib1.bib37"><label>37</label><mixed-citation> Hasenmueller, E. A., Jin, L., Stinchcomb, G. E., Lin, H., Brantley, S. L., and Kaye, J. P.: Topographic controls on the depth distribution of soil CO<sub>2</sub> in a small temperate watershed, Appl. Geochem., 63, 58–69, 2015.
</mixed-citation></ref-html>
<ref-html id="bib1.bib38"><label>38</label><mixed-citation> Hasenmueller, E. A., Gu, X., Weitzman, J. N., Adams, T. S., Stinchcomb, G. E., Eissenstat, D. M., Drohan, P. J., Brantley, S. L., and Kaye, J. P.: Weathering of rock to regolith: The activity of deep roots in bedrock fractures, Geoderma, 300, 11–31, 2017.
</mixed-citation></ref-html>
<ref-html id="bib1.bib39"><label>39</label><mixed-citation> Heidari, P., Li, L., Jin, L., Williams, J. Z., and Brantley, S. L.: A reactive transport model for Marcellus shale weathering, Geochim. Cosmochim. Ac., 217, 421–440, 2017.
</mixed-citation></ref-html>
<ref-html id="bib1.bib40"><label>40</label><mixed-citation> Herndon, E. M., Dere, A. L., Sullivan, P. L., Norris, D., Reynolds, B., and Brantley, S. L.: Landscape heterogeneity drives contrasting concentration–discharge relationships in shale headwater catchments, Hydrol. Earth Syst. Sci., 19, 3333–3347, <a href="https://doi.org/10.5194/hess-19-3333-2015" target="_blank">https://doi.org/10.5194/hess-19-3333-2015</a>, 2015.
</mixed-citation></ref-html>
<ref-html id="bib1.bib41"><label>41</label><mixed-citation> Hindmarsh, A. C., Brown, P. N., Grant, K. E., Lee, S. L., Serban, R., Shumaker, D. E., and Woodward, C. S.: SUNDIALS: Suite of nonlinear and differential/algebraic equation solvers, ACM T. Math. Software, 31, 363–396, 2005.
</mixed-citation></ref-html>
<ref-html id="bib1.bib42"><label>42</label><mixed-citation> Hubbard, S. S., Williams, K. H., Agarwal, D., Banfield, J., Beller, H., Bouskill, N., Brodie, E., Carroll, R., Dafflon, B., and Dwivedi, D.: The East River, Colorado, Watershed: A mountainous community testbed for improving predictive understanding of multiscale hydrological-biogeochemical dynamics, Vadose Zone J., 17, 1–25, <a href="https://doi.org/10.2136/vzj2018.03.0061" target="_blank">https://doi.org/10.2136/vzj2018.03.0061</a>, 2018.
</mixed-citation></ref-html>
<ref-html id="bib1.bib43"><label>43</label><mixed-citation>
Husic, A.: Numerical modeling and isotope tracers to investigate karst biogeochemistry and transport processes, Doctoral Dissertation, <a href="https://doi.org/10.13023/etd.2018.322" target="_blank">https://doi.org/10.13023/etd.2018.322</a>, 2018.
</mixed-citation></ref-html>
<ref-html id="bib1.bib44"><label>44</label><mixed-citation>
HydroShare: CZO Shale Hills, HydroShare [data set], available at: <a href="https://www.hydroshare.org/group/147" target="_blank"/>, last access: 22 May 2019.
</mixed-citation></ref-html>
<ref-html id="bib1.bib45"><label>45</label><mixed-citation> Jin, L. and Brantley, S. L.: Soil chemistry and shale weathering on a hillslope influenced by convergent hydrologic flow regime at the Susquehanna/Shale Hills Critical Zone Observatory, Appl. Geochem., 26, S51–S56, <a href="https://doi.org/10.1016/j.apgeochem.2011.03.027" target="_blank">https://doi.org/10.1016/j.apgeochem.2011.03.027</a>, 2011.
</mixed-citation></ref-html>
<ref-html id="bib1.bib46"><label>46</label><mixed-citation> Jin, L. X., Ravella, R., Ketchum, B., Bierman, P. R., Heaney, P., White, T., and Brantley, S. L.: Mineral weathering and elemental transport during hillslope evolution at the Susquehanna/Shale Hills Critical Zone Observatory, Geochim. Cosmochim. Ac., 74, 3669–3691, <a href="https://doi.org/10.1016/j.gca.2010.03.036" target="_blank">https://doi.org/10.1016/j.gca.2010.03.036</a>, 2010.
</mixed-citation></ref-html>
<ref-html id="bib1.bib47"><label>47</label><mixed-citation> Keune, J., Gasper, F., Goergen, K., Hense, A., Shrestha, P., Sulis, M., and Kollet, S.: Studying the influence of groundwater representations on land surface-atmosphere feedbacks during the European heat wave in 2003, J. Geophys. Res.-Atmos., 121, 13301–13325, <a href="https://doi.org/10.1002/2016JD025426" target="_blank">https://doi.org/10.1002/2016JD025426</a>, 2016.
</mixed-citation></ref-html>
<ref-html id="bib1.bib48"><label>48</label><mixed-citation> Kirchner, J. W., Hooper, R. P., Kendall, C., Neal, C., and Leavesley, G.: Testing and validating environmental models, Sci. Total Environ., 183, 33–47, <a href="https://doi.org/10.1016/0048-9697(95)04971-1" target="_blank">https://doi.org/10.1016/0048-9697(95)04971-1</a>, 1996.
</mixed-citation></ref-html>
<ref-html id="bib1.bib49"><label>49</label><mixed-citation> Kuntz, B. W., Rubin, S., Berkowitz, B., and Singha, K.: Quantifying Solute Transport at the Shale Hills Critical Zone Observatory, Vadose Zone J., 10, 843–857, <a href="https://doi.org/10.2136/vzj2010.0130" target="_blank">https://doi.org/10.2136/vzj2010.0130</a>, 2011.
</mixed-citation></ref-html>
<ref-html id="bib1.bib50"><label>50</label><mixed-citation> Leonard, L. and Duffy, C. J.: Essential terrestrial variable data workflows for distributed water resources modeling, Environ. Modell. Softw., 50, 85–96, 2013.
</mixed-citation></ref-html>
<ref-html id="bib1.bib51"><label>51</label><mixed-citation> Li, L.: Watershed reactive transport, Reviews in Mineralogy and Geochemistry, 85, 381–418, 2019.
</mixed-citation></ref-html>
<ref-html id="bib1.bib52"><label>52</label><mixed-citation> Li, L., Salehikhoo, F., Brantley, S. L., and Heidari, P.: Spatial zonation limits magnesite dissolution in porous media, Geochim. Cosmochim. Ac., 126, 555–573, <a href="https://doi.org/10.1016/j.gca.2013.10.051" target="_blank">https://doi.org/10.1016/j.gca.2013.10.051</a>, 2014.
</mixed-citation></ref-html>
<ref-html id="bib1.bib53"><label>53</label><mixed-citation> Li, L., Bao, C., Sullivan, P. L., Brantley, S., Shi, Y., and Duffy, C.: Understanding watershed hydrogeochemistry: 2. Synchronized hydrological and geochemical processes drive stream chemostatic behavior, Water Resour. Res., 53, 2346–2367, 2017a.
</mixed-citation></ref-html>
<ref-html id="bib1.bib54"><label>54</label><mixed-citation> Li, L., Maher, K., Navarre-Sitchler, A., Druhan, J., Meile, C., Lawrence, C., Moore, J., Perdrial, J., Sullivan, P., Thompson, A., Jin, L., Bolton, E. W., Brantley, S. L., Dietrich, W. E., Mayer, K. U., Steefel, C. I., Valocchi, A., Zachara, J., Kocar, B., McIntosh, J., Tutolo, B. M., Kumar, M., Sonnenthal, E., Bao, C., and Beisman, J.: Expanding the role of reactive transport models in critical zone processes, Earth-Sci. Rev., 165, 280–301, <a href="https://doi.org/10.1016/j.earscirev.2016.09.001" target="_blank">https://doi.org/10.1016/j.earscirev.2016.09.001</a>, 2017b.
</mixed-citation></ref-html>
<ref-html id="bib1.bib55"><label>55</label><mixed-citation> Li, L., Sullivan, P. L., Benettin, P., Cirpka, O. A., Bishop, K., Brantley, S. L., Knapp, J. L. A., Meerveld, I., Rinaldo, A., Seibert, J., Wen, H., and Kirchner, J. W.: Toward catchment hydro-biogeochemical theories, WIREs Water, <a href="https://doi.org/10.1002/wat2.1495" target="_blank">https://doi.org/10.1002/wat2.1495</a>, 2021.
</mixed-citation></ref-html>
<ref-html id="bib1.bib56"><label>56</label><mixed-citation> Lin, H.: Temporal stability of soil moisture spatial pattern and subsurface preferential flow pathways in the Shale Hills Catchment, Vadose Zone J., 5, 317–340, 2006.
</mixed-citation></ref-html>
<ref-html id="bib1.bib57"><label>57</label><mixed-citation> Lindström, G., Rosberg, J., and Arheimer, B.: Parameter Precision in the HBV-NP Model and Impacts on Nitrogen Scenario Simulations in the Rönneå River, Southern Sweden, AMBIO, 34, 533–537, 2005.
</mixed-citation></ref-html>
<ref-html id="bib1.bib58"><label>58</label><mixed-citation> Lindström, G., Pers, C., Rosberg, J., Strömqvist, J., and Arheimer, B.: Development and testing of the HYPE (Hydrological Predictions for the Environment) water quality model for different spatial scales, Hydrol. Res., 41, 295–319, <a href="https://doi.org/10.2166/nh.2010.007" target="_blank">https://doi.org/10.2166/nh.2010.007</a>, 2010.
</mixed-citation></ref-html>
<ref-html id="bib1.bib59"><label>59</label><mixed-citation> Liu, Y., Wang, C., He, N., Wen, X., Gao, Y., Li, S., Niu, S., Butterbach-Bahl, K., Luo, Y., and Yu, G.: A global synthesis of the rate and temperature sensitivity of soil nitrogen mineralization: latitudinal patterns and mechanisms, Glob. Change Biol., 23, 455–464, 2017.
</mixed-citation></ref-html>
<ref-html id="bib1.bib60"><label>60</label><mixed-citation> Lloyd, J. and Taylor, J. A.: On the Temperature Dependence of Soil Respiration, Funct. Ecol., 8, 315–323, <a href="https://doi.org/10.2307/2389824" target="_blank">https://doi.org/10.2307/2389824</a>, 1994.
</mixed-citation></ref-html>
<ref-html id="bib1.bib61"><label>61</label><mixed-citation> López, B., Sabaté, S., and Gracia, C.: Vertical distribution of fine root density, length density, area index and mean diameter in a Quercus ilex forest, Tree Physiol., 21, 555–560, 2001.
</mixed-citation></ref-html>
<ref-html id="bib1.bib62"><label>62</label><mixed-citation> McMurtrie, R. E., Iversen, C. M., Dewar, R. C., Medlyn, B. E., Näsholm, T., Pepper, D. A., and Norby, R. J.: Plant root distributions and nitrogen uptake predicted by a hypothesis of optimal root foraging, Ecol. Evol., 2, 1235–1250, 2012.
</mixed-citation></ref-html>
<ref-html id="bib1.bib63"><label>63</label><mixed-citation> Miller, M. P., Tesoriero, A. J., Hood, K., Terziotti, S., and Wolock, D. M.: Estimating Discharge and Nonpoint Source Nitrate Loading to Streams From Three End-Member Pathways Using High-Frequency Water Quality Data, Water Resour. Res., 53, 10201–10216, <a href="https://doi.org/10.1002/2017wr021654" target="_blank">https://doi.org/10.1002/2017wr021654</a>, 2017.
</mixed-citation></ref-html>
<ref-html id="bib1.bib64"><label>64</label><mixed-citation> Moatar, F., Abbott, B. W., Minaudo, C., Curie, F., and Pinay, G.: Elemental properties, hydrology, and biology interact to shape concentration-discharge curves for carbon, nutrients, sediment, and major ions, Water Resour. Res., 53, 1270–1287, 2017.
</mixed-citation></ref-html>
<ref-html id="bib1.bib65"><label>65</label><mixed-citation> Moriasi, D. N., Arnold, J. G., Van Liew, M. W., Bingner, R. L., Harmel, R. D., and Veith, T. L.: Model evaluation guidelines for systematic quantification of accuracy in watershed simulations, T. Asabe, 50, 885–900, 2007.
</mixed-citation></ref-html>
<ref-html id="bib1.bib66"><label>66</label><mixed-citation> Moriasi, D. N., Gitau, M. W., Pai, N., and Daggupati, P.: Hydrologic and water quality models: Performance measures and evaluation criteria, T. Asabe, 58, 1763–1785, 2015.
</mixed-citation></ref-html>
<ref-html id="bib1.bib67"><label>67</label><mixed-citation> Musolff, A., Schmidt, C., Selle, B., and Fleckenstein, J. H.: Catchment controls on solute export, Adv. Water Resour., 86, 133–146, <a href="https://doi.org/10.1016/j.advwatres.2015.09.026" target="_blank">https://doi.org/10.1016/j.advwatres.2015.09.026</a>, 2015.
</mixed-citation></ref-html>
<ref-html id="bib1.bib68"><label>68</label><mixed-citation> Neitsch, S. L., Arnold, J. G., Kiniry, J. R., and Williams, J. R.: Soil and water assessment tool theoretical documentation version 2009, Texas Water Resources Institute, College Station, 2011.
</mixed-citation></ref-html>
<ref-html id="bib1.bib69"><label>69</label><mixed-citation>
Qu, Y. and Duffy, C. J.: A semidiscrete finite volume formulation for multiprocess watershed simulation, Water Resour. Res., 43, W08419, <a href="https://doi.org/10.1029/2006WR005752" target="_blank">https://doi.org/10.1029/2006WR005752</a>, 2007.
</mixed-citation></ref-html>
<ref-html id="bib1.bib70"><label>70</label><mixed-citation> Regnier, P. and Steefel, C. I.: A high resolution estimate of the inorganic nitrogen flux from the Scheldt estuary to the coastal North Sea during a nitrogen-limited algal bloom, spring 1995, Geochim. Cosmochim. Ac., 63, 1359–1374, <a href="https://doi.org/10.1016/s0016-7037(99)00034-4" target="_blank">https://doi.org/10.1016/s0016-7037(99)00034-4</a>, 1999.
</mixed-citation></ref-html>
<ref-html id="bib1.bib71"><label>71</label><mixed-citation> Rutherford, D. W., Chiou, C. T., and Kile, D. E.: Influence of soil organic matter composition on the partition of organic compounds, Environ. Sci. Technol., 26, 336–340, 1992.
</mixed-citation></ref-html>
<ref-html id="bib1.bib72"><label>72</label><mixed-citation> Saad, Y. and Schultz, M. H.: GMRES: A generalized minimal residual algorithm for solving nonsymmetric linear systems, SIAM J. Sci. Stat. Comp., 7, 856–869, 1986.
</mixed-citation></ref-html>
<ref-html id="bib1.bib73"><label>73</label><mixed-citation>
Saberi, L., Crystal Ng, G. H., Nelson, L., Zhi, W., Li, L., La Frenierre, J., and Johnstone, M.: Spatiotemporal Drivers of Hydrochemical Variability in a Tropical Glacierized Watershed in the Andes, Water Resour. Res., 57, e2020WR028722, <a href="https://doi.org/10.1029/2020WR028722" target="_blank">https://doi.org/10.1029/2020WR028722</a>, 2021.
</mixed-citation></ref-html>
<ref-html id="bib1.bib74"><label>74</label><mixed-citation> Scudeler, C., Pangle, L., Pasetto, D., Niu, G.-Y., Volkmann, T., Paniconi, C., Putti, M., and Troch, P.: Multiresponse modeling of variably saturated flow and isotope tracer transport for a hillslope experiment at the Landscape Evolution Observatory, Hydrol. Earth Syst. Sci., 20, 4061–4078, <a href="https://doi.org/10.5194/hess-20-4061-2016" target="_blank">https://doi.org/10.5194/hess-20-4061-2016</a>, 2016.
</mixed-citation></ref-html>
<ref-html id="bib1.bib75"><label>75</label><mixed-citation> Sebestyen, S. D., Ross, D. S., Shanley, J. B., Elliott, E. M., Kendall, C., Campbell, J. L., Dail, D. B., Fernandez, I. J., Goodale, C. L., and Lawrence, G. B.: Unprocessed Atmospheric Nitrate in Waters of the Northern Forest Region in the US and Canada, Environ. Sci. Technol., 53, 3620–3633, 2019.
</mixed-citation></ref-html>
<ref-html id="bib1.bib76"><label>76</label><mixed-citation> Seibert, J., Grabs, T., Köhler, S., Laudon, H., Winterdahl, M., and Bishop, K.: Linking soil- and stream-water chemistry based on a Riparian Flow-Concentration Integration Model, Hydrol. Earth Syst. Sci., 13, 2287–2297, <a href="https://doi.org/10.5194/hess-13-2287-2009" target="_blank">https://doi.org/10.5194/hess-13-2287-2009</a>, 2009.
</mixed-citation></ref-html>
<ref-html id="bib1.bib77"><label>77</label><mixed-citation>
Shale Hills Data Portal: Water Data, Shale Hills Data Portal [data set], available at: <a href="https://criticalzone.org/dynamic_water/data" target="_blank"/>, last access: 22 May 2019.
</mixed-citation></ref-html>
<ref-html id="bib1.bib78"><label>78</label><mixed-citation>
Shi, Y.: Development of a land surface hydrologic modeling and data assimilation system for the study of subsurface-land surface interaction, Doctoral Dissertation, Penn State University, State College, available at: <a href="https://etda.libraries.psu.edu/files/final_submissions/7621" target="_blank"/> (last access: 22 May 2019), 2012.
</mixed-citation></ref-html>
<ref-html id="bib1.bib79"><label>79</label><mixed-citation> Shi, Y., Davis, K. J., Duffy, C. J., and Yu, X.: Development of a coupled land surface hydrologic model and evaluation at a critical zone observatory, J. Hydrometeorol., 14, 1401–1420, 2013.
</mixed-citation></ref-html>
<ref-html id="bib1.bib80"><label>80</label><mixed-citation>
Skamarock, W. and Klemp, J.: A Description of the Advanced Research WRF Model Version 4. Ncar Technical Notes, No, NCAR/TN-556+STR, Boulder, 2019.
</mixed-citation></ref-html>
<ref-html id="bib1.bib81"><label>81</label><mixed-citation> Steefel, C., Appelo, C., Arora, B., Jacques, D., Kalbacher, T., Kolditz, O., Lagneau, V., Lichtner, P., Mayer, K. U., and Meeussen, J.: Reactive transport codes for subsurface environmental simulation, Comput. Geosci., 19, 445–478, 2015.
</mixed-citation></ref-html>
<ref-html id="bib1.bib82"><label>82</label><mixed-citation> Steefel, C. I. and Lasaga, A. C.: A coupled model for transport of multiple chemical species and kinetic precipitation/dissolution reactions with application to reactive flow in single phase hydrothermal systems, Am. J. Sci., 294, 529–592, 1994.
</mixed-citation></ref-html>
<ref-html id="bib1.bib83"><label>83</label><mixed-citation>
Stewart, B., Shanley, J. B., Kirchner, J. W., Norris, D., Adler, T., Bristol, C., Harpold AA, Perdrial, J. N., Rizzo, D. M., Sterle, G., Underwood, K. L., Wen, H., and Li, L.: Streams as mirrors: reading subsurface water chemistry from stream chemistry, Water Resour. Res.,  57, e2021WR029931, <a href="https://doi.org/10.1029/2021WR029931" target="_blank">https://doi.org/10.1029/2021WR029931</a>, 2021.
</mixed-citation></ref-html>
<ref-html id="bib1.bib84"><label>84</label><mixed-citation> Sullivan, P. L., Hynek, S. A., Gu, X., Singha, K., White, T., West, N., Kim, H., Clarke, B., Kirby, E., Duffy, C., and Brantley, S. L.: Oxidative dissolution under the channel leads geomorphological evolution at the Shale Hills catchment, Am. J. Sci., 316, 981–1026, <a href="https://doi.org/10.2475/10.2016.02" target="_blank">https://doi.org/10.2475/10.2016.02</a>, 2016.
</mixed-citation></ref-html>
<ref-html id="bib1.bib85"><label>85</label><mixed-citation> Taylor, R. G., Scanlon, B., Döll, P., Rodell, M., Van Beek, R., Wada, Y., Longuevergne, L., Leblanc, M., Famiglietti, J. S., and Edmunds, M.: Ground water and climate change, Nat. Clim. Change, 3, 322, 2013.
</mixed-citation></ref-html>
<ref-html id="bib1.bib86"><label>86</label><mixed-citation>
van der Velde, Y., de Rooij, G. H., Rozemeijer, J. C., van Geer, F. C., and Broers, H. P.: Nitrate response of a lowland catchment: On the relation between stream concentration and travel time distribution dynamics, Water Resour. Res., 46, W11534, <a href="https://doi.org/10.1029/2010WR009105" target="_blank">https://doi.org/10.1029/2010WR009105</a>, 2010.
</mixed-citation></ref-html>
<ref-html id="bib1.bib87"><label>87</label><mixed-citation> Weiler, M. and McDonnell, J. R. J.: Testing nutrient flushing hypotheses at the hillslope scale: A virtual experiment approach, J. Hydrol., 319, 339–356, <a href="https://doi.org/10.1016/j.jhydrol.2005.06.040" target="_blank">https://doi.org/10.1016/j.jhydrol.2005.06.040</a>, 2006.
</mixed-citation></ref-html>
<ref-html id="bib1.bib88"><label>88</label><mixed-citation> Weitzman, J. N. and Kaye, J. P.: Nitrogen Budget and Topographic Controls on Nitrous Oxide in a Shale-Based Watershed, J. Geophys. Res.-Biogeo., 123, 1888–1908, 2018.
</mixed-citation></ref-html>
<ref-html id="bib1.bib89"><label>89</label><mixed-citation> Wen, H. and Li, L.: An upscaled rate law for magnesite dissolution in heterogeneous porous media, Geochim. Cosmochim. Ac., 210, 289–305, 2017.
</mixed-citation></ref-html>
<ref-html id="bib1.bib90"><label>90</label><mixed-citation> Wen, H. and Li, L.: An upscaled rate law for mineral dissolution in heterogeneous media: The role of time and length scales, Geochim. Cosmochim. Ac., 235, 1–20, 2018.
</mixed-citation></ref-html>
<ref-html id="bib1.bib91"><label>91</label><mixed-citation>
Wen, H., Perdrial, J., Abbott, B. W., Bernal, S., Dupas, R., Godsey, S. E., Harpold, A., Rizzo, D., Underwood, K., Adler, T., Sterle, G., and Li, L.: Temperature controls production but hydrology regulates export of dissolved organic carbon at the catchment scale, Hydrol. Earth Syst. Sci., 24, 945–966, <a href="https://doi.org/10.5194/hess-24-945-2020" target="_blank">https://doi.org/10.5194/hess-24-945-2020</a>, 2020.
</mixed-citation></ref-html>
<ref-html id="bib1.bib92"><label>92</label><mixed-citation> Wen, H., Brantley, S. L., Davis, K. J., Duncan, J. M., and Li, L.: The Limits of Homogenization: What Hydrological Dynamics can a Simple Model Represent at the Catchment Scale?, Water Resour. Res., 57, e2020WR029528, <a href="https://doi.org/10.1029/2020WR029528" target="_blank">https://doi.org/10.1029/2020WR029528</a>, 2021.
</mixed-citation></ref-html>
<ref-html id="bib1.bib93"><label>93</label><mixed-citation>
Wolery, T. J.: EQ3/6, a software package for geochemical modeling of aqueous systems: package overview and installation guide (version 7.0), Lawrence Livermore National Lab, 1992.
</mixed-citation></ref-html>
<ref-html id="bib1.bib94"><label>94</label><mixed-citation>
Xiao, D., Shi, Y., Brantley, S. L., Forsythe, B., DiBiase, R., Davis, K., and Li, L.: Streamflow Generation From Catchments of Contrasting Lithologies: The Role of Soil Properties, Topography, and Catchment Size, Water Resour. Res., 55, 9234–9257, <a href="https://doi.org/10.1029/2018WR023736" target="_blank">https://doi.org/10.1029/2018WR023736</a>, 2019.
</mixed-citation></ref-html>
<ref-html id="bib1.bib95"><label>95</label><mixed-citation> Xiao, D., Brantley, S. L., and Li, L.: Vertical Connectivity Regulates Water Transit Time and Chemical Weathering at the Hillslope Scale, Water Resour. Res., 57, e2020WR029207, <a href="https://doi.org/10.1029/2020WR029207" target="_blank">https://doi.org/10.1029/2020WR029207</a>, 2021.
</mixed-citation></ref-html>
<ref-html id="bib1.bib96"><label>96</label><mixed-citation> Yan, Q., Duan, Z., Mao, J., Li, X., and Dong, F.: Effects of root-zone temperature and N, P, and K supplies on nutrient uptake of cucumber (<i>Cucumis sativus</i> L.) seedlings in hydroponics, Soil Sci. Plant Nutr., 58, 707–717, 2012.
</mixed-citation></ref-html>
<ref-html id="bib1.bib97"><label>97</label><mixed-citation> Yan, Z., Bond-Lamberty, B., Todd-Brown, K. E., Bailey, V. L., Li, S., Liu, C., and Liu, C.: A moisture function of soil heterotrophic respiration that incorporates microscale processes, Nat. Commun., 9, 2562, <a href="https://doi.org/10.1038/s41467-018-04971-6" target="_blank">https://doi.org/10.1038/s41467-018-04971-6</a>, 2018.
</mixed-citation></ref-html>
<ref-html id="bib1.bib98"><label>98</label><mixed-citation> Zarnetske, J. P., Bouda, M., Abbott, B. W., Saiers, J., and Raymond, P. A.: Generality of hydrologic transport limitation of watershed organic carbon flux across ecoregions of the United States, Geophys. Res. Lett., 45, 11702–11711, 2018.
</mixed-citation></ref-html>
<ref-html id="bib1.bib99"><label>99</label><mixed-citation>
Zhi, W. and Li, L.: The Shallow and Deep Hypothesis: Subsurface Vertical Chemical Contrasts Shape Nitrate Export Patterns from Different Land Uses, Environ. Sci. Technol., 54, 11915–11928, <a href="https://doi.org/10.1021/acs.est.0c01340" target="_blank">https://doi.org/10.1021/acs.est.0c01340</a>, 2020.
</mixed-citation></ref-html>
<ref-html id="bib1.bib100"><label>100</label><mixed-citation>
Zhi, W., Li, L., Dong, W., Brown, W., Kaye, J., Steefel, C., and Williams, K. H.: Distinct Source Water Chemistry Shapes Contrasting Concentration-Discharge Patterns, Water Resour. Res., 55, 4233–4251, <a href="https://doi.org/10.1029/2018wr024257" target="_blank">https://doi.org/10.1029/2018wr024257</a>, 2019.
</mixed-citation></ref-html>
<ref-html id="bib1.bib101"><label>101</label><mixed-citation>
Zhi, W., Shi, Y., Wen, H., Saberi, L., Ng, G.-H. C., Sadayappan, K., Kerins, D., Stewart, B., and Li, L.: BioRT-Flux-PIHM-v1.0, v1.0, Zenodo [code], <a href="https://doi.org/10.5281/zenodo.3936073" target="_blank">https://doi.org/10.5281/zenodo.3936073</a>, 2020a.

</mixed-citation></ref-html>
<ref-html id="bib1.bib102"><label>102</label><mixed-citation>
Zhi, W., Williams, K. H., Carroll, R. W. H., Brown, W., Dong, W., Devon Kerins, D., and Li, L.: Significant stream chemistry response to temperature variations in a high-elevation mountain watershed, Communications Earth &amp; Environment, 1, 43, <a href="https://doi.org/10.1038/s43247-020-00039-w" target="_blank">https://doi.org/10.1038/s43247-020-00039-w</a>, 2020b.
</mixed-citation></ref-html>
<ref-html id="bib1.bib103"><label>103</label><mixed-citation>
Zhou, T., Shi, P., Hui, D., and Luo, Y.: Global pattern of temperature sensitivity of soil heterotrophic respiration (Q<sub>10</sub>) and its implications for carbon-climate feedback, J. Geophys. Res., 114, G02016, <a href="https://doi.org/10.1029/2008JG000850" target="_blank">https://doi.org/10.1029/2008JG000850</a>, 2009.
</mixed-citation></ref-html>--></article>
