I'm working on a simple python script that executes two different "flash operations" from within the material stream itself using the Peng-Robinson 1978 property package. Some speciffic compositions haven't converged and others appeared to have some convergence issue due to high tolerance.
On that note, I would like to know if it is possible to set a new tolerance and/or iteration value from inside the python code just as it's shown on the attached image from the DWSIM aplication. Also attached, is a code snipet out of context that exemplifies what I'm trying to accomplish (Importing the files from the DWSIM on my machine, setting values inside a material stream and calculating).
Good afternoon,
I'm working on a simple python script that executes two different "flash operations" from within the material stream itself using the Peng-Robinson 1978 property package. Some speciffic compositions haven't converged and others appeared to have some convergence issue due to high tolerance.
On that note, I would like to know if it is possible to set a new tolerance and/or iteration value from inside the python code just as it's shown on the attached image from the DWSIM aplication. Also attached, is a code snipet out of context that exemplifies what I'm trying to accomplish (Importing the files from the DWSIM on my machine, setting values inside a material stream and calculating).
Thanks in advance.
Hi Jonathan,