Currently the function biomass.gam_in_model only returns a Boolean. It should return the actual GAM value to be even more useful, users then don't have to look it up/ calculate it themselves.
For the value to be correct, gam_in_biomass will have to differentiate between lumped and split biomass reactions because in lumped biomass reactions the stoichiometric coefficient of ATP will be a sum of the maintenance value and the stoichiometry of ATP contributing to DNA. In a split reaction, the coefficient will just account for GAM.
Problem description
Currently the function
biomass.gam_in_model
only returns a Boolean. It should return the actual GAM value to be even more useful, users then don't have to look it up/ calculate it themselves.For the value to be correct,
gam_in_biomass
will have to differentiate between lumped and split biomass reactions because in lumped biomass reactions the stoichiometric coefficient of ATP will be a sum of the maintenance value and the stoichiometry of ATP contributing to DNA. In a split reaction, the coefficient will just account for GAM.