R/PowerToFroMechChem.R

Defines functions chem2mech mech2chem

Documented in chem2mech mech2chem

mech2chem <- function(power.mech,bird,...) {
  R <- bird$coef.respirationFactor
  eta <- bird$coef.conversionEfficiency
  BMR <- bird$basalMetabolicRate

  power.chem <- (power.mech/eta+BMR)*R

}

chem2mech <- function(power.chem,bird,...) {
  R <- bird$coef.respirationFactor
  eta <- bird$coef.conversionEfficiency
  BMR <- bird$basalMetabolicRate

  power.mech <- (power.chem/R-BMR)*eta

}

Try the afpt package in your browser

Any scripts or data that you put into this service are public.

afpt documentation built on Nov. 3, 2023, 5:10 p.m.