Replies: 2 comments 3 replies
-
Update Installed optional dependencies because I wanted coolprop and randomly reran the flash file and it worked. |
Beta Was this translation helpful? Give feedback.
0 replies
-
@bjl25 This was likely due to a conflict between your version of IDAES and Pyomo - Pyomo has recently deprecated the use of |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I installed IDAES a few days ago and went through all the tutorial content on the Jupyter Notebook with no issues. I then wanted to test run a stand-alone script so copied the Flash_unit model into a stand-alone script and ran it from the conda terminal.
It produced multiple attribute errors such as "ERROR: Rule failed for Expression 'fs.flash.split._Vap_flow_mol_ref' with index 0.0: AttributeError: '_GeneralVarLikeExpressionData' object has no attribute '_expr'"
and
"File ~\AppData\Local\anaconda3\envs\idaesBen\Lib\site-packages\idaes\core\base\var_like_expression.py:68 in set_value if self._expr is None or force:
AttributeError: '_GeneralVarLikeExpressionData' object has no attribute '_expr' "
I also tried the recycling tutorial as well and got the same errors.
Flash_Trial.txt
Beta Was this translation helpful? Give feedback.
All reactions