modelLotkaVolterra
Lotka Volterra prey-predator behaviour
Information
Predator-Prey Interaction (Lotka-Volterra)This example has been taken from the PowerDEVS software.
The Lotka-Volterra equations describe an ecological predator-prey (or parasite-host) model which assumes that, for a set of fixed positive constants A (the growth rate of prey), B (the rate at which predators destroy prey), C (the death rate of predators), and D (the rate at which predators increase by consuming prey), the following conditions hold.
- A prey population x increases at a rate dx=A*x*dt (proportional to the number of prey) but is simultaneously destroyed by predators at a rate dx=-B*x*y*dt (proportional to the product of the numbers of prey and predators).
- A predator population y decreases at a rate dy=-C*y*dt (proportional to the number of predators), but increases at a rate dy=D*x*y*dt (again proportional to the product of the numbers of prey and predators).
dy/dt=-C*y+D*x*y
Reference: http://mathworld.wolfram.com/Lotka-VolterraEquations.html
The current ModelicaDEVS predator-prey model features the following parameters: A=B=C=D=0.1
Output:
The output variable Prey represents the behaviour of the prey population, the variable Predators shows the trajectory of the predator polutation.
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Real | Prey | ||
| Real | Predator | ||
| ModelicaDEVS.FunctionBlocks.Multiplier | Mult1 | ||
| ModelicaDEVS.FunctionBlocks.Add | Add1 | ||
| ModelicaDEVS.FunctionBlocks.Add | Add2 | ||
| ModelicaDEVS.FunctionBlocks.Integrator | Integrator1 | ||
| ModelicaDEVS.FunctionBlocks.Integrator | Integrator2 | ||
| ModelicaDEVS.Miscellaneous.worldModel | world |