Replies: 1 comment
-
Some things I've thinking about this:
#example, name subject to change
GammaPhi(act_model::ActivityModel;fluid = PR)
The
The
I have to check where with that whole revamp in mind, I think we can perform the change on stages:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently, activity coefficient models must be constructed with a model for the pure components to ensure one can model the vapour phase. This can sometimes be a bit troublesome as not every species has the parameters within this additional model and, with the structure of Clapeyron, it can sometimes be difficult to define these parameters manually. The work around so far has been to assume the vapour phase can be modelled using an ideal model. Unfortunately, a lot of operations in Clapeyron for activity coefficient models assume we have a saturation pressure for the activity model, which wont be the case if we use the ideal model.
One potential solution would be to treat activity coefficient models as just that, and not include any additional models for the vapour phase. If one wishes to use Activity models for VLE calculations, they can use the CompositeModel architecture:
Most of the Clapeyron architecture already knows how to handle composite models built like this. The only limitation we've identified is that activity coefficient models don't have an easy way to estimate general bulk properties (such as the volume).
Beta Was this translation helpful? Give feedback.
All reactions