This repository was archived by the owner on Jun 14, 2022. It is now read-only.
Releases: feos-org/feos-core
Releases · feos-org/feos-core
v0.2.0
Added
- Added conversions between
ParameterErrorandEosErrorto improve the error messages in some cases. #40 - Added new struct
StateVec, that gives easy access to properties of lists of states, e.g. in phase diagrams. #48 - Added
ln_symmetric_activity_coefficientandln_phi_pureto the list of state properties that can be calculated. #50
Changed
- Removed
StatefromEntropyScalingtrait and adjusted associated methods to use temperature, volume and moles instead of state. #36 - Replaced the outer loop iterations for the critical point of binary systems with dedicated algorithms. #34
- Renamed
VLEOptionstoSolverOptions. #38 - Renamed methods of
StateBuilderand the parameters in theStateconstructor in python tomolar_enthalpy,molar_entropy, andmolar_internal_energy. #35 - Removed
PyContributionsandPyVerbosityin favor of a simpler implementation usingPyO3's new#[pyclass]for fieldless enums feature. #41 - Renamed
Contributions::ResidualtoContributions::ResidualNvtandContributions::ResidualPtoContributions::ResidualNpt. #43 - Renamed macro
impl_vle_state!toimpl_phase_equilibrium!. #48 - Removed
_tand_pfunctions in favor of simpler interfaces. The kind of specification (temperature or pressure) is determined from the unit of the argument. #48PhaseEquilibrium::pure_t,PhaseEquilibrium::pure_p->PhaseEquilibrium::purePhaseEquilibrium::vle_pure_comps_t,PhaseEquilibrium::vle_pure_comps_p->PhaseEquilibrium::vle_pure_comps
ThePhaseEquilibriareturned by this function now have the same number of components as the (mixture) eos, that it is called with.PhaseEquilibrium::bubble_point_tx,PhaseEquilibrium::bubble_point_px->PhaseEquilibrium::bubble_pointPhaseEquilibrium::dew_point_tx,PhaseEquilibrium::dew_point_px->PhaseEquilibrium::dew_pointPhaseEquilibrium::heteroazeotrope_t,PhaseEquilibrium::heteroazeotrope_p->PhaseEquilibrium::heteroazeotropeState::critical_point_binary_t,State::critical_point_binary_p->State::crititcal_point_binary
- Combined
PhaseDiagramPureandPhaseDiagramBinaryinto a single structPhaseDiagramand renamed its constructors. Properties of the phase diagram are available from thevaporandliquidgetters, that returnStateVecs. #48PhaseDiagramPure::new->PhaseDiagram::purePhaseDiagramBinary::new_txy,PhaseDiagramBinary::new_pxy->PhaseDiagram::binary_vlePhaseDiagramBinary::new_txy_lle,PhaseDiagramBinary::new_pxy_lle->PhaseDiagram::llePhaseDiagramHetero::new_txy,PhaseDiagramHetero::new_pxy->PhaseDiagram::binary_vlle
which still returns an instance ofPhaseDiagramHetero
- Changed the internal implementation of the Peng-Robinson equation of state to use contributions like the more complex equations of state and removed the suggestion to overwrite the
evaluate_residualfunction ofEquationOfState. #51 - Moved the creation of the python module to the
build_wheelauxilliary crate, so that only the relevant structs and macros are available for the dependents. #47
Removed
- Removed the
utilsmodule containingDataSetandEstimatorin favor of a separate crate. #47
Packaging
- Updated
pyo3andnumpydependencies to 0.16. - Updated
num-dualdependency to 0.5. - Updated
quantitydependency to 0.5.
v0.1.5
v0.1.4
v0.1.3
v0.1.2
v0.1.1
Added
- Added
from_multiple_jsonfunction toParametertrait that is able to read parameters from separate JSON files. #15
Packaging
- Updated
pyo3andnumpydependencies to 0.15. - Updated
quantitydependency to 0.4. - Updated
num-dualdependency to 0.4. - Removed
ndarray-linalgandndarray-statsdependencies. - Removed obsolete features for the selection of the BLAS/LAPACK library.