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)
uptake
: Matrix (with names) where columns are resources and rows are pathways, giving uptake rate (mass/time) of given strainproduction
: Matrix (with names) where columns are resources and rows are pathways, giving production rate (mass/time) of given straingrowthRate
: (vector) microbial growth rate (mass per unit time) for one strain on each metabolic pathwaybalanceTol
: (scalar) Defined in microPopModel input list checkingOptionsstrainName
: (string) Name of strain in ODE solver loop