Repository navigation
Releases
Releases · feos-org/feos
v0.10.5
Fixed
- Fixed
State::critical_point_binaryat fixed pressure, which evaluated the pressure at the wrong volume and never converged. #402 - Fixed
PhaseEquilibrium::tp_flashwith an initial state returning the previous phase split if only the feed composition changes. #402 - Fixed implicit derivatives in
State::new_nph,new_nps,new_nth,new_nts, andnew_nvubeing lost if the initial guess is already converged. - Fixed
State::residual_chemical_potential_contributionspassing the temperature as molar volume. #402 - Fixed duplicate point in
PhaseDiagram::dew_point_line. #402
v0.10.4
Fixed
- Fixed bug in
_density_iterationwhich used the residual Helmholtz energy as the pressure and the pressure as derivative. #396 - Fixed missing mole fraction factor in
State::thermodynamic_factor. #400 - Fixed
State::henrys_law_constantfor mixed solvents. #400 - Fixed the acceleration in
PhaseEquilibrium::tp_flash(Gibbs energy acceptance criterion not weighted by phase fractions and incomplete K-value history). #400
v0.10.3
v0.10.2
Fixed
- Fixed off-by-one error for the convergence-check in
_density_iteration. #386 - Fixed erroneously transposed jacobian layout in binary association of
PcSaftBinary. #386 - Fixed parsing of binary group/group interaction parameters in gc-PC-SAFT. #389
- Fixed analytic solution of association site fractions for mixture DFT. #391
v0.10.1
v0.10.0
Added
- Extended tp-flash algorithm to static numbers of components and enabled automatic differentiation for binary systems. #336
- Rewrote
PhaseEquilibrium::pure_pto mirrorpure_tand enabled automatic differentiation. #337 - Added
boiling_temperatureto the list of properties for parallel evaluations of gradients. #337 - Added the
Compositiontrait to allow more flexibility in the creation of states and phase equilibria. #330 - Added
PhaseEquilibrium::ph_flashandPhaseEquilibrium::ps_flash. #338 - Added getters for
vapor_phase_fraction,molar_enthalpy,molar_entropy,total_moles,enthalpy, andentropytoPhaseEquilibrium. #338 - Added
PropertyADtrait infeos_core::adwith one struct per property for uniform evaluation with or without parameter derivatives, including parallel variants. #358 - Added
feos_core::ad::datasetmodule withPureDatasetandBinaryDatasettypes, constructible from records, CSV files, or readers, for use in parameter fits. #358 - Exposed
Property,PureDataset, andBinaryDatasetinpy-feos. #358 - Implemented
IdealGasAD<D>forDippr. #357 - Added
PhaseEquilibrium::binary_azeotropethat quickly finds azeotropes in binary mixtures for a given temperature or pressure. #365
Changed
- Removed any assumptions about the total number of moles in a
StateorPhaseEquilibrium. Evaluating extensive properties now returns aResult. #330 - Redesigned the
IdealGastrait and addedIdealGasADin analogy toResidualDynandResidual. #330 - Replaced the
PropertiesADblanket-impl trait with per-propertyPropertyADtypes. #358 - Replaced
ParametersAD::named_derivativeswith abuildconstructor andseed_derivatives(&values, names). #358 - Removed the per-property
*_derivativesfree functions in Python in favour of static methods on the newPropertyclass. #358
Removed
- Removed the
StateBuilderstruct, because it is mostly obsolete with the addition of theCompositiontrait. #330
Packaging
- Updated
quantitydependency to 0.13 and removed thetypenumdependency. #328 - Added
csvas afeos-coredependency for the new dataset module. #358 - Updated
pyo3,pythonizeandnumpydependencies to 0.29. #360 - Updated
quantityandnum-dualdependencies to 0.14. #360 - Updated
nalgebradependency to 0.35. #360 - Updated
gauss-quaddependency to 0.3. #360 - Update
itertoolsdependency to 0.15.
v0.9.6
v0.9.5
v0.9.4
v0.9.3
Added
- Added
py-feostests to GitHub Actions and movedpyo3/extension-modulefeature topyproject.toml. #334