-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #264 from ClapeyronThermo/PCPSAFT-updates
PCPSAFT updates
- Loading branch information
Showing
94 changed files
with
12,406 additions
and
2,444 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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,16 @@ | ||
# v0.5.10 | ||
# v0.5.11 | ||
|
||
## New Features | ||
- Association models don't allocate anymore in the case of a single association site pair. | ||
- `saturation_pressure(model,T)` (`ChemPotVSaturation,IsoFugacitySaturation`) does not allocate if the calculation does not require a critical point calculation. Note that the function can still allocate if the EoS model itself allocates. the same optimizations were applied to `saturation_temperature` (`AntoineSaturation`,`ClapeyronSaturation`), `sublimation_pressure` and `melting_pressure`. | ||
- Bulk properties now accept a `vol0` initial point for the volume solver. | ||
- SAFT-VR-Mie uses a divided approach for calculating `d`: if θ = ℂ*ϵᵢ/T > 1, then it uses a 10-point gauss-laguerre integrator. Otherwise, the Assen method of finding a cut point and integrating the rest is used. A description of the method is found here: https://teqp.readthedocs.io/en/latest/models/SAFT-VR-Mie.html. the cut allows for better accuracy at higher reduced temperatures. | ||
- Support for reference states. A reference state is a point in V-T space where H = H₀ and S = S₀. Setting those have uses in Reaction equilibria and when comparing between different models.In particular, Reference states are stored in a `ReferenceState <: ClapeyronParam` in the ideal model parameters. The `BasicIdeal` model is, intentionally, the only ideal model in Clapeyron that does not have this struct and, as a consequence, it is not able to set reference states. | ||
- Support for superancillaries via [`EoSSuperancillaries.jl`](https://github.com/ClapeyronThermo/EoSSuperancillaries.jl). When the package is loaded, initial saturation points for cubics and PCSAFT are overloaded to use superancillary evaluations instead of the general `x0_sat_pure` function. in the case of `PCSAFT` models, it also speeds up the evaluation of `crit_pure`. | ||
- New EoS: EOS-CG (2021) (`EOS_CG`), a reference model for humid gases and CCS mixtures. | ||
- New EoS: Lee-Kesler-Plöcker (`LKP`) | ||
- New EoS: Shomate ideal model (`ShomateIdeal`) | ||
- database: PCPSAFT,gcPCSAFT and gcPCPSAFT are updated to use the values of Rehner (2023). | ||
- new functions: `helmholtz_free_energy_res`,`gibbs_free_energy_res`,`internal_energy_res`, `enthalpy_res` | ||
- database: `ReidIdeal` now uses the poling coefficients by default. | ||
- database: `JobackIdeal` has support for more common group fragments used in gcPCSAFT. | ||
- `melting_temperature`, `sublimation_temperature` does not allocate anymore. Note that the function can still allocate if the EoS model itself allocates. | ||
|
||
## Bug fixes | ||
- Peng-Robinson now uses more accurate `Ωa` and `Ωb` values | ||
- CPA/sCPA now uses SI units as input. | ||
## bug fixes | ||
- Incorrect value for CPA with water (#256) |
2 changes: 1 addition & 1 deletion
2
...ase/SAFT/PCSAFT/PPCSAFT/PPCSAFT_assoc.csv → ...ase/SAFT/PCSAFT/PCPSAFT/PCPSAFT_assoc.csv
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
2 changes: 1 addition & 1 deletion
2
...SAFT/PCSAFT/PPCSAFT/PPCSAFT_assoc.csv.old → ...SAFT/PCSAFT/PCPSAFT/PCPSAFT_assoc.csv.old
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
Clapeyron Database File,,,,,,,, | ||
PPCSAFT Assoc Parameters,,,,,,,, | ||
PCPSAFT Assoc Parameters,,,,,,,, | ||
species1,SMILES1,site1,species2,SMILES2,site2,epsilon_assoc,bondvol,source |
Oops, something went wrong.