Dynamic model of a tripartite population of Public consumers, Cheaters and private metabolisers.
function
Model Equations
tune
Simulation parameters
tune
Initial conditions
Time course
Loading chart...
Model Details
Review and edit model structure, biological variables, and kinetic parameters.
| Name | Tex name | Initial value | Actions |
|---|---|---|---|
Edit Options
Edit Options
Edit Options
preview
Generated Python Code
def model(
time: float,
variables: float,
):
Public, Cheater, Private = variables
r_p = 0.4
eta = 0.0001
nu = 0.00001
r_m = 0.2
gamma = 0.0001
alpha = 0.0002
beta = 0.0001
dPdt = (((r_p * Public) - (alpha * Public * Cheater)) - (beta * Public * Private)) - (eta * Public * Public)
dCdt = (alpha * Public * Cheater) - (nu * Cheater * Cheater)
dMdt = ((r_m * Private) - (beta * Public * Private)) - (gamma * Private * Private)
dPublicdt = +dPdt
dCheaterdt = +dCdt
dPrivatedt = +dMdt
return [dPublicdt, dCheaterdt, dPrivatedt]
y0 = {"Public": 1, "Cheater": 1, "Private": 1}