-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mismatch on Figure 7.38 #67
Comments
We should test what we get if we solve the system like them, i.e. with a simple Euler method with fixed step size of 5 years. |
The solution returned by the The changes have been made under
Fixed step size of 5 : Fixed step size of 50 : |
Yes, @piluc and I also verified this independently. |
There must be an error in the book, since our Figure agrees with the one of pyworld3. |
To illustrate what @natema mentioned, here is the comparison of fig 7.38.
|
Since the general agreement is that our code is now returning the correct plot, I'm closing this issue. |
For future reference, the same mismatch is present in Figure 7.39 as well. |
In Figure 7.38, starting from around year 2050, the plot of the variable
pop
is under the plot of the variableiopc
(cf. right subfigure attached below). Instead, following the book figure,pop
should be overiopc
(cf. left subfigure attached below).This issue persists after considering different solvers.
In the following, we provide a minimum reproducing example.
For sanity check, we also provide herafter the
DYNAMO
code snippet from the book chapter.The text was updated successfully, but these errors were encountered: