News:

Want to praise Simutrans?
Your feedback is important for us ;D.

Tiny cities with huge populations

Started by Carl, June 24, 2010, 10:46:39 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Carl

I've been trying to generate maps with very large cities (several hundred thousand citizens). Sometimes when I generate these maps in Experimental I get tiny cities (by area -- say 6x6 squares) with huge populations. Sure, they are densely populated, but there are plenty of other cities on these maps with huge densely populated areas but with much smaller populations.

I'm not certain that this is specifically an Experimental issue, but I haven't encountered it in the main version. I should note that I have the new "density regulator" option in simuconf turned off.

Is this a bug? What causes it?

jamespetts

Jha,

welcome to the forums! Thank you for your interest in Simutrans-Experimental. High density cities can be caused by cities being built in difficult terrain where it is not easy to expand. In recent versions of Simutrans-Experimental, there is also a change to the way in which city density is calculated, such that settings in paksets governing city density may be non-optimal (however, that would tend to result in lower, rather than higher, densities).

Might I ask: what pakset are you using? What is the "renovation_percentage" in cityrules.tab?
Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.

Carl

#2
Thanks for the welcome!

To clarify, the issue was not the density per se, but rather the fact that a city measuring only 6x6 was recorded as having 450,000 inhabitants while larger and just as dense cities had lower populations.

I'm using pak64, and Renovation percentage is 12.

jamespetts

I have not noticed this issue before. What were the "unemployed" and "homeless" numbers in these cities, and what version of Experimental are you using?
Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.

Carl

The version is 102.3 8.1.

I've just recreated the problem on another map. I have a tiny city with 7 buildings and a population of 4,144,872. Not surprisingly, 4,143,632 of those are homeless and 4,143,592 are unemployed.

jamespetts

Hmm, this is rather odd. Can you let me know what map generation parameters that you were using?
Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.

Carl

Mostly, the problems occurred when using very high median city sizes - 200,000, 400,000. But I've also noticed them occur with lower median sizes, e.g. 10,000 and 20,000.

Sometimes it seems like the game has generated a city in a particular spot, but then found that it does not have sufficient space to make a city of the size required to house so many people -- so we end up with a small-sized city with many homeless But since I have no knowledge of the generation process, this is just a hypothesis.

jamespetts

Quote from: jha4ceb on June 26, 2010, 01:29:14 PM
Mostly, the problems occurred when using very high median city sizes - 200,000, 400,000. But I've also noticed them occur with lower median sizes, e.g. 10,000 and 20,000.

Sometimes it seems like the game has generated a city in a particular spot, but then found that it does not have sufficient space to make a city of the size required to house so many people -- so we end up with a small-sized city with many homeless But since I have no knowledge of the generation process, this is just a hypothesis.


Ahh, I suspect that your hypothesis is correct. It is very unusual to have median city sizes in five figures, and the city building routine is indeed limited by terrain. This is not, therefore, a Simutrans-Experimental specific issue.
Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.

Dutchman on Rails

I've seen this kind of problem before. In my mountainous terrain, sometimes cities end up boxed in (no more roads can be built without raising or lowering land. The town continues to grow, but (almost) all of the citizens are added to the homeless pool. As far as I can tell, there is no check to stop city growth if the number of homeless becomes too great.

The workaround I found was to raise/lower strategic corners of the land so that the town can build roads on the newly created flat land/slopes. After that it should expand to accommodate the homeless people.

Carl

That seems like a good strategy.

Also, I think I should stop trying to generate maps with very large cities!

Dutchman on Rails

Maps with large cities should be alright, but... As long as there's no cap on the homeless number prohibiting growth, they need the room to expand. If you keep your cities spaced well apart and in fairly flat landscape, they should have plenty of room to expand into.