[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4688: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4690: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4691: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4692: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
CAPE-OPEN • View topic - Controlling Pressure to Condense
Page 1 of 1

Controlling Pressure to Condense

PostPosted: 14 March 2021, 04:35
by toshibe
Hello, everyone.

I'm now trying to simulate a very simple liquefaction process of Ammonia as attached.
It's just single process but it is necessary to adjust manually the pressure so that the compressed
vapor is fully condensed in the cooler(condenser) according to the given condensing temperature.
Then, I have involved one set of "MeasureUnit" and "Controller" to obtain the condensing pressure
automatically. The connection of information streams and setting of the parameters looks good
but the iteration behaves as if nothing will converges. I have tried various parameters relating to
the iteration but nothing is improved. There seems to be still something wrong.

Actually I have tried the similar process of LPG and confirmed much better behavior of the
controller. It has been noted that the initial guess of the controlled variable is a key point to get
better convergence. Then I have tried the same manner for Ammonia but failed to get better
behavior.

Does anyone guide me to proper setting for the "Controller" with Ammonia?

Thank you in advance.

Re: Controlling Pressure to Condense

PostPosted: 14 March 2021, 14:59
by jasper
The controller is doing what it is asked. The vapor fraction is at 1.

What you are looking for is the dew point pressure at 40 C. You could measure the dew point pressure and actual pressure of the stream (or dew point temperature and actual temperature), subtract the two (information calculator) and control the pressure at the compressor so that the difference is zero. As the HeaterCooler does not actually perform a vapor fraction flash, the result will not be exactly at the phase boundary.

Re: Controlling Pressure to Condense

PostPosted: 15 March 2021, 01:23
by toshibe
Thank you very much for your reply.

Accordng to your guidance I have modified the flow sheet and confirmed the behavior what I want.
The modified flow sheet is attached just for reference.

Again thank you for your kind assistance!!

Re: Controlling Pressure to Condense

PostPosted: 15 March 2021, 10:27
by jasper
Glad to hear it.

Re: Controlling Pressure to Condense

PostPosted: 15 March 2021, 10:33
by jasper
(you used the bubble point pressure - is that intended?)

And even simpler solution is to remove the information calculator and controller, and immediately connect the dew point (bubble point?) pressure measurement as input parameter. I attached it for your reference.

Re: Controlling Pressure to Condense

PostPosted: 15 March 2021, 18:54
by toshibe
Thank you for your additional guidance.

Yes, the bubble point has been intended as the preparation for the next simulation with multi component system such as LPG.
My concern is the total refrigerating capacity (thermal load) shown by the energy stream 11 and it is necessary to get the full condensation in the condenser (HeaterCooler_4). So, the bubble point is the better index in the case of multi component system.

In this regard your simpler way with direct connection of the dew point (or bubble point) does not get the full condensation in the condenser. Please have a look at the vapor fraction in the stream 5 or 6.
Then I have implemented an information calculator to give the pressure just slightly higher than the dew point (or bubble point) as shown on the attached file.
Now I can get the total refrigerating capacity with the simpler way you guided.

Thank you again.

Re: Controlling Pressure to Condense

PostPosted: 16 March 2021, 08:46
by jasper

Re: Controlling Pressure to Condense

PostPosted: 16 March 2021, 12:08
by toshibe
I would convey my sincere thanks and appreciation for your informative advice.
I have well noticed my lack of depth of understanding through this issue and then I will try again with your advice.
It is very nice opportunity for me to discuss with you.

Many thanks for your time and help.

Re: Controlling Pressure to Condense

PostPosted: 16 March 2021, 13:38
by jasper
Glad to be of help.