Skip to contents

Compute system of differential equations representing EcoState dynamics derived from EcoSim.

Usage

dBdt(
  Time,
  State,
  Pars,
  type_i,
  n_species,
  F_type = "integrated",
  what = "dBdt"
)

Arguments

Time

not used

State

vector of state variables to integrate

Pars

list of parameters governing the ODE

type_i

type for each taxon

n_species

number of species

F_type

whether to integrate catches along with biomass ("integrated") or calculate catches from the Baranov catch equation applied to average biomass ("averaged")

what

what output to produce

Value

An object (list) of ranges. Elements include:

G_i

Biomass growth per time

g_i

Biomass growth per time per biomass

M2_i

Consumptive mortality per time

m2_i

Consumptive mortality per time per biomass

M_i

Natural mortality per time

m_i

Natural mortality per time per biomass (i.e., m2_i + m0_i)

Q_ij

Consumption per time for prey (rows) by predator (columns)

Details

This function has syntax designed to match pracma solvers.