-
Notifications
You must be signed in to change notification settings - Fork 146
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
TypeError on iterative models #71
Comments
After investigating this further, could this be because the iterations param is set to None in the Should the default param be changed from None to 100 (or some number) |
FYI, for anyone else facing the same issue, the solution is here: #58. Some workbooks don't have iterative calculations enabled and, as noted above, this causes an error if you try to run an evaluation unless you override the workbook's default iterative solver settings. Per the comments to the merge I linked to above: 1) When you instantiate the compiler, set cycles=True:
2) Then you have to add two new parameters to evaluate( ):
This worked for me as of 8/26/2021 using Pycel v 1.0b27 |
I have tested this issue on multiple complex models that use iterations and keep coming up against this error.
Any advice or suggestions would be helpful on why this error occurs,
The text was updated successfully, but these errors were encountered: