in the attached flowsheet the feed is 100 m3/h water at 5.75 % vol Ethanol, corresponding approx to 4.57 % mass fraction.
If I run the script after model run, I get both Ethanol volumetric fraction and volumetric flow 0.0 in all streams.
I think that the volumetric flow property is only calculated for phases, not for the overall mixture... try getting properties from the LIquid1 phase instead.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The following uses the rigorous definition for the calculation of partial molar volumes. I've probably implemented it only for PR and SRK property packages... can you create a ticket so I can implement it on the next update? Thanks!
I hand back-calculated the vol fractions between 2 known EtOH % vol and solution densities (i.e 5.75 %vol density 990.1 and 6.5 % vol density 989.1) and found an error 7.5%.
May be this deviation is due to volume contraction of the Aq-EtOH mixtures.
I will open the ticket as you mentioned.
Thanks.
Luca
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello Daniel,
in the attached flowsheet the feed is 100 m3/h water at 5.75 % vol Ethanol, corresponding approx to 4.57 % mass fraction.
If I run the script after model run, I get both Ethanol volumetric fraction and volumetric flow 0.0 in all streams.
What am I doing wrong?
Thanks for the help.
Luca
I think that the volumetric flow property is only calculated for phases, not for the overall mixture... try getting properties from the LIquid1 phase instead.
Thanks Daniel, I tried this but it still did not work
How can I retrieve the pure Ethanol liquid density (at T&P) in order to calculate the % vol from the % weight?
Thanks
Luca
The following uses the rigorous definition for the calculation of partial molar volumes. I've probably implemented it only for PR and SRK property packages... can you create a ticket so I can implement it on the next update? Thanks!
Last edit: Daniel Medeiros 2019-09-11
Thanks Daniel for this good suggestion.
I have only a doubt: I think that the last part of your calc shoud be:
do you agree?
I hand back-calculated the vol fractions between 2 known EtOH % vol and solution densities (i.e 5.75 %vol density 990.1 and 6.5 % vol density 989.1) and found an error 7.5%.
May be this deviation is due to volume contraction of the Aq-EtOH mixtures.
I will open the ticket as you mentioned.
Thanks.
Luca
You're right. The second stream (cloned) is used only to calculate pmv_e, all the other properties should be taken from the original stream.
The deviation is indeed due to mixing effects, and will vary according to the method you've used to calculate mixture density.
Thanks for the ticket!
Daniel