-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d7d9749
commit 7bbb637
Showing
1 changed file
with
4 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7bbb637
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@BenPortner, the critical phase hook turned out to be problematic for several mixtures in biorefineries since some liquid components are supposed to be liquid when part of a mixture (the mixture critical point is different than the pure component critical point). To force components to use gas phase when the temperature is above the pure component critical point, please run the following:
Thanks
7bbb637
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@yoelcortes Doesn't the hook decide the phase for each chemical individually? If yes, one chemical's liquid state should not be affected by another chemical's supercritical state. Are you sure there isn't another problem here?
7bbb637
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ohh, I meant that some supercritical components are not actually supercritical when in a mixture, so letting those use liquid volumes (among other properties) is needed. A better long term solution is to use mixture equations of state, but that's still not in BioSTEAM's capabilities...
7bbb637
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see. How about going back to using the maximum of all critical temperatures in the mixture? I expect that Tc,mix <= max(Tc,i) for all chemicals i in the mixture?
7bbb637
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@BenPortner, that can work for chemicals that don't have positive interactions (when Tc_mixture is not higher that max(Tcs)), I'm just afraid of how this would affect energy balances. But I am thinking it may better to solve the problem at the VLE algorithm... I am wondering why would N2 or H2 show as a liquid above the critical point? I'll try to find a solution to this within a couple of days so that we don't need a fancy hook anymore.