Skip to contents

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"

Details

Replaces NA values in ecotrophic efficiency and/or biomass with equilibrium solution, and then calculates equilibrium consumption, natural mortality, and other rates.