18 releases

new 0.8.0 Jan 8, 2025
0.7.0 May 21, 2024
0.6.1 Jan 11, 2024
0.6.0 Dec 19, 2023
0.1.1 Dec 22, 2021

#944 in Science

Download history 28/week @ 2024-09-22 12/week @ 2024-09-29 1/week @ 2024-10-27 3/week @ 2024-11-03 4/week @ 2024-11-17 1/week @ 2024-11-24 19/week @ 2024-12-08 7/week @ 2024-12-15 131/week @ 2025-01-05

138 downloads per month
Used in 7 crates

MIT/Apache

475KB
9K SLoC

FeOs-Core

crate documentation

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–11MB
~213K SLoC