References:
Simulate the model from 1900 until 2100, and display the same variables as in the book Limits to Growth: The 30-Year Update at page 169:
The results obtained are not exactly the same as those shown in the book Limits to Growth: The 30-Year Update due to the integration algorithm in use. Most Modelica simulation environments uses by default a variable-step / variable-order DASSL algorithm, whereas STELLA, just like the older Dynamo software, uses by default a fixed-step Euler algorithm with a step size of 1 time unit.
A second even more important difference is that my Modelica code treats all variables as real-valued floating-point numbers, whereas the STELLA model treated some variables (e.g., population) as integers, whereas it treated other variables as fixed-point variables with only two significant digits after the comma. This led to a quite noticeable quantization error.
As I didn't see any good reason for unnecessarily mutilating the capabilities of the Modelica simulation environment, I decided not to replicate these features of the STELLA code here.