Skip to content

visualisation of predator-prey system dynamics based on the Lotka–Volterra equations

Notifications You must be signed in to change notification settings

rynkow/predator-prey-ode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Visualisation of predator-prey system dynamics

based on the Lotka–Volterra equations. Using python.

GUI

Project uses PyQt and matplotlib.
Users can modify ODE parameters and starting conditions via interactive sliders.

Solved ODE

Visualised predator-pray system dynamics are based on slightly modified Lotka–Volterra equations Lotka–Volterra equations

Original equations

where:
x - prey population
y - predator population
a - prey population growth
b - prey mortality rate due to predation
c - predator growth rate due to predation
d - predator mortality rate

Modified equations

where:
x - prey population
y - predator population
a - prey population growth
b - prey mortality rate due to predation
c - conversion rate of hunted prey to descendants
d - predator mortality rate

Solwing method

ODE are solved using the Runge Kutta 2nd order method.

Result

image image

About

visualisation of predator-prey system dynamics based on the Lotka–Volterra equations

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages