Population numbers

KaTiON_PT

Emperor
Joined
Jan 2, 2010
Messages
1,090
Location
Portugal
Out of curiosity, where can I find in the files the x number of pops attributed for each given city level?

For example: 1 = 50 pops, 2 = 100 pops, etc.

EDIT: See this post that contains all population numbers.
 
Last edited:
I believe it's inanely hardcoded in the dll. It's really needing to be adjusted for C2C.

I think it shows very nicely the logarhitmic exponential grown of masses. Well, maybe cut down a little on the top... biggest city I have seen had almost billion people but in future megacities it is not that bad when there are far worse realism holes in the mod.
 
It isn't. If you play vanilla BtS you get population 1 being 1000 people whereas C2C has population 1 being 50 people.

Well there is a big difference in time scale. By a large thousands of years.
 
Well there is a big difference in time scale. By a large thousands of years.
1) this is irrelevant - time scale doesn't affect population numbers at all
2) I misread Thunderbird's comment (note: 'engine' != 'dll') but the population numbers are in the getRealPopulation function of the CvCity class.
 
1) this is irrelevant - time scale doesn't affect population numbers at all.

It kinda Does, mean we're talking about from the dawn of mankind till the transcendence of mankind, so it does Affect Population numbers, Vanilla starts a lot later, and means a single pop accounts for the village, (1000 being still kinda large) while C2C 1 Pop with it's 50 is a clan trying to scrape out an existence by tracking the migrating herds and gathering herbs and berries along the way in the prehistoric pre-neolithic age,
The Timescale does affect Population numbers, because you'd want to line it up with what's a probable population during a said time frame,
 
EDIT: Found that the code that defines population numbers is around line 10198 of CvCity.cpp.

For posterity here are the current populations numbers in accordance to each pop level as of version 38.5 and SVN 10197, but I believe these will remain the same for a long time.

Attached are six graphs, three are log scales and three are normal (linear) scales for easier observation.

Observations:
  • It's possible to have hundreds or maybe even thousands of pops but pop 295 is the maximum number possible before the population number overflows.
  • Pop 100 and 101 both share the same population level (200 million).
  • There are 19 different population growth sequences, see the list below for more information.
  • The population growth sequence from pop 73 to 74 is 2 750 000, which isn't right as the next one (74 to 76) is only 2 500 000.
Spoiler Population growth sequences :

1 to 2 - 50
2 to 6 - 250
6 to 10 - 500
10 to 12 - 1 000
12 to 14 - 2 500
14 to 16 - 5 000
16 to 24 - 10 000
24 to 30 - 25 000
30 to 45 - 50 000
45 to 55 - 100 000
55 to 59 - 250 000
59 to 61 - 500 000
61 to 67 - 1 000 000
67 to 72 - 2 000 000
72 to 73 - 2 250 000
73 to 74 - 2 750 000
74 to 76 - 2 500 000
76 to 90 - 5 000 000
90 to 295 - 10 000 000

Spoiler Full list :

1 - 50
2 - 100
3 - 250
4 - 500
5 - 750
6 - 1 000
7 - 1 500
8 - 2 000
9 - 2 500
10 - 3 000
11 - 4 000
12 - 5 000
13 - 7 500
14 - 10 000
15 - 15 000
16 - 20 000
17 - 30 000
18 - 40 000
19 - 50 000
20 - 60 000
21 - 70 000
22 - 80 000
23 - 90 000
24 - 100 000
25 - 125 000
26 - 150 000
27 - 175 000
28 - 200 000
29 - 225 000
30 - 250 000
31 - 300 000
32 - 350 000
33 - 400 000
34 - 450 000
35 - 500 000
36 - 550 000
37 - 600 000
38 - 650 000
39 - 700 000
40 - 750 000
41 - 800 000
42 - 850 000
43 - 900 000
44 - 950 000
45 - 1 000 000
46 - 1 100 000
47 - 1 200 000
48 - 1 300 000
49 - 1 400 000
50 - 1 500 000
51 - 1 600 000
52 - 1 700 000
53 - 1 800 000
54 - 1 900 000
55 - 2 000 000
56 - 2 250 000
57 - 2 500 000
58 - 2 750 000
59 - 3 000 000
60 - 3 500 000
61 - 4 000 000
62 - 5 000 000
63 - 6 000 000
64 - 7 000 000
65 - 8 000 000
66 - 9 000 000
67 - 10 000 000
68 - 12 000 000
69 - 14 000 000
70 - 16 000 000
71 - 18 000 000
72 - 20 000 000
73 - 22 250 000
74 - 25 000 000
75 - 27 500 000
76 - 30 000 000
77 - 35 000 000
78 - 40 000 000
79 - 45 000 000
80 - 50 000 000
81 - 55 000 000
82 - 60 000 000
83 - 65 000 000
84 - 70 000 000
85 - 75 000 000
86 - 80 000 000
87 - 85 000 000
88 - 90 000 000
89 - 95 000 000
90 - 100 000 000
91 - 110 000 000
92 - 120 000 000
93 - 130 000 000
94 - 140 000 000
95 - 150 000 000
96 - 160 000 000
97 - 170 000 000
98 - 180 000 000
99 - 190 000 000
100 - 200 000 000
101 - 200 000 000
102 - 210 000 000
103 - 220 000 000
104 - 230 000 000
105 - 240 000 000
106 - 250 000 000
107 - 260 000 000
108 - 270 000 000
109 - 280 000 000
110 - 290 000 000
111 - 300 000 000
112 - 310 000 000
113 - 320 000 000
114 - 330 000 000
115 - 340 000 000
116 - 350 000 000
117 - 360 000 000
118 - 370 000 000
119 - 380 000 000
120 - 390 000 000
121 - 400 000 000
122 - 410 000 000
123 - 420 000 000
124 - 430 000 000
125 - 440 000 000
126 - 450 000 000
127 - 460 000 000
128 - 470 000 000
129 - 480 000 000
130 - 490 000 000
131 - 500 000 000
132 - 510 000 000
133 - 520 000 000
134 - 530 000 000
135 - 540 000 000
136 - 550 000 000
137 - 560 000 000
138 - 570 000 000
139 - 580 000 000
140 - 590 000 000
141 - 600 000 000
142 - 610 000 000
143 - 620 000 000
144 - 630 000 000
145 - 640 000 000
146 - 650 000 000
147 - 660 000 000
148 - 670 000 000
149 - 680 000 000
150 - 690 000 000
151 - 700 000 000
152 - 710 000 000
153 - 720 000 000
154 - 730 000 000
155 - 740 000 000
156 - 750 000 000
157 - 760 000 000
158 - 770 000 000
159 - 780 000 000
160 - 790 000 000
161 - 800 000 000
162 - 810 000 000
163 - 820 000 000
164 - 830 000 000
165 - 840 000 000
166 - 850 000 000
167 - 860 000 000
168 - 870 000 000
169 - 880 000 000
170 - 890 000 000
171 - 900 000 000
172 - 910 000 000
173 - 920 000 000
174 - 930 000 000
175 - 940 000 000
176 - 950 000 000
177 - 960 000 000
178 - 970 000 000
179 - 980 000 000
180 - 990 000 000
181 - 1 000 000 000
182 - 1 010 000 000
183 - 1 020 000 000
184 - 1 030 000 000
185 - 1 040 000 000
186 - 1 050 000 000
187 - 1 060 000 000
188 - 1 070 000 000
189 - 1 080 000 000
190 - 1 090 000 000
191 - 1 100 000 000
192 - 1 110 000 000
193 - 1 120 000 000
194 - 1 130 000 000
195 - 1 140 000 000
196 - 1 150 000 000
197 - 1 160 000 000
198 - 1 170 000 000
199 - 1 180 000 000
200 - 1 190 000 000
201 - 1 200 000 000
202 - 1 210 000 000
203 - 1 220 000 000
204 - 1 230 000 000
205 - 1 240 000 000
206 - 1 250 000 000
207 - 1 260 000 000
208 - 1 270 000 000
209 - 1 280 000 000
210 - 1 290 000 000
211 - 1 300 000 000
212 - 1 310 000 000
213 - 1 320 000 000
214 - 1 330 000 000
215 - 1 340 000 000
216 - 1 350 000 000
217 - 1 360 000 000
218 - 1 370 000 000
219 - 1 380 000 000
220 - 1 390 000 000
221 - 1 400 000 000
222 - 1 410 000 000
223 - 1 420 000 000
224 - 1 430 000 000
225 - 1 440 000 000
226 - 1 450 000 000
227 - 1 460 000 000
228 - 1 470 000 000
229 - 1 480 000 000
230 - 1 490 000 000
231 - 1 500 000 000
232 - 1 510 000 000
233 - 1 520 000 000
234 - 1 530 000 000
235 - 1 540 000 000
236 - 1 550 000 000
237 - 1 560 000 000
238 - 1 570 000 000
239 - 1 580 000 000
240 - 1 590 000 000
241 - 1 600 000 000
242 - 1 610 000 000
243 - 1 620 000 000
244 - 1 630 000 000
245 - 1 640 000 000
246 - 1 650 000 000
247 - 1 660 000 000
248 - 1 670 000 000
249 - 1 680 000 000
250 - 1 690 000 000
251 - 1 700 000 000
252 - 1 710 000 000
253 - 1 720 000 000
254 - 1 730 000 000
255 - 1 740 000 000
256 - 1 750 000 000
257 - 1 760 000 000
258 - 1 770 000 000
259 - 1 780 000 000
260 - 1 790 000 000
261 - 1 800 000 000
262 - 1 810 000 000
263 - 1 820 000 000
264 - 1 830 000 000
265 - 1 840 000 000
266 - 1 850 000 000
267 - 1 860 000 000
268 - 1 870 000 000
269 - 1 880 000 000
270 - 1 890 000 000
271 - 1 900 000 000
272 - 1 910 000 000
273 - 1 920 000 000
274 - 1 930 000 000
275 - 1 940 000 000
276 - 1 950 000 000
277 - 1 960 000 000
278 - 1 970 000 000
279 - 1 980 000 000
280 - 1 990 000 000
281 - 2 000 000 000
282 - 2 010 000 000
283 - 2 020 000 000
284 - 2 030 000 000
285 - 2 040 000 000
286 - 2 050 000 000
287 - 2 060 000 000
288 - 2 070 000 000
289 - 2 080 000 000
290 - 2 090 000 000
291 - 2 100 000 000
292 - 2 110 000 000
293 - 2 120 000 000
294 - 2 130 000 000
295 - 2 140 000 000
 

Attachments

  • Log scale until pop 295 after which it overflows.png
    Log scale until pop 295 after which it overflows.png
    10.6 KB · Views: 76
  • Linear scale until pop 295 after which it overflows.png
    Linear scale until pop 295 after which it overflows.png
    11 KB · Views: 85
  • Log scale until pop 100.png
    Log scale until pop 100.png
    11.1 KB · Views: 164
  • Linear scale until pop 100.png
    Linear scale until pop 100.png
    10.8 KB · Views: 183
  • Log scale until pop 50.png
    Log scale until pop 50.png
    10.5 KB · Views: 157
  • Linear scale until pop 50.png
    Linear scale until pop 50.png
    11.4 KB · Views: 165
Last edited:
  • Like
Reactions: tmv
Never mind rising sea levels - a city of 2 billion would sink under the weight.

Is it possible in-game to get to size 295? From personal experience I know that 150 is doable, and I'm only in Information Era so... (ok I have to say it every time, my version is very old so should not be taken as a guide etc etc)

I strongly suggest that some figure of around 100 million be set as the highest that you can expect to reach, perhaps even reducing the increments after this to something tiny like 100,000 or less. Given that our cities tend to grow more utopic than dystopic, even 100 million seems like too many. Or are we staying permanently on our holodecks and completely unaffected by physical reality?
 
Cities with 2 billion people make sense if we have a Coruscant-like ecumenopolis that supposedly holds trillions.
 
Last edited:
Ecumenopolis: planetwide city. Our cities cannot even form conurbations because of the laws of physics maintaining huge gaps in between;).

Secondly, Coruscant is a mess: net :mad: would be maybe a million.

Thirdly, Lucas and his peeps seldom if ever treated the minutiae of "their" galaxy with sufficient respect, often ignoring the consequences of their 'big-picture' creativity. We cannot afford to do likewise (plus we're all nerds with an insatiable appetite for the tedious and seemingly unimportant...:p)
 
take a look at the most densely populated cities, how they manage to get that density to work, and see if there's a way to extrapolate how much denser it could get, I guess at a certain point digging Down for living space would also become the norm and standard, at first for the lower class that keeps the city running, and later also those that would have a decent income, but besides that there's also the logistical picture, How can one feed and Clothe that many people, without it destroying the planet within years
 
Those of us who study cities for a living define a city (roughly) as a continuously built up urban region that is a unified labor market, which means that from any point in the "city", a person should reasonably be able to commute to the central business district. This definition is starting to get stretched now that more cities are moving toward a more polycentric structure (that is, several employment subcenters), but usually there is a well-defined central business district. This definition has nothing to do with the formal political definition of a city, which is usually arbitrary. Think of cities as metropolitan areas instead.

All throughout history up to the present day, the most important limiting factor on city size is transportation infrastructure. Ancient cities were limited primarily by feasible walking commutes and secondarily by the need for defensive walls. Ancient Rome and other ancient megacities had very high population densities by modern standards, so much that severe traffic congestion (from pedestrians!) was a major problem. Transportation of goods is as important as transportation of people, and the logistics of bringing food and water into a city were also limiting factors to urban growth.

Contrary to common perception, density per se is not a significant limiting factor. The New York metropolitan area could easily house 100 million people in midrise apartments. But transportation would not work in that scenario.

Historically, major waves of urbanization have been driven by advanced in transportation. First, carriages, second, streetcars, and third, automobiles each brought about waves of expansion and lowered population density. Declining population density is a necessity, because faster transportation technologies also require more space, both in terms of the vehicle itself and in terms of greater road area swept out as the vehicle travels larger distances. Speed makes commutes longer, not faster. There is a principle known as Marchetti's constant which observes that in cities from the Neolithic to the present, city sizes are oriented around a half hour average commute.

Cities provide enormous external value. The wealth they create grows superlinearly in population in a phenomenon that economists call agglomeration economies, which is why people are willing to concentrate in the most prosperous cities despite the negative externalities of traffic congestion and other problems. The central cities of a nation or empire typically grow to the largest population they can while still being functional for this reason.

Today, the largest cities are in the tens of millions of people, and that is the highest possible with automobiles and conventional transit infrastructure. The largest metros such as New York City, Los Angeles, London, Moscow, etc. cannot expand out much farther because their exurbs are already at the upper limit of feasible commute time, and they cannot densify much or else they will choke on traffic congestion. Hence traffic congestion and housing prices are growing world problems.

This isn't meant to be fatalistic. Cities can still make smarter investments such as bus rapid transit, better dispersion of employment subcenters, and strategic upzoning on high capacity transit corridors to increase population and general functionality. In the long run, though, better technology is the answer to urban challenges.

I added the Megacities tech to model a new wave of urban expansion brought about by more extensive high speed rail networks, self-driving cars, and greater levels of telecommuting. Today China is planning an urban agglomeration in the Pearl River Delta (the newly opened bridge is part of that project) that will bring up to 100 million people into a single unified urban labor market.

By the end of the Nanotech Era, flying cars and supersonic rails are common and cities can stretch hundreds of miles and house a billion people. By the end of the Transhuman Era, gravtrains and virtual transportation via mind uploading make a planet city, housing 100 billion people or more, feasible. In later eras, cities can span regions much larger than Earth. There is also the question of whether our "population" counts ems and other noncorporeal beings.

Getting back to game mechanics, there is the sticky issue that "cities" off Earth are not cities in the sense described above. By the end of the game a city can span billions of light years. If we restrict our attention to Earth, I don't see a good way to model the conurbation effects that come with better technology, and there isn't ever really an ecumenopolis in the sense of a single city. But I nevertheless think that allowing cities with billions of people in the future eras makes perfect sense. At least, it is no more far-fetched than anything else in the future eras.
 
Back
Top Bottom