Hi daniel,
How we can use DWSIM thermodynamic package within python.net UO. I tried the example using cantera, it works perfectly. However when i use DWSIM.Thermodynamics (from DWSIM.Thermodynamics import *) it doesn't work properly and i can't get the outlet stream properties of the UO at equilibrium.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
how can we call CoolProp function in Script ?
let say i want to use
PropSI() function.
do i need to add
new coolprop module ?
With the IronPython parser you can do the following:
thank it work.
i have another question about coolprop.
how can i use fluid in coolprop database like DowJ (that i cant find in compound list DWSIM ) as component in my flowsheet.?
I believe that it isn't possible if the component name is not on this list: http://www.coolprop.org/fluid_properties/PurePseudoPure.html#list-of-fluids
what if the fluid is incompressible fluid that on this list
http://www.coolprop.org/fluid_properties/Incompressibles.html
Unfortunately the incompressible fluid interface is not exposed to C#/VB as of the current CoolProp version.
Hi daniel,
How we can use DWSIM thermodynamic package within python.net UO. I tried the example using cantera, it works perfectly. However when i use DWSIM.Thermodynamics (from DWSIM.Thermodynamics import *) it doesn't work properly and i can't get the outlet stream properties of the UO at equilibrium.
I would need a code sample to check what you've did wrong.