Skip to content

Commit 8691109

Browse files
author
Michael Tiller
committed
Merge pull request #228 from lochel/master
Proper start values to avoid trivial solution
2 parents ccb54e7 + ae38e2b commit 8691109

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ModelicaByExample/Components/LotkaVolterra/Examples/ThreeSpecies_Quiescent.mo

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ within ModelicaByExample.Components.LotkaVolterra.Examples;
22
model ThreeSpecies_Quiescent "Three species in a quiescent state"
33
import ModelicaByExample.Components.LotkaVolterra.Components.RegionalPopulation.InitializationOptions.SteadyState;
44
extends ThirdSpecies(
5-
rabbits(init=SteadyState),
6-
foxes(init=SteadyState),
7-
wolves(init=SteadyState));
5+
rabbits(init=SteadyState, population(start=30)),
6+
foxes(init=SteadyState, population(start=2)),
7+
wolves(init=SteadyState, population(start=4)));
88
annotation (experiment(StopTime=100, Tolerance=1e-006));
99
end ThreeSpecies_Quiescent;

0 commit comments

Comments
 (0)