Skip to contents

Get required nutrients for stable biomass growth.

Usage

get_req_nutrients(bg_biomass, ag_biomass, parameters)

Arguments

bg_biomass, ag_biomass

Numeric with starting bg and ag biomass.

parameters

List with all model parameters.

Value

list

Details

Returns a list with starting values for i) the nutrients_pool and ii) the detritus_pool, which allow stable seagrass growth if no fish individuals are present.

This means that both pools contain exactly the amount to balance the sloughed bg_biomass and ag_biomass each time step.

Examples

get_req_nutrients(bg_biomass = default_starting$bg_biomass,
ag_biomass = default_starting$ag_biomass, parameters = default_parameters)
#> $nutrients_pool
#> [1] 0.003205054
#> 
#> $detritus_pool
#> [1] 3.201849
#>