, , , . .
, . "" : (), , . . , . ,
, . , , , , . 15. , , , . , , . .
, . .
(Population With Arrays),
, (. 13.20). . : 12 (youth), 25 (Adult), 20 (MiddleAge) , , (old). , , : (south) (North).
. 13.20. . Age, Region (. 13.21).
Age Youth, Adult, MiddieAge old, Region south North.
, , , . : Age Region. :
{ {1000, 800}, {950, 750}, {900, 700}, {400, 1000} }
|
|
, , population
Age=Youth {1000, 800}.
, , :
d(population)/dt=shiftedAging()+mask *births.sum(Age) - deaths -stabilityFactor* population^2
. stabilityFactor , . , . :
stabilityFactor*populationA2
population, , , stabilityFactor, .
deaths , population deathRate*population. , . deathRate Age. :
death[Youth, North] =deathRate [Youth] *population [Youth, North]; death[Youth, South]=deathRate[Youth]*population[Youth, South]; death[Adult, North] =deathRate [Adult] *population [Adult, North],-
. .
, .
aging. . , ( ) . , ( ) .
aging = population / ageGroupDuration
. shiftAging, , , , . : next () ( ), get set .
, mask*births.sum(Age) population . birth birth=population*birthRate, birthRate , . sum birth . , mask, Age, births, sum (Age), Region, , , .
.
|
|
- , . (, ) , , , , . .
. (, , . .), . . -, ( , , . .). -, , . -, , (, ), . , , ( ).
, . , - , , . , .
AnyLogic , - , . , .
14