Compute equilibrium values
Usage
add_equilibrium(ecoparams, scale_solver, noB_i, type_i)
Arguments
- ecoparams
list of parameters
- scale_solver
Whether to solve for ecotrophic efficiency EE given biomass B
(scale_solver="simple"
) or solve for a combination of EE and B values
- noB_i
Boolean vector indicating which taxa have no B value
- type_i
character vector indicating whether a taxon is "hetero", "auto", or
"detritus"
Value
the list of parameters with missing values in ecoparams$B_i
and/or
ecoparams$EE_i
filled in, as well as additional values Qe_ij
,
m0_i
, and GE_i
Details
Replaces NA values in ecotrophic efficiency and/or biomass with equilibrium
solution, and then calculates equilibrium consumption, natural mortality,
and other rates.