Skip to contents

This function sets the respiration rate (called the metabolic rate in mizer) according to the first master equation of Ecopath, which is: $$Q = P + R + U$$ where \(Q\) is the consumption rate, \(P\) is the production rate, \(R\) is the respiration rate, and \(U\) is the unassimilated part of the consumption rate, i.e., \(U = (1 - \alpha) Q\), where \(\alpha\) is the assimilation efficiency. Solving this for \(R\) we get: $$R = Q \alpha - P$$

Usage

matchRespirationOnce(params, steady = TRUE)

Arguments

params

A MizerParams object

steady

Whether to return the model to a steady state after adjusting the respiration. Default is TRUE.

Value

A MizerParams object with the respiration matched

Details

The production rate of a species is the sum of the somatic production rate and the gonad production rate. The somatic production rate is the production rate

The Ecopath production rate is the somatic production rate, i.e., the production rate of the somatic tissue. To get the total production rate we need to divide the somatic production rate by \(1 - f\), where \(f\) is the gonad proportion. This is because the gonad production is not included in the Ecopath production rate.

This function calculates \(Q\) using getConsumption()