Demographic population model
View Model
Loading model...
Overview
This demographic model simulates population dynamics in any country over time, incorporating key demographic processes including births, deaths, and migration. The model is designed to track population changes while accounting for age structure and gender distribution. Time horizon can be set from 1950 to 2100 or any length in-between these.
The model consists of three main components:
- Healthy population: The core state representing the living population, by age and sex
- Births: A state tracking new additions to the population
- Mortality: A state capturing deaths in the population
Key interactions within the model include:
- Population generates births based on age-specific fertility rates
- Births are distributed into the population by gender using sex ratios
- Population is affected by migration flows
- Deaths are calculated using mortality rates and removed from the healthy population
- The population ages annually through the simulation period
The model executes these processes in a specific order through subroutines:
- Initial population balance generation
- Birth rate calculations
- Population aging
- Migration adjustments
- Mortality calculations
- Integration of new births
- State updates (flushing)
Assumptions
-
Initial population
- Source: UNDP World Population Projections 2022
- URL:
- https://population.un.org/wpp/Download/Files/1_Indicator%20(Standard)/CSV_FILES/WPP2024_Population1JanuaryBySingleAgeSex_Medium_1950-2023.csv.gz (opens in a new tab)
- https://population.un.org/wpp/Download/Files/1_Indicator%20(Standard)/CSV_FILES/WPP2024_Population1JanuaryBySingleAgeSex_Medium_2024-2100.csv.gz (opens in a new tab)
-
Age specific fertility rates
- Source: UNDP World Population Projections 2022
- URL:
-
Net migration rates
- Source: UNDP World Population Projections 2022
- URL:
-
Lifetable mortality rates
- Source: UNDP World Population Projections 2022
- URL:
- https://population.un.org/wpp/Download/Files/1_Indicator%20(Standard)/CSV_FILES/WPP2024_Life_Table_Complete_Medium_Female_1950-2023.csv.gz (opens in a new tab)
- https://population.un.org/wpp/Download/Files/1_Indicator%20(Standard)/CSV_FILES/WPP2024_Life_Table_Complete_Medium_Female_2024-2100.csv.gz (opens in a new tab)
- https://population.un.org/wpp/Download/Files/1_Indicator%20(Standard)/CSV_FILES/WPP2024_Life_Table_Complete_Medium_Male_1950-2023.csv.gz (opens in a new tab)
- https://population.un.org/wpp/Download/Files/1_Indicator%20(Standard)/CSV_FILES/WPP2024_Life_Table_Complete_Medium_Male_2024-2100.csv.gz (opens in a new tab)
-
Sex-ratio at birth
- Source: UNDP World Population Projections 2022
- URL: