I looked for some thread or model on poplation and found little or nothing. The most complete piece fo information I have is in axi's poll about how much detail we want to go in for population/ethnic group modelling. That is, nothing in terms of models.
I want to code population uprising when enemy troops try to invade. I don't want to have all the population to fight, and cannot use only a percentage of the population to fight, as from one turn to the next, the number of fighting men would artificially grow.
So I want to code population along these lines:
In an ethnic group, keep track of fighting/nonfighting. This I translate into men/women and adult/children. One could also add elders, but I will not because they didn't always stop fighting when they got old, and we are still in ancient age modelling.
What I really want is to say I have f.e. 10000 inhabitants in a square. How many can fight? The military/social/riot models will decide how many do fight when there is an uprising, an army is drafted, etc.
What are the effects on population on the turn following a loss of male population?
How is growth affected?
How many children become mature?
How many mature die?
Does the presence of military units (males) in the square affect the population growth (there will be bastards, marriages with local women...)
State of the code (as far as I understand - Mark and Gary can correct me here-)
1)Population in square is divided by ethnicities. Ethnic groups have a population figure. How both are related is totally opaque to me.
2)Growth depends solely on food. The growth formula is unclear to me. If the method names are to be trusted, excess food simply turns into people.
3)Military units take population from a square. They just take what they need, with no distinction of sex or ethnicity.
4)When disbanded, half of military personnel is added to the square.
Suggestions and needs
1)Population in square to be divided by ethnicities, each ethnicity by sex and age category, age category being either child/adult or child/adult/old. The rationale for having sex population per ethnicity is that when BigBadWolves invade SheepLand, the Sheep male population will raise to fight them. Those who die will probably be replaced by BigBadWolves. When Sheep come to liberate their country, only BigBadWolves will try to fight them. Surviving Sheep will raise to help the liberators. Also, historically, the Saxon killing of Celts in Britain and the Breton slaying of male Armoricans require a male population ethnicity to be followed. This raises the question of: what decides the ethnicity of a child. Father? Mother? Mostly because of conquests, it was father, but there are populations where it is the mother who matters (semites, some polynesians, amerindians).
Codewise, how do Population in squares and EthnicGroup population data member relate? Is some code obsolete or is there a third party class somewhere?
2) Population growth model?
We need mainly food and women to have population growth. Men are needed too, but not as many as women. What is the effect of a lack of men on population growth? What effects marriage policies have on this? (Does strongly enforced monogamy lower fertility?)
Also, how many young become mature, how many mature die (or turn old, and olds die) in one turn?
3) Military would take from mature male population, no ethnicity distinction yet. Long term, ethnicity could be taken into account.
4) All population would be put back to the square, ethnicity to be determined.
Not adressed points.
There are many. I want to point some of these here but NOT discuss them because they won't be coded soon. I just log them, please speak about them only if you think they have to be coded right now for some reason.
There is the effect on social classes. Should they matter as far as army drafting goes (fighting aristocracy, serfs...)
Child death. All children don't make it to adulthood. How many die? The disease factor comes here too.
I want to code population uprising when enemy troops try to invade. I don't want to have all the population to fight, and cannot use only a percentage of the population to fight, as from one turn to the next, the number of fighting men would artificially grow.
So I want to code population along these lines:
In an ethnic group, keep track of fighting/nonfighting. This I translate into men/women and adult/children. One could also add elders, but I will not because they didn't always stop fighting when they got old, and we are still in ancient age modelling.
What I really want is to say I have f.e. 10000 inhabitants in a square. How many can fight? The military/social/riot models will decide how many do fight when there is an uprising, an army is drafted, etc.
What are the effects on population on the turn following a loss of male population?
How is growth affected?
How many children become mature?
How many mature die?
Does the presence of military units (males) in the square affect the population growth (there will be bastards, marriages with local women...)
State of the code (as far as I understand - Mark and Gary can correct me here-)
1)Population in square is divided by ethnicities. Ethnic groups have a population figure. How both are related is totally opaque to me.
2)Growth depends solely on food. The growth formula is unclear to me. If the method names are to be trusted, excess food simply turns into people.
3)Military units take population from a square. They just take what they need, with no distinction of sex or ethnicity.
4)When disbanded, half of military personnel is added to the square.
Suggestions and needs
1)Population in square to be divided by ethnicities, each ethnicity by sex and age category, age category being either child/adult or child/adult/old. The rationale for having sex population per ethnicity is that when BigBadWolves invade SheepLand, the Sheep male population will raise to fight them. Those who die will probably be replaced by BigBadWolves. When Sheep come to liberate their country, only BigBadWolves will try to fight them. Surviving Sheep will raise to help the liberators. Also, historically, the Saxon killing of Celts in Britain and the Breton slaying of male Armoricans require a male population ethnicity to be followed. This raises the question of: what decides the ethnicity of a child. Father? Mother? Mostly because of conquests, it was father, but there are populations where it is the mother who matters (semites, some polynesians, amerindians).
Codewise, how do Population in squares and EthnicGroup population data member relate? Is some code obsolete or is there a third party class somewhere?
2) Population growth model?
We need mainly food and women to have population growth. Men are needed too, but not as many as women. What is the effect of a lack of men on population growth? What effects marriage policies have on this? (Does strongly enforced monogamy lower fertility?)
Also, how many young become mature, how many mature die (or turn old, and olds die) in one turn?
3) Military would take from mature male population, no ethnicity distinction yet. Long term, ethnicity could be taken into account.
4) All population would be put back to the square, ethnicity to be determined.
Not adressed points.
There are many. I want to point some of these here but NOT discuss them because they won't be coded soon. I just log them, please speak about them only if you think they have to be coded right now for some reason.
There is the effect on social classes. Should they matter as far as army drafting goes (fighting aristocracy, serfs...)
Child death. All children don't make it to adulthood. How many die? The disease factor comes here too.
Comment