Liquid density calculation

Discusses use of COCO, the process simulation and modelling software suite from AmsterCHEM, downloadable from http://www.cocosimulator.org

Moderator: jasper

Liquid density calculation

Postby Usseglio » 04 December 2014, 13:35

Hi Jasper,

I am having inconsistency to calculate liquid density in COFE.
Density for liquid phase is calculated = zero.

All the compounds involved are new added from PCD.
Liquid density is set up by T- correlation (I double checked the equations ...).

In COFE, inside flowsheet configuration, property package definition, I am setting up the following:

For density liquid: Amagat
For density/volumen liquid: temperatura correlation.

Do you have any idea where I am doing wrong ?

Thanks,

Marcelo
Usseglio
 
Posts: 34
Joined: 23 November 2012, 14:16

Re: Liquid density calculation

Postby jasper » 04 December 2014, 14:56

Can you send me an example fsd file that shows this behaviour?

Thanks.
User avatar
jasper
 
Posts: 1128
Joined: 24 October 2012, 15:33
Location: Spain

Re: Liquid density calculation

Postby Usseglio » 04 December 2014, 19:32

What I found is that if I remove Air from the compound list, liquid density is calculated correctly, if I add Air, then liquid density recalculate a wrong value of liquid density.
Usseglio
 
Posts: 34
Joined: 23 November 2012, 14:16

Re: Liquid density calculation

Postby jasper » 05 December 2014, 07:52

Can you send me an example?
User avatar
jasper
 
Posts: 1128
Joined: 24 October 2012, 15:33
Location: Spain

Re: Liquid density calculation

Postby Usseglio » 05 December 2014, 17:41

Please find attached an example.
Attachments
EntOil2.fsd
(450.86 KiB) Downloaded 684 times
Usseglio
 
Posts: 34
Joined: 23 November 2012, 14:16

Re: Liquid density calculation

Postby jasper » 05 December 2014, 19:59

The calculation of liquid density for air results zero. Hence, the liquid volume is infinite. The entire phase volume becomes infinite, with the entire phase density thus zero again.

The Air correlation is evaluated extremely far outside of its validity range and evaluates to A/infinity.

I suggest you do not use the Air liquid density temperature correlation for this case.

In Configure|Property Calculations, change the pure compound liquid densities to "Compound defined"; then in Configure|Compounds, leave the liquid density for all compounds to T-correlation, except Air, change it to for example Rackett.

That should solve the problem.

I do not see a more generic way to "ease the pain" of extrapolation of arbitrarily shaped compound temperature correlations that far out of their range of validity.
User avatar
jasper
 
Posts: 1128
Joined: 24 October 2012, 15:33
Location: Spain

Re: Liquid density calculation

Postby Usseglio » 09 December 2014, 12:13

Thank you Jasper.
It is a good way to overcome the issue.
Usseglio
 
Posts: 34
Joined: 23 November 2012, 14:16

Re: Liquid density calculation

Postby Usseglio » 13 December 2014, 22:32

Jasper,

I think that from last revisión of COFE the following action (I copied from a former reply ) is no longer available:

" ...In Configure|Property Calculations, change the pure compound liquid densities to "Compound defined"; then in Configure|Compounds, leave the liquid density for all compounds to T-correlation, except Air, change it to for example Rackett ... "

Thanks,

Marcelo
Usseglio
 
Posts: 34
Joined: 23 November 2012, 14:16

Re: Liquid density calculation

Postby jasper » 14 December 2014, 08:34

Which part?

1) If you go into the TEA property configuration, you can manually add the property "density / volume (pure)", or this will automatically be added in case a mixture density routine is configured that requires it, such a Amagat.
2) Then, one of the "density / volume (pure)" options for the liquid phase is "Compound defined".
3) Once that is selected, the Compounds tab will have a column "Liquid density". A drop down is available for each compound, which defaults to "T correlation" if available. If you click on the drop down, several options are available, including Rackett and Hankinson/Thompson (aka COSTALD).

At which part are you getting stuck?
User avatar
jasper
 
Posts: 1128
Joined: 24 October 2012, 15:33
Location: Spain

Re: Liquid density calculation

Postby Usseglio » 14 December 2014, 14:00

My apologies ..., my mistake.
I was setting up in density pure Rackett method instead of compound defined, then density property was not appearing.

Sorry ...!!

The only thing is that when I executed CUP to get last revisión, it did not remain the same property package configuration for TEA that, I set up prior to update COFE.

Anyway, thanks for your always promp reply !!
Usseglio
 
Posts: 34
Joined: 23 November 2012, 14:16

Next

Return to COCO (AmsterCHEM)

Who is online

Users browsing this forum: No registered users and 10 guests