Skip to content

Agent growth

Robert Clegg edited this page Oct 30, 2013 · 4 revisions

To model the growth of an ActiveAgent in iDynoMiCS we loop through each reaction, finding the cellular mass of the particle catalysing the reaction and the specific reaction rate for that cell. We then loop through all particles in the cell, calculating the new particle mass in one of two different ways depending on whether the reaction is autocatalytic or not.

Non-autocatalytic reaction dynamics

If a reaction is not autocatalytic then we assume the mass of the catalytic particle is constant throughout the timestep; this is a simplification as it may be changed by other reactions, but it makes calculation a lot easier.

The rate of change of the mass of some particle P due to a reaction with specific rate μ, catalytic particle mass C and yield YP, is

dP/dt = YP C μ.

This is easily solved to

P(t) = YP C μ t

and so from time t to time (t + Δt) we add YP C μ Δt to the particle mass.

Autocatalytic reaction dynamics

By autocatalytic, we mean that the particle catalysing the reaction is itself changed by the reaction.

The rate of change of the mass of this catalytic particle is then

dC/dt = YC C(t) μ.

This has solution

C(t + Δt) = C(t) eYC μ Δt

and so from time t to time (t + Δt) we add C(t) (eYC μ Δt - 1) to the catalytic particle mass.

Now, the rate of change of the mass of any other particle due to this reaction is

dP/dt = YP C(t) μ

as before, except that C is no longer constant. Using the formula for C(t) found above,

dP/dt = YP μ C(t) eYC μ t.

Integrating, we find that

P(t + Δt) = [YP μ C(t)]/[YC μ] eYC μ Δt + k,

where k is the constant of integration. By rearranging and setting Δt = 0 we find that

k = P(t) - C(t) YP/YC,

and so,

P(t + Δt) = P(t) + C(t) YP/YC (eYC μ Δt - 1).

From time t to time (t + Δt) we add C(t) YP/YC (eYC μ Δt - 1) to the particle mass.

Now, as for the catalytic particle YP = YC, and so YP/YC = 1, we don't need to worry about calculating these differently.

Clone this wiki locally