The generic function growLin
implements a growth model of organisms in their environment.
growLin(object, biomass, fbasol, tstep)# S4 method for Organism
growLin(object, biomass, fbasol, tstep)
An object of class Organisms.
A number indicating the current biomass, which has to be updated.
Problem object according to the constraints and then solved with optimizeProb
.
A number giving the time intervals for each simulation step.
Returns the updated biomass of the organisms of interest.
Linear growth of organisms is implemented by adding the calculated growthrate by optimizeLP
to the already present growth value.