From 45c9eb16dd317421bf594b7d2aebb11386a9de33 Mon Sep 17 00:00:00 2001 From: Ranke Johannes Date: Thu, 14 Nov 2024 08:13:39 +0100 Subject: Use units in PEC_sw_exposit_drainage. Closes #3 --- docs/reference/PEC_sw_exposit_drainage.html | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) (limited to 'docs/reference/PEC_sw_exposit_drainage.html') diff --git a/docs/reference/PEC_sw_exposit_drainage.html b/docs/reference/PEC_sw_exposit_drainage.html index a2dab7e..7229923 100644 --- a/docs/reference/PEC_sw_exposit_drainage.html +++ b/docs/reference/PEC_sw_exposit_drainage.html @@ -5,13 +5,17 @@ compounds ("Gefährdungsgruppen"), only one distinction is made in the calculations, between compounds with low mobility (group 1) and compounds with modest to high mobility (groups 2, 3 and 4). In this implementation, the group is derived only from the Koc, if not given explicitly. For -details, see the discussion of the function arguments below.'> +details, see the discussion of the function arguments below. +It is recommened to specify the arguments rate, Koc, DT50, t_drainage, +V_ditch and V_drainage using units::units from the units package.'> Skip to contents @@ -52,7 +56,9 @@ compounds ("Gefährdungsgruppen"), only one distinction is made in the calculations, between compounds with low mobility (group 1) and compounds with modest to high mobility (groups 2, 3 and 4). In this implementation, the group is derived only from the Koc, if not given explicitly. For -details, see the discussion of the function arguments below.

+details, see the discussion of the function arguments below. +It is recommened to specify the arguments rate, Koc, DT50, t_drainage, +V_ditch and V_drainage using units::units from the units package.

@@ -62,10 +68,10 @@ details, see the discussion of the function arguments below.

interception = 0, Koc = NA, mobility = c(NA, "low", "high"), - DT50 = Inf, - t_drainage = 3, - V_ditch = 30, - V_drainage = c(spring = 10, autumn = 100), + DT50 = set_units(Inf, "d"), + t_drainage = set_units(3, "days"), + V_ditch = set_units(30, "m3"), + V_drainage = set_units(c(spring = 10, autumn = 100), "m3"), dilution = 2 )
@@ -148,6 +154,7 @@ scenarios. If the rate was given in g/ha, the PECsw are in microg/L.

#> 12.5 25.0 #> #> $PEC_sw_drainage +#> Units: [µg/L] #> spring autumn #> 1.562500 4.807692 #> -- cgit v1.2.1