diff options
author | Ranke Johannes <johannes.ranke@agroscope.admin.ch> | 2024-08-13 10:58:16 +0200 |
---|---|---|
committer | Ranke Johannes <johannes.ranke@agroscope.admin.ch> | 2024-08-13 11:00:17 +0200 |
commit | 396ba6c42252426a132be56b9f417786a1f276e3 (patch) | |
tree | dacbad92ab168e0dfc1b70c6f8c7a3af29243d96 /docs/reference/PEC_sw_exposit_runoff.html | |
parent | 870c7f6315e2656fceea28449bdeb5b2a57adf10 (diff) |
Support units in drift, runoff und sediment PECs
Diffstat (limited to 'docs/reference/PEC_sw_exposit_runoff.html')
-rw-r--r-- | docs/reference/PEC_sw_exposit_runoff.html | 138 |
1 files changed, 67 insertions, 71 deletions
diff --git a/docs/reference/PEC_sw_exposit_runoff.html b/docs/reference/PEC_sw_exposit_runoff.html index 21731f3..cd57c99 100644 --- a/docs/reference/PEC_sw_exposit_runoff.html +++ b/docs/reference/PEC_sw_exposit_runoff.html @@ -1,46 +1,37 @@ <!DOCTYPE html> -<!-- Generated by pkgdown: do not edit by hand --><html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta name="description" content='This is a reimplementation of the calculation described in the Exposit 3.02 spreadsheet file, -in the worksheet "Konzept Runoff".'><title>Calculate PEC surface water due to runoff and erosion as in Exposit 3 — PEC_sw_exposit_runoff • pfm</title><script src="../deps/jquery-3.6.0/jquery-3.6.0.min.js"></script><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><link href="../deps/bootstrap-5.3.1/bootstrap.min.css" rel="stylesheet"><script src="../deps/bootstrap-5.3.1/bootstrap.bundle.min.js"></script><!-- Font Awesome icons --><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/css/all.min.css" integrity="sha256-mmgLkCYLUQbXn0B1SRqzHar6dCnv9oZFPEC1g1cwlkk=" crossorigin="anonymous"><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/css/v4-shims.min.css" integrity="sha256-wZjR52fzng1pJHwx4aV2AO3yyTOXrcDW7jBpJtTwVxw=" crossorigin="anonymous"><!-- bootstrap-toc --><script src="https://cdn.jsdelivr.net/gh/afeld/bootstrap-toc@v1.0.1/dist/bootstrap-toc.min.js" integrity="sha256-4veVQbu7//Lk5TSmc7YV48MxtMy98e26cf5MrgZYnwo=" crossorigin="anonymous"></script><!-- headroom.js --><script src="https://cdnjs.cloudflare.com/ajax/libs/headroom/0.11.0/headroom.min.js" integrity="sha256-AsUX4SJE1+yuDu5+mAVzJbuYNPHj/WroHuZ8Ir/CkE0=" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/headroom/0.11.0/jQuery.headroom.min.js" integrity="sha256-ZX/yNShbjqsohH1k95liqY9Gd8uOiE1S4vZc+9KQ1K4=" crossorigin="anonymous"></script><!-- clipboard.js --><script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.6/clipboard.min.js" integrity="sha256-inc5kl9MA1hkeYUt+EC3BhlIgyp/2jDIyBLS6k3UxPI=" crossorigin="anonymous"></script><!-- search --><script src="https://cdnjs.cloudflare.com/ajax/libs/fuse.js/6.4.6/fuse.js" integrity="sha512-zv6Ywkjyktsohkbp9bb45V6tEMoWhzFzXis+LrMehmJZZSys19Yxf1dopHx7WzIKxr5tK2dVcYmaCk2uqdjF4A==" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/autocomplete.js/0.38.0/autocomplete.jquery.min.js" integrity="sha512-GU9ayf+66Xx2TmpxqJpliWbT5PiGYxpaG8rfnBEk1LL8l1KGkRShhngwdXK1UgqhAzWpZHSiYPc09/NwDQIGyg==" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mark.js/8.11.1/mark.min.js" integrity="sha512-5CYOlHXGh6QpOFA/TeTylKLWfB3ftPsde7AnmhuitiTX4K5SqCLBeKro6sPS8ilsz1Q4NRx3v8Ko2IBiszzdww==" crossorigin="anonymous"></script><!-- pkgdown --><script src="../pkgdown.js"></script><meta property="og:title" content="Calculate PEC surface water due to runoff and erosion as in Exposit 3 — PEC_sw_exposit_runoff"><meta property="og:description" content='This is a reimplementation of the calculation described in the Exposit 3.02 spreadsheet file, -in the worksheet "Konzept Runoff".'><!-- mathjax --><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js" integrity="sha256-nvJJv9wWKEm88qvoQl9ekL2J+k/RWIsaSScxxlsrv8k=" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/config/TeX-AMS-MML_HTMLorMML.js" integrity="sha256-84DKXVJXs0/F8OTMzX4UR909+jtl4G7SPypPavF+GfA=" crossorigin="anonymous"></script><!--[if lt IE 9]> -<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script> -<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script> -<![endif]--></head><body> +<!-- Generated by pkgdown: do not edit by hand --><html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><title>Calculate PEC surface water due to runoff and erosion as in Exposit 3 — PEC_sw_exposit_runoff • pfm</title><script src="../deps/jquery-3.6.0/jquery-3.6.0.min.js"></script><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><link href="../deps/bootstrap-5.3.1/bootstrap.min.css" rel="stylesheet"><script src="../deps/bootstrap-5.3.1/bootstrap.bundle.min.js"></script><!-- pkgdown --><script src="../pkgdown.js"></script><meta property="og:title" content="Calculate PEC surface water due to runoff and erosion as in Exposit 3 — PEC_sw_exposit_runoff"><meta name="description" content='This is a reimplementation of the calculation described in the Exposit 3.02 spreadsheet file, +in the worksheet "Konzept Runoff".'><meta property="og:description" content='This is a reimplementation of the calculation described in the Exposit 3.02 spreadsheet file, +in the worksheet "Konzept Runoff".'></head><body> <a href="#main" class="visually-hidden-focusable">Skip to contents</a> - - <nav class="navbar fixed-top navbar-light navbar-expand-lg bg-light"><div class="container"> - + + <nav class="navbar navbar-expand-lg fixed-top bg-light" data-bs-theme="light" aria-label="Site navigation"><div class="container"> + <a class="navbar-brand me-2" href="../index.html">pfm</a> - <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">0.6.1</small> + <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">0.6.3</small> + - <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation"> <span class="navbar-toggler-icon"></span> </button> <div id="navbar" class="collapse navbar-collapse ms-3"> - <ul class="navbar-nav me-auto"><li class="active nav-item"> - <a class="nav-link" href="../reference/index.html">Reference</a> -</li> - </ul><form class="form-inline my-2 my-lg-0" role="search"> - <input type="search" class="form-control me-sm-2" aria-label="Toggle navigation" name="search-input" data-search-index="../search.json" id="search-input" placeholder="Search for" autocomplete="off"></form> - - <ul class="navbar-nav"><li class="nav-item"> - <a class="external-link nav-link" href="https://github.com/jranke/pfm/" aria-label="github"> - <span class="fab fa fab fa-github fa-lg"></span> - - </a> -</li> + <ul class="navbar-nav me-auto"><li class="active nav-item"><a class="nav-link" href="../reference/index.html">Reference</a></li> +<li class="nav-item"><a class="nav-link" href="../news/index.html">Changelog</a></li> + </ul><ul class="navbar-nav"><li class="nav-item"><form class="form-inline" role="search"> + <input class="form-control" type="search" name="search-input" id="search-input" autocomplete="off" aria-label="Search site" placeholder="Search for" data-search-index="../search.json"></form></li> +<li class="nav-item"><a class="external-link nav-link" href="https://github.com/jranke/pfm/" aria-label="GitHub"><span class="fa fab fa-github fa-lg"></span></a></li> </ul></div> - + </div> </nav><div class="container template-reference-topic"> <div class="row"> <main id="main" class="col-md-9"><div class="page-header"> - <img src="" class="logo" alt=""><h1>Calculate PEC surface water due to runoff and erosion as in Exposit 3</h1> - <small class="dont-index">Source: <a href="https://github.com/jranke/pfm/blob/HEAD/R/PEC_sw_exposit_runoff.R" class="external-link"><code>R/PEC_sw_exposit_runoff.R</code></a></small> + + <h1>Calculate PEC surface water due to runoff and erosion as in Exposit 3</h1> + <small class="dont-index">Source: <a href="https://github.com/jranke/pfm/blob/HEAD/R/PEC_sw_exposit.R" class="external-link"><code>R/PEC_sw_exposit.R</code></a></small> <div class="d-none name"><code>PEC_sw_exposit_runoff.Rd</code></div> </div> @@ -55,11 +46,11 @@ in the worksheet "Konzept Runoff".</p> <span> <span class="va">rate</span>,</span> <span> interception <span class="op">=</span> <span class="fl">0</span>,</span> <span> <span class="va">Koc</span>,</span> -<span> DT50 <span class="op">=</span> <span class="cn">Inf</span>,</span> -<span> t_runoff <span class="op">=</span> <span class="fl">3</span>,</span> +<span> DT50 <span class="op">=</span> <span class="fu">set_units</span><span class="op">(</span><span class="cn">Inf</span>, <span class="st">"d"</span><span class="op">)</span>,</span> +<span> t_runoff <span class="op">=</span> <span class="fu">set_units</span><span class="op">(</span><span class="fl">3</span>, <span class="st">"days"</span><span class="op">)</span>,</span> <span> exposit_reduction_version <span class="op">=</span> <span class="fu"><a href="https://rdrr.io/r/base/c.html" class="external-link">c</a></span><span class="op">(</span><span class="st">"3.02"</span>, <span class="st">"3.01a"</span>, <span class="st">"3.01a2"</span>, <span class="st">"2.0"</span><span class="op">)</span>,</span> -<span> V_ditch <span class="op">=</span> <span class="fl">30</span>,</span> -<span> V_event <span class="op">=</span> <span class="fl">100</span>,</span> +<span> V_ditch <span class="op">=</span> <span class="fu">set_units</span><span class="op">(</span><span class="fl">30</span>, <span class="st">"m3"</span><span class="op">)</span>,</span> +<span> V_event <span class="op">=</span> <span class="fu">set_units</span><span class="op">(</span><span class="fl">100</span>, <span class="st">"m3"</span><span class="op">)</span>,</span> <span> dilution <span class="op">=</span> <span class="fl">2</span></span> <span><span class="op">)</span></span></code></pre></div> </div> @@ -71,27 +62,29 @@ in the worksheet "Konzept Runoff".</p> </div> <div class="section level2"> <h2 id="arguments">Arguments<a class="anchor" aria-label="anchor" href="#arguments"></a></h2> - <dl><dt>rate</dt> + + +<dl><dt id="arg-rate">rate<a class="anchor" aria-label="anchor" href="#arg-rate"></a></dt> <dd><p>The application rate in g/ha</p></dd> -<dt>interception</dt> +<dt id="arg-interception">interception<a class="anchor" aria-label="anchor" href="#arg-interception"></a></dt> <dd><p>The fraction intercepted by the crop</p></dd> -<dt>Koc</dt> +<dt id="arg-koc">Koc<a class="anchor" aria-label="anchor" href="#arg-koc"></a></dt> <dd><p>The sorption coefficient to soil organic carbon</p></dd> -<dt>DT50</dt> +<dt id="arg-dt-">DT50<a class="anchor" aria-label="anchor" href="#arg-dt-"></a></dt> <dd><p>The soil half-life in days</p></dd> -<dt>t_runoff</dt> +<dt id="arg-t-runoff">t_runoff<a class="anchor" aria-label="anchor" href="#arg-t-runoff"></a></dt> <dd><p>The time between application and the runoff event, where degradation occurs, in days</p></dd> -<dt>exposit_reduction_version</dt> +<dt id="arg-exposit-reduction-version">exposit_reduction_version<a class="anchor" aria-label="anchor" href="#arg-exposit-reduction-version"></a></dt> <dd><p>The version of the reduction factors to be used. "3.02" is the current version used in Germany, "3.01a" is the version with additional percentages for 3 m and 6 m buffer zones used in Switzerland. "3.01a2" is a version introduced for consistency with previous calculations @@ -99,23 +92,21 @@ performed for a 3 m buffer zone in Switzerland, with the same reduction being ap and the bound fraction.</p></dd> -<dt>V_ditch</dt> +<dt id="arg-v-ditch">V_ditch<a class="anchor" aria-label="anchor" href="#arg-v-ditch"></a></dt> <dd><p>The volume of the ditch is assumed to be 1 m * 100 m * 30 cm = 30 m3</p></dd> -<dt>V_event</dt> +<dt id="arg-v-event">V_event<a class="anchor" aria-label="anchor" href="#arg-v-event"></a></dt> <dd><p>The unreduced runoff volume, equivalent to 10 mm precipitation on 1 ha</p></dd> -<dt>dilution</dt> +<dt id="arg-dilution">dilution<a class="anchor" aria-label="anchor" href="#arg-dilution"></a></dt> <dd><p>The dilution factor</p></dd> </dl></div> <div class="section level2"> <h2 id="value">Value<a class="anchor" aria-label="anchor" href="#value"></a></h2> - - -<p>A list containing the following components</p><dl><dt>perc_runoff</dt> + <p>A list containing the following components</p><dl><dt>perc_runoff</dt> <dd><p>The runoff percentages for dissolved and bound substance</p></dd> <dt>runoff</dt> @@ -128,6 +119,11 @@ for the different distances. If the rate was given in g/ha, the PECsw are in mic </dl></div> <div class="section level2"> + <h2 id="details">Details<a class="anchor" aria-label="anchor" href="#details"></a></h2> + <p>It is recommened to specify the arguments <code>rate</code>, <code>Koc</code>, <code>DT50</code>, <code>t_runoff</code>, <code>V_ditch</code> and <code>V_event</code> +using <a href="https://r-quantities.github.io/units/reference/units.html" class="external-link">units::units</a> from the <code>units</code> package.</p> + </div> + <div class="section level2"> <h2 id="see-also">See also<a class="anchor" aria-label="anchor" href="#see-also"></a></h2> <div class="dont-index"><p><code><a href="perc_runoff_exposit.html">perc_runoff_exposit</a></code> for runoff loss percentages and <code><a href="perc_runoff_reduction_exposit.html">perc_runoff_reduction_exposit</a></code> for runoff reduction percentages used</p></div> </div> @@ -140,18 +136,18 @@ for the different distances. If the rate was given in g/ha, the PECsw are in mic <span class="r-out co"><span class="r-pr">#></span> 0.248 0.001 </span> <span class="r-out co"><span class="r-pr">#></span> </span> <span class="r-out co"><span class="r-pr">#></span> $runoff</span> -<span class="r-out co"><span class="r-pr">#></span> dissolved bound total</span> -<span class="r-out co"><span class="r-pr">#></span> No buffer 1.240 0.00500 1.24500</span> -<span class="r-out co"><span class="r-pr">#></span> 5 m 0.744 0.00300 0.74700</span> -<span class="r-out co"><span class="r-pr">#></span> 10 m 0.496 0.00075 0.49675</span> -<span class="r-out co"><span class="r-pr">#></span> 20 m 0.248 0.00025 0.24825</span> +<span class="r-out co"><span class="r-pr">#></span> dissolved bound total</span> +<span class="r-out co"><span class="r-pr">#></span> No buffer 1.240 [g] 0.00500 [g] 1.24500 [g]</span> +<span class="r-out co"><span class="r-pr">#></span> 5 m 0.744 [g] 0.00300 [g] 0.74700 [g]</span> +<span class="r-out co"><span class="r-pr">#></span> 10 m 0.496 [g] 0.00075 [g] 0.49675 [g]</span> +<span class="r-out co"><span class="r-pr">#></span> 20 m 0.248 [g] 0.00025 [g] 0.24825 [g]</span> <span class="r-out co"><span class="r-pr">#></span> </span> <span class="r-out co"><span class="r-pr">#></span> $PEC_sw_runoff</span> -<span class="r-out co"><span class="r-pr">#></span> dissolved bound total</span> -<span class="r-out co"><span class="r-pr">#></span> No buffer 4.769231 0.019230769 4.788462</span> -<span class="r-out co"><span class="r-pr">#></span> 5 m 4.133333 0.016666667 4.150000</span> -<span class="r-out co"><span class="r-pr">#></span> 10 m 3.542857 0.005357143 3.548214</span> -<span class="r-out co"><span class="r-pr">#></span> 20 m 2.480000 0.002500000 2.482500</span> +<span class="r-out co"><span class="r-pr">#></span> dissolved bound total</span> +<span class="r-out co"><span class="r-pr">#></span> No buffer 4.769231 [µg/L] 0.019230769 [µg/L] 4.788462 [µg/L]</span> +<span class="r-out co"><span class="r-pr">#></span> 5 m 4.133333 [µg/L] 0.016666667 [µg/L] 4.150000 [µg/L]</span> +<span class="r-out co"><span class="r-pr">#></span> 10 m 3.542857 [µg/L] 0.005357143 [µg/L] 3.548214 [µg/L]</span> +<span class="r-out co"><span class="r-pr">#></span> 20 m 2.480000 [µg/L] 0.002500000 [µg/L] 2.482500 [µg/L]</span> <span class="r-out co"><span class="r-pr">#></span> </span> <span class="r-in"><span> <span class="fu">PEC_sw_exposit_runoff</span><span class="op">(</span><span class="fl">600</span>, Koc <span class="op">=</span> <span class="fl">10000</span>, DT50 <span class="op">=</span> <span class="fl">195</span>, exposit <span class="op">=</span> <span class="st">"3.01a"</span><span class="op">)</span></span></span> <span class="r-out co"><span class="r-pr">#></span> $perc_runoff</span> @@ -159,42 +155,42 @@ for the different distances. If the rate was given in g/ha, the PECsw are in mic <span class="r-out co"><span class="r-pr">#></span> 0.037 0.159 </span> <span class="r-out co"><span class="r-pr">#></span> </span> <span class="r-out co"><span class="r-pr">#></span> $runoff</span> -<span class="r-out co"><span class="r-pr">#></span> dissolved bound total</span> -<span class="r-out co"><span class="r-pr">#></span> No buffer 0.21964521 0.94388078 1.16352600</span> -<span class="r-out co"><span class="r-pr">#></span> 3 m 0.16473391 0.66071655 0.82545046</span> -<span class="r-out co"><span class="r-pr">#></span> 5 m 0.13178713 0.56632847 0.69811560</span> -<span class="r-out co"><span class="r-pr">#></span> 6 m 0.12080487 0.42474635 0.54555122</span> -<span class="r-out co"><span class="r-pr">#></span> 10 m 0.08785809 0.14158212 0.22944020</span> -<span class="r-out co"><span class="r-pr">#></span> 20 m 0.04392904 0.04719404 0.09112308</span> +<span class="r-out co"><span class="r-pr">#></span> dissolved bound total</span> +<span class="r-out co"><span class="r-pr">#></span> No buffer 0.21964521 [g] 0.94388078 [g] 1.16352600 [g]</span> +<span class="r-out co"><span class="r-pr">#></span> 3 m 0.16473391 [g] 0.66071655 [g] 0.82545046 [g]</span> +<span class="r-out co"><span class="r-pr">#></span> 5 m 0.13178713 [g] 0.56632847 [g] 0.69811560 [g]</span> +<span class="r-out co"><span class="r-pr">#></span> 6 m 0.12080487 [g] 0.42474635 [g] 0.54555122 [g]</span> +<span class="r-out co"><span class="r-pr">#></span> 10 m 0.08785809 [g] 0.14158212 [g] 0.22944020 [g]</span> +<span class="r-out co"><span class="r-pr">#></span> 20 m 0.04392904 [g] 0.04719404 [g] 0.09112308 [g]</span> <span class="r-out co"><span class="r-pr">#></span> </span> <span class="r-out co"><span class="r-pr">#></span> $PEC_sw_runoff</span> -<span class="r-out co"><span class="r-pr">#></span> dissolved bound total</span> -<span class="r-out co"><span class="r-pr">#></span> No buffer 0.8447893 3.6303107 4.4751000</span> -<span class="r-out co"><span class="r-pr">#></span> 3 m 0.7844472 3.1462693 3.9307165</span> -<span class="r-out co"><span class="r-pr">#></span> 5 m 0.7321507 3.1462693 3.8784200</span> -<span class="r-out co"><span class="r-pr">#></span> 6 m 0.7106169 2.4985080 3.2091248</span> -<span class="r-out co"><span class="r-pr">#></span> 10 m 0.6275578 1.0113008 1.6388586</span> -<span class="r-out co"><span class="r-pr">#></span> 20 m 0.4392904 0.4719404 0.9112308</span> +<span class="r-out co"><span class="r-pr">#></span> dissolved bound total</span> +<span class="r-out co"><span class="r-pr">#></span> No buffer 0.8447893 [µg/L] 3.6303107 [µg/L] 4.4751000 [µg/L]</span> +<span class="r-out co"><span class="r-pr">#></span> 3 m 0.7844472 [µg/L] 3.1462693 [µg/L] 3.9307165 [µg/L]</span> +<span class="r-out co"><span class="r-pr">#></span> 5 m 0.7321507 [µg/L] 3.1462693 [µg/L] 3.8784200 [µg/L]</span> +<span class="r-out co"><span class="r-pr">#></span> 6 m 0.7106169 [µg/L] 2.4985080 [µg/L] 3.2091248 [µg/L]</span> +<span class="r-out co"><span class="r-pr">#></span> 10 m 0.6275578 [µg/L] 1.0113008 [µg/L] 1.6388586 [µg/L]</span> +<span class="r-out co"><span class="r-pr">#></span> 20 m 0.4392904 [µg/L] 0.4719404 [µg/L] 0.9112308 [µg/L]</span> <span class="r-out co"><span class="r-pr">#></span> </span> </code></pre></div> </div> - </main><aside class="col-md-3"><nav id="toc"><h2>On this page</h2> + </main><aside class="col-md-3"><nav id="toc" aria-label="Table of contents"><h2>On this page</h2> </nav></aside></div> <footer><div class="pkgdown-footer-left"> - <p></p><p>Developed by Johannes Ranke.</p> + <p>Developed by Johannes Ranke.</p> </div> <div class="pkgdown-footer-right"> - <p></p><p>Site built with <a href="https://pkgdown.r-lib.org/" class="external-link">pkgdown</a> 2.0.7.</p> + <p>Site built with <a href="https://pkgdown.r-lib.org/" class="external-link">pkgdown</a> 2.1.0.</p> </div> </footer></div> - - + + </body></html> |