Closed msakai closed 3 years ago
@msakai a special procedure was added to handle azeotropes, not sure if it is included in DTL v6.3.
If you mean the commit 60c2877f5c98d1f3aaaa412baa98a1a335ea75ab, it is in included in v6.1 and newer tags, and DTL_v6.3.7634
is based on DWSIM v6.3 according to its CHANGELOG.txt
.
Anyway, it seems the newly released DTL_v6.5.0 does not have the problem. Thank you for releasing the new version!
@msakai I always do some work in the flash algorithms, maybe it was something I did after that.
Describe the bug
I'm trying to use
DTL_v6.3.7634
and I encountered a case where the PV Flash calculation alternated between two values (T = 337.027167079011
andT = 338.027167079011
) and did not converge.I guess such non-convergence is not a bug, but I report it just in case it might be useful for future development.
To Reproduce
Run the following C# program.
I got the following result:
Expected behavior
I expect the computation converged without making
PTFlash_Maximum_Number_Of_External_Iterations
too big orPVFlash_MaximumTemperatureChange
too small.Desktop (please complete the following information):