blob: 6f011a26f4978bcaaa15ed2bdb13a56d7368aecd (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
model LotkaVolterra
parameter Real alpha;
parameter Real beta;
parameter Real delta;
parameter Real gamma;
Real x;
Real y;
equation
der(x) = (alpha * x) - (beta * x * y)
der(y) = (delta * x * y) - (gamma * y)
end LotkaVolterra;
|