aboutsummaryrefslogtreecommitdiff
path: root/docs/reference/PEC_sw_focus.html
diff options
context:
space:
mode:
authorJohannes Ranke <jranke@uni-bremen.de>2017-05-16 15:43:50 +0200
committerJohannes Ranke <jranke@uni-bremen.de>2017-05-16 15:43:50 +0200
commit36036b5901223591e7e21e8b73d8cd1fb034f4cb (patch)
treeed8e764778aa2e94b785263d18d7d8e3dfe4e785 /docs/reference/PEC_sw_focus.html
parentd042f8f06b313e8595087587455daac73d84f17b (diff)
Finish the Step 1 calculator including tests
Some cleaning up. PELMO facilities do not currently work at my end, as I have no working wine installation on this computer
Diffstat (limited to 'docs/reference/PEC_sw_focus.html')
-rw-r--r--docs/reference/PEC_sw_focus.html272
1 files changed, 272 insertions, 0 deletions
diff --git a/docs/reference/PEC_sw_focus.html b/docs/reference/PEC_sw_focus.html
new file mode 100644
index 0000000..c5cbfe7
--- /dev/null
+++ b/docs/reference/PEC_sw_focus.html
@@ -0,0 +1,272 @@
+<!-- Generated by pkgdown: do not edit by hand -->
+<!DOCTYPE html>
+<html>
+ <head>
+ <meta charset="utf-8">
+<meta http-equiv="X-UA-Compatible" content="IE=edge">
+<meta name="viewport" content="width=device-width, initial-scale=1.0">
+
+<title>Calculate FOCUS Step 1 PEC surface water — PEC_sw_focus • pfm</title>
+
+<!-- jquery -->
+<script src="https://code.jquery.com/jquery-3.1.0.min.js" integrity="sha384-nrOSfDHtoPMzJHjVTdCopGqIqeYETSXhZDFyniQ8ZHcVy08QesyHcnOUpMpqnmWq" crossorigin="anonymous"></script>
+<!-- Bootstrap -->
+
+<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
+<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
+
+<!-- Font Awesome icons -->
+<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css" rel="stylesheet" integrity="sha384-T8Gy5hrqNKT+hzMclPo118YTQO6cYprQmhrYwIiQ/3axmI1hQomh7Ud2hPOy8SP1" crossorigin="anonymous">
+
+
+<!-- pkgdown -->
+<link href="../pkgdown.css" rel="stylesheet">
+<script src="../jquery.sticky-kit.min.js"></script>
+<script src="../pkgdown.js"></script>
+
+<!-- mathjax -->
+<script src='https://mathjax.rstudio.com/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML'></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>
+ <div class="container template-reference-topic">
+ <header>
+ <div class="navbar navbar-default navbar-fixed-top" role="navigation">
+ <div class="container">
+ <div class="navbar-header">
+ <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar">
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ </button>
+ <a class="navbar-brand" href="../index.html">pfm</a>
+ </div>
+ <div id="navbar" class="navbar-collapse collapse">
+ <ul class="nav navbar-nav">
+ <li>
+ <a href="../reference/index.html">Reference</a>
+</li>
+ </ul>
+
+ <ul class="nav navbar-nav navbar-right">
+
+ </ul>
+ </div><!--/.nav-collapse -->
+ </div><!--/.container -->
+</div><!--/.navbar -->
+
+
+ </header>
+
+ <div class="row">
+ <div class="col-md-9 contents">
+ <div class="page-header">
+ <h1>Calculate FOCUS Step 1 PEC surface water</h1>
+ </div>
+
+
+ <p>This is reimplementation of Step 1 of the FOCUS Step 1 and 2 calculator
+version 3.2, authored by Michael Klein. Note that results for multiple
+applications should be compared to the corresponding results for a
+single application. At current, this is not done automatically in
+this implementation.</p>
+
+
+ <pre class="usage"><span class='fu'>PEC_sw_focus</span>(<span class='no'>parent</span>, <span class='no'>rate</span>, <span class='kw'>n</span> <span class='kw'>=</span> <span class='fl'>1</span>, <span class='kw'>i</span> <span class='kw'>=</span> <span class='fl'>NA</span>, <span class='kw'>met</span> <span class='kw'>=</span> <span class='kw'>NULL</span>, <span class='kw'>f_drift</span> <span class='kw'>=</span> <span class='fl'>NA</span>,
+ <span class='kw'>f_rd</span> <span class='kw'>=</span> <span class='fl'>0.1</span>, <span class='kw'>scenario</span> <span class='kw'>=</span> <span class='no'>FOCUS_Step_12_scenarios</span>$<span class='no'>names</span>)</pre>
+
+ <h2 class="hasAnchor" id="arguments"><a class="anchor" href="#arguments"></a> Arguments</h2>
+ <table class="ref-arguments">
+ <colgroup><col class="name" /><col class="desc" /></colgroup>
+ <tr>
+ <th>parent</th>
+ <td><p>A list containing substance specific parameters</p></td>
+ </tr>
+ <tr>
+ <th>rate</th>
+ <td><p>The application rate in g/ha. Overriden when
+applications are given explicitly</p></td>
+ </tr>
+ <tr>
+ <th>n</th>
+ <td><p>The number of applications</p></td>
+ </tr>
+ <tr>
+ <th>i</th>
+ <td><p>The application interval</p></td>
+ </tr>
+ <tr>
+ <th>met</th>
+ <td><p>A list containing metabolite specific parameters. If not NULL,
+the PEC is calculated for this compound, not the parent.</p></td>
+ </tr>
+ <tr>
+ <th>f_drift</th>
+ <td><p>The fraction of the application rate reaching the waterbody
+via drift. If NA, this is derived from the scenario name and the number
+of applications via the drift data defined by the
+<code><a href='FOCUS_Step_12_scenarios.html'>FOCUS_Step_12_scenarios</a></code></p></td>
+ </tr>
+ <tr>
+ <th>f_rd</th>
+ <td><p>The fraction of the amount applied reaching the waterbody via
+runoff/drainage. At Step 1, it is assumed to be 10<!-- %, be it the -->
+parent or a metabolite</p></td>
+ </tr>
+ <tr>
+ <th>scenario</th>
+ <td><p>The name of the scenario. Must be one of the scenario
+names given in <code><a href='FOCUS_Step_12_scenarios.html'>FOCUS_Step_12_scenarios</a></code></p></td>
+ </tr>
+ </table>
+
+ <h2 class="hasAnchor" id="note"><a class="anchor" href="#note"></a>Note</h2>
+
+ <p>The formulas for input to the waterbody via runoff/drainage of the
+ parent and subsequent formation of the metabolite in water is not
+ documented in the model description coming with the calculator</p>
+<p>Step 2 is not implemented</p>
+
+ <h2 class="hasAnchor" id="references"><a class="anchor" href="#references"></a>References</h2>
+
+ <p>FOCUS (2014) Generic guidance for Surface Water Scenarios (version 1.4).
+ FOrum for the Co-ordination of pesticde fate models and their USe.
+ http://esdac.jrc.ec.europa.eu/public_path/projects_data/focus/sw/docs/Generic<!-- %20FOCUS_SWS_vc1.4.pdf --></p>
+<p>Website of the Steps 1 and 2 calculator at the Joint Research
+ Center of the European Union:
+ http://esdac.jrc.ec.europa.eu/projects/stepsonetwo</p>
+
+
+ <h2 class="hasAnchor" id="examples"><a class="anchor" href="#examples"></a>Examples</h2>
+ <pre class="examples"><div class='input'><span class='co'># Parent only</span>
+<span class='no'>dummy_1</span> <span class='kw'>&lt;-</span> <span class='fu'><a href='chent_focus_sw.html'>chent_focus_sw</a></span>(<span class='kw'>cwsat</span> <span class='kw'>=</span> <span class='fl'>6000</span>, <span class='kw'>DT50_ws</span> <span class='kw'>=</span> <span class='fl'>6</span>, <span class='kw'>Koc</span> <span class='kw'>=</span> <span class='fl'>344.8</span>)
+<span class='fu'>PEC_sw_focus</span>(<span class='no'>dummy_1</span>, <span class='fl'>3000</span>, <span class='kw'>f_drift</span> <span class='kw'>=</span> <span class='fl'>0</span>)</div><div class='output co'>#&gt; $f_drift
+#&gt; [1] 0
+#&gt;
+#&gt; $eq_rate_drift_s
+#&gt; [1] 3000
+#&gt;
+#&gt; $eq_rate_rd_s
+#&gt; [1] 3000
+#&gt;
+#&gt; $eq_rate_rd_parent_s
+#&gt; [1] NA
+#&gt;
+#&gt; $input_drift_s
+#&gt; [1] 0
+#&gt;
+#&gt; $input_rd_s
+#&gt; [1] 300
+#&gt;
+#&gt; $f_rd_sw
+#&gt; [1] 0.6850566
+#&gt;
+#&gt; $f_rd_sed
+#&gt; [1] 0.3149434
+#&gt;
+#&gt; $PEC
+#&gt; type
+#&gt; Time PECsw TWAECsw PECsed TWAECsed
+#&gt; 0 6.850566e+02 NA 2.362075e+03 NA
+#&gt; 1 6.103161e+02 647.6864 2.104370e+03 2233.223
+#&gt; 2 5.437298e+02 NA 1.874780e+03 NA
+#&gt; 4 4.315586e+02 NA 1.488014e+03 NA
+#&gt; 7 3.051580e+02 NA 1.052185e+03 NA
+#&gt; 14 1.359325e+02 NA 4.686951e+02 NA
+#&gt; 21 6.055102e+01 NA 2.087799e+02 NA
+#&gt; 28 2.697241e+01 NA 9.300089e+01 NA
+#&gt; 42 5.352005e+00 NA 1.845371e+01 NA
+#&gt; 50 2.123945e+00 NA 7.323361e+00 NA
+#&gt; 100 6.585062e-03 NA 2.270529e-02 NA
+#&gt;
+#&gt; $PEC_sw_max
+#&gt; [1] 685.0566
+#&gt;
+#&gt; $PEC_sed_max
+#&gt; [1] 2362.075
+#&gt; </div><div class='input'>
+<span class='co'># Metabolite</span>
+<span class='no'>new_dummy</span> <span class='kw'>&lt;-</span> <span class='fu'><a href='chent_focus_sw.html'>chent_focus_sw</a></span>(<span class='kw'>mw</span> <span class='kw'>=</span> <span class='fl'>250</span>, <span class='kw'>Koc</span> <span class='kw'>=</span> <span class='fl'>100</span>)
+<span class='no'>M1</span> <span class='kw'>&lt;-</span> <span class='fu'><a href='chent_focus_sw.html'>chent_focus_sw</a></span>(<span class='kw'>mw</span> <span class='kw'>=</span> <span class='fl'>100</span>, <span class='kw'>cwsat</span> <span class='kw'>=</span> <span class='fl'>100</span>, <span class='kw'>DT50_ws</span> <span class='kw'>=</span> <span class='fl'>100</span>, <span class='kw'>Koc</span> <span class='kw'>=</span> <span class='fl'>50</span>, <span class='kw'>max_ws</span> <span class='kw'>=</span> <span class='fl'>0</span>, <span class='kw'>max_soil</span> <span class='kw'>=</span> <span class='fl'>0.5</span>)
+<span class='fu'>PEC_sw_focus</span>(<span class='no'>new_dummy</span>, <span class='fl'>1000</span>, <span class='kw'>scenario</span> <span class='kw'>=</span> <span class='st'>"cereals, winter"</span>, <span class='kw'>met</span> <span class='kw'>=</span> <span class='no'>M1</span>)</div><div class='output co'>#&gt; $f_drift
+#&gt; [1] 0.02759
+#&gt;
+#&gt; $eq_rate_drift_s
+#&gt; [1] 0
+#&gt;
+#&gt; $eq_rate_rd_s
+#&gt; [1] 200
+#&gt;
+#&gt; $eq_rate_rd_parent_s
+#&gt; [1] 0
+#&gt;
+#&gt; $input_drift_s
+#&gt; [1] 0
+#&gt;
+#&gt; $input_rd_s
+#&gt; [1] 20
+#&gt;
+#&gt; $f_rd_sw
+#&gt; [1] 0.9375
+#&gt;
+#&gt; $f_rd_sed
+#&gt; [1] 0.0625
+#&gt;
+#&gt; $PEC
+#&gt; type
+#&gt; Time PECsw TWAECsw PECsed TWAECsed
+#&gt; 0 62.50000 NA 31.25000 NA
+#&gt; 1 62.06828 62.28414 31.03414 31.14207
+#&gt; 2 61.63954 NA 30.81977 NA
+#&gt; 4 60.79093 NA 30.39547 NA
+#&gt; 7 59.53987 NA 29.76994 NA
+#&gt; 14 56.71995 NA 28.35997 NA
+#&gt; 21 54.03358 NA 27.01679 NA
+#&gt; 28 51.47444 NA 25.73722 NA
+#&gt; 42 46.71404 NA 23.35702 NA
+#&gt; 50 44.19417 NA 22.09709 NA
+#&gt; 100 31.25000 NA 15.62500 NA
+#&gt;
+#&gt; $PEC_sw_max
+#&gt; [1] 62.5
+#&gt;
+#&gt; $PEC_sed_max
+#&gt; [1] 31.25
+#&gt; </div></pre>
+ </div>
+ <div class="col-md-3 hidden-xs hidden-sm" id="sidebar">
+ <h2>Contents</h2>
+ <ul class="nav nav-pills nav-stacked">
+ <li><a href="#arguments">Arguments</a></li>
+
+ <li><a href="#note">Note</a></li>
+
+ <li><a href="#references">References</a></li>
+
+ <li><a href="#examples">Examples</a></li>
+ </ul>
+
+ </div>
+</div>
+
+ <footer>
+ <div class="copyright">
+ <p>Developed by Johannes Ranke.</p>
+</div>
+
+<div class="pkgdown">
+ <p>Site built with <a href="http://hadley.github.io/pkgdown/">pkgdown</a>.</p>
+</div>
+
+ </footer>
+ </div>
+
+ </body>
+</html>

Contact - Imprint