Menu

Run simulation from external Python script

Jordy
2020-05-10
2020-05-11
  • Jordy

    Jordy - 2020-05-10

    Hi!

    Does anyone know whether it is possible to run a DWSIM simulation by an external Python script?

    The goal is to use a model of a chemical process as a reinforcement learning environment, so a Python program is pusing setpoints to the DWSIM simulator, the DWSIM simulator is running for a certain time interval, then the DWSIM simulator pushes back process variables to the Python program. And this is repeated over and over again.

     
  • Daniel Medeiros

    Daniel Medeiros - 2020-05-10

    Hi,

    You can try running DWSIM through Python.NET.

     
  • Jordy

    Jordy - 2020-05-11

    Thank you!
    I now find more posts in this forum about the topic.
    Will try to figure out how to do it from there.