diff --git a/ModelicaByExample/Components/LotkaVolterra/Components/RegionalPopulation.mo b/ModelicaByExample/Components/LotkaVolterra/Components/RegionalPopulation.mo index 62c455ff..f85411bb 100644 --- a/ModelicaByExample/Components/LotkaVolterra/Components/RegionalPopulation.mo +++ b/ModelicaByExample/Components/LotkaVolterra/Components/RegionalPopulation.mo @@ -12,7 +12,7 @@ model RegionalPopulation "Population of animals in a specific region" Interfaces.Species species annotation (Placement(transformation(extent={{-10,90},{10,110}}), iconTransformation(extent={{-10,90},{10,110}}))); -public +protected Real population(start=10) = species.population "Population in this region"; initial equation if init==InitializationOptions.FixedPopulation then