-
Notifications
You must be signed in to change notification settings - Fork 276
Closed
Labels
Priority:NormalNormal Priority Issue or PRNormal Priority Issue or PRWaterTAPbugSomething isn't workingSomething isn't workingdiagnostics
Description
I am getting the following error when I try running report_numerical_issues()
from the DiagnosticToolbox. I should note that this was working fine until I updated my WaterTAP environment--just haven't taken the time to identify potentially problematic dependencies.
Traceback (most recent call last):
File "c:\redacted.py", line 450, in <module>
dt.report_numerical_issues()
File "C:\redacted\lib\site-packages\idaes\core\util\model_diagnostics.py", line 1501, in report_numerical_issues
warnings, next_steps = self._collect_numerical_warnings(jac=jac, nlp=nlp)
File "C:\redacted\lib\site-packages\idaes\core\util\model_diagnostics.py", line 1246, in _collect_numerical_warnings
par_cons = check_parallel_jacobian(
File "C:\redacted\lib\site-packages\idaes\core\util\model_diagnostics.py", line 3778, in check_parallel_jacobian
maxval = max(np.abs(vec.data))
ValueError: max() arg is an empty sequence
Metadata
Metadata
Assignees
Labels
Priority:NormalNormal Priority Issue or PRNormal Priority Issue or PRWaterTAPbugSomething isn't workingSomething isn't workingdiagnostics