Page 1 of 1

Heat Exchanger doesn't converge

PostPosted: 10 March 2021, 08:46
by Stephan
I have a co-current heat exchanger configured via LMTD.
However, when setting a value different from 0 W/K it failes to solve
(line search didn't converge).

Re: Heat Exchanger doesn't converge

PostPosted: 11 March 2021, 09:12
by jasper
This is because the LMTD for co-current operation at zero heat transfer asymptotically goes to infinity (1 divided by zero, see here for the definition: https://www.cocosimulator.org/index_hel ... hanger.htm)

Re: Heat Exchanger doesn't converge

PostPosted: 16 March 2021, 08:25
by Stephan
It also doesn't converge for heat transfer values > 0W/K.
Error message is the same as for 0 W/K.

Re: Heat Exchanger doesn't converge

PostPosted: 16 March 2021, 16:29
by jasper
There is a problem with the PH flashes - it is being investigated.

Re: Heat Exchanger doesn't converge

PostPosted: 18 March 2021, 12:16
by jasper
Please edit the Prausnitz COPP property package, and change these solve options:

Tolerance = 1e-9
Iterations = 300

Please confirm that this resolves the issue - default settings for new property packages are under investigation.

Re: Heat Exchanger doesn't converge

PostPosted: 22 March 2021, 09:10
by Stephan
Changing those settings doesn't resolve the issue.

Furthermore, at some flowsheets thoses settings can't be changed.
Whenever I change iteration and accuracy settings within Chemsep
and try to save the file, values are set back to the defaults.
Depending on the file sometimes changing the accuracy only works,
in another file changing the iterations number setting only works.
In some files I can't change any of the 2 settings.

Re: Heat Exchanger doesn't converge

PostPosted: 22 March 2021, 10:09
by jasper
I tried changing the settings myself and it does appear to work for me.

I can also not reproduce settings not restoring properly. If I change the settings and save the file, the changed settings persist correctly.

Can you attach a file and let me know the steps to reproduce the issue of persistence?

Re: Heat Exchanger doesn't converge

PostPosted: 22 March 2021, 15:11
by Stephan
Pressing the Solve Button produces the calculation error.

When klicking Settings->Property packages-> Prausnitz->Solve Options
and setting accuracy from 1E-6 to 1E-9 it reverts back when saving the Chemsep file.

Re: Heat Exchanger doesn't converge

PostPosted: 24 March 2021, 10:21
by jasper
Can you check that this is the right document? This one has 3 embedded flowsheets and an incomplete thermo configuration - I was expecting something with a heat exchanger.