Advertisement
matrefeytontias

Population/water/food evolution model

Mar 8th, 2016
399
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. Time has unit t
  2. W is water (unit : w), F is food (unit : f), P is population (unit : p), br is birth rate (unit : p/t) and dr is death rate (unit : p/t)
  3. kW is water consumption (unit : w/p/t) and kF is food consumption (unit : f/p/t)
  4. alpha > 0
  5.  
  6. dW/dt = -kW * P
  7. dF/dt = -kF * P
  8. dP/dt = br - dr
  9. br = P / 10 * (1 - exp(-W * (1 + F)))
  10. dr = minDR + 1 / (1 - exp(-W * (1 + F))) - 1
  11.  
  12. Solve this numerically for P, W and F (ODE's won't work)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement