[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
CAPE-OPEN • View topic - Compounds Equilibrium calculations

Compounds Equilibrium calculations

Moderator: jasper

Compounds Equilibrium calculations

Postby Vanessa » 20 December 2021, 14:18

Hi

I am doing, mineral processing simulation and I had to add some compounds on my own. I was able to create a package in TEA but my challenge is of the compounds added, cobalt sulphate and sodium metabisulfite show the following error when I try to add them as feed streams.

"Failed to calculate feed stream: CalcEquilibrium failed: CalcEquilibrium failed: CalcEquilibrium failed: TP flash failed: Failed to obtain vaporPressure for compound Sodium Metabisulfite"

How can I correct this error? I have attached the flowsheet.
Attachments
Cobalt processing.fsd
(15.15 KiB) Downloaded 17774 times
Vanessa
 
Posts: 12
Joined: 26 January 2021, 16:22

Re: Compounds Equilibrium calculations

Postby jasper » 20 December 2021, 15:23

You are using NRTL for the liquid. This implies that the fugacity is calculated from the saturated vapor fugacity and the activity contribution. Therefore the vapor pressure must be known.

If these compounds can only appear in the liquid phase - just make the vapor pressure really low (e.g. a constant, 1e-100):

Screenshot 2021-12-20 164451.png
Screenshot 2021-12-20 164451.png (7.69 KiB) Viewed 182650 times


Same for cobalt sulphate. Then select T-correlation to be used for vapor pressure:

Screenshot 2021-12-20 164130.png
Screenshot 2021-12-20 164130.png (16.37 KiB) Viewed 182650 times


Unless these compounds to appear in a solid phase (and only in solid)? In this case, vapor pressure is not needed - all that is needed is density, enthalpy and entropy contributions:

[link]https://www.cocosimulator.org/index_help.php?page=TEA/solidonly.htm[/link]
User avatar
jasper
 
Posts: 1128
Joined: 24 October 2012, 15:33
Location: Spain

Re: Compounds Equilibrium calculations

Postby Vanessa » 20 December 2021, 20:15

Thank you for the information. These compounds should only appear in the liquid phase. I have entered data for the vapour pressure but I am still getting the following error.
Vanessa
 
Posts: 12
Joined: 26 January 2021, 16:22

Re: Compounds Equilibrium calculations

Postby Vanessa » 20 December 2021, 20:17

.
Attachments
Annotation 2021-12-20 223105.png
Annotation 2021-12-20 223105.png (10.72 KiB) Viewed 182646 times
Vanessa
 
Posts: 12
Joined: 26 January 2021, 16:22

Re: Compounds Equilibrium calculations

Postby jasper » 21 December 2021, 07:50

Did you both enter vapor pressure data for these compounds, and select the vapor pressure routine for these compounds as shown in above images?
User avatar
jasper
 
Posts: 1128
Joined: 24 October 2012, 15:33
Location: Spain

Re: Compounds Equilibrium calculations

Postby Vanessa » 21 December 2021, 15:39

Yes, I did. I have attached the flowsheet.
Attachments
Cobalt processing.fsd
(15.29 KiB) Downloaded 12492 times
Vanessa
 
Posts: 12
Joined: 26 January 2021, 16:22

Re: Compounds Equilibrium calculations

Postby jasper » 22 December 2021, 08:01

Please make sure to also select the temperature correlations:

Screenshot 2021-12-22 092322.png
Screenshot 2021-12-22 092322.png (15.2 KiB) Viewed 182605 times
User avatar
jasper
 
Posts: 1128
Joined: 24 October 2012, 15:33
Location: Spain

Re: Compounds Equilibrium calculations

Postby Vanessa » 22 December 2021, 09:14

Thank you. It is now working after selecting Lee Kesler.
Vanessa
 
Posts: 12
Joined: 26 January 2021, 16:22

Re: Compounds Equilibrium calculations

Postby jasper » 22 December 2021, 11:22

I suggest you do not use Lee Kessler for these compounds. Use the T Correlation instead, as you have defined it (a small value). With Lee Kessler you will probably find that a significant amount of these compounds will go to the vapor phase.
User avatar
jasper
 
Posts: 1128
Joined: 24 October 2012, 15:33
Location: Spain


Return to TEA Thermodynamic server (AmsterCHEM)

Who is online

Users browsing this forum: No registered users and 1 guest

cron