User Activity

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

    Hello, So the issue was that the installed Python interpreter on the workstation was 32-bit instead of 64-bit. Now everything works!

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

    Yes, I can open DWSIM.UI.Desktop.exe manually.

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

    Hi Daniel, Yes, I set it to the right folder, the code can access all the .dll files that I reference, the error occurs only when I call interf = Automation2(). This is my code: import pythoncom pythoncom.CoInitialize() import clr from System.IO import Directory, Path, File from System import String, Environment dwsimpath = "C:\\Users\\alfonso.villegas\\AppData\\Local\\DWSIM7\\" Directory.SetCurrentDirectory(dwsimpath) clr.AddReference(dwsimpath + "CapeOpen.dll") clr.AddReference(dwsimpath + "DWSIM.Automation.dll")...

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

    Hi Daniel, Yes, I set it to the right folder, the code can access all the .dll files that I reference, the error occurs only when I call interf = Automation2(). This is my code: import pythoncom pythoncom.CoInitialize() import clr from System.IO import Directory, Path, File from System import String, Environment dwsimpath = "C:\\Users\\alfonso.villegas\\AppData\\Local\\DWSIM7\\" clr.AddReference(dwsimpath + "CapeOpen.dll") clr.AddReference(dwsimpath + "DWSIM.Automation.dll") clr.AddReference(dwsimpath...

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

    Hello, I am unfortunately still blocked on this issue... I've tried looking for ways to solve this for the past few days but I have not made any progress. I would really appreciate any hint on how to solve this. Here are a few more information from the Assembly binding log: Message=Could not load file or assembly 'DWSIM.UI.Desktop, Version=7.5.5.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified. File name: 'DWSIM.UI.Desktop, Version=7.5.5.0,...

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

    Hello, I just changed my workstation and I am now operating on Windows 10 Pro, using Microsoft Visual Studio 2019. Both my old code or the example code snippet to create a flowsheet using Python give the same error: Message=Could not load file or assembly 'DWSIM.UI.Desktop, Version=7.5.5.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified. at DWSIM.Automation.Automation2..ctor() Source=C:\Users\alfonso.villegas\source\repos\PythonApplication2\PythonApplication2\PythonApplication2.py...

  • Posted a comment on discussion Mac Platform (New UI) on DWSIM - Open Source Process Simulator

    Hi Daniel, Here are both screenshots.

  • Posted a comment on discussion Mac Platform (New UI) on DWSIM - Open Source Process Simulator

    Hello Daniel, I still have an issue with the setup element matrix... I always get an error saying that the Element Matrix is not defined for my Gibbs reactor. With the new version, I can now open the Element Matrix but the Matrix is completely empty, showing only the name of only one of the reacting compounds and not showing the compound elements either. Also, if I click on "reset" the element matrix, the application crashes. I attach here the errors.log file. Thank you for your amazing work and...

View All

Personal Data

Username:
alfonsovillegas
Joined:
2021-11-19 10:22:52

Projects

  • No projects to display.

Personal Tools