Description Usage Arguments Value Author(s) References Examples
This function calculates the growth and the changes in the 3 state variables during the time period specified by a. When T or f or both are functions, it also integrates as function of temperature ad f considerig their variation during the time interval. Currently can only be used with Asterias spp. which follow a exponential gonad growth. Although the function can be used at intervals within the reproductive cycle in that case it will require a quantification of current gonad energy, and R at the start of the interval.
1 | dget_VREG(a, VREG, pars)
|
a |
a vector containing the time point from the start at which the function has to be evaluated. Should be in days. |
VREG |
a 4 vector with the starting values of V (structure volume, cm^3), R (accumulated reproductive buffer, J) and E (energy reserves, J), and energy already transferred to gonad. |
pars |
a list containing: p: a list containing all the DEB parameters for the species. Called by the get_DEB_pars function. Lp = structural length at puberty, for the function to determine when the accumulation of R starts. s_M = acceleration factor. T: a scalar with the temperature in K or a regression model (T = f(a)) to obtain the temperature (in K) at time a for the correction during the integration. f: scaled functional response during a. It can be a scalar between 0 and 1 when food is constant during the integrated period or a function/regression model as a function of time. |
VREG |
a list with four vectors corresponding to the values of V, R, E and G at the time points (a) at which the function is evaluated. In this function R correspond to the energy left in the reproductive buffer not yet transferred to gonad. So effectively Er = R + G. |
Antonio Aguera. Danish Shellfish Center, DTU-aqua, Nykoebing Mors, Denmark
DEBlab, http://http://www.bio.vu.nl/thb/deb/deblab/
Kooijman SALM (2010) Dynamic Energy Budget theory for metabolic organisation, Third edn. Cambridge University Press, Cambridge, 509 pp.
Lika K, Kearney MR, Freitas V et al. (2011) The covariation method for estimating the parameters of the standard Dynamic Energy Budget model I: Philosophy and approach. Journal of Sea Research, 66, 270_277.
Lika K, Kearney MR, Kooijman SALM (2011) The covariation method for estimating the parameters of the standard Dynamic Energy Budget model II: Properties and preliminary patterns. Journal of Sea Research, 66, 278_288.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | p <- get_DEB_pars(system.file('data_examples_templates/results_Odontaster_validus.mat', package='DEB'))
a <- seq(1,365,1) # to evaluate de changes daily
Lw <- 5 # cm, physical length of the individual to be evaluated.
e <- 0.8 # -, scaled reserves at the start of the evaluation.
ltR <- get_tj(p, e) # calculates key events for the initial conditions.
Lp <- ltR$lp * p$L_m
V <- (Lw*p$del_M)^3 # cm^3, initial structural volume
R <- 0 # onset of gametogenesis no reproductive buffer accumulated yet.
E <- e * p$E_m * V # J, initial reserve.
G <- 0 # onset of gametogenesis, no gonad yet.
VREG_0 <- c(V, R, E, G)
pars <- list(p, Lp, ltR$s_M, 283, 0.5)
require(deSolve)
t_VREG <- ode(VREG_0, a, dget_VREG, pars, method='ode45')
t_VREG <- as.data.frame(t_VREG)
names(t_VREG)<-c('Days',"V", "Er","E", G)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.