-
In the paper of Aasen they select the FH1 model for neon, but Clapeyron uses the empirical parameters instead. Is there a reason why? Thermopack seems to match the values in the paper |
Beta Was this translation helpful? Give feedback.
Replies: 7 comments 8 replies
-
There wasn't a particular reason. I think we were just benchmarking and picked one set of parameters. You can specify your own set of parameters using the |
Beta Was this translation helpful? Give feedback.
-
I guess my thought was if you are going to pick one it would make sense to follow their model selection to match the defaults in ThermoPack (what I am comparing against as we speak). I added this model to teqp a couple of days ago. |
Beta Was this translation helpful? Give feedback.
-
We just benchmarked against the paper at the time since there was no thermopack back then. I am wondering why the empirical model wasn't the best for all cases? Since the FH1 and FH2 are just further-constrained versions of the empirical model. |
Beta Was this translation helpful? Give feedback.
-
I agree I had the same question |
Beta Was this translation helpful? Give feedback.
-
This is more of a discussion than an issue; I'll just convert it |
Beta Was this translation helpful? Give feedback.
-
Fair enough - could you provide an example of setting parameters at runtime with |
Beta Was this translation helpful? Give feedback.
-
How about for a mixture? I can't make out how to init a binary. My best guess was something like this: model = Clapeyron.QCPR(["neon","hydrogen"];
userlocations = (;Tc = [44.492,33.19], Pc = [2679000, 1296400], Mw = [4.0, 4]),
alpha_userlocations = (;L = [0.40453, 156.21], M = [0.95861, -0.0062072], N = [0.8396, 5.047]),
translation_userlocations = (;v_shift = [-2.4665e-6, -3.8139e-6]),
mixing_userlocations = (;A = [0.4673, 3.0696], B = [2.4634, 12.682], l = [0.,0.0;;]),
k = [[0.,0.18], [0.18,0.0]],
l = [[0.,0], [0, 0.0]]
)
T = 300.0
z = [0.5, 0.5]
Clapeyron.cross_second_virial(model, T, z) But that doesn't work, with this error:
|
Beta Was this translation helpful? Give feedback.
Something like this: