dMoIda.Rd
This queuing model M/M/∞ tracks the MoI in a cohort of humans as it ages. It assumes a time- and age-dependent hazard rate for infection, called the force of infection (FoI, hτ(a)). Infections do not affect each other, and each one clears independently at the rate r.
Let ζi the fraction of the population with MoI = i, then dζ0da=−hτ(a)ζ0+rζ1 and for i≥1 dζida=hτ(a)(ζi−1−ζi)−riζi+r(i+1)ζi+1
This function computes the derivatives in a form that can be used by deSolve::ode.
dMoIda(a, M, pars, FoIpar)
the derivatives as a list