-
Hello everyone, I have a problem with Solving the flowsheet PEM Fuel Cell in DWSIM. When I try to 'Solve' the following error shows up: This error was raised during the calculation of a Unit Operation or Material Stream. Python.Runtime.PythonException: cannot import name 'Power_Calc' from partially initialized module 'opem.Static.Amphlett' (most likely due to a circular import) (C:\Users\camil\AppData\Local\DWSIM\python_packages\opem\Static\Amphlett.py) Does someone know how to solve it or experienced the same issue? Thank you |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
@camiearth do you have OPEM installed in your python distro? |
Beta Was this translation helpful? Give feedback.
-
Yes, I downloaded Python 3.8 and DWSIM 8.5 and then I added the path: C:\Users\camil\AppData\Roaming\Python\Python38\site-packages\opem in the general settings of DWSIM and -Solve- the flowsheet but for some reason does not work. I believe I do something wrong |
Beta Was this translation helpful? Give feedback.
We are already on DWSIM 8.8.0. Also, you must add a reference to the path that contains python3.dll, and this python environment should not contain OPEM because DWSIM already has its own.