17 unstable releases (6 breaking)
0.7.0 | May 21, 2024 |
---|---|
0.6.1 | Jan 11, 2024 |
0.6.0 | Dec 19, 2023 |
0.5.1 | Nov 23, 2023 |
0.1.1 | Dec 22, 2021 |
#886 in Science
Used in 6 crates
520KB
10K
SLoC
FeOs-Core
Core traits and functionalities for the feos
project.
The crate makes use of generalized (hyper-) dual numbers to generically calculate exact partial derivatives from Helmholtz energy equations of state. The derivatives are used to calculate
- properties,
- critical points,
- and phase equilibria.
In addition to that, utilities are provided to assist in the handling of parameters for both molecular equations of state and (homosegmented) group contribution methods. Mainly as a simple test case, a cubic equation of state is published as part of this crate. Implementations of more sophisticated models can be found in the feos repository.
For information on how to implement your own equation of state, check out the documentation.
Installation
Add this to your Cargo.toml
[dependencies]
feos-core = "0.7"
Dependencies
~8–15MB
~212K SLoC