From 91a5834dd701211f929fd25419dc34561ce3b4e7 Mon Sep 17 00:00:00 2001 From: Johannes Ranke Date: Fri, 14 Feb 2025 09:15:20 +0100 Subject: Initialize dev docs --- docs/dev/articles/twa.html | 181 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 181 insertions(+) create mode 100644 docs/dev/articles/twa.html (limited to 'docs/dev/articles/twa.html') diff --git a/docs/dev/articles/twa.html b/docs/dev/articles/twa.html new file mode 100644 index 00000000..1dea5c51 --- /dev/null +++ b/docs/dev/articles/twa.html @@ -0,0 +1,181 @@ + + + + + + + +Calculation of time weighted average concentrations with mkin • mkin + + + + + + + + + Skip to contents + + +
+ + + + +
+
+ + + +

Since version 0.9.45.1 of the ‘mkin’ package, a function for +calculating time weighted average concentrations for decline kinetics +(i.e. only for the compound applied in the experiment) is +included. Strictly speaking, they are maximum moving window time +weighted average concentrations, i.e. the maximum time weighted +average concentration that can be found when moving a time window of a +specified width over the decline curve.

+

Time weighted average concentrations for the SFO, FOMC and the DFOP +model are calculated using the formulas given in the FOCUS kinetics +guidance (FOCUS Work Group on Degradation +Kinetics 2014, 251):

+

SFO:

+

ctwa=c0(1ekt)ktc_\textrm{twa} = c_0 \frac{\left( 1 - e^{- k t} \right)}{ k t}

+

FOMC:

+

ctwa=c0βt(1α)((tβ+1)1α1)c_\textrm{twa} = c_0 \frac{\beta}{t (1 - \alpha)} + \left( \left(\frac{t}{\beta} + 1 \right)^{1 - \alpha} - 1 \right)

+

DFOP:

+

ctwa=c0t(gk1(1ek1t)+1gk2(1ek2t))c_\textrm{twa} = \frac{c_0}{t} \left( + \frac{g}{k_1} \left( 1 - e^{- k_1 t} \right) + + \frac{1-g}{k_2} \left( 1 - e^{- k_2 t} \right) \right)

+

HS for +t>tbt > t_b:

+

ctwa=c0t(1k1(1ek1tb)+ek1tbk2(1ek2(ttb)))c_\textrm{twa} = \frac{c_0}{t} \left( + \frac{1}{k_1} \left( 1 - e^{- k_1 t_b} \right) + + \frac{e^{- k_1 t_b}}{k_2} \left( 1 - e^{- k_2 (t - t_b)} \right) \right)

+

Often, the ratio between the time weighted average concentration +ctwac_\textrm{twa} +and the initial concentration +c0c_0

+

ftwa=ctwac0f_\textrm{twa} = \frac{c_\textrm{twa}}{c_0}

+

is needed. This can be calculated from the fitted initial +concentration +c0c_0 +and the time weighted average concentration +ctwac_\textrm{twa}, +or directly from the model parameters using the following formulas:

+

SFO:

+

ftwa=(1ekt)ktf_\textrm{twa} = \frac{\left( 1 - e^{- k t} \right)}{k t}

+

FOMC:

+

ftwa=βt(1α)((tβ+1)1α1)f_\textrm{twa} = \frac{\beta}{t (1 - \alpha)} + \left( \left(\frac{t}{\beta} + 1 \right)^{1 - \alpha} - 1 \right)

+

DFOP:

+

ftwa=1t(gk1(1ek1t)+1gk2(1ek2t))f_\textrm{twa} = \frac{1}{t} \left( + \frac{g}{k_1} \left( 1 - e^{- k_1 t} \right) + + \frac{1-g}{k_2} \left( 1 - e^{- k_2 t} \right) \right)

+

HS for +t>tbt > t_b:

+

ftwa=1t(1k1(1ek1tb)+ek1tbk2(1ek2(ttb)))f_\textrm{twa} = \frac{1}{t} \left( + \frac{1}{k_1} \left( 1 - e^{- k_1 t_b} \right) + + \frac{e^{- k_1 t_b}}{k_2} \left( 1 - e^{- k_2 (t - t_b)} \right) \right)

+

Note that a method for calculating maximum moving window time +weighted average concentrations for a model fitted by ‘mkinfit’ or from +parent decline model parameters is included in the +max_twa_parent() function. If the same is needed for +metabolites, the function pfm::max_twa() from the ‘pfm’ +package can be used.

+
+
+FOCUS Work Group on Degradation Kinetics. 2014. Generic Guidance for +Estimating Persistence and Degradation Kinetics from Environmental Fate +Studies on Pesticides in EU Registration. 1.1 ed. http://esdac.jrc.ec.europa.eu/projects/degradation-kinetics. +
+
+
+
+ + + + +
+ + + + + + + -- cgit v1.2.1