Published October 18, 2022
| Version v0.3.10
Software
Open
ypaul21/Clapeyron.jl: v0.3.10
Creators
- 1. Imperial College London
- 2. UW-Madison
- 3. Hafnium Labs
Description
New features
dew_pressure
anddew_temperature
can now by calculated withActivityModel
s. options available can be passed via the new methodsActivityBubblePressure
,ActivityBubblwTemperature
,ActivityDewPressure
,ActivityDewTemperature
. helmholtz-based models also support solvingbubble_pressure
anddew_pressure
using those methods (http://dx.doi.org/10.1021/acs.iecr.1c03800).- There is support for γ-ϕ equilibria on
bubble_pressure
anddew_pressure
with activity models, that is:, solvingyᵢϕᵢp = γᵢp₀ᵢϕ₀ᵢ𝒫ᵢ
- New Correlation models:
LeeKeslerSat
,DIPPR101Sat
for saturation pressure and temperature,COSTALD
,RackettLiquid
,DIPPR105Liquid
, for saturated liquid volume. - New models: Second Virial models (
AbbottVirial
,TsonopoulosVirial
andEoSVirial2
) New model:
CompositeModel
, used to hold saturation, liquid and vapor correlations. For example, instantiating an Activity Model, that uses Peng-Robinson for a gas model, DIPPR 101 for saturation and COSTALD for liquid volume, with a wilson activity coefficient, can be written as:julia> com = CompositeModel(["water","methanol"],liquid = COSTALD,saturation = DIPPR101Sat,gas = PR) Composite Model: Gas Model: PR{BasicIdeal, PRAlpha, NoTranslation, vdW1fRule}("water", "methanol") Liquid Model: COSTALD("water", "methanol") Saturation Model: DIPPR101Sat("water", "methanol") # Wilson activity model, using the composite model as the pure model julia> model = Wilson(["water","methanol"],puremodel = com) Wilson{CompositeModel{PR{BasicIdeal, PRAlpha, NoTranslation, vdW1fRule}, COSTALD, Nothing, DIPPR101Sat, Nothing}} with 2 components: "water" "methanol" Contains parameters: g, Tc, Pc, ZRA, Mw
- Improved initial points for
bubble_temperature
anddew_temperature
. MichelsenTPFlash
no uses an accelerated successive substitution method.
- cross-association weren't counted in some cases.
- incorrect initialization on
FugBubbleTemperature
Clapeyron.lnϕ
uses the specialized algorithm for volume instead of the general one.
Files
ypaul21/Clapeyron.jl-v0.3.10.zip
Files
(2.3 MB)
Name | Size | Download all |
---|---|---|
md5:f285cc5aaeb2bfb3f4b41270ed3b64a6
|
2.3 MB | Preview Download |
Additional details
Related works
- Is supplement to
- https://github.com/ypaul21/Clapeyron.jl/tree/v0.3.10 (URL)