User Activity

  • Posted a comment on discussion Python Scripting on DWSIM - Open Source Process Simulator

    That worked! Thanks a lot Daniel! For the record, one may need to register this new System.Buffers.dll in order to add a reference to it in a python code.

  • Posted a comment on discussion Python Scripting on DWSIM - Open Source Process Simulator

    I added reference to System.Buffers.dll, but I still got the same issue: Traceback (most recent call last): File "C:\Users\lfsfr\Desktop\pyDWSIMopt\examples\SMR_LNG\bug_LoadFlowsheet.py", line 33, in <module> flowsheet = interf.LoadFlowsheet(path2sim) System.IO.FileNotFoundException: Não foi possível carregar arquivo ou assembly 'System.Buffers, Version=4.0.2.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' ou uma de suas dependências. O sistema não pode encontrar o arquivo especificado. em SkiaSharp.SKManagedStream.CopyTo(SKWStream...

  • Posted a comment on discussion Python Scripting on DWSIM - Open Source Process Simulator

    Hey all, I just updated DWSIM from version 7 to 7.1.2, and I am facing an issue with DWSIM.Automation.Automation2.LoadFlowsheet when loading a DWSIM simulation into my Python package. It was working properly right before updating. Does anybody have the same issue? I am pasting the error verbose here: FileNotFoundException: Não foi possível carregar arquivo ou assembly 'System.Buffers, Version=4.0.2.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' ou uma de suas dependências. O sistema não pode...

  • Posted a comment on discussion Python Scripting on DWSIM - Open Source Process Simulator

    Perhaps the answer is in my previous comment: there must be only one instance of automation manager for multiple flowsheet objects. from DWSIM.Automation import Automation2 if ('interf' not in locals()): # create automation manager interf = Automation2() flowsheet1 = interf.LoadFlowsheet('path/to/simulation1') flowsheet2 = interf.LoadFlowsheet('path/to/simulation2') That worked for me.

  • Posted a comment on discussion Python Scripting on DWSIM - Open Source Process Simulator

    Hey Vikram Sundara, Have you figured out how to solve this issue with Automation2()? I am facing the same problem whenever I try to instanciate a second interface object with Automation2().

View All

Personal Data

Username:
lf-santos
Joined:
2021-12-06 22:42:22.926000

Projects

  • No projects to display.

Personal Tools