Heat Exchanger doesn't converge

Moderator: jasper

Post Reply
Stephan
Posts: 46
Joined: 15 July 2020, 08:16

Heat Exchanger doesn't converge

Post 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).
Attachments
test HEX.fsd
(20.29 KiB) Downloaded 820 times
User avatar
jasper
Posts: 1129
Joined: 24 October 2012, 15:33
Location: Spain
Contact:

Re: Heat Exchanger doesn't converge

Post 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)
Stephan
Posts: 46
Joined: 15 July 2020, 08:16

Re: Heat Exchanger doesn't converge

Post by Stephan »

It also doesn't converge for heat transfer values > 0W/K.
Error message is the same as for 0 W/K.
User avatar
jasper
Posts: 1129
Joined: 24 October 2012, 15:33
Location: Spain
Contact:

Re: Heat Exchanger doesn't converge

Post by jasper »

There is a problem with the PH flashes - it is being investigated.
User avatar
jasper
Posts: 1129
Joined: 24 October 2012, 15:33
Location: Spain
Contact:

Re: Heat Exchanger doesn't converge

Post 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.
Stephan
Posts: 46
Joined: 15 July 2020, 08:16

Re: Heat Exchanger doesn't converge

Post 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.
User avatar
jasper
Posts: 1129
Joined: 24 October 2012, 15:33
Location: Spain
Contact:

Re: Heat Exchanger doesn't converge

Post 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?
Stephan
Posts: 46
Joined: 15 July 2020, 08:16

Re: Heat Exchanger doesn't converge

Post 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.
Attachments
test HEX2.fsd
(83.67 KiB) Downloaded 864 times
User avatar
jasper
Posts: 1129
Joined: 24 October 2012, 15:33
Location: Spain
Contact:

Re: Heat Exchanger doesn't converge

Post 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.
Post Reply

Return to “COUSCOUS Unit Operations (AmsterCHEM)”