Hi,
I am trying to model a batch reactor in DWSIM using python. I was not able to understand the syntax for ode solver given in example code by Daniel. Can someone just write the code on how to solve ODE with all appropriate import statements? Thank you
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks for replying. What modules should be imported for the above code to run?
I am getting error "name "OdeFunction" not defined". I am working on version 5.7, update 12.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
but can we use other python libraries to extend calculation capabilities?
i mean with scipy one can use odesolver, with numpy one can manage better arrys ... even to elaborate a linear interpolation i am writing by myself the interpolation with python lists (it is time consuming).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I am trying to model a batch reactor in DWSIM using python. I was not able to understand the syntax for ode solver given in example code by Daniel. Can someone just write the code on how to solve ODE with all appropriate import statements? Thank you
https://sourceforge.net/p/dwsim/discussion/scripting/thread/7381a728/#074a
Thanks for replying. What modules should be imported for the above code to run?
I am getting error "name "OdeFunction" not defined". I am working on version 5.7, update 12.
I am still getting the same error: "name "OdeFunction" not defined".
Would be gr8 if u could once see the file.
Try
http://dwsim.inforside.com.br/api_help57/html/N_DotNumerics_ODE.htm
Thank you very much. This solved my problem.
In RungeKutta45 method, what does exception :larger nmax needed means?
but can we use other python libraries to extend calculation capabilities?
i mean with scipy one can use odesolver, with numpy one can manage better arrys ... even to elaborate a linear interpolation i am writing by myself the interpolation with python lists (it is time consuming).