massBalanceFuncDefault function

mass balance Function

mass balance Function

Doesn't return anything but prints to screen if mass does not balance after the equations for biological growth have been derived This is only run if checkMassConv is TRUE

massBalanceFuncDefault(uptake, production, growthRate, balanceTol, strainName)

Arguments

  • uptake: Matrix (with names) where columns are resources and rows are pathways, giving uptake rate (mass/time) of given strain
  • production: Matrix (with names) where columns are resources and rows are pathways, giving production rate (mass/time) of given strain
  • growthRate: (vector) microbial growth rate (mass per unit time) for one strain on each metabolic pathway
  • balanceTol: (scalar) Defined in microPopModel input list checkingOptions
  • strainName: (string) Name of strain in ODE solver loop