eranimo / imperianova-2021

0 stars 0 forks source link

Population system #6

Open eranimo opened 3 years ago

eranimo commented 3 years ago

The population system is an agent-based model representing the population of a given game cell. Population units are referred to as Pops. Pops have a set of properties, a size, and an age group.

The population system is made up of subsystems, which are functions that operate on all pops that share a given set of attributes. In these subsystems, pops may be split (divided into multiple pops) or merged (combined into one pop). Their sizes might change as well.

This system runs at the first of every month.

Size

A Pop has a certain size. Events may cause an increase or decrease in this amount.

Age Group

A Pop belongs to a specific age group.

Every update, for non-elderly pops, a set amount of pops from each age group are moved up to the next age group. Each age group has a death rate, and every update that percent of the pops of that group will be removed. Infants grow by an amount per month called the birth rate (represented in thousands).

Properties

TBD

Culture

Religion

Smoss commented 3 years ago

Will determine initial pop distribution using this paper https://www.pnas.org/content/pnas/115/6/1232.full.pdf